.ty{--ty-ink:#141414;--ty-text:#3d3d3d;--ty-muted:#6b6b6b;--ty-line:var(--line,#ebebeb);--ty-soft:#f5f5f6;--ty-ok:#1c6e46;--ty-ok-bg:#e7f4ec;--ty-warn:#7a4f00;--ty-warn-bg:#fff3d6;--ty-err:#a8261c;--ty-err-bg:#fdecea;padding:20px 0 48px;color:var(--ty-text)}@media (min-width:768px){.ty{padding:36px 0 64px}}.ty-wrap{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.ty-narrow{max-width:560px;margin:0 auto}.ty-grid{display:grid;grid-gap:16px;gap:16px}.ty-col{display:flex;flex-direction:column;gap:16px;min-width:0}@media (min-width:992px){.ty-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:20px}.ty-col{gap:20px}}.ty-muted{margin:0;font-size:13.5px;color:var(--ty-muted)}.ty-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.ty-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border:1.5px solid transparent;border-radius:var(--btn-radius);font-size:14px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.ty-btn svg{flex:none}.ty-btn--primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.ty-btn--primary:focus-visible,.ty-btn--primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover);color:var(--on-primary)}.ty-btn--outline{background:#fff;border-color:var(--primary);color:var(--primary-text)}.ty-btn--outline:hover:not(:disabled){background:var(--primary-soft);color:var(--primary-text)}.ty-btn--ghost{background:var(--ty-soft);color:var(--ty-ink)}.ty-btn--ghost:hover:not(:disabled){background:#eaeaec;color:var(--ty-ink)}.ty-btn:focus-visible,.ty-copy:focus-visible,.ty-hero__continue:focus-visible,.ty-item__name a:focus-visible,.ty-link:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.ty-btn:disabled{opacity:.55;cursor:not-allowed}.ty-copy{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:0;border-radius:var(--btn-radius-sm);background:var(--primary-soft);color:var(--primary-text);font-size:12.5px;font-weight:700;cursor:pointer}.ty-copy:hover{background:color-mix(in srgb,var(--primary) 18%,#fff)}.ty-link{font-size:13.5px;font-weight:600;color:var(--primary-text);text-decoration:underline;text-underline-offset:3px}.ty-link:hover{color:var(--primary-hover)}.ty-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap}.ty-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.ty-chip--success{background:var(--ty-ok-bg);color:var(--ty-ok)}.ty-chip--warning{background:var(--ty-warn-bg);color:var(--ty-warn)}.ty-chip--neutral{background:var(--ty-soft);color:#444}.ty-card{background:#fff;border:1px solid var(--ty-line);border-radius:14px;padding:18px 16px}@media (min-width:768px){.ty-card{padding:22px 24px}}.ty .ty-card__title{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:16px;line-height:1.3;font-weight:700;color:var(--ty-ink)}.ty-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--primary-soft);color:var(--primary-text);font-size:12px;font-weight:700}.ty-hero{text-align:center;padding:28px 16px 22px;border:1px solid var(--ty-line);border-radius:18px;background:linear-gradient(180deg,var(--primary-soft) 0,#fff 70%)}@media (min-width:768px){.ty-hero{padding:36px 32px 28px}}.ty-hero__icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--primary);color:var(--on-primary);box-shadow:0 0 0 8px color-mix(in srgb,var(--primary) 14%,transparent)}.ty-hero.is-cancelled .ty-hero__icon{background:#e4e4e7;color:#555;box-shadow:0 0 0 8px #f1f1f3}.ty-hero.is-cancelled{background:#fff}.ty .ty-hero__title{margin:20px 0 8px;font-size:clamp(22px,5.2vw,30px);line-height:1.2;font-weight:800;color:var(--ty-ink);overflow-wrap:anywhere}.ty-hero__lead{margin:0;font-size:15px;line-height:1.5;color:var(--ty-text)}.ty-hero__next{max-width:540px;margin:6px auto 0;font-size:14px;line-height:1.55;color:var(--ty-muted)}.ty-hero__recent{display:block;width:-moz-fit-content;width:fit-content;max-width:100%;margin:12px auto 0;padding:4px 12px;border-radius:999px;background:var(--ty-soft);font-size:12.5px;color:var(--ty-muted)}.ty-ordno{display:inline-flex;align-items:center;gap:14px;max-width:100%;margin:18px auto 0;padding:8px 8px 8px 16px;border:1px dashed color-mix(in srgb,var(--primary) 45%,var(--ty-line));border-radius:12px;background:#fff;text-align:left}.ty-ordno>div{min-width:0}.ty-ordno__label{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ty-muted)}.ty-ordno__value{display:block;font-size:18px;font-weight:800;letter-spacing:.02em;color:var(--ty-ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ty-hero__meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;margin:16px 0 0;padding:0;list-style:none;font-size:13px;color:var(--ty-muted)}.ty-hero__meta strong{color:var(--ty-ink);font-weight:700}.ty-hero__status{margin:10px 0 0;font-size:13px;color:var(--ty-muted)}.ty-hero__status strong{color:var(--ty-ink);font-weight:600}.ty-hero__actions{display:grid;grid-gap:10px;gap:10px;margin:22px auto 0;max-width:420px}@media (min-width:576px){.ty-hero__actions{display:flex;flex-wrap:wrap;justify-content:center;max-width:none}.ty-hero__actions .ty-btn{min-width:220px}}.ty-hero__hint{margin:10px 0 0;font-size:12px;color:var(--ty-muted)}.ty-hero__continue{margin-top:14px;font-size:13.5px;font-weight:600;color:var(--primary-text);text-decoration:underline;text-underline-offset:3px}.ty-hero__continue:hover{color:var(--primary-hover)}.ty-howto{border-color:color-mix(in srgb,var(--primary) 35%,var(--ty-line));background:var(--primary-soft)}.ty-howto__pay{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:10px;background:#fff}.ty-howto__pay>div{min-width:0}.ty-howto__label{display:block;font-size:12.5px;color:var(--ty-muted)}.ty-howto__acct{display:block;font-size:18px;font-weight:800;letter-spacing:.03em;color:var(--ty-ink);-webkit-user-select:all;-moz-user-select:all;user-select:all;overflow-wrap:anywhere}.ty-howto__text{margin:12px 0 0;font-size:14px;line-height:1.55;white-space:pre-wrap;color:var(--ty-text)}.ty-items{margin:0;padding:0;list-style:none}.ty-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;grid-gap:12px;gap:12px;align-items:start;padding:14px 0}.ty-item:first-child{padding-top:2px}.ty-item:last-child{padding-bottom:0}.ty-item+.ty-item{border-top:1px solid #f0f0f1}.ty-item__img{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border:1px solid #f0f0f1;border-radius:10px;background:var(--ty-soft);color:#b8b8bc}.ty-item__img img{width:100%;height:100%;object-fit:cover}.ty-item__body{min-width:0}.ty-item__name{margin:0;font-size:14.5px;font-weight:600;line-height:1.35;color:var(--ty-ink);overflow-wrap:anywhere}.ty-item__name a{display:inline;color:inherit}.ty-item__name a:hover{color:var(--primary-text);text-decoration:underline}.ty-attrs{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 0;padding:0;list-style:none}.ty-attr{display:inline-flex;align-items:baseline;gap:4px;max-width:100%;min-width:0;padding:2px 9px;border:1px solid rgba(0,0,0,.07);border-radius:999px;background:var(--ty-soft);font-size:12px;line-height:1.5;color:#333}.ty-attr__name{flex-shrink:0;color:#777}.ty-attr__value{min-width:0;overflow:hidden;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.ty-sku{margin:6px 0 0;font-size:11.5px;color:var(--ty-muted);overflow-wrap:anywhere}.ty-sku code{padding:0;background:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:11.5px;color:#444}.ty-item__qp{margin:6px 0 0;font-size:13px;color:var(--ty-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ty-item__total{font-size:14.5px;font-weight:700;color:var(--ty-ink);white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:380px){.ty-item{grid-template-columns:52px minmax(0,1fr)}.ty-item__img{width:52px;height:52px}.ty-item__total{grid-column:2}}.ty-sum{margin:0}.ty-sum__row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:7px 0;font-size:14px}.ty-sum__row dt{margin:0;font-weight:400;color:var(--ty-text)}.ty-sum__row dd{margin:0;color:var(--ty-ink);white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ty-sum__hint{display:block;margin-top:1px;font-size:12px;color:var(--ty-muted);overflow-wrap:anywhere}.ty-sum__row--discount dd,.ty-sum__row--discount dt{color:var(--success,#31a56d)}.ty-sum__row--total{margin-top:6px;padding-top:12px;border-top:1px solid var(--ty-line)}.ty-sum__row--total dt{font-size:15px;font-weight:800;color:var(--ty-ink)}.ty-sum__row--total dd{font-size:18px;font-weight:800;color:var(--primary-text)}.ty-sum__row--due{margin-top:8px;padding:10px 12px;border-radius:10px;background:var(--ty-soft)}.ty-sum__row--due dd,.ty-sum__row--due dt{font-weight:700;color:var(--ty-ink)}.ty-pay{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--ty-line);font-size:14px;color:var(--ty-ink)}.ty-pay__label{display:block;font-size:12px;color:var(--ty-muted)}.ty-info{display:grid;grid-gap:10px;gap:10px;margin:0}.ty-info__row{display:grid;grid-template-columns:96px minmax(0,1fr);grid-gap:10px;gap:10px;font-size:14px;line-height:1.5}.ty-info__row dt{margin:0;font-weight:400;color:var(--ty-muted)}.ty-info__row dd{margin:0;color:var(--ty-ink);overflow-wrap:anywhere;white-space:pre-wrap}.ty-help__text{margin-bottom:12px}.ty-help__actions{display:grid;grid-gap:8px;gap:8px;justify-items:stretch}.ty-help__actions .ty-link{justify-self:center;margin-top:4px}.ty-state{text-align:center;padding:30px 20px}@media (min-width:768px){.ty-state{padding:38px 36px}}.ty-state__icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--ty-soft);color:#555}.ty-state--brand .ty-state__icon{background:var(--primary-soft);color:var(--primary-text)}.ty-state--warning .ty-state__icon{background:var(--ty-warn-bg);color:var(--ty-warn)}.ty-state--error .ty-state__icon{background:var(--ty-err-bg);color:var(--ty-err)}.ty .ty-state__title{margin:18px 0 8px;font-size:clamp(20px,4.6vw,26px);line-height:1.25;font-weight:800;color:var(--ty-ink)}.ty-state__text{max-width:460px;margin:0 auto;font-size:14px;line-height:1.6;color:var(--ty-muted)}.ty-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0 0}.ty-facts>div{min-width:140px;padding:10px 14px;border:1px solid var(--ty-line);border-radius:10px;background:#fff}.ty-facts dt{margin:0;font-size:11px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--ty-muted)}.ty-facts dd{margin:2px 0 0;font-size:16px;font-weight:800;color:var(--ty-ink);overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ty-alert{margin:16px 0 0;padding:10px 12px;border-radius:10px;background:var(--ty-err-bg);color:var(--ty-err);font-size:13.5px;line-height:1.45}.ty-state__actions{display:grid;grid-gap:10px;gap:10px;max-width:360px;margin:22px auto 0}.ty-state__help{margin:18px 0 0;font-size:13.5px;color:var(--ty-muted)}.ty-state__help a{display:inline;font-weight:600;color:var(--primary-text);text-decoration:underline;text-underline-offset:3px}.ty-spin{display:inline-block;width:36px;height:36px;border:3px solid color-mix(in srgb,var(--primary) 22%,#e6e6e6);border-top-color:var(--primary);border-radius:50%;animation:ty-spin .8s linear infinite}@keyframes ty-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.ty-spin{animation-duration:2.4s}.ty-btn,.ty-copy{transition:none}}.ty-invoice-root{display:none}@media print{html.ty-has-invoice body>:not(.ty-invoice-root){display:none!important}html.ty-has-invoice body{margin:0!important;padding:0!important;background:#fff!important}html.ty-has-invoice .ty-invoice-root{display:block!important;page:tyi-invoice}}@page tyi-invoice{size:A4 portrait;margin:0}.tyi{box-sizing:border-box;width:100%;max-width:210mm;margin:0 auto;padding:12mm;-webkit-box-decoration-break:clone;box-decoration-break:clone;font-size:12px;line-height:1.5;color:#1a1a1a;-webkit-print-color-adjust:exact;print-color-adjust:exact}.tyi p{margin:0}.tyi,.tyi *{overflow-wrap:anywhere}.tyi-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:14px;border-bottom:3px solid var(--primary)}.tyi-store{min-width:0}.tyi-store p{color:#555}.tyi-logo{display:block;max-width:160px;max-height:56px;margin-bottom:6px;object-fit:contain}.tyi .tyi-store__name{font-size:16px;font-weight:800;color:#111}.tyi-title{flex-shrink:0;max-width:55%;text-align:right}.tyi .tyi-title h1{margin:0 0 8px;font-size:26px;line-height:1.1;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--primary-text)}.tyi-kv{margin:0;display:grid;grid-gap:2px;gap:2px}.tyi-kv>div{display:flex;justify-content:flex-end;gap:10px}.tyi-kv dt{margin:0;font-weight:400;color:#666;white-space:nowrap}.tyi-kv dd{margin:0;font-weight:700;color:#111}.tyi-parties{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:24px;gap:24px;margin:16px 0}.tyi .tyi-note h2,.tyi .tyi-parties h2{margin:0 0 4px;font-size:10.5px;line-height:1.4;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#666}.tyi-strong{font-weight:700;color:#111}.tyi-table{width:100%;border-collapse:collapse;table-layout:fixed}.tyi-table .tyi-c-qty{width:44px}.tyi-table .tyi-c-money{width:104px}.tyi-table th{padding:7px 8px;border-bottom:1.5px solid #222;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-align:left;text-transform:uppercase;color:#444}.tyi-table td{padding:8px;border-bottom:1px solid #e3e3e3;vertical-align:top}.tyi-table tr{break-inside:avoid;page-break-inside:avoid}.tyi-table .tyi-num{text-align:right;white-space:nowrap}.tyi-table .tyi-n{width:40px;color:#777;white-space:nowrap}.tyi-item{display:block;font-weight:700;color:#111}.tyi-sub{display:block;font-size:11px;color:#555}.tyi-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}.tyi-bottom{display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-gap:24px;gap:24px;margin-top:14px;break-inside:avoid;page-break-inside:avoid}.tyi-note p{white-space:pre-wrap;color:#444}.tyi-totals{margin:0}.tyi-totals>div{display:flex;justify-content:space-between;gap:12px;padding:3px 0}.tyi-totals dt{margin:0;font-weight:400;color:#444}.tyi-totals dd{margin:0;white-space:nowrap;color:#111}.tyi-totals .tyi-total{margin-top:4px;padding-top:7px;border-top:1.5px solid #222;font-size:14px}.tyi-totals .tyi-total dd,.tyi-totals .tyi-total dt{font-weight:800;color:#111}.tyi-totals .tyi-due dd,.tyi-totals .tyi-due dt{font-weight:700;color:#111}.tyi-foot{display:flex;justify-content:space-between;gap:16px;margin-top:28px;padding-top:10px;border-top:1px solid #e3e3e3;font-size:11px;color:#666}