

:root { --err: #FF9B8F; --ok: #8FD3A8; --wait: #F0C674; }
:root[data-theme="light"] { --err: #A12A1C; --ok: #1A6038; --wait: #7A4F00; }


.ord { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 48px; align-items: start; padding-bottom: 48px; }
.ord-form { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ord-sum { grid-column: 9 / 13; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 120px); padding: 24px; border-radius: 6px; background: var(--bg-2); }
.ord-sum > * { flex: none; }
.sum-t { font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; font-stretch: 112%; }

.lines { display: grid; align-content: start; }
.ord-sum .lines { flex: 0 1 auto; min-height: 88px; overflow-y: auto; overscroll-behavior: contain; }
.ord-sum .lines:empty { min-height: 0; }
.ord-sum .lines[tabindex] { -webkit-mask-image: linear-gradient(#000 calc(100% - 24px), transparent); mask-image: linear-gradient(#000 calc(100% - 24px), transparent); }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: calc(var(--fs-b) * 15 / 16); }
.lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines li[data-k="price-group"] { padding: 16px 0 6px; border-bottom: 0; font-size: calc(var(--fs-b) * 13 / 16); font-weight: 600; color: var(--fg-2); }
.lines li[data-k="price-group"]:first-child { padding-top: 0; }
.lines li[data-k="price-group"] span:last-child { white-space: normal; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; }
.total strong { font-size: var(--fs-h3); font-weight: 400; font-stretch: 112%; white-space: nowrap; }
.renew { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: calc(var(--fs-b) * 14 / 16); }
.renew strong { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.renew[hidden] { display: none; }
.ord-sum .send { width: 100%; }
@media (max-width: 1099px) {
  .ord { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .ord-sum { position: static; max-height: none; }
}


.blk { min-width: 0; margin: 0; padding: 24px; border: 0; border-radius: 6px; background: var(--bg-2); }
.blk legend { padding: 0; font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; font-stretch: 112%; }
.blk > .hint { margin: 4px 0 16px; }
.hint { font-size: calc(var(--fs-b) * 13 / 16); color: var(--fg-2); }
.note { font-size: calc(var(--fs-b) * 15 / 16); }
.req { margin-left: 4px; color: var(--err); }
@media (max-width: 699px) { .blk { padding: 20px 16px; } }


.sr-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.box { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--fg-2); color: transparent; }
.box.round { border-radius: 50%; }
.sr-input:checked + .box { background: var(--btn); color: var(--on-btn); box-shadow: none; }
.sr-input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: calc(var(--fs-b) * 15 / 16); font-weight: 600; cursor: pointer; }
.opt:has(.sr-input:checked) { box-shadow: inset 0 0 0 2px var(--fg); }
.opts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 699px) { .opts3 { grid-template-columns: 1fr; } }


.tpl { display: none; grid-template-columns: 120px minmax(0, 1fr) auto auto; grid-template-rows: auto auto; gap: 8px 16px; align-items: center; padding: 16px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.tpl [hidden] { display: none !important; }
.tpl-thumb { border-radius: 4px; overflow: hidden; }
.tpl-thumb:empty { display: none; }
.tpl:has(.tpl-thumb:empty) { grid-template-columns: minmax(0, 1fr) auto auto; }
.tpl-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.tpl-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tpl-name { font-size: calc(var(--fs-b) * 15 / 16); font-weight: 600; }

.tpl-price { display: flex; flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 6px; font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; white-space: nowrap; }
.tpl-price .pf { margin-right: 0; }
.tpl-price [data-fill="figure"] { display: inline-flex; align-items: baseline; gap: 6px; }

.tpl-thumb { grid-column: 1; grid-row: 1; align-self: start; }
.tpl-see { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; }
.tpl-text { grid-column: 2; grid-row: 1; }
.tpl-price { grid-column: 3; grid-row: 1; }
.tpl-chg { grid-column: 4; grid-row: 1; }
.tpl-terms { grid-column: 2 / -1; grid-row: 2; align-self: center; }
.tpl:has(.tpl-thumb:empty) .tpl-text { grid-column: 1; grid-row: 1; }
.tpl:has(.tpl-thumb:empty) .tpl-see { grid-row: 2; }
.tpl:has(.tpl-thumb:empty) .tpl-price { grid-column: 2; grid-row: 1; }
.tpl:has(.tpl-thumb:empty) .tpl-chg { grid-column: 3; grid-row: 1; }
.tpl:has(.tpl-thumb:empty) .tpl-terms { grid-column: 1 / -1; grid-row: 3; }

.tpl-see { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-block: -10px -8px; font-size: calc(var(--fs-b) * 15 / 16); color: var(--fg); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.tpl-see:hover { text-decoration-thickness: 2px; }
.tpl-chg { white-space: nowrap; }
.tpl-sel { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 16px; border-radius: 8px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-b); line-height: 1.3; text-align: left; cursor: pointer; }
.tpl-sel .ic { flex: none; }
.tpl-sel-l { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.tpl-sel-n { flex: none; }
.tpl-sel:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--fg); }
.blk.field.invalid .tpl-sel { box-shadow: inset 0 0 0 2px var(--err); }
@media (hover: hover) { .tpl-sel:hover { box-shadow: inset 0 0 0 1px var(--fg-2); } }
.blk:has(input[name="template"]:checked) .tpl { display: grid; }
.blk:has(input[name="template"]:checked) .tpl-sel { display: none; }
.opt-wide { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 16px; }
.opt-wide + .opt-wide { margin-top: 12px; }   
.tpl-more { display: none; }
.choice { display: grid; gap: 8px; }
.choice[hidden] { display: none; }
.blk:has(input[name="template"]:checked) .tpl-more { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }


html.pick-lock { overflow: hidden; }
@keyframes pick-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pick-fade { from { opacity: 0; } }
.tpl-dlg { width: min(960px, calc(100vw - 48px)); max-width: none; height: min(760px, calc(100vh - 48px)); max-height: none; padding: 0; border: 0; border-radius: 12px; background: var(--bg); color: var(--fg); box-shadow: 0 24px 48px var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
@supports (height: 100svh) { .tpl-dlg { height: min(760px, calc(100svh - 48px)); } }
.tpl-dlg[open] { display: flex; flex-direction: column; }
.tpl-dlg::backdrop { background: var(--scrim); }
.motion .tpl-dlg[open] { animation: pick-in .18s cubic-bezier(.2, .7, .2, 1); }
.motion .tpl-dlg[open]::backdrop { animation: pick-fade .18s linear; }
.td-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 4px 12px 4px 24px; border-bottom: 1px solid var(--line); }
.td-t { margin: 0; font-size: calc(var(--fs-b) * 18 / 16); font-weight: 600; font-stretch: 112%; line-height: 1.35; }
.td-x { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; }

.td-x:focus, .td-x:focus-visible { outline: 0; box-shadow: none; }
.td-x, .td-clr { -webkit-tap-highlight-color: transparent; }
.td-tools { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; flex: none; padding: 16px 24px 12px; border-bottom: 1px solid var(--line); }
.td-tools:not(:has(.td-sel)) { grid-template-columns: minmax(0, 1fr); }
.td-find { position: relative; }
.td-find-i { position: absolute; left: 16px; top: 14px; color: var(--fg-2); pointer-events: none; }
.td-q { display: block; width: 100%; min-height: 48px; padding: 0 48px 0 44px; border: 0; border-radius: 8px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: var(--fs-b); line-height: 1.3; -webkit-appearance: none; appearance: none; }
.td-q::-webkit-search-cancel-button, .td-q::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.td-q::placeholder { color: var(--fg-2); opacity: 1; }
.td-q:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--fg); }
.blk.field.invalid .td-q { box-shadow: inset 0 0 0 1px var(--line); }
.blk.field.invalid .td-q:focus-visible { box-shadow: inset 0 0 0 2px var(--fg); }
.td-clr { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }

.td-sel .sel { width: 100%; }
.td-n { grid-column: 1 / -1; margin: 0; }
.td-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px 24px; }
.td-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tc { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 8px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.tc[hidden] { display: none; }
.tc-thumb { position: relative; display: block; margin-bottom: 6px; border-radius: 4px; overflow: hidden; background: var(--bg-2); }
.tc-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.tc-name { font-size: calc(var(--fs-b) * 15 / 16); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tc-ind, .tc-mod { font-size: calc(var(--fs-b) * 13 / 16); line-height: 1.35; color: var(--fg-2); }
.tc-mod { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-price { margin-top: 4px; font-size: calc(var(--fs-b) * 14 / 16); font-variant-numeric: tabular-nums; }
.tc-price .pf { color: var(--fg-2); }
.tc .tc-box { position: absolute; top: 16px; right: 16px; visibility: hidden; }
.tc .sr-input:checked + .tc-box { visibility: visible; }
.tc:has(.sr-input:checked) { box-shadow: inset 0 0 0 2px var(--fg); }
.tc:has(.sr-input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .tc:not(:has(.sr-input:checked)):hover { box-shadow: inset 0 0 0 1px var(--fg-2); } }
.td-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 16px; text-align: center; font-size: var(--fs-b); }
.td-empty[hidden] { display: none; }
.td-empty p { margin: 0; }

:is(html:not(.js), html.no-dlg) .tpl-dlg { position: static; display: block; width: auto; height: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none; color: inherit; }
:is(html:not(.js), html.no-dlg) :is(.tpl-sel, .tpl, .td-head, .td-tools) { display: none !important; }
:is(html:not(.js), html.no-dlg) .td-list { overflow: visible; padding: 0; }
:is(html:not(.js), html.no-dlg) .td-grid { grid-template-columns: minmax(0, 1fr); }

.own { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; margin-top: 24px; padding: 20px 24px; border-radius: 12px; background: var(--lit); color: var(--on-lit); }
.own-i { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--lit-line); }
.own-i .ic { width: 24px; height: 24px; stroke-width: 1.5; }
.own-t { grid-column: 2; grid-row: 1 / 3; font-size: var(--fs-h4); font-weight: 600; font-stretch: 112%; line-height: 1.25; }
.own-b { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 699px) {
  .own { grid-template-columns: 48px minmax(0, 1fr); padding: 20px; }
  .own-i { grid-column: 1; grid-row: 1; }
  .own-t { grid-column: 2; grid-row: 1; text-align: left; }
  .own-b { grid-column: 1 / -1; grid-row: 2; justify-content: center; margin-top: 12px; }
}
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dots { display: grid; gap: 6px; margin-top: 8px; font-size: calc(var(--fs-b) * 15 / 16); }
.dots li { display: grid; grid-template-columns: 12px 1fr; gap: 8px; align-items: baseline; }
.dots li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-2); transform: translateY(-2px); }
@media (max-width: 699px) {
  
  .tpl { grid-template-columns: 104px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
  .tpl:has(.tpl-thumb:empty) { grid-template-columns: minmax(0, 1fr); }
  .tpl-thumb { grid-column: 1; grid-row: 1; }
  .tpl-see, .tpl:has(.tpl-thumb:empty) .tpl-see { grid-column: 1; grid-row: 2; gap: 4px; font-size: calc(var(--fs-b) * 14 / 16); }
  .tpl-text, .tpl:has(.tpl-thumb:empty) .tpl-text { grid-column: 2; grid-row: 1 / 3; }
  .tpl .tpl-price { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; font-size: calc(var(--fs-b) * 15 / 16); white-space: normal; margin-top: 8px; }
  .tpl:has(.tpl-thumb:empty) .tpl-text { grid-column: 1; grid-row: 1; }
  .tpl .tpl-terms, .tpl:has(.tpl-thumb:empty) .tpl-terms { grid-column: 1 / -1; grid-row: 4; }
  .tpl-chg, .tpl:has(.tpl-thumb:empty) .tpl-chg { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; }
  .tpl-dlg { width: 100%; height: 88vh; margin: auto 0 0; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -16px 48px var(--shadow), 0 0 0 1px var(--line); }
  @supports (height: 100svh) { .tpl-dlg { height: 88svh; } }
  .td-head { padding-left: 20px; }
  
  .td-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 16px; gap: 10px; }
  .td-tools:not(:has(.td-sel)) { grid-template-columns: minmax(0, 1fr); }
  .td-find-i { left: 10px; }
  .td-q { padding: 0 8px 0 36px; text-overflow: ellipsis; }
  .td-q:not(:placeholder-shown) { padding-right: 48px; }
  .td-sel .sel-b { padding: 12px 36px 12px 12px; }
  .td-list { padding: 12px 16px 24px; }
  .td-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .tc { padding: 6px 6px 10px; }
  .tc .tc-box { top: 12px; right: 12px; }
  .opt-wide { grid-template-columns: 24px minmax(0, 1fr); }
  .opt-wide .tpl-text { grid-column: 2; grid-row: 1; }
  .opt-wide .tpl-price { grid-column: 2; grid-row: 2; justify-content: flex-start; margin-top: -8px; }   
  .scope { grid-template-columns: 1fr; gap: 16px; }
}


.pks { border-top: 1px solid var(--line); }
.pk { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 0 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pk-pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; min-width: 0; }
.pk-txt { display: flex; flex-direction: column; min-width: 0; }
.pk-name { font-size: calc(var(--fs-b) * 15 / 16); font-weight: 600; }
.pk-desc { font-size: calc(var(--fs-b) * 13 / 16); color: var(--fg-2); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.pk:has(.pk-more[open]) .pk-desc { -webkit-line-clamp: unset; display: block; }
.pk-price { font-size: calc(var(--fs-b) * 15 / 16); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-more summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; list-style: none; cursor: pointer; color: var(--fg-2); }
.pk-more summary::-webkit-details-marker { display: none; }
.pk-more[open] summary svg { transform: rotate(180deg); }
.pk:has(.sr-input:checked) .pk-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.pk-v, .pk-in { display: block; text-align: right; }
.pk-in { max-width: 96px; font-size: calc(var(--fs-b) * 13 / 16); line-height: 1.3; white-space: normal; color: var(--fg-2); }
.pk[data-covered] .pk-v { text-decoration: line-through; color: var(--fg-2); }
.pk[data-covered] .box { background: var(--line); color: var(--fg); box-shadow: none; }
.pk[data-covered] .pk-pick { cursor: default; }


.srow { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.srow:last-of-type { border-bottom: 0; }

.srow label { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; gap: 2px; font-size: calc(var(--fs-b) * 15 / 16); font-weight: 600; }
.srow label .hint { font-weight: 400; }

[data-k="order-capacity"] .srow { gap: 12px 16px; }
.stepper { display: inline-flex; flex: none; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.stepper input { width: 56px; height: 44px; border: 0; background: none; color: var(--fg); font: inherit; font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }


.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 16px; }
.fields .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fields .field.wide { grid-column: 1 / 3; }
.fields label { font-size: calc(var(--fs-b) * 15 / 16); font-weight: 600; }
.fields input, .fields textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 8px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: var(--fs-b); box-shadow: inset 0 0 0 1px var(--line);
}
.fields textarea { resize: vertical; }
.fields input::placeholder { color: var(--fg-2); }
.fields input:focus, .fields textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--fg); }
.field.invalid input { box-shadow: inset 0 0 0 2px var(--err); }
.err { display: flex; align-items: flex-start; gap: 6px; font-size: calc(var(--fs-b) * 14 / 16); color: var(--err); }
.err .ic { margin-top: 2px; }
.blk.field.invalid { box-shadow: inset 0 0 0 2px var(--err); }
.blk > .err { margin-top: 12px; }
@media (max-width: 699px) { .fields { grid-template-columns: 1fr; } .fields .field.wide { grid-column: 1; } }


.err-sum { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--err); font-size: calc(var(--fs-b) * 15 / 16); }
.err-sum > p { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--err); }
.err-sum a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--fg); text-underline-offset: 4px; }
.err-sum ul { display: grid; padding-left: 28px; }


.send { gap: 10px; }
.send > span { display: inline-flex; align-items: center; gap: 10px; }
.send:disabled, [data-state~="sending"] .send { cursor: progress; }
.spin { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; border: 2px solid transparent; border-right-color: var(--btn); }
.motion .spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


.abar .ab-sum { text-decoration: none; min-height: 44px; justify-content: center; }
.abar .ab-sum strong { white-space: nowrap; }


.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.meta dt { font-size: calc(var(--fs-b) * 13 / 16); color: var(--fg-2); }
.meta dd { margin: 4px 0 0; font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; overflow-wrap: anywhere; }
.st { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; font-size: calc(var(--fs-b) * 14 / 16); font-weight: 600; }
.st-wait { color: var(--wait); box-shadow: inset 0 0 0 1px var(--wait); }
.st-ok, .st-live { color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.os-prog { padding-top: 0; }
.os-prog .kind { margin-bottom: 16px; }
.steps5 { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps5::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--line); }
.stp { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: calc(var(--fs-b) * 14 / 16); color: var(--fg-2); }
.stp .no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.stp.done { color: var(--fg); }
.stp.done .no { background: var(--fg-2); color: var(--bg); box-shadow: none; }
.stp.cur { color: var(--fg); font-weight: 600; }
.stp.cur .no { background: var(--btn); color: var(--on-btn); box-shadow: 0 0 0 4px var(--line); }
.os-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 48px; align-items: start; padding-inline: var(--gut); padding-bottom: 48px; }
.os-body > .pay { grid-column: 1 / 8; }
.os-body > .os-sum { grid-column: 8 / 13; grid-row: 1 / 3; }
.os-body > .os-tg { grid-column: 1 / 8; --tg-radius: 6px; }
.paid.miss { color: var(--fg); font-weight: 600; }
.pay { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 6px; background: var(--bg-2); }
.pay-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr svg { display: block; width: 200px; height: 200px; border-radius: 6px; }
.prows { display: grid; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l b" "v b"; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prow dt { grid-area: l; font-size: calc(var(--fs-b) * 13 / 16); color: var(--fg-2); }
.prow dd { grid-area: v; margin: 0; font-size: calc(var(--fs-b) * 17 / 16); font-weight: 600; overflow-wrap: anywhere; }
.cpy { grid-area: b; display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: calc(var(--fs-b) * 14 / 16); font-weight: 600; }
.paid { display: flex; justify-content: space-between; gap: 16px; font-size: calc(var(--fs-b) * 15 / 16); color: var(--fg-2); }
.os-sum .actions { flex-direction: column; align-items: stretch; }
@media (max-width: 1099px) {
  .meta { grid-template-columns: 1fr 1fr; }
  .os-body { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .os-sum { position: static; }
}
@media (max-width: 699px) {
  .meta { margin-top: 24px; gap: 16px; }
  .steps5 { grid-template-columns: 1fr; gap: 12px; }
  .steps5::before { left: 16px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stp { flex-direction: row; align-items: center; gap: 12px; font-size: calc(var(--fs-b) * 15 / 16); }
  .pay { padding: 20px 16px; }
  .pay-grid { grid-template-columns: 1fr; gap: 16px; }
  .qr svg { width: 188px; height: 188px; }
}


.scope-terms { white-space: pre-line; }
.opt.is-off { opacity: .55; }
.send.is-sending { cursor: progress; }
.ord-sum.is-loading .total strong { opacity: .6; }
.qr .qr-code { background: #FFFFFF; padding: 12px; border-radius: 6px; line-height: 0; }
.qr .qr-code svg { width: 176px; height: 176px; border-radius: 0; }
.qr svg .dark { fill: #172948; }
@media (max-width: 699px) { .qr .qr-code svg { width: 164px; height: 164px; } }
