/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .block {
    display: block;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}
:root {
  --ink: #201c26;
  --muted: #746d79;
  --line: #e8e2ea;
  --page: #fbf9fc;
  --white: #ffffff;
  --purple: #82518e;
  --purple-dark: #4b184f;
  --yellow: #ffbd24;
  --lilac: #f8ebf9;
  --blue: #def0ff;
  --green: #e4f6e9;
  --cream: #fff2d2;
  --coral: #ffe8df;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select {
  font: inherit;
}
button {
  cursor: pointer;
}
.topbar {
  align-items: center;
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(250,242,252,.94) 58%, rgba(240,235,255,.92));
  border-bottom: 1px solid rgba(130,81,142,.14);
  display: flex;
  height: 92px;
  justify-content: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 760;
  gap: 11px;
  text-decoration: none;
}
.brand--oc-calc {
  background: transparent;
  height: 74px;
  width: min(340px, calc(100vw - 40px));
}
.brand--oc-calc img {
  background: transparent;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.brand--oc-calc:focus-visible {
  border-radius: 14px;
  outline: 3px solid rgba(130,81,142,.25);
  outline-offset: 2px;
}
.page {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 34px 28px 220px;
}
.page:not(:has(.calculator-workspace)) {
  max-width: 960px;
}
.breadcrumb {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 9px;
  margin-bottom: 32px;
}
.breadcrumb b {
  color: #b9b1bd;
  font-size: 18px;
}
.breadcrumb strong {
  color: #554e59;
}
.breadcrumb__home {
  color: var(--purple-dark);
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 3px;
}
.breadcrumb__home:hover, .breadcrumb__home:focus-visible {
  color: var(--purple);
  text-decoration: underline;
}
.intro {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}
.eyebrow {
  color: var(--purple);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}
.intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 15px 0 0;
  max-width: 700px;
}
.button {
  border: 0;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 720;
  padding: 13px 17px;
  white-space: nowrap;
}
.button--soft {
  background: var(--lilac);
  color: #71427a;
}
.button--soft:hover {
  background: #f1dff3;
}
.button--ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.button--ghost:hover {
  background: #f6f2f7;
}
.button--confirm {
  background: var(--purple-dark);
  color: var(--yellow);
}
.button--confirm:hover {
  background: #5b1d60;
}
.step-label {
  align-items: center;
  display: flex;
  gap: 11px;
  margin-bottom: 12px;
}
.step-label > span {
  align-items: center;
  background: var(--purple-dark);
  border-radius: 10px;
  color: var(--yellow);
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.step-label div {
  display: grid;
  gap: 2px;
}
.step-label strong {
  font-size: 14px;
}
.step-label small {
  color: var(--muted);
  font-size: 11px;
}
.mode-tabs {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}
.mode-tab {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 1px 14px;
  grid-template-columns: 58px 1fr;
  min-height: 76px;
  padding: 9px 16px 9px 10px;
  text-align: left;
  transition: border .15s, box-shadow .15s, transform .15s;
}
.mode-icon {
  align-items: center;
  background: #f5f0f7;
  border-radius: 15px;
  color: var(--purple);
  display: flex;
  grid-row: 1 / 3;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 58px;
}
.mode-icon--volume img {
  filter: drop-shadow(0 5px 5px rgba(63,37,70,.16));
  height: 56px;
  object-fit: contain;
  width: 56px;
}
.mode-icon--area i {
  background: rgba(130,81,142,.12);
  border: 3px solid var(--purple);
  border-radius: 5px;
  display: block;
  height: 32px;
  position: relative;
  transform: rotate(-3deg);
  width: 36px;
}
.mode-icon--area i::after {
  border-left: 1px dashed rgba(75,24,79,.4);
  border-top: 1px dashed rgba(75,24,79,.4);
  content: '';
  inset: 7px;
  position: absolute;
}
.mode-tab b {
  font-size: 15px;
}
.mode-tab small {
  color: var(--muted);
  font-size: 11px;
}
.mode-tab:hover {
  transform: translateY(-1px);
}
.mode-tab.active {
  border-color: #c9a9cf;
  box-shadow: 0 0 0 3px rgba(130,81,142,.09);
}
.mode-tab.active .mode-icon {
  background: #f0ddf2;
}
@media (min-width: 701px) {
  .page:not(:has(.calculator-workspace)) .intro {
    margin-top: 48px;
    margin-bottom: 36px;
  }
  .mode-tab {
    min-height: 112px;
    padding: 20px;
    gap: 4px 20px;
  }
  .mode-tab b {
    font-size: 20px;
  }
  .mode-tab small {
    font-size: 14px;
  }
  .step-label small {
    font-size: 14px;
  }
}
.calculator-workspace {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}
.calculator-workspace.has-result {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 12px 40px rgba(43,28,49,.035);
  padding: 30px;
}
.card__heading {
  align-items: center;
  display: flex;
  gap: 15px;
}
.card__heading h2 {
  font-size: 24px;
  letter-spacing: -.03em;
  margin: 0;
}
.card__heading p {
  color: var(--muted);
  margin: 4px 0 0;
}
.icon-box {
  align-items: center;
  border-radius: 18px;
  display: flex;
  flex: 0 0 auto;
  height: 56px;
  justify-content: center;
  width: 56px;
}
.icon-box--art {
  background: transparent;
  overflow: visible;
}
.icon-box--art img {
  filter: drop-shadow(0 6px 7px rgba(71,41,78,.19));
  height: 72px;
  max-width: none;
  object-fit: contain;
  width: 72px;
}
.shape-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  margin-top: 25px;
}
.shape-card {
  align-items: flex-start;
  border: 1px solid transparent;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  min-height: 154px;
  min-width: 0;
  overflow: hidden;
  padding: 8px 10px 12px;
  position: relative;
  text-align: left;
  transition: border .15s, box-shadow .15s, transform .15s;
}
.shape-card--tone-1 {
  background: var(--green);
}
.shape-card--tone-2 {
  background: var(--blue);
}
.shape-card--tone-3 {
  background: var(--lilac);
}
.shape-card--tone-4 {
  background: var(--cream);
}
.shape-card--tone-5 {
  background: var(--coral);
}
.shape-card:hover {
  transform: translateY(-2px);
}
.shape-card.active {
  border-color: var(--purple);
  box-shadow: inset 0 0 0 2px rgba(130,81,142,.16), 0 8px 20px rgba(71,41,78,.09);
}
.shape-icon {
  align-items: center;
  display: flex;
  height: 88px;
  justify-content: center;
  margin: -6px auto 1px;
  width: 100%;
}
.shape-icon img {
  filter: drop-shadow(0 6px 6px rgba(63,37,70,.17));
  height: 94px;
  object-fit: contain;
  width: 94px;
}
.volume-artwork__image {
  position: relative;
}
.shape-icon--2d {
  margin-top: 0;
}
.shape-2d {
  background: rgba(130,81,142,.2);
  border: 4px solid #65346e;
  box-shadow: 0 7px 0 rgba(75,24,79,.08);
  display: block;
}
.shape-2d--quadrado {
  border-radius: 7px;
  height: 57px;
  width: 57px;
}
.shape-2d--retangulo {
  border-radius: 7px;
  height: 48px;
  width: 78px;
}
.shape-2d--triangulo {
  background: #7e4b88;
  border: 0;
  clip-path: polygon(50% 3%, 97% 94%, 3% 94%);
  height: 64px;
  position: relative;
  width: 76px;
}
.shape-2d--triangulo::after {
  background: #d9bce0;
  clip-path: polygon(50% 10%, 91% 89%, 9% 89%);
  content: '';
  inset: 4px;
  position: absolute;
}
.shape-2d--circulo {
  border-radius: 999px;
  height: 61px;
  width: 61px;
}
.shape-2d--trapezio {
  background: #7e4b88;
  border: 0;
  clip-path: polygon(25% 6%, 75% 6%, 98% 94%, 2% 94%);
  height: 58px;
  position: relative;
  width: 78px;
}
.shape-2d--trapezio::after {
  background: #d9bce0;
  clip-path: polygon(25% 6%, 75% 6%, 97% 94%, 3% 94%);
  content: '';
  inset: 4px;
  position: absolute;
}
.shape-card strong {
  color: #4f4953;
  font-size: 12px;
  line-height: 1.15;
  width: 100%;
}
.shape-card small {
  color: #756c79;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.section-divider {
  background: var(--line);
  height: 1px;
  margin: 30px 0 24px;
}
.measurement-heading {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 17px;
}
.measurement-heading > div:first-child {
  align-items: center;
  display: flex;
  gap: 12px;
}
.measurement-heading h3 {
  font-size: 18px;
  letter-spacing: -.02em;
  margin: 0;
}
.measurement-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 3px 0 0;
}
.section-number {
  align-items: center;
  background: var(--purple-dark);
  border-radius: 11px;
  color: var(--yellow);
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  height: 35px;
  justify-content: center;
  width: 35px;
}
.unit-fixed {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 10px;
  font-weight: 750;
  gap: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.unit-fixed strong {
  background: #faf8fb;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  min-width: 118px;
  padding: 9px 12px;
  text-align: center;
  text-transform: none;
}
.measurement-layout {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(250px, .85fr) minmax(300px, 1.15fr);
}
.measurement-layout--area {
  display: block;
}
.measurement-fields {
  min-width: 0;
}
.measurement-layout .measurements {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.measurement-layout--area .measurements {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.volume-diagram {
  background: linear-gradient(145deg, #fff, #faf5fb);
  border: 1px solid #e6d7e9;
  border-radius: 23px;
  container-type: inline-size;
  margin: 0;
  overflow: hidden;
  padding: 13px 15px 15px;
}
.volume-diagram__viewport {
  display: flex;
  height: 285px;
  justify-content: center;
  position: relative;
  width: 100%;
}
.volume-diagram__visual {
  flex: 0 0 330px;
  height: 285px;
  position: relative;
  transform: scale(1);
  transform-origin: top center;
  width: 330px;
}
.volume-diagram figcaption {
  display: grid;
  gap: 3px;
  justify-items: center;
  text-align: center;
}
.volume-diagram figcaption strong {
  color: #4f3654;
  font-size: 13px;
}
.volume-diagram figcaption span {
  color: #836f87;
  font-size: 10px;
  line-height: 1.35;
}
.technical-solid {
  inset: 0;
  position: absolute;
}
.technical-solid > span {
  position: absolute;
}
.box-face {
  background: rgba(229,211,233,.18);
  border: 2px solid #68446f;
  border-radius: 3px;
}
.box-face--back {
  background: rgba(229,211,233,.08);
}
.technical-solid--cubo .box-face {
  height: 112px;
  width: 112px;
}
.technical-solid--cubo .box-face--back {
  left: 120px;
  top: 45px;
}
.technical-solid--cubo .box-face--front {
  left: 80px;
  top: 85px;
}
.technical-solid--paralelepipedo .box-face {
  height: 90px;
  width: 170px;
}
.technical-solid--paralelepipedo .box-face--back {
  left: 105px;
  top: 65px;
}
.technical-solid--paralelepipedo .box-face--front {
  left: 55px;
  top: 105px;
}
.box-connector {
  background: #68446f;
  height: 2px;
  transform-origin: left center;
}
.technical-solid--cubo .box-connector {
  transform: rotate(-45deg);
  width: 57px;
}
.technical-solid--cubo .box-connector--tl {
  left: 80px;
  top: 85px;
}
.technical-solid--cubo .box-connector--tr {
  left: 192px;
  top: 85px;
}
.technical-solid--cubo .box-connector--bl {
  left: 80px;
  top: 197px;
}
.technical-solid--cubo .box-connector--br {
  left: 192px;
  top: 197px;
}
.technical-solid--paralelepipedo .box-connector {
  transform: rotate(-39deg);
  width: 64px;
}
.technical-solid--paralelepipedo .box-connector--tl {
  left: 55px;
  top: 105px;
}
.technical-solid--paralelepipedo .box-connector--tr {
  left: 225px;
  top: 105px;
}
.technical-solid--paralelepipedo .box-connector--bl {
  left: 55px;
  top: 195px;
}
.technical-solid--paralelepipedo .box-connector--br {
  left: 225px;
  top: 195px;
}
.cylinder-body {
  background: linear-gradient(90deg, rgba(229,211,233,.1), rgba(130,81,142,.08));
  border-left: 2px solid #68446f;
  border-right: 2px solid #68446f;
  height: 145px;
  left: 100px;
  top: 66px;
  width: 130px;
}
.cylinder-ellipse {
  background: rgba(229,211,233,.18);
  border: 2px solid #68446f;
  border-radius: 50%;
  height: 34px;
  left: 100px;
  width: 130px;
}
.cylinder-ellipse--top {
  top: 50px;
}
.cylinder-ellipse--bottom {
  top: 193px;
}
.cone-edge {
  background: #68446f;
  height: 2px;
  left: 165px;
  top: 45px;
  transform-origin: left center;
  width: 183px;
}
.cone-edge--left {
  transform: rotate(116deg);
}
.cone-edge--right {
  transform: rotate(64deg);
}
.cone-base {
  background: rgba(229,211,233,.16);
  border: 2px solid #68446f;
  border-radius: 50%;
  height: 38px;
  left: 82px;
  top: 190px;
  width: 166px;
}
.sphere-outline {
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(229,211,233,.25));
  border: 2px solid #68446f;
  border-radius: 50%;
  height: 160px;
  left: 85px;
  top: 55px;
  width: 160px;
}
.technical-center {
  background: #68446f;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #68446f;
  height: 8px;
  width: 8px;
  z-index: 1;
}
.technical-center--cylinder {
  left: 161px;
  top: 63px;
}
.technical-center--cone {
  left: 161px;
  top: 205px;
}
.technical-center--sphere {
  left: 161px;
  top: 131px;
}
.technical-view-label {
  color: #8c758f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.technical-view-label--side {
  left: 45px;
  top: 9px;
}
.technical-view-label--top {
  left: 55px;
  top: 133px;
}
.foundation-edge {
  background: #68446f;
  height: 2px;
  transform-origin: left center;
}
.foundation-edge--side-bottom {
  left: 45px;
  top: 105px;
  width: 210px;
}
.foundation-edge--side-left {
  left: 45px;
  top: 75px;
  transform: rotate(90deg);
  width: 30px;
}
.foundation-edge--side-left-slope {
  left: 45px;
  top: 75px;
  transform: rotate(-23deg);
  width: 78px;
}
.foundation-edge--side-top {
  left: 116px;
  top: 46px;
  width: 80px;
}
.foundation-edge--side-right-slope {
  left: 196px;
  top: 46px;
  transform: rotate(26deg);
  width: 66px;
}
.foundation-edge--side-right {
  left: 255px;
  top: 75px;
  transform: rotate(90deg);
  width: 30px;
}
.foundation-plan {
  border: 2px solid #68446f;
  background: rgba(229,211,233,.08);
}
.foundation-plan--outer {
  height: 105px;
  left: 55px;
  top: 155px;
  width: 190px;
}
.foundation-plan--inner {
  height: 35px;
  left: 130px;
  top: 190px;
  width: 60px;
}
.foundation-edge--plan-tl {
  left: 55px;
  top: 155px;
  transform: rotate(25deg);
  width: 83px;
}
.foundation-edge--plan-tr {
  left: 190px;
  top: 190px;
  transform: rotate(-32deg);
  width: 65px;
}
.foundation-edge--plan-bl {
  left: 55px;
  top: 260px;
  transform: rotate(-25deg);
  width: 83px;
}
.foundation-edge--plan-br {
  left: 190px;
  top: 225px;
  transform: rotate(32deg);
  width: 65px;
}
.measure-tone--blue {
  --measure: #3979ae;
  --measure-soft: #e5f3ff;
}
.measure-tone--green {
  --measure: #3c8658;
  --measure-soft: #e4f6e9;
}
.measure-tone--purple {
  --measure: #74407c;
  --measure-soft: #f4e6f6;
}
.measure-tone--orange {
  --measure: #ad651f;
  --measure-soft: #fff1d7;
}
.measure-tone--pink {
  --measure: #a44d6c;
  --measure-soft: #ffe8ef;
}
.measure-tone--teal {
  --measure: #277d7a;
  --measure-soft: #e2f5f3;
}
.measure-line {
  background: var(--measure);
  height: 2px;
  pointer-events: none;
  position: absolute;
  transform-origin: center;
  z-index: 2;
}
.measure-line::before, .measure-line::after {
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  content: '';
  height: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
}
.measure-line::before {
  border-right: 7px solid var(--measure);
  left: -1px;
}
.measure-line::after {
  border-left: 7px solid var(--measure);
  right: -1px;
}
.measure-line b {
  align-items: center;
  background: white;
  border: 1px solid var(--measure);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(51,31,56,.12);
  color: var(--measure);
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  left: 50%;
  min-width: 22px;
  padding: 0 4px;
  position: absolute;
  top: -17px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.measure-line--cube-edge {
  left: 24%;
  top: 69%;
  width: 34%;
}
.measure-line--box-length {
  left: 17%;
  top: 68%;
  width: 52%;
}
.measure-line--box-width {
  left: 18%;
  top: 35%;
  transform: rotate(-39deg);
  width: 19%;
}
.measure-line--box-width b {
  transform: translate(-50%, -50%) rotate(39deg);
}
.measure-line--box-height {
  left: 55%;
  top: 53%;
  transform: rotate(90deg);
  width: 27%;
}
.measure-line--box-height b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--cylinder-radius {
  left: 50%;
  top: 23%;
  width: 20%;
}
.measure-line--cylinder-height {
  left: 50%;
  top: 48%;
  transform: rotate(90deg);
  width: 44%;
}
.measure-line--cylinder-height b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--cone-radius {
  left: 50%;
  top: 73%;
  width: 25%;
}
.measure-line--cone-height {
  left: 25%;
  top: 45%;
  transform: rotate(90deg);
  width: 50%;
}
.measure-line--cone-height b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--sphere-radius {
  left: 50%;
  top: 47%;
  width: 24%;
}
.measure-line--foundation-pillar-length {
  left: 39%;
  top: 67%;
  width: 18%;
}
.measure-line--foundation-pillar-width {
  left: 52%;
  top: 73%;
  transform: rotate(90deg);
  width: 11%;
}
.measure-line--foundation-pillar-width b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--foundation-base-length {
  left: 17%;
  top: 54%;
  width: 58%;
}
.measure-line--foundation-base-width {
  left: 58%;
  top: 73%;
  transform: rotate(90deg);
  width: 32%;
}
.measure-line--foundation-base-width b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--foundation-total-height {
  left: 80%;
  top: 27%;
  transform: rotate(90deg);
  width: 18%;
}
.measure-line--foundation-total-height b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--foundation-base-height {
  left: 77%;
  top: 32%;
  transform: rotate(90deg);
  width: 9%;
}
.measure-line--foundation-base-height b {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.measure-line--active {
  filter: drop-shadow(0 0 4px var(--measure));
  @supports (color: color-mix(in lab, red, red)) {
    filter: drop-shadow(0 0 4px color-mix(in srgb, var(--measure) 55%, transparent));
  }
  height: 3px;
  z-index: 4;
}
.measure-line--active b {
  background: var(--measure-soft);
  box-shadow: 0 0 0 3px var(--measure), 0 3px 8px rgba(51,31,56,.18);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--measure) 16%, transparent), 0 3px 8px rgba(51,31,56,.18);
  }
  transform: translate(-50%, -50%) scale(1.12);
}
@container (max-width: 300px) {
  .volume-diagram__viewport {
    height: 234px;
  }
  .volume-diagram__visual {
    transform: scale(.82);
  }
}
@container (max-width: 260px) {
  .volume-diagram__viewport {
    height: 205px;
  }
  .volume-diagram__visual {
    transform: scale(.72);
  }
}
@container (max-width: 230px) {
  .volume-diagram__viewport {
    height: 183px;
  }
  .volume-diagram__visual {
    transform: scale(.64);
  }
}
.field-progress {
  color: #85648b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  margin: -2px 0 9px;
  text-transform: uppercase;
}
.dimension-rules {
  background: #f7f3f8;
  border-radius: 11px;
  color: #6f5d73;
  font-size: 11px;
  margin: 0 0 10px;
  padding: 9px 11px;
}
.dimension-rules strong {
  color: #4f3654;
}
.dimension-rules span {
  color: #b39db7;
  margin: 0 4px;
}
.measurements {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.field {
  border: 1px solid var(--line);
  border-radius: 17px;
  display: block;
  padding: 13px 15px;
  transition: border .15s, background .15s;
}
.field > span {
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 680;
  margin-bottom: 7px;
}
.field__label {
  align-items: center;
  gap: 7px;
}
.field__symbol {
  align-items: center;
  background: var(--measure-soft);
  border: 1px solid var(--measure);
  border-radius: 7px;
  color: var(--measure);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  height: 23px;
  justify-content: center;
  min-width: 23px;
  padding: 0 5px;
}
.field__symbol--blue {
  --measure: #3979ae;
  --measure-soft: #e5f3ff;
}
.field__symbol--green {
  --measure: #3c8658;
  --measure-soft: #e4f6e9;
}
.field__symbol--purple {
  --measure: #74407c;
  --measure-soft: #f4e6f6;
}
.field__symbol--orange {
  --measure: #ad651f;
  --measure-soft: #fff1d7;
}
.field__symbol--pink {
  --measure: #a44d6c;
  --measure-soft: #ffe8ef;
}
.field__symbol--teal {
  --measure: #277d7a;
  --measure-soft: #e2f5f3;
}
.field__control {
  align-items: center;
  display: flex;
  gap: 10px;
}
.field input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 720;
  min-width: 0;
  outline: 0;
  width: 100%;
}
.field input::placeholder {
  color: #c2bbc5;
}
.field small {
  color: var(--muted);
  font-weight: 650;
}
.field:focus-within {
  border-color: #b783c0;
  box-shadow: 0 0 0 3px rgba(183,131,192,.14);
}
.validation-message {
  background: #fff0ee;
  border: 1px solid #efc2bb;
  border-radius: 13px;
  color: #8a352d;
  font-size: 12px;
  font-weight: 720;
  margin: 11px 0 0;
  padding: 11px 13px;
}
.results-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.result-hero {
  align-items: center;
  background: radial-gradient(circle at 50% 15%, #fff 0, #f9ecfa 42%, #f3e3f5 100%);
  border: 1px solid #eaddec;
  border-radius: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 26px 0 13px;
  min-height: 350px;
  overflow: hidden;
  padding: 22px;
  text-align: center;
}
.result-hero__shape {
  filter: drop-shadow(0 10px 10px rgba(71,41,78,.18));
  height: 132px;
  margin: -8px 0 2px;
  object-fit: contain;
  width: 132px;
}
.result-hero__shape--2d {
  align-items: center;
  display: flex;
  justify-content: center;
}
.result-hero__shape--2d .shape-2d {
  transform: scale(1.45);
}
.result-hero__shape--volume {
  display: block;
  position: relative;
}
.result-hero__shape--volume .volume-artwork__image {
  height: 132px;
  object-fit: contain;
  width: 132px;
}
.result-hero > span {
  color: #6e5b72;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.result-hero > div {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 8px 0 12px;
  max-width: 100%;
}
.result-hero strong {
  font-size: clamp(48px, 5vw, 78px);
  letter-spacing: -.06em;
  line-height: .95;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-hero small {
  color: #775780;
  font-size: 17px;
  font-weight: 750;
}
.result-hero code {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(130,81,142,.12);
  border-radius: 14px;
  color: #71427a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.4;
  max-width: 100%;
  padding: 7px 12px;
  white-space: normal;
}
.result-details {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-bottom: 13px;
}
.result-details div {
  background: #f7f4f8;
  border-radius: 14px;
  display: grid;
  gap: 4px;
  padding: 12px;
}
.result-details span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.result-details strong {
  font-size: 11px;
}
.share-button {
  align-items: center;
  background: linear-gradient(145deg, #77336b, #501650);
  border: 1px solid rgba(93,35,106,.8);
  border-radius: 18px;
  box-shadow: 0 11px 23px rgba(75,24,79,.2), inset 0 1px 0 rgba(255,255,255,.14);
  color: #f2d8ee;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr auto;
  margin-top: 10px;
  padding: 12px 14px;
  text-align: left;
  transition: background .15s, border-color .15s, transform .15s;
  width: 100%;
}
.share-button__icon {
  align-items: center;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  color: var(--yellow);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.share-button__icon .floating-menu__icon {
  height: 30px;
  width: 30px;
}
.share-button__icon .floating-menu__icon svg {
  height: 26px;
  width: 26px;
}
.share-button > span:nth-child(2) {
  display: grid;
  gap: 2px;
}
.share-button strong {
  color: var(--yellow);
  font-size: 14px;
}
.share-button small {
  color: #f2d8ee;
  font-size: 11px;
}
.share-button > b {
  color: var(--yellow);
  font-size: 24px;
}
.share-button:hover {
  background: linear-gradient(145deg, #8a3a7a, #5b1d60);
  border-color: rgba(93,35,106,.95);
  box-shadow: 0 15px 27px rgba(75,24,79,.3), inset 0 1px 0 rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.share-button:active {
  transform: scale(.99);
}
.calculation-status {
  align-items: center;
  color: #6c756e;
  display: flex;
  font-size: 11px;
  gap: 7px;
  justify-content: center;
  margin: 13px 4px 0;
}
.calculation-status span {
  background: #48a260;
  border-radius: 999px;
  box-shadow: 0 0 0 4px #e7f6eb;
  height: 7px;
  width: 7px;
}
.floating-menu-shell {
  bottom: max(10px, calc(env(safe-area-inset-bottom) + 8px));
  left: 50%;
  max-width: calc(100vw - 32px);
  position: fixed;
  transform: translateX(-50%);
  width: calc(100vw - 32px);
  z-index: 40;
}
.floating-menu {
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(245,242,255,.74));
  border: 1px solid rgba(202,190,255,.78);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(61,36,112,.22), inset 0 1px 1px rgba(255,255,255,.94);
  display: flex;
  gap: 26px;
  justify-content: center;
  padding: 13px 32px;
}
.floating-menu__action {
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(242,239,255,.83));
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 50%;
  box-shadow: 0 9px 20px rgba(93,70,160,.16), inset 0 1px 0 rgba(255,255,255,.95);
  color: #6940cf;
  display: grid;
  flex: 0 0 auto;
  height: 74px;
  place-items: center;
  padding: 0;
  position: relative;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
  width: 74px;
}
.floating-menu__action:hover {
  background: #fff;
  box-shadow: 0 13px 24px rgba(89,60,158,.22), inset 0 1px 0 #fff;
  transform: translateY(-3px);
}
.floating-menu__action:active {
  transform: translateY(0) scale(.96);
}
.floating-menu__action:focus-visible {
  outline: 3px solid rgba(105,64,207,.35);
  outline-offset: 4px;
}
.floating-menu__icon {
  display: grid;
  height: 34px;
  place-items: center;
  width: 34px;
}
.floating-menu__icon svg {
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 30px;
}
.floating-menu__action > span:not(.floating-menu__icon) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.floating-menu__action--share {
  background: linear-gradient(145deg, #77336b, #501650);
  border-color: rgba(93,35,106,.8);
  box-shadow: 0 11px 23px rgba(75,24,79,.34), inset 0 1px 0 rgba(255,255,255,.17);
  color: var(--yellow);
}
.floating-menu__action--share:hover {
  background: linear-gradient(145deg, #8a3a7a, #5b1d60);
  box-shadow: 0 15px 27px rgba(75,24,79,.42), inset 0 1px 0 rgba(255,255,255,.2);
}
html.oc-pwa-card-visible .oc-offline-status {
  display: none !important;
}
.confirm-modal__backdrop {
  align-items: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: rgba(26,20,30,.56);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 60;
}
.confirm-modal {
  background: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(26,20,30,.28);
  max-width: 430px;
  padding: 28px;
  text-align: center;
  width: 100%;
}
.confirm-modal__icon {
  align-items: center;
  background: #f3e7f6;
  border-radius: 18px;
  color: var(--purple-dark);
  display: inline-flex;
  font-size: 42px;
  height: 58px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 14px;
  width: 58px;
}
.confirm-modal h2 {
  font-size: 25px;
  letter-spacing: -.04em;
  margin: 0;
}
.confirm-modal p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 9px auto 0;
  max-width: 340px;
}
.confirm-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 23px;
}
.confirm-modal__footer .button {
  min-width: 130px;
}
.share-modal__backdrop {
  align-items: center;
  background: rgba(26,20,30,.58);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 50;
}
.share-modal {
  background: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(26,20,30,.28);
  max-height: min(90vh, 790px);
  max-width: 620px;
  overflow: auto;
  padding: 26px;
  width: 100%;
}
.share-modal__header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.share-modal__header .eyebrow {
  margin-bottom: 7px;
}
.share-modal__header h2 {
  font-size: 27px;
  letter-spacing: -.04em;
  margin: 0;
}
.share-modal__header p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 7px 0 0;
}
.share-modal__close {
  align-items: center;
  background: #f4f0f5;
  border: 0;
  border-radius: 11px;
  color: #5d5361;
  display: flex;
  flex: none;
  font-size: 23px;
  height: 38px;
  justify-content: center;
  padding: 0 0 3px;
  width: 38px;
}
.share-modal__close:disabled {
  cursor: default;
  opacity: .45;
}
.share-modal__toolbar {
  display: flex;
  gap: 14px;
  margin: 20px 2px 12px;
}
.share-modal__toolbar button {
  background: transparent;
  border: 0;
  color: var(--purple);
  font-size: 12px;
  font-weight: 750;
  padding: 0;
}
.share-options {
  display: grid;
  gap: 9px;
}
.share-option {
  align-items: center;
  background: #f7f4f8;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 42px 1fr auto;
  padding: 10px 12px;
}
.share-option:has(input:checked) {
  border-color: #d7c3dc;
}
.share-option input {
  accent-color: var(--purple);
  height: 18px;
  width: 18px;
}
.share-option__icon {
  align-items: center;
  border-radius: 12px;
  display: flex;
  font-size: 17px;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.share-option--result .share-option__icon {
  background: var(--green);
  color: #43664c;
}
.share-option--measurements .share-option__icon {
  background: var(--blue);
  color: #3d5e79;
}
.share-option--formula .share-option__icon {
  background: var(--lilac);
  color: #684672;
}
.share-option > span:nth-of-type(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.share-option strong {
  color: #4f4953;
  font-size: 13px;
}
.share-option small {
  color: var(--muted);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-option > b {
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}
.share-modal__error {
  background: #fff1ed;
  border-radius: 12px;
  color: #9a4936;
  font-size: 12px;
  margin: 12px 0 0;
  padding: 10px 12px;
}
.share-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.share-modal__footer .button:disabled {
  cursor: default;
  opacity: .45;
}
.button--share {
  background: var(--purple-dark);
  color: var(--yellow);
}
.button--share:hover:not(:disabled) {
  background: #5b1d60;
}
.numeric-keyboard__backdrop {
  align-items: flex-end;
  background: rgba(26,20,30,.52);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 14px;
  position: fixed;
  z-index: 80;
}
.numeric-keyboard {
  background: #fff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 25px;
  box-shadow: 0 28px 85px rgba(25,17,31,.38);
  max-height: min(94vh, 760px);
  overflow: auto;
  padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
  width: min(100%, 470px);
}
.numeric-keyboard__header {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.numeric-keyboard__header .eyebrow {
  margin: 0 0 5px;
}
.numeric-keyboard__header h2 {
  font-size: 25px;
  letter-spacing: -.04em;
  margin: 0;
}
.numeric-keyboard__close {
  align-items: center;
  background: #f5f0f6;
  border: 0;
  border-radius: 12px;
  color: #5b4d60;
  display: flex;
  flex: 0 0 auto;
  font-size: 25px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  width: 42px;
}
.numeric-keyboard__close:hover {
  background: #eee5f0;
}
.numeric-keyboard__display {
  align-items: baseline;
  background: #faf6fb;
  border: 1px solid #eaddec;
  border-radius: 17px;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 14px 0 12px;
  min-height: 70px;
  padding: 8px 14px;
}
.numeric-keyboard__display strong {
  color: var(--purple-dark);
  font-size: clamp(36px, 10vw, 54px);
  letter-spacing: -.06em;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.numeric-keyboard__display span {
  color: #795b80;
  font-size: 18px;
  font-weight: 800;
}
.numeric-keyboard__hint {
  color: #806b84;
  font-size: 11px;
  margin: -3px 0 9px;
  text-align: center;
}
.numeric-keyboard__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 13px;
}
.numeric-keyboard__key {
  align-items: center;
  background: #f6eff8;
  border: 1px solid #ead8ee;
  border-radius: 15px;
  color: #45204a;
  display: flex;
  font-size: 24px;
  font-weight: 780;
  height: 53px;
  justify-content: center;
  transition: background .12s, transform .12s, box-shadow .12s;
}
.numeric-keyboard__key:hover {
  background: #eee2f2;
  box-shadow: 0 4px 10px rgba(75,24,79,.1);
}
.numeric-keyboard__key:active {
  transform: scale(.96);
}
.numeric-keyboard__key--backspace {
  color: #6d3974;
  font-size: 25px;
}
.numeric-keyboard__footer {
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0,1fr) minmax(0,1.35fr);
  margin-top: 12px;
}
.numeric-keyboard__footer .button {
  min-height: 51px;
}
.numeric-keyboard__area-preview {
  align-items: center;
  background: #faf6fb;
  border: 1px solid #eaddec;
  border-radius: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 12px 0;
  min-height: 96px;
  padding: 9px 14px;
}
.numeric-keyboard__area-preview .shape-icon {
  height: 62px;
  width: 62px;
}
.numeric-keyboard__area-preview > span {
  color: #705977;
  font-size: 12px;
  font-weight: 760;
}
.volume-diagram--keyboard {
  margin: 12px 0;
  padding: 8px 10px 9px;
}
.volume-diagram--keyboard .volume-diagram__viewport {
  height: 135px;
}
.volume-diagram--keyboard .volume-diagram__visual {
  transform: translateY(-4px) scaleX(calc(.42 * var(--diagram-scale-x, 1))) scaleY(calc(.42 * var(--diagram-scale-y, 1)));
  transform-origin: top center;
}
.volume-diagram--keyboard figcaption {
  gap: 1px;
}
.volume-diagram--keyboard figcaption strong {
  font-size: 11px;
}
.volume-diagram--keyboard figcaption span {
  font-size: 9px;
}
.notice {
  align-items: flex-start;
  background: #f2eef4;
  border-radius: 20px;
  color: #625a66;
  display: flex;
  gap: 13px;
  margin-top: 22px;
  padding: 17px 20px;
}
.notice span {
  align-items: center;
  border: 1px solid #b7aebc;
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  width: 20px;
}
.notice p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.reveal-section {
  animation: reveal-section .3s ease both;
}
@keyframes reveal-section {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid rgba(130,81,142,.25);
  outline-offset: 2px;
}
@media (max-width: 1200px) {
  .calculator-workspace.has-result .measurement-layout {
    grid-template-columns: 1fr;
  }
  .calculator-workspace.has-result .volume-diagram {
    margin: 0 auto;
    max-width: 380px;
    width: 100%;
  }
}
@media (max-width: 1100px) {
  .shape-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .shape-card:nth-child(4), .shape-card:nth-child(5) {
    min-height: 142px;
  }
}
@media (max-width: 980px) {
  .calculator-workspace, .calculator-workspace.has-result {
    grid-template-columns: 1fr;
  }
  .results-card {
    min-height: auto;
  }
  .shape-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
@media (max-width: 820px) {
  .measurement-layout {
    grid-template-columns: 1fr;
  }
  .measurement-layout--area {
    display: block;
  }
  .volume-diagram {
    margin: 0 auto;
    max-width: 380px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 82px;
    padding: 0 16px;
  }
  .page {
    padding: 24px 16px 190px;
  }
  .brand--oc-calc {
    height: 70px;
    width: min(260px, calc(100vw - 140px));
  }
  .breadcrumb {
    margin-bottom: 24px;
    overflow: hidden;
    white-space: nowrap;
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }
  .intro p {
    font-size: 16px;
  }
  .mode-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .mode-tab {
    gap: 1px 8px;
    grid-template-columns: 42px 1fr;
    min-height: 60px;
    padding: 8px;
  }
  .mode-icon {
    border-radius: 12px;
    height: 42px;
    width: 42px;
  }
  .mode-icon--volume img {
    height: 43px;
    width: 43px;
  }
  .mode-icon--area i {
    border-width: 2px;
    height: 24px;
    width: 27px;
  }
  .mode-tab small {
    display: none;
  }
  .card {
    border-radius: 24px;
    padding: 21px;
  }
  .card__heading h2 {
    font-size: 20px;
  }
  .card__heading p {
    font-size: 14px;
  }
  .icon-box {
    border-radius: 15px;
    height: 48px;
    width: 48px;
  }
  .shape-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .measurement-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .unit-fixed {
    justify-content: space-between;
    width: 100%;
  }
  .measurement-layout {
    grid-template-columns: 1fr;
  }
  .measurement-layout--area {
    display: block;
  }
  .measurement-layout .measurements, .measurement-layout--area .measurements {
    grid-template-columns: 1fr;
  }
  .volume-diagram {
    margin: 0 auto;
    max-width: 360px;
    width: 100%;
  }
  .result-hero {
    min-height: 330px;
  }
  .result-details {
    grid-template-columns: 1fr;
  }
  .share-modal__backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .share-modal {
    border-radius: 26px 26px 0 0;
    max-height: 92vh;
    padding: 21px 16px calc(18px + env(safe-area-inset-bottom));
  }
  .share-modal__header h2 {
    font-size: 23px;
  }
  .share-option {
    gap: 9px;
    padding: 11px;
  }
  .share-option > b {
    font-size: 12px;
  }
  .share-modal__footer {
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  }
  .share-modal__footer .button {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    white-space: normal;
  }
  .floating-menu-shell {
    bottom: max(8px, calc(env(safe-area-inset-bottom) + 6px));
    max-width: calc(100vw - 28px);
    width: calc(100vw - 28px);
  }
  .floating-menu {
    gap: clamp(9px, 4vw, 18px);
    padding: 9px 14px;
  }
  .floating-menu__action {
    height: 58px;
    width: 58px;
  }
  .floating-menu__icon {
    height: 29px;
    width: 29px;
  }
  .floating-menu__icon svg {
    height: 25px;
    width: 25px;
  }
  .confirm-modal__backdrop {
    align-items: center;
    padding: 18px;
  }
  .confirm-modal {
    border-radius: 26px;
    padding: 23px 20px calc(22px + env(safe-area-inset-bottom));
  }
  .confirm-modal__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .confirm-modal__footer .button {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 360px) {
  .topbar {
    padding: 0 13px;
  }
  .brand--oc-calc {
    width: 188px;
  }
  .brand--oc-calc img {
    width: 250px;
  }
  .card {
    padding: 16px;
  }
  .shape-card {
    min-height: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}
