.restoration-preview .neuro-preview__header h1 { max-width: 1100px; }
.restoration-preview__setting { position: relative; display: grid; grid-template-columns: minmax(135px, 35%) minmax(0,1fr); align-items: center; gap: 12px; margin-bottom: 18px; }
.restoration-preview__setting-label { color: #77747d; font-size: 14px; font-weight: 700; }
.restoration-preview #aspectRatioSelect { position: relative; min-width: 0; }
.restoration-preview #aspectRatioSelect .select-header { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; border: 1px solid #e7ded7; border-radius: 13px; background: #fff; color: #3c3b43; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.restoration-preview #aspectRatioSelect .select-header:hover, .restoration-preview #aspectRatioSelect .select-header:focus-visible { border-color: #f58b30; box-shadow: 0 0 0 3px rgba(245,130,30,.1); outline: 0; }
.restoration-preview #aspectRatioSelect .select-header .arrow { display: inline-block; padding: 0; border: 0; background: none; color: #ef7917; font-size: 11px; }
.restoration-preview #aspectRatioSelect .select-header .svg-icon { width: 23px; height: 23px; object-fit: contain; }
.restoration-preview #aspectRatioSelect .select-options { position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; right: 0; display: none; max-height: 290px; overflow-y: auto; padding: 6px; border: 1px solid #ebe2d9; border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(43,31,22,.15); }
.restoration-preview #aspectRatioSelect .select-options.expanded { display: block; }
.restoration-preview #aspectRatioSelect .option { display: flex; width: 100%; min-height: 39px; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: #45434a; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.restoration-preview #aspectRatioSelect .option:hover, .restoration-preview #aspectRatioSelect .option:focus-visible { background: #fff3e8; outline: 0; }
.restoration-preview #aspectRatioSelect .option.selected { background: #fff1e4; color: #e96e08; font-weight: 750; }
.restoration-preview #aspectRatioSelect .option .svg-icon { width: 22px; height: 22px; object-fit: contain; }
.restoration-preview__check { display: none; margin-left: auto; color: #f47d16; }
.restoration-preview #aspectRatioSelect .option.selected .restoration-preview__check { display: block; }
.restoration-preview__upscale-cost { display: flex; align-items: center; gap: 4px; color: #ee7516; font-size: 15px; }
.restoration-preview__colorize-toggle { position: relative; display: flex; width: 150px; height: 40px; flex: 0 0 150px; overflow: hidden; border-radius: 10px; background: #fff7ec; }
.restoration-preview__colorize-toggle input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.restoration-preview__colorize-toggle label { position: relative; z-index: 2; display: flex; flex: 1; align-items: center; justify-content: center; margin: 0; color: #f58219; font-size: 18px; cursor: pointer; }
.restoration-preview__colorize-toggle .draggable-toggle-slider { position: absolute; z-index: 1; top: 5px; left: 5px; width: calc(50% - 5px); height: calc(100% - 10px); border-radius: 8px; background: #f58219; box-shadow: 0 2px 4px rgba(0,0,0,.1); pointer-events: none; transition: left .3s ease; }
.restoration-preview #colorize-photo-no:checked ~ .draggable-toggle-slider { left: 50%; }
.restoration-preview #colorize-photo-yes:checked ~ label[for="colorize-photo-yes"], .restoration-preview #colorize-photo-no:checked ~ label[for="colorize-photo-no"] { color: #fff; }
.restoration-preview__colorize-row { margin-bottom: 14px; }
@media (max-width: 840px) { .restoration-preview__colorize-toggle { grid-column: 1 / -1; width: 100%; flex-basis: auto; } }
.restoration-preview__upscale-cost[hidden], .restoration-preview__balance-link[hidden] { display: none !important; }
.restoration-preview__upscale-cost img { width: 23px; height: 23px; }
.restoration-preview__balance-link { display: block; margin-top: 10px; color: #db670c; font-size: 13px; text-align: center; }
.restoration-preview__animate-result { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; border-radius: 14px; background: linear-gradient(110deg,#ff892b,#ff790a); color: #fff !important; font-size: 17px; font-weight: 750; text-decoration: none !important; transition: transform .2s,box-shadow .2s; }
.restoration-preview__animate-result:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(235,111,8,.22); }
.restoration-preview__animate-result img { width: 21px; height: 21px; object-fit: contain; }
.restoration-preview__steps { padding: clamp(48px,6vw,90px) 0; background: linear-gradient(180deg,#fff 0%,#fffaf6 100%); }
.restoration-preview__steps-title { margin-bottom: 32px; text-align: center; }
.restoration-preview__steps-title > span { color: #ef7619; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.restoration-preview__steps-title h2 { margin: 8px 0; color: #373842; font-size: clamp(28px,3vw,42px); line-height: 1.15; }
.restoration-preview__steps-title p { margin: 0; color: #777782; font-size: 16px; }
.restoration-preview__steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.restoration-preview__step-card { position: relative; min-height: 230px; padding: 30px; border: 1px solid #f1e9e1; border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(73,50,33,.055); transition: transform .25s,box-shadow .25s,border-color .25s; }
.restoration-preview__step-card:hover { transform: translateY(-5px); border-color: #f8c598; box-shadow: 0 20px 42px rgba(103,59,26,.12); }
.restoration-preview__step-number { position: absolute; top: 27px; right: 30px; color: #f5d8be; font-size: 21px; font-weight: 800; }
.restoration-preview__step-icon { display: flex; width: 60px; height: 60px; align-items: center; justify-content: center; margin-bottom: 23px; border-radius: 17px; background: linear-gradient(135deg,#ff9a3e,#fa7510); box-shadow: 0 9px 18px rgba(241,116,18,.22); }
.restoration-preview__step-icon img { width: 31px; height: 31px; object-fit: contain; filter: brightness(0) invert(1); }
.restoration-preview__step-card h3 { margin: 0 0 8px; color: #393943; font-size: 20px; line-height: 1.25; }
.restoration-preview__step-card p { margin: 0; color: #797982; font-size: 15px; line-height: 1.5; }
@media (max-width: 840px) {
  .neuro-preview.restoration-preview[data-mobile-step="photos"] .neuro-preview__workspace > .neuro-preview__output { order: -1; }
  .neuro-preview.restoration-preview[data-mobile-step="photos"] .neuro-preview__workspace > .neuro-preview__controls { order: 0; }
  .restoration-preview__setting { grid-template-columns: 1fr; gap: 8px; }
  .restoration-preview__steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .restoration-preview__step-card { min-height: 0; padding: 22px 22px 22px 95px; }
  .restoration-preview__step-icon { position: absolute; top: 22px; left: 20px; width: 56px; height: 56px; margin: 0; }
  .restoration-preview__step-number { top: 20px; right: 22px; font-size: 17px; }
  .restoration-preview__step-card h3 { padding-right: 26px; font-size: 17px; }
  .restoration-preview__step-card p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .restoration-preview__step-card, .restoration-preview__animate-result { transition: none; } }

/* Keep the default ratio readable in the narrow settings column. */
.restoration-preview #aspectRatioSelect .select-header .selected-value {
  min-width: 0;
  font-size: 13px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.restoration-preview #aspectRatioSelect .select-header .arrow {
  flex: 0 0 auto;
}

/* The template already prints ≈ before the time; the theme adds one globally. */
.restoration-preview .neuro-preview__launch .sekund::before {
  content: none;
}
