.study-header { height: 76px; display: flex; align-items: center; gap: 17px; border-bottom: 1px solid #35493a1c; color: #293d34; font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif; }
.study-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; color: inherit; text-decoration: none; font-size: 20px; font-weight: 650; white-space: nowrap; }
.study-brand > svg { width: 24px; height: 24px; flex: 0 0 24px; color: #3f9278; }
.study-brand > span > span { font-weight: 400; }
.study-separator { color: #c0c9c2; font-size: 20px; font-weight: 300; }
.study-heading { display: flex; align-items: baseline; gap: 9px; min-width: 0; font-size: 17px; font-weight: 500; }
.study-heading > span:last-child { color: #75837a; font-size: 13px; }
.lab-home > .study-header { margin: 0 36px; flex-shrink: 0; }
.study-page { position: relative; min-height: 920px; height: 100svh; padding: 0; overflow: hidden; background: var(--touchlab-module-background, #f0f0f0); color: #304b42; font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif; }
.study-page > .study-header { position: absolute; z-index: 20; top: 0; left: 36px; right: 36px; }
.study-page .study-intro { position: absolute; z-index: 2; top: 124px; left: 36px; pointer-events: none; }
.study-page .study-intro h1 { margin: 0; font-size: 36px; font-weight: 500; line-height: 1.4; }
.study-page .study-intro h1 > span { color: #93a297; }
.study-page .study-panel { position: absolute; z-index: 3; display: block; top: 124px; right: 36px; left: auto; width: 260px; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.study-page .study-panel-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 28px; color: #304b42; }
.study-page .study-panel-heading h2 { display: block; margin: 0; font-size: 19px; font-weight: 500; }
.study-page .study-panel-heading > svg { color: #7c9286; }
.study-page .study-tools { position: absolute; top: auto; right: auto; bottom: 78px; left: calc((100% - 336px) / 2); transform: translateX(-50%); z-index: 4; max-width: calc(100% - 40px); }
.study-page .study-footer { position: absolute; left: 36px; right: 36px; bottom: 0; height: 52px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #35493a1c; color: #7c8b82; font: 10px ui-monospace, monospace; }
.study-page .study-panel input[type="range"] { accent-color: #488c73; }
.study-page .study-panel :is(.control-section, .parameter, .pop-parameter, .study-field) { margin: 0 0 22px; }
.study-page .study-panel :is(.label-row, .pop-label, .nuo-label-row, .kinetic-row, .study-label) { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 21px; margin: 0 0 12px; font-size: 13px; }
.study-page .study-panel :is(.label-row, .pop-label, .study-label) h3 { margin: 0; font-size: 13px; font-weight: 500; }
.study-page .study-panel :is(.label-row, .pop-label, .nuo-label-row, .kinetic-row, .study-label) :is(output, span:last-child) { font-size: 12px; color: #819287; font-variant-numeric: tabular-nums; }
.study-page .study-panel :is(.swatches, .pop-swatches, .nuo-swatches, .kinetic-swatches) { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin: 0 0 24px; padding: 3px; }
.study-page .study-panel :is(.swatch, .pop-swatch, .nuo-swatches button, .kinetic-swatches button) { width: 32px; height: 32px; flex: 0 0 32px; border: 4px solid #f7f8f6; border-radius: 50%; outline: 1px solid transparent; cursor: pointer; }
.study-page .study-panel :is(.swatch, .pop-swatch, .nuo-swatches button, .kinetic-swatches button)[aria-pressed="true"] { outline-color: #608270; }
.study-page .study-panel :is(.shape-options, .shape-picker, .pop-size-picker) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.study-page .study-panel :is(.shape-options, .shape-picker, .pop-size-picker) button { height: 42px; padding: 0 4px; border: 1px solid #d7e1d9; border-radius: 4px; background: transparent; color: #75887b; font-size: 12px; }
.study-page .study-panel :is(.shape-options, .shape-picker, .pop-size-picker) button:is(.selected, [aria-pressed="true"]) { border-color: #abc8b8; background: #e5ede6; color: #355e48; }
.study-page .study-panel input[type="range"] { display: block; width: 100%; height: 20px; padding: 0; margin: 0 0 22px; appearance: none; background: transparent; cursor: pointer; }
.study-page .study-panel .study-field input[type="range"] { margin-bottom: 0; }
.study-page .study-panel input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, #488c73 var(--range-progress, 0%), #d7e0d9 var(--range-progress, 0%)); }
.study-page .study-panel input[type="range"]::-webkit-slider-thumb { appearance: none; margin-top: -5px; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: #488c73; box-shadow: 0 0 0 1px #bccfc2; }
.study-page .study-panel input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: #c5d3c9; }
.study-page .study-panel input[type="range"]::-moz-range-progress { height: 3px; background: #488c73; }
.study-page .study-panel input[type="range"]::-moz-range-thumb { width: 8px; height: 8px; border: 3px solid white; border-radius: 50%; background: #488c73; box-shadow: 0 0 0 1px #bccfc2; }
.study-page .study-panel :is(.rotation, .rotation-row, .pop-toggle, .study-toggle) { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 46px; padding: 12px 0; margin: 0; border-top: 1px solid #dbe2dc; font-size: 13px; }
.study-switch { appearance: none; position: relative; flex: 0 0 30px; width: 30px; height: 18px; border: 0; border-radius: 12px; background: #d1dcd4; cursor: pointer; }
.study-switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: white; }
.study-switch:checked { background: #397a62; }
.study-switch:checked::before { transform: translateX(12px); }
.study-page .study-panel :is(.bounce-button, .blow-button, .pop-row-button, .nuo-poke, .kinetic-command) { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 46px; margin: 16px 0 0; padding: 0 16px; border: 0; border-radius: 5px; background: #355e48; color: white; font-size: 13px; }
.study-page .study-panel :is(.reset-button, .pop-refill-button, .nuo-reset, .kinetic-reset, .study-reset) { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 36px; height: auto; margin: 12px 0 0; padding: 6px 0; border: 0; border-radius: 4px; background: transparent; color: #718678; font-size: 12px; cursor: pointer; }
.study-page .study-panel :is(.reset-button, .pop-refill-button, .nuo-reset, .kinetic-reset, .study-reset):hover { color: #2e6755; background: #e6ede7; }
.study-page .study-tools button { position: relative; display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #7d9183; }
.study-page .study-tools button:is(.active, [aria-pressed="true"]) { color: #355e48; background: #e5ede6; }
.study-page .study-tools button:hover { color: #355e48; background: #e5ede6; }
.study-page .study-tools button > span { display: none; position: absolute; bottom: 50px; padding: 6px 9px; border-radius: 4px; white-space: nowrap; background: #355e48; color: white; font-size: 12px; }
.study-page .study-tools button:hover > span, .study-page .study-tools button:focus-visible > span { display: block; }
.study-page :is(button, input, a):focus-visible { outline: 2px solid #608270; outline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .study-page .study-intro h1 { font-size: 30px; }
  .study-page .study-panel { width: 230px; right: 24px; }
  .study-page .study-tools { left: calc((100% - 290px) / 2); }
}
@media (max-width: 760px) {
  .study-header { height: 68px; gap: 10px; }
  .study-brand { font-size: 16px; gap: 7px; }
  .study-brand > svg { width: 21px; height: 21px; flex-basis: 21px; }
  .study-separator { font-size: 17px; }
  .study-heading { flex-wrap: wrap; gap: 2px 7px; font-size: 14px; line-height: 1.35; }
  .study-heading > span:last-child { font-size: 12px; }
  .lab-home > .study-header { margin: 0 20px; }
  .study-page { height: auto; min-height: 0; padding-top: 660px; padding-bottom: 76px; }
  .study-page > .study-header { left: 20px; right: 20px; }
  .study-page .study-intro { top: 102px; left: 24px; }
  .study-page .study-intro h1 { font-size: 28px; line-height: 1.4; }
  .study-page .study-panel { position: relative; top: auto; right: auto; left: auto; display: block; width: auto; margin: 0 24px; padding: 24px 0 0; border-top: 1px solid #d9e0d9; }
  .study-page .study-panel-heading { margin-bottom: 26px; }
  .study-page .study-tools { top: 582px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); }
  .study-page .study-footer { left: 20px; right: 20px; font-size: 9px; }
  .study-page .study-footer > span:last-child { display: none; }
}
@media (max-width: 360px) {
  .study-header { gap: 7px; }
  .study-brand { font-size: 14px; gap: 6px; }
  .study-heading { font-size: 13px; }
}
