

 
.calc-desk { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .calc-desk { grid-template-columns: minmax(0, 1fr); }}
.calc-left { display: flex; flex-direction: column; min-height: 0; }
.calc-barhead { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.calc-lbl { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-55); margin: 0; display: flex; gap: 9px; align-items: center; }
.calc-n { font-family: var(--f-body); width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .66rem; display: grid; place-items: center; font-weight: 800; letter-spacing: 0; }
.calc-shuffle { font-family: var(--f-mono); font-size: .72rem; border: var(--border); background: var(--white); border-radius: var(--r-chip); padding: 7px 13px; cursor: pointer; min-height: 34px; color: var(--ink); }
.calc-tiles { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .calc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 8px; }}

.calc-tile { position: relative; display: flex; gap: 12px; text-align: left; background: var(--white); border: 1px solid var(--ink-16); border-radius: var(--r-card); padding: 12px 13px 11px; cursor: pointer; font: inherit; color: inherit; transition: border-color var(--t-fast), transform var(--t-fast); box-shadow: 0 1px 2px rgba(12,12,12,.04); }
.calc-tile-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }


.calc-ph { flex: none; width: 52px; align-self: stretch; border-radius: 10px; background: var(--white); display: grid; place-items: center; overflow: hidden; }




@media (min-width: 821px) { .calc-ph { width: 51px; }}


.calc-ph { position: relative; }


.calc-ph img { position: absolute; inset: 0; margin: auto; width: 100%; height: var(--ph, 100%); object-fit: contain; }
.calc-tile-cat { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.calc-tile-cat i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc, var(--c-wash)); flex: none; }
.calc-tile-nm { font-weight: 800; font-size: .9rem; line-height: 1.1; }
.calc-tile-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--ink-08); }
.calc-rt { font-family: var(--f-mono); font-size: .7rem; color: var(--ink-55); }
.calc-pl { font-weight: 800; font-size: .95rem; }
.calc-console { background: var(--white); border: var(--border); border-radius: var(--r-panel); padding: 18px; }
.calc-flab { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); margin: 0 0 8px; display: block; }
.calc-tools { display: flex; gap: 7px; margin-bottom: 16px; }
.calc-tool { position: relative; flex: 1; background: var(--paper); border: 1.5px solid var(--ink-16); border-radius: 12px; padding: 10px 6px 8px; text-align: center; cursor: pointer; font: inherit; color: inherit; transition: .14s; }
.calc-slot { width: 62px; height: 62px; margin: 2px auto 6px; border-radius: 12px; display: grid; place-items: center; }
.calc-slot img { width: 60px; height: 60px; object-fit: contain; display: block; }
.calc-tn { font-size: .64rem; font-weight: 700; line-height: 1.05; }
.calc-io { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin-bottom: 16px; }
.calc-vrow { display: flex; gap: 6px; }
.calc-input { font: inherit; font-size: 1.2rem; font-weight: 800; padding: 10px; border: 1.5px solid var(--ink-16); border-radius: 11px; background: var(--white); color: var(--ink); text-align: center; width: 100%; min-width: 0; min-height: 46px; }
.calc-ratio { border-color: var(--acid); background: #fffdf3; }
.calc-ratio::placeholder { color: var(--ink-55); font-weight: 700; }
.calc-utog { display: flex; border: 1.5px solid var(--ink-16); border-radius: 11px; overflow: hidden; flex: none; }
.calc-utog button { font: inherit; font-weight: 800; border: 0; background: var(--white); padding: 0 11px; cursor: pointer; color: var(--ink-55); min-height: 46px; }
.calc-rr { display: flex; align-items: center; gap: 8px; }
.calc-one { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.calc-result { background: var(--acid); border: 2px dashed rgba(12,12,12,.5); border-radius: var(--r-card); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.calc-part { display: flex; justify-content: space-between; align-items: center; min-height: 1.955rem; }
.calc-rl { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(12,12,12,.62); }
.calc-rv { font-family: var(--f-disp); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; min-height: 1.15em; line-height: 1.15; }
.calc-rv .u { font-family: var(--f-body); font-size: .8rem; color: rgba(12,12,12,.55); font-weight: 700; }
.calc-cost { border-top: 2px dashed rgba(12,12,12,.35); padding-top: 9px; }

@media (max-width: 560px) {
  .pg-calc { padding-block: 10px 0; }
  .pg-calc .eyebrow, .pg-calc .section-lead { display: none; }
   
  .calc-ph, .calc-tile-cat { display: none; }
  .calc-tile { padding: 9px 10px 8px; gap: 0; }
  .calc-tile-nm { display: block; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .calc-tile-nm::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cc, var(--c-wash)); margin-right: 6px; }
  .calc-tile-row { margin-top: 4px; padding-top: 5px; }
  .calc-rt { font-size: .66rem; } .calc-pl { font-size: .8rem; }
  .calc-console { padding: 12px; }
  .calc-flab { margin-bottom: 6px; }
  .calc-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
  .calc-tool { min-width: 0; padding: 6px 3px; }
  .calc-slot { width: auto; max-width: 52px; height: 42px; margin: 0 auto 4px; }
  .calc-slot img { width: auto; max-width: 100%; height: 42px; }
  .calc-io { gap: 8px; margin-bottom: 10px; }
  .calc-barhead { margin-bottom: 8px; }
  .calc-result { padding: 12px 14px; gap: 8px; }}

@media (max-width: 640px) {
  .calc-flab, .calc-rl, .calc-lbl, .calc-rt, .jr-tag, .aroma-note { font-size: .75rem; }
  .calc-tn { font-size: .74rem; }}