/* One common calculator: desktop presentation, unchanged phone/tablet wizard.
   Native controls stay mounted as the renderer/fallback source. */
[data-z82-common-calculator-source][hidden]{display:none!important}
#z82-mobile-root.z82-common-calculator-desktop,
body.admin-bar #z82-mobile-root.z82-common-calculator-desktop{
  position:relative;inset:auto;left:50%;transform:translateX(-50%);z-index:1;
  display:block;width:min(1480px,calc(100vw - 64px));max-width:none;
  height:auto;min-height:0;margin:52px 0 96px;padding:0;overflow:visible;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
#z82-mobile-root.z82-common-calculator-desktop :is(.review-label,.review-footer,.app-header,.tab-bar){display:none!important}
#z82-mobile-root.z82-common-calculator-desktop .app-shell{
  display:block;min-width:0;width:100%!important;max-width:none!important;
  height:auto!important;min-height:0!important;overflow:visible!important;background:transparent;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
#z82-mobile-root.z82-common-calculator-desktop .app-main{height:auto;min-height:0;overflow:visible;background:transparent}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .screen-estimate{height:auto;min-height:0;padding:0;background:#fff}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc{
  --z82mc-top-offset:100px;display:block;width:100%;max-width:none;height:auto;min-height:0;padding:0;
}
body.admin-bar #z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc{--z82mc-top-offset:132px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-intro{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:start;margin:0 0 32px;background:#fff;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-heading>h1{
  margin:0;font-size:clamp(38px,3vw,50px);font-weight:720;line-height:1.08;letter-spacing:-.035em;color:var(--z82-ink,#20272d);
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-intro>p{
  margin:23.6px 0 0;font-size:18px;line-height:1.62;font-weight:400;color:var(--z82-muted,#68716b);
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-card{
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(410px,1fr);align-items:start;
  border:1px solid #dce3d5;border-radius:24px;background:#f7f8f4;box-shadow:0 14px 50px #2033260b;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-controls{
  display:flex;flex-direction:column;min-width:0;align-self:stretch;border-left:1px solid #dce3d5;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-wizard-head{padding:12px 20px 0;background:#f7f8f4;border-radius:0 24px 0 0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-header-main{min-height:20px;margin:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-header-copy>span{font-size:12px;color:#64715b}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-header-model{display:none}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-progress{display:grid;gap:3px;margin-top:7px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-progress button{
  font-size:12px;line-height:1.2;min-height:55px;padding:4px 1px 8px;flex-direction:column;justify-content:start;gap:5px;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-progress button>span{width:22px;height:22px;font-size:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-content{
  flex:1;min-height:0;height:auto;overflow:visible;overscroll-behavior:auto;padding:18px 20px;scrollbar-gutter:auto;background:#fff;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-workspace.has-model{display:block}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-editor{width:100%;min-width:0;max-width:none;margin:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model{
  display:block;position:sticky;top:var(--z82mc-top-offset);min-width:0;padding:18px;
  border:0;border-radius:24px;background:transparent;overflow:hidden;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model .z82mc-eyebrow{display:none}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model .z82mc-scene-title{font-size:20px;line-height:1.3;margin:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model p{font-size:13px;margin:0}
#z82-mobile-root.z82-common-calculator-desktop .z82mc-live-model .z82mc-native-scene--tablet{height:clamp(340px,calc(100dvh - 240px),700px);margin:12px 0;border-radius:16px}
body.admin-bar #z82-mobile-root.z82-common-calculator-desktop .z82mc-live-model .z82mc-native-scene--tablet{height:clamp(340px,calc(100dvh - 240px),700px)}
#z82-mobile-root.z82-common-calculator-desktop .z82mc-live-model .z82mc-native-scene canvas{margin:0;border-radius:0;pointer-events:auto}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model>div.z82mc-scene-header{align-items:center}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-scene-heading{display:flex;flex-direction:column;gap:3px;min-width:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-scene-header>.z82mc-secondary{flex:0 0 auto;min-height:44px!important;font-size:13px;padding:8px 12px;width:auto;margin:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-live-model>small{display:block;font-size:12px;line-height:1.4;margin:8px 0 0;text-align:center}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-step-title{margin-bottom:14px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-step-title h2{font-size:24px;line-height:1.18;letter-spacing:-.03em}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-step-title>p{font-size:14px;line-height:1.4;margin-top:8px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-eyebrow{font-size:11px;line-height:1.4;margin-bottom:6px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-screen{display:block}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc :is(.z82mc-shape-preview,.z82mc-land-plan){display:none}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-shape .z82mc-shapes{gap:10px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-shape .z82mc-shapes button{font-size:15px;min-height:58px;padding:9px;gap:8px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-shape .z82mc-shapes button[aria-pressed=true]{padding:8px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-hint{font-size:13px;line-height:1.4;margin-top:14px!important}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-height .z82mc-choice button{min-height:86px;padding:10px 3px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-total{margin-top:16px;padding:14px;font-size:14px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-land-total>small{font-size:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-toggle{min-height:66px;padding:12px;margin-bottom:10px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-toggle b{font-size:15px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-toggle small{font-size:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-section-builder{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(140px,1fr);gap:12px;align-items:center;margin-bottom:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-assembled-bay{width:100%;max-width:none}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-bay-legend{width:100%;margin:0;max-width:none}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-bay-legend-item{grid-template-columns:1fr;gap:3px;padding:8px 0;font-size:13px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-bay-row-name{font-size:11px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-actions{
  position:sticky;bottom:0;z-index:8;padding:12px 20px;min-width:0;gap:14px;border-radius:0 0 24px 0;background:#f7f8f4;
}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-actions>.z82mc-primary{min-height:46px!important;font-size:15px;padding:10px 14px;max-width:none}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc .z82mc-autosave{max-width:none;flex:0 0 auto;font-size:11px}
#z82-mobile-root.z82-common-calculator-desktop .z82mc-dialog{width:min(820px,calc(100vw - 64px));max-width:none}
#z82-mobile-root.z82-common-calculator-desktop .toast{bottom:24px}
/* Phone/tablet heading scrolls with the form; only the compact CTA stays put. */
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .screen-estimate{height:100%;min-height:0;padding:0}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc{display:grid;grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0;padding:0}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-content{height:auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 16px 16px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-wizard-head{padding:0 0 12px;margin-bottom:16px;background:transparent;border:0}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-main{min-height:36px;gap:8px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-copy>h1{font-size:20px;line-height:1.2}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-copy>span{font-size:11px;line-height:1.3}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-model{font-size:13px!important;padding:6px 8px;min-height:36px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-progress{display:grid;margin-top:6px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-progress button{min-height:44px;flex-direction:column;gap:3px;padding:3px 0;font-size:clamp(11px,2.8vw,12px);line-height:1.2}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-progress button>span{width:18px;height:18px;font-size:11px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-actions{position:static;padding:8px 16px;gap:10px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-autosave{white-space:nowrap;font-size:11px;line-height:1.3;max-width:none;flex:0 0 auto}

/* Desktop installation/delivery density: retain every label, choice and error. */
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc:is([data-step="2"],[data-step="3"]) .z82mc-step-title{margin-bottom:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc:is([data-step="2"],[data-step="3"]) .z82mc-step-title>p{margin-top:6px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc:is([data-step="2"],[data-step="3"]) .z82mc-content{padding-block:14px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation-options{margin-top:0;padding-top:0;border-top:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation-options>.z82mc-toggle{min-height:48px;padding:8px 10px;margin:0 0 8px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation{margin-top:0;padding:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation>h3{font-size:16px;line-height:1.35;margin:0 0 10px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation>.z82mc-field{gap:4px;font-size:14px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation>.z82mc-field>small{font-size:13px;line-height:1.35}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation select{min-height:48px;padding:9px 10px;font-size:14px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-installation>.z82mc-helper{margin-top:10px!important;font-size:14px;line-height:1.4}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-utility-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:6px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-utility-toggle{display:grid;grid-template-columns:1fr auto;gap:3px 8px;min-height:64px;margin:0;padding:6px 10px;border:1px solid #dce3d5;border-radius:12px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-utility-toggle>span{grid-column:1/-1}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-utility-toggle b{font-size:14px;line-height:1.3}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-utility-toggle .z82mc-toggle-value{font-size:13px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="2"] .z82mc-utility-toggle input{right:10px;bottom:6px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-toggle{min-height:48px;padding:8px 10px;margin:0 0 10px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-delivery{padding:0;border:0;border-radius:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-delivery-intro{font-size:14px;line-height:1.4}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-distance-choices{margin:10px 0;gap:8px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-distance-choices>button{min-height:44px;padding:7px 8px;font-size:14px;line-height:1.3}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-distance-label{margin:8px 0 6px;font-size:14px;line-height:1.4}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-route-input>input{min-height:48px;padding:8px 10px;font-size:15px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-route-input>button{min-height:48px;padding:6px 8px;font-size:13px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-distance-stepper>input{min-height:48px;padding:8px 6px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-distance-stepper>button{min-height:48px}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] .z82mc-helper{font-size:14px;line-height:1.4;margin-top:8px!important}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] [data-distance-status]{min-height:1.4em}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc[data-step="3"] :is(.z82mc-distance-fallback,.z82mc-distance-defer){margin-top:2px;padding:7px 0;min-height:44px}
/* The original word fits inside the input on desktop, tablet and phone. */
#z82-mobile-root #app-shell .z82mc .z82mc-distance-stepper{grid-template-columns:44px minmax(0,1fr) 44px;width:min(100%,320px)}
#z82-mobile-root #app-shell .z82mc .z82mc-distance-stepper>input{font-size:16px}
/* Page-heading typography follows the public gallery/blog heading pattern. */
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-eyebrow{margin:0 0 8px;font-size:13px;line-height:1.2;font-weight:800;letter-spacing:normal;color:var(--z82-accent-dark,#55751f)}
/* Reserve a separate post lane so centred arrows keep their full 44px hit area. */
#z82-mobile-root #app-shell .z82mc .z82mc-assembled-bay{--bay-control:calc(48px + var(--bay-post-width))}
#z82-mobile-root #app-shell .z82mc .z82mc-bay-prev{justify-self:start}
#z82-mobile-root #app-shell .z82mc .z82mc-bay-next{justify-self:end}
/* Stable optical centering: the existing 44px controls and accessible labels remain. */
#z82-mobile-root #app-shell .z82mc :is(.z82mc-bay-prev,.z82mc-bay-next,.z82mc-bay-flip)>span{display:grid;place-items:center;position:static;inset:auto;margin:0;padding:0;transform:none;font-size:0;line-height:1;width:24px;height:28px}
#z82-mobile-root #app-shell .z82mc :is(.z82mc-bay-prev,.z82mc-bay-next,.z82mc-bay-flip)>span::before{content:"";display:block;width:24px;height:24px;background:currentColor;-webkit-mask:var(--z82mc-control-icon) center/24px 24px no-repeat;mask:var(--z82mc-control-icon) center/24px 24px no-repeat}
#z82-mobile-root #app-shell .z82mc .z82mc-bay-prev>span{--z82mc-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 6L9 12L15 18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#z82-mobile-root #app-shell .z82mc .z82mc-bay-next>span{--z82mc-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6L15 12L9 18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#z82-mobile-root #app-shell .z82mc .z82mc-bay-flip>span{--z82mc-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4V20M8 8L12 4L16 8M8 16L12 20L16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* The title spans the phone width; its step count and 3D action share the next row. */
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-wizard-head{padding:8px;margin-bottom:16px;background:#ffffffe6;border:1px solid #fff;border-radius:16px;box-shadow:0 1px 8px #20332608}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px!important;min-height:0}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-copy{display:contents}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-copy>h1{grid-column:1/-1;min-width:0;margin:0;font-size:clamp(17px,4.6vw,20px);line-height:1.2;letter-spacing:-.02em;white-space:nowrap;color:#263727}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-copy>span{grid-column:1;align-self:center;min-height:0}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-model{grid-column:2;grid-row:2;min-height:36px;padding:4px 8px;font-size:12px!important}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-progress{margin:4px 0 0}
@media(min-width:600px){
 #z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-main{display:flex;align-items:center;justify-content:space-between;gap:8px!important}
 #z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-header-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
}
/* An explicit choice also reveals the schematic in short landscape layouts. */
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-shape-preview[data-shape-selected]{display:block;grid-column:1/-1}
/* Keep each complete opening label on one readable line with a 44px tap target. */
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-opening-add{grid-template-columns:minmax(0,1fr);gap:8px}
#z82-mobile-root:not(.z82-common-calculator-desktop) #app-shell .z82mc .z82mc-opening-add>button{min-height:44px!important;padding:8px 10px;font-size:clamp(14px,3.8vw,16px);line-height:1.3;white-space:nowrap;border:1px dashed #b3c39e!important;border-radius:14px;color:#4d6e25!important;background:#f5f8ef!important}
/* Match the public page eyebrow and align the description to the control column. */
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-intro{grid-template-columns:minmax(0,1.5fr) minmax(410px,1fr);gap:0}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-eyebrow{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.11em}
#z82-mobile-root.z82-common-calculator-desktop #app-shell .z82mc-desktop-eyebrow::before{content:"";display:block;flex-shrink:0;width:30px;height:2px;background:#a7d82d}
/* The scene caption is a UI label, with its former heading appearance retained. */
#z82-mobile-root #app-shell .z82mc .z82mc-scene-title{margin:0;font-size:calc(22px * var(--z82-text-scale,1));line-height:1.3;letter-spacing:-.02em;font-weight:720;color:var(--mc-ink)}

/* Side length: the same editable value and limits, with explicit half-metre controls. */
#z82-mobile-root #app-shell .z82mc .z82mc-length-field{grid-template-columns:auto minmax(0,1fr);gap:8px;font-size:16px}
#z82-mobile-root #app-shell .z82mc .z82mc-length-field>label{white-space:nowrap}
#z82-mobile-root #app-shell .z82mc .z82mc-length-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:stretch;width:min(100%,320px);justify-self:end;border:1px solid #c8d4ba;border-radius:12px;overflow:hidden;background:#fff}
#z82-mobile-root #app-shell .z82mc .z82mc-length-stepper>input{min-width:0;width:100%;min-height:48px;padding:8px 2px;border:0;border-radius:0;background:#fff;text-align:center;font-size:20px;font-weight:700;appearance:textfield;-moz-appearance:textfield}
#z82-mobile-root #app-shell .z82mc .z82mc-length-stepper>input::-webkit-inner-spin-button,#z82-mobile-root #app-shell .z82mc .z82mc-length-stepper>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#z82-mobile-root #app-shell .z82mc .z82mc-length-stepper>button{display:grid;place-items:center;min-width:44px;min-height:48px;padding:0;border:0;border-radius:0;font-size:24px;line-height:1;color:#466025;background:#f0f5e8;touch-action:manipulation}
#z82-mobile-root #app-shell .z82mc .z82mc-length-stepper>button:active{background:#dfecc7}
/* Separate the light visual handle from the scheme; its real touch target stays 44px. */
#z82-mobile-root #app-shell .z82mc .z82mc-opening-adjust{display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:start;gap:10px;margin:10px 0 12px}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-slider{min-width:0;margin:0;--opening-handle-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12H20M8 8L4 12L8 16M16 8L20 12L16 16' fill='none' stroke='%23334f20' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-slider>input[type="range"]::-webkit-slider-runnable-track{height:4px;border:0;border-radius:4px}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-slider>input[type="range"]::-moz-range-track,#z82-mobile-root #app-shell .z82mc .z82mc-opening-slider>input[type="range"]::-moz-range-progress{height:4px;border:0;border-radius:4px}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-slider>input[type="range"]::-webkit-slider-thumb{width:44px;height:44px;margin-top:-20px;border:0;border-radius:50%;background:var(--opening-handle-icon) center/22px 22px no-repeat,radial-gradient(circle,#e7f0db 0 13px,#7b9b52 13px 14px,transparent 14.5px);box-shadow:none}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-slider>input[type="range"]::-moz-range-thumb{width:44px;height:44px;border:0;border-radius:50%;background:var(--opening-handle-icon) center/22px 22px no-repeat,radial-gradient(circle,#e7f0db 0 13px,#7b9b52 13px 14px,transparent 14.5px);box-shadow:none}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-model{display:flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:8px;border:1px solid #b8ca9d;border-radius:12px;background:#f4f8ed;color:#3d5d21;font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap;touch-action:manipulation}
#z82-mobile-root #app-shell .z82mc .z82mc-opening-model:active{background:#dfecc7}
/* Footer arrows share the text centre instead of the font's arrow baseline. */
#z82-mobile-root #app-shell .z82mc .z82mc-actions>.z82mc-back{display:flex;align-items:center;justify-content:flex-start;gap:5px;min-height:44px;line-height:1.35}
#z82-mobile-root #app-shell .z82mc .z82mc-actions :is(.z82mc-nav-arrow,.z82mc-primary>span[aria-hidden="true"]){display:block;flex:0 0 20px;width:20px;height:20px;line-height:1;font-size:0;background:currentColor;--z82mc-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12H20M14 6L20 12L14 18' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--z82mc-nav-icon) center/20px 20px no-repeat;mask:var(--z82mc-nav-icon) center/20px 20px no-repeat}
#z82-mobile-root #app-shell .z82mc .z82mc-actions .z82mc-nav-arrow{transform:rotate(180deg)}
/* Instruction icons align with their own text; the slab rows remain unchanged. */
#z82-mobile-root #app-shell .z82mc .z82mc-plate-guide{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
#z82-mobile-root #app-shell .z82mc .z82mc-plate-guide>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
#z82-mobile-root #app-shell .z82mc .z82mc-guide-icon{display:inline-block;flex:0 0 20px;width:20px;height:20px;font-size:0;line-height:1;background:currentColor;-webkit-mask:var(--z82mc-guide-icon) center/20px 20px no-repeat;mask:var(--z82mc-guide-icon) center/20px 20px no-repeat}
#z82-mobile-root #app-shell .z82mc .z82mc-guide-cycle{--z82mc-guide-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12H20M8 8L4 12L8 16M16 8L20 12L16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#z82-mobile-root #app-shell .z82mc .z82mc-guide-flip{--z82mc-guide-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4V20M8 8L12 4L16 8M8 16L12 20L16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
