/* Узория: тёплые акценты и аккуратное кадрирование примеров */
.app-shell .button.primary{
  color:#fff;
  background:linear-gradient(145deg,#efb8a8 0%,#df8d7b 62%,#cf766b 100%);
  border-color:#f8d8ce;
  box-shadow:6px 8px 16px #b9756950,-4px -4px 13px #fff9,inset 0 2px 3px #fff9d9,inset 0 -3px 5px #9e514522;
}
.app-shell .button.primary:hover:not(:disabled){
  filter:saturate(1.06) brightness(1.035);
  box-shadow:8px 11px 20px #b975695c,-4px -4px 13px #fff9,inset 0 2px 3px #fff9d9,inset 0 -3px 5px #9e514522;
}
.app-shell .button.primary:active:not(:disabled){
  box-shadow:inset 3px 4px 8px #8e514333,inset -2px -2px 6px #fff8;
}
.app-shell .button:focus-visible,.app-shell .text-link:focus-visible,.app-shell .text-button:focus-visible{
  outline:3px solid #d98172;
  outline-offset:3px;
}
.example-shell{overflow:hidden}
.comparison-pair,.comparison-pair>figure{min-width:0;max-width:100%;overflow:hidden}
.comparison-image{
  width:100%;
  min-width:0;
  contain:paint;
  isolation:isolate;
}
.comparison-image img,.comparison-image canvas{
  display:block;
  max-width:100%;
  max-height:100%;
}
@media(max-width:760px){
  .comparison-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .comparison-image{height:clamp(210px,64vw,250px)}
  .example-shell{overflow:hidden}
}
/* Compact, aligned comparison previews — audited on mobile and desktop. */
.app-shell .comparison-pair{align-items:start}
.app-shell .comparison-pair>figure{display:grid;grid-template-rows:auto 1fr;align-self:stretch}
.app-shell .comparison-image{height:auto;min-height:0;aspect-ratio:1 / 1;border-radius:18px;padding:0}
.app-shell .comparison-image img,.app-shell .comparison-image canvas{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.app-shell .comparison-pair figcaption{display:grid;align-content:start;gap:5px;padding:12px 2px 0;line-height:1.45}
.app-shell .comparison-pair figcaption>span{min-height:1.45em}
.app-shell .example-options{margin:20px 0}
.app-shell .example-bottom{margin-top:18px;padding-top:16px}
.app-shell .faq h2 br{display:initial}
@media(max-width:760px){
.app-shell .example-shell{padding:16px}
.app-shell .example-tabs{gap:7px}
.app-shell .example-tabs>button{padding:8px 5px;gap:5px}
.app-shell .example-tabs img{width:44px;height:44px;border-radius:10px}
.app-shell .example-options{margin:16px 0;gap:12px}
.app-shell .example-options select{height:44px;min-height:44px;font-size:16px;max-width:60%}
.app-shell .comparison-pair{gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.app-shell .comparison-image{border-radius:15px}
.app-shell .comparison-pair figcaption{padding-top:9px;gap:4px;font-size:10px}
.app-shell .comparison-pair figcaption>span{min-height:2.9em}
.app-shell .comparison-pair figcaption strong{font-size:11px}
.app-shell .example-bottom{margin-top:14px;padding-top:14px;gap:14px}
}
@media(max-width:760px){
.app-shell .checkout-dialog input:not([type="checkbox"]):not([type="range"]):not([type="color"]){font-size:16px;min-height:44px}
.app-shell .checkout-dialog .dialog-close{min-width:44px;min-height:44px}
.app-shell .checkout-dialog .segmented>button,.app-shell .checkout-dialog .text-button{min-height:44px}
}
