@property --tr-start{syntax: "<length>";inherits: false;initial-value: 0px}@property --tr-end{syntax: "<length>";inherits: false;initial-value: 0px}.tabrail{--tr-fade: 3.5rem;--tr-arrow: 2rem;position: relative;min-width: 0;border-radius: var(--r-lg);background: var(--seg-well);box-shadow: inset 0 0 0 1px var(--line)}.tabrail__viewport{--tr-start: 0px;--tr-end: 0px;display: flex;align-items: stretch;gap: var(--space-1);padding: var(--space-1);overflow-x: auto;overflow-y: hidden;overscroll-behavior-x: contain;scrollbar-width: none;scroll-padding-inline: var(--tr-fade);border-radius: inherit;-webkit-mask-image: linear-gradient(to right,transparent,transparent calc(var(--tr-start) * 0.5),#000 var(--tr-start),#000 calc(100% - var(--tr-end)),transparent calc(100% - var(--tr-end) * 0.5),transparent);mask-image: linear-gradient(to right,transparent,transparent calc(var(--tr-start) * 0.5),#000 var(--tr-start),#000 calc(100% - var(--tr-end)),transparent calc(100% - var(--tr-end) * 0.5),transparent);transition: --tr-start var(--dur-base) var(--ease),--tr-end var(--dur-base) var(--ease)}.tabrail__viewport::-webkit-scrollbar{display: none}.tabrail__viewport > *{flex: none}.tabrail.can-prev .tabrail__viewport{--tr-start: var(--tr-fade)}.tabrail.can-next .tabrail__viewport{--tr-end: var(--tr-fade)}.tabrail__arrow{position: absolute;top: 50%;z-index: 1;display: inline-flex;align-items: center;justify-content: center;width: var(--tr-arrow);height: var(--tr-arrow);margin: 0;padding: 0;border: 0;border-radius: var(--r-full);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line-strong);color: var(--text-2);cursor: pointer;opacity: 0;visibility: hidden;pointer-events: none;transform: translateY(-50%);transition: opacity var(--dur-base) var(--ease),visibility 0s var(--ease) var(--dur-base),background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}.tabrail__arrow::before{content: "";position: absolute;inset: calc((44px - var(--tr-arrow)) / -2);border-radius: var(--r-full)}.tabrail__arrow svg{width: 20px;height: 20px;fill: currentColor;pointer-events: none}.tabrail__arrow--prev{left: var(--space-1)}.tabrail__arrow--next{right: var(--space-1)}.tabrail.can-prev .tabrail__arrow--prev,.tabrail.can-next .tabrail__arrow--next{opacity: 1;visibility: visible;pointer-events: auto;transition-delay: 0s}@media (hover: hover){.tabrail__arrow:hover{background: var(--active);color: var(--text)}}.tabrail__arrow:active{background: var(--active);color: var(--text)}.tabrail__arrow:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}.tabrail--bare{--tr-fade: 3rem;--tr-arrow: 1.75rem;border-radius: 0;background: none;box-shadow: none}.tabrail--bare .tabrail__arrow--prev{left: 0}.tabrail--bare .tabrail__arrow--next{right: 0}@media (hover: hover){.tabrail--hover.can-prev .tabrail__arrow--prev,.tabrail--hover.can-next .tabrail__arrow--next{opacity: 0;visibility: hidden;pointer-events: none;transition-delay: 0s,var(--dur-base),0s,0s}.tabrail--hover.can-prev:hover .tabrail__arrow--prev,.tabrail--hover.can-next:hover .tabrail__arrow--next{opacity: 1;visibility: visible;pointer-events: auto;transition-delay: 0s}}@media (prefers-reduced-motion: reduce){.tabrail__viewport,.tabrail__arrow{transition: none}}
.business-container{max-width: 1040px;gap: var(--space-6)}.business-header{gap: var(--space-2)}.biz-nav__item{display: inline-flex;white-space: nowrap;align-items: center;gap: var(--space-2);min-height: var(--hit);padding: 0 var(--space-4);border-radius: var(--r-full);color: var(--muted);font-size: var(--fs-small);font-weight: 500;line-height: var(--lh-small);text-decoration: none;transition: background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}.biz-nav__item svg{flex: none;width: 18px;height: 18px;fill: currentColor}@media (hover: hover){.biz-nav__item:hover:not(.is-active){background: var(--active);color: var(--text)}}.biz-nav__item.is-active{background: var(--select-bg);box-shadow: var(--select-ring);color: var(--select-text)}.biz-nav__item:focus-visible{outline: 2px solid var(--focus);outline-offset: -2px}.biz-back{display: inline-flex;align-items: center;gap: var(--space-1);align-self: flex-start;min-height: var(--hit);margin: 0 0 0 calc(var(--space-1) * -1);padding: 0 var(--space-2);border-radius: var(--r-md);color: var(--muted);font-size: var(--fs-small);text-decoration: none}.biz-back svg{flex: none;width: 20px;height: 20px;fill: currentColor}@media (hover: hover){.biz-back:hover{color: var(--text);background: var(--active)}}.biz-back:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}.biz-card{gap: var(--space-4)}.biz-lead{margin: 0;font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--text-2);overflow-wrap: anywhere}.biz-note{margin: 0;font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted);overflow-wrap: anywhere}.biz-note a,.biz-lead a,.biz-alert a{color: inherit;text-decoration: underline;text-underline-offset: 2px}.biz-empty{margin: 0;padding: var(--space-4) 0;font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.biz-subtitle{margin: var(--space-2) 0 0;font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 600;color: var(--text)}.biz-legend{padding: 0;font-size: var(--fs-small);font-weight: 600;color: var(--text)}.biz-list{margin: 0;padding-left: var(--space-6);display: grid;gap: var(--space-2);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--text-2)}.biz-static{display: flex;align-items: center;min-height: var(--btn-h-l);font-size: var(--fs-ui);color: var(--text)}.biz-req{color: var(--error)}.biz-error{margin: 0;color: var(--error);font-size: var(--fs-small);line-height: var(--lh-small);overflow-wrap: anywhere}.biz-error[hidden]{display: none}.biz-alert{margin: 0;font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 500;color: var(--text);overflow-wrap: anywhere}.biz-alert--warn{color: var(--text)}.biz-alert--error{color: var(--error)}.biz-alert--error a{color: inherit}.biz-form{display: flex;flex-direction: column;gap: var(--space-4)}.biz-grid{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: var(--space-4)}.biz-grid--3{grid-template-columns: repeat(3,minmax(0,1fr))}.biz-reqset{display: contents}.biz-reqset[hidden]{display: none}.biz-field[hidden]{display: none}.biz-field__msg{min-height: 1em}.biz-field.has-error .biz-field__msg{color: var(--error)}.biz-select{appearance: auto}.biz-select--inline{height: var(--hit);min-width: 11rem}.epic-select > select.biz-select{min-width: 0}.epic-select--biz > .epic-select__trigger{min-height: var(--btn-h-l)}.epic-select.epic-select--inline{width: auto;min-width: 11rem}.epic-select--inline > .epic-select__trigger{min-height: var(--hit)}.epic-select:has(> select[aria-invalid="true"]) > .epic-select__trigger{box-shadow: inset 0 0 0 2px var(--error)}.biz-num{width: 100%;min-width: 6rem}.biz-file{padding-top: var(--space-3);height: auto;min-height: var(--btn-h-l)}.biz-fieldset{margin: 0;padding: 0;border: 0;display: grid;gap: var(--space-2)}.biz-check{display: flex;align-items: flex-start;gap: var(--space-3);min-height: var(--hit);font-size: var(--fs-small);line-height: var(--lh-small);color: var(--text-2);cursor: pointer}.biz-check input{flex: none;width: 20px;height: 20px;margin: 2px 0 0;accent-color: var(--amber)}.biz-check a{color: inherit;text-decoration: underline;text-underline-offset: 2px}.biz-actions{display: flex;flex-wrap: wrap;gap: var(--space-3)}.biz-actions a,.biz-actions button,.biz-row__actions a,.biz-row__actions button{text-decoration: none}.is-busy{opacity: .6;pointer-events: none}.biz-filter{display: grid;grid-template-columns: repeat(auto-fit,minmax(10rem,1fr));gap: var(--space-3);align-items: end}.biz-filter__go{display: flex;align-items: flex-end}.biz-filter__go .btn-settings-action{min-height: var(--btn-h-l)}.biz-stats{display: grid;grid-template-columns: repeat(4,minmax(0,1fr));gap: var(--space-4)}.biz-stats--3{grid-template-columns: repeat(3,minmax(0,1fr))}.biz-stats--2{grid-template-columns: repeat(2,minmax(0,1fr))}.biz-stat{display: flex;flex-direction: column;gap: var(--space-1);padding: var(--space-6);border-radius: var(--r-lg);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line);min-width: 0}.biz-stat__label{font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.biz-stat__value{font-size: 1.5rem;line-height: 1.25;font-weight: 600;font-variant-numeric: tabular-nums;color: var(--text);overflow-wrap: anywhere}.biz-stat__note{font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.biz-two{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: var(--space-6)}.biz-two > .biz-card{min-width: 0}.biz-rows{display: flex;flex-direction: column;margin: 0;padding: 0;list-style: none}.biz-row{display: flex;align-items: center;justify-content: space-between;gap: var(--space-4);min-height: var(--hit);padding: var(--space-3) 0}.biz-row + .biz-row{border-top: 1px solid var(--line)}.biz-row.is-off .biz-row__title{color: var(--muted)}.biz-row__main{display: flex;flex-direction: column;gap: var(--space-1);min-width: 0;flex: 1 1 auto}.biz-row__title{font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 500;color: var(--text);overflow-wrap: anywhere;text-decoration: none}a.biz-row__title{text-decoration: underline;text-underline-offset: 2px}.biz-row__meta{font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted);overflow-wrap: anywhere}.biz-row__num{flex: none;font-size: var(--fs-ui);font-variant-numeric: tabular-nums;color: var(--text);text-align: right}.biz-row__num.is-plus{color: var(--success)}.biz-row__actions{display: flex;flex-wrap: wrap;gap: var(--space-2);justify-content: flex-end}.biz-counters{display: flex;flex-wrap: wrap;gap: var(--space-2) var(--space-6);margin: 0;padding: 0;list-style: none;font-size: var(--fs-small);color: var(--text-2)}.biz-counters b{font-size: var(--fs-ui);color: var(--text)}.biz-kv{display: grid;gap: var(--space-2);margin: 0}.biz-kv > div{display: flex;flex-wrap: wrap;justify-content: space-between;gap: var(--space-1) var(--space-4)}.biz-kv dt{font-size: var(--fs-small);color: var(--muted)}.biz-kv dd{margin: 0;font-size: var(--fs-ui);color: var(--text);text-align: right;overflow-wrap: anywhere}.biz-bar{appearance: none;-webkit-appearance: none;width: 100%;height: 6px;border: 0;border-radius: var(--r-full);background: var(--seg-well);overflow: hidden}.biz-bar::-webkit-progress-bar{background: var(--seg-well);border-radius: var(--r-full)}.biz-bar::-webkit-progress-value{background: var(--amber);border-radius: var(--r-full)}.biz-bar::-moz-progress-bar{background: var(--amber);border-radius: var(--r-full)}.biz-chart{display: flex;align-items: flex-end;gap: 3px;height: 160px;margin: var(--space-2) 0 calc(var(--space-6) + var(--space-1))}.biz-chart--tall{height: 220px}.biz-chart__col{position: relative;flex: 1 1 0;min-width: 0;height: 100%;display: flex;align-items: flex-end}.biz-chart__bar{display: block;width: 100%;min-height: 1px;border-radius: var(--r-sm) var(--r-sm) 0 0;background: var(--amber)}.biz-chart__x{position: absolute;top: 100%;left: 0;right: 0;margin-top: var(--space-1);font-size: var(--fs-caption);line-height: 1;color: var(--muted);text-align: center;overflow: hidden}.bh-0{height: 1px}.bh-4{height: 4%}.bh-8{height: 8%}.bh-12{height: 12%}.bh-16{height: 16%}.bh-20{height: 20%}.bh-24{height: 24%}.bh-28{height: 28%}.bh-32{height: 32%}.bh-36{height: 36%}.bh-40{height: 40%}.bh-44{height: 44%}.bh-48{height: 48%}.bh-52{height: 52%}.bh-56{height: 56%}.bh-60{height: 60%}.bh-64{height: 64%}.bh-68{height: 68%}.bh-72{height: 72%}.bh-76{height: 76%}.bh-80{height: 80%}.bh-84{height: 84%}.bh-88{height: 88%}.bh-92{height: 92%}.bh-96{height: 96%}.bh-100{height: 100%}.biz-table-wrap{overflow-x: auto;margin: 0 calc(var(--space-2) * -1);padding: 0 var(--space-2)}.biz-table{width: 100%;border-collapse: collapse;font-size: var(--fs-small);line-height: var(--lh-small)}.biz-table th{padding: var(--space-3) var(--space-2);text-align: left;font-weight: 600;color: var(--muted);white-space: nowrap;border-bottom: 1px solid var(--line-strong)}.biz-table td{padding: var(--space-3) var(--space-2);vertical-align: middle;color: var(--text);border-bottom: 1px solid var(--line);overflow-wrap: anywhere}.biz-table .is-num{text-align: right;white-space: nowrap;font-variant-numeric: tabular-nums}.biz-table .is-date{white-space: nowrap}@media (min-width: 768px){.biz-table--members td:first-child{min-width: 12rem}}.biz-table tr.is-blocked td{color: var(--muted)}.biz-cell-main{font-weight: 500;text-decoration: none}a.biz-cell-main{text-decoration: underline;text-underline-offset: 2px}.biz-cell-sub{display: block;font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted)}.biz-cell-stack{display: block;min-width: 0}.biz-cell-stack > .biz-cell-main{display: block}.biz-cell-actions{white-space: nowrap;text-align: right}.biz-cell-actions > * + *{margin-left: var(--space-2)}.biz-cell-actions > *{vertical-align: middle}.biz-table--limits th.is-num,.biz-table--limits td.is-num{text-align: left}.biz-table--limits .biz-cell-sub{min-height: calc(var(--fs-caption) * var(--lh-caption));margin-top: var(--space-1);white-space: normal}@media (min-width: 768px){.biz-table--limits th.is-num{width: 9.5rem}.biz-table--limits td{vertical-align: top;padding-bottom: var(--space-1)}.biz-table--limits td:first-child{min-width: 12rem}.biz-table--limits td:first-child .biz-cell-main{display: flex;align-items: center;min-height: var(--btn-h-m)}.biz-table--limits .biz-num{height: var(--btn-h-m)}}.biz-sort{color: inherit;text-decoration: none}.biz-sort.is-on{color: var(--text)}.biz-sort.is-on::after{content: ' \2193'}.biz-sort.is-on[aria-sort="ascending"]::after{content: ' \2191'}.biz-tag{display: inline-block;padding: 1px var(--space-2);border-radius: var(--r-full);background: var(--seg-well);color: var(--text-2);font-size: var(--fs-caption);line-height: var(--lh-caption);white-space: nowrap}.biz-tag--bad,.biz-tag--s5,.biz-tag--s6{color: var(--error)}.biz-tag--s4{color: var(--success)}.biz-tag--s7,.biz-tag--s8,.biz-tag--s2{color: var(--text)}.biz-packs{margin: 0;padding: 0;border: 0;display: grid;grid-template-columns: repeat(auto-fit,minmax(min(100%,18rem),1fr));gap: var(--space-3)}.biz-packs > legend{grid-column: 1 / -1;margin-bottom: var(--space-2)}.biz-pack{position: relative;display: block;cursor: pointer}.biz-pack input{position: absolute;opacity: 0;inset: 0;margin: 0;cursor: pointer}.biz-pack__body{display: flex;flex-direction: column;gap: var(--space-1);height: 100%;padding: var(--space-4);border-radius: var(--r-lg);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);transition: box-shadow var(--dur-fast) var(--ease)}.biz-pack input:checked + .biz-pack__body{box-shadow: inset 0 0 0 2px var(--amber)}.biz-pack input:focus-visible + .biz-pack__body{outline: 2px solid var(--focus);outline-offset: 2px}.biz-pack input:disabled + .biz-pack__body{opacity: .55}.biz-pack__name{font-size: var(--fs-ui);font-weight: 600;color: var(--text)}.biz-pack__price{font-size: var(--fs-h3);line-height: var(--lh-h3);font-weight: 600;color: var(--text);white-space: nowrap}.biz-pack__disc{font-size: var(--fs-caption);line-height: var(--lh-caption)}.biz-pack__old{color: var(--muted);text-decoration: line-through}.biz-pack__off{color: var(--success);font-weight: 600}.biz-pager{display: flex;flex-wrap: wrap;align-items: center;justify-content: center;gap: var(--space-3);padding-top: var(--space-2)}.biz-pager a{text-decoration: none}.biz-pager__info{font-size: var(--fs-small);color: var(--muted)}.biz-dialog{width: min(28rem,calc(100% - 2 * var(--gutter)));margin: auto;padding: 0;border: 0;border-radius: var(--r-xl);background: var(--surface);color: var(--text);box-shadow: var(--sh-lg)}.biz-dialog::backdrop{background: var(--scrim)}.biz-dialog__box{display: flex;flex-direction: column;gap: var(--space-4);padding: var(--space-8)}.biz-dialog__title{margin: 0;font-size: var(--fs-h3);line-height: var(--lh-h3)}.biz-dialog__text{margin: 0;font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--text-2);overflow-wrap: anywhere}.biz-dialog__actions{display: flex;flex-wrap: wrap;justify-content: flex-end;gap: var(--space-3)}.biz-dialog .is-danger{background: var(--error);color: var(--surface)}@media (max-width: 1023px){.biz-stats{grid-template-columns: repeat(2,minmax(0,1fr))}.biz-two{grid-template-columns: minmax(0,1fr)}}@media (max-width: 767px){.biz-grid,.biz-grid--3,.biz-stats--3,.biz-stats--2{grid-template-columns: minmax(0,1fr)}.biz-stat{padding: var(--space-4)}.biz-nav .tabrail__viewport{gap: 2px}.biz-nav__item{padding: 0 var(--space-3)}.biz-row{align-items: flex-start;flex-wrap: wrap}.biz-row__actions{width: 100%;justify-content: flex-start}.biz-dialog__box{padding: var(--space-6)}.biz-dialog__actions > *{flex: 1 1 8rem}.biz-table thead{position: absolute;width: 1px;height: 1px;overflow: hidden;clip-path: inset(50%)}.biz-table,.biz-table tbody,.biz-table tr,.biz-table td{display: block;width: 100%}.biz-table tr{padding: var(--space-3) 0;border-bottom: 1px solid var(--line-strong)}.biz-table td{display: flex;justify-content: space-between;align-items: center;gap: var(--space-4);padding: var(--space-1) 0;border: 0;text-align: right}.biz-table td::before{content: attr(data-label);flex: none;color: var(--muted);text-align: left}.biz-table td.biz-cell-actions{justify-content: flex-start;flex-wrap: wrap;text-align: left;gap: var(--space-2);padding-top: var(--space-2)}.biz-table td.biz-cell-actions::before{content: none}.biz-cell-actions > * + *{margin-left: 0}.biz-table td:not([data-label]){justify-content: flex-start}.biz-table--limits td.is-num{display: grid;grid-template-columns: 6rem minmax(0,1fr);gap: 0 var(--space-4)}.biz-table--limits td.is-num::before{grid-column: 1;grid-row: 1}.biz-table--limits td.is-num > .biz-num{grid-column: 2;grid-row: 1;min-width: 0}.biz-table--limits td.is-num > .biz-cell-sub{grid-column: 2;grid-row: 2;min-height: 0}.biz-table--limits .biz-cell-sub:empty{display: none}.biz-table-wrap{overflow-x: visible}.biz-select--inline,.epic-select.epic-select--inline{min-width: 0;max-width: 11rem}}
.developers-container{max-width: 1120px}.dev-table td:first-child{min-width: 11rem}.dev-table td[data-label="Сотрудник"]{min-width: 11rem}.dev-table td[data-label="Лимиты"] .dev-key__sub{white-space: nowrap}.dev-key__name{display: block;font-weight: 500;color: var(--text);overflow-wrap: anywhere}.dev-key__prefix{display: inline-block;max-width: 100%;padding: 1px var(--space-2);border-radius: var(--r-sm);background: var(--seg-well);color: var(--text-2);font-family: var(--font-code);font-size: var(--fs-caption);line-height: var(--lh-caption);overflow-wrap: anywhere}.dev-key__name + .dev-key__prefix{margin-top: var(--space-1)}.dev-key__sub{display: block;margin-top: 2px;font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted);overflow-wrap: anywhere}.dev-key__sub--first{margin-top: 0}.dev-key__prefix + .dev-key__sub{margin-top: var(--space-1)}.dev-key__actions{white-space: normal}.dev-key__actions > button + button{margin: var(--space-1) 0 0}.dev-table--calls td:last-child{white-space: nowrap}.dev-key__actions{min-width: 9.5rem}.dev-key__actions > button{display: flex;width: 100%;justify-content: center}.developers-container .biz-chart__x{left: -150%;right: -150%;overflow: visible;white-space: nowrap}.dev-filters{display: flex;flex-wrap: wrap;gap: var(--space-3)}.dev-seg{display: inline-flex;flex-wrap: wrap;gap: 2px;padding: 2px;border-radius: var(--r-full);background: var(--seg-well);box-shadow: inset 0 0 0 1px var(--line)}.dev-seg__item{display: inline-flex;align-items: center;min-height: 36px;padding: 0 var(--space-4);border-radius: var(--r-full);color: var(--muted);font-size: var(--fs-small);font-weight: 500;line-height: var(--lh-small);text-decoration: none;transition: background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}@media (hover: hover){.dev-seg__item:hover:not(.is-active){background: var(--active);color: var(--text)}}.dev-seg__item.is-active{background: var(--select-bg);box-shadow: var(--select-ring);color: var(--select-text)}.dev-seg__item:focus-visible{outline: 2px solid var(--focus);outline-offset: -2px}.dev-filter-form{display: flex;flex-direction: column;gap: var(--space-4)}.biz-grid--4{grid-template-columns: repeat(4,minmax(0,1fr))}.dev-table tfoot th{padding: var(--space-3) var(--space-2);border-top: 1px solid var(--line-strong);border-bottom: 0;color: var(--text);font-variant-numeric: tabular-nums}.dev-table tfoot th.is-num{text-align: right}.dev-models > summary{cursor: pointer;min-height: var(--hit);display: flex;align-items: center;color: var(--text);font-size: var(--fs-ui);font-weight: 500}.dev-models > summary:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px;border-radius: var(--r-sm)}.dev-models__list{margin: var(--space-2) 0 0;padding: 0;list-style: none;display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: var(--space-2) var(--space-6)}.dev-models__list li{display: flex;flex-direction: column;gap: 2px;min-width: 0;padding: var(--space-2) 0;border-bottom: 1px solid var(--line)}.dev-models__list code{font-family: var(--font-code);font-size: var(--fs-small);line-height: var(--lh-small);color: var(--text);overflow-wrap: anywhere}.dev-models__list span{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted);overflow-wrap: anywhere}.dev-org-root{display: flex;flex-direction: column;gap: var(--space-6)}.dev-dialog{width: min(36rem,calc(100% - 2 * var(--gutter)));max-height: calc(100dvh - 2 * var(--gutter));overflow: auto}.dev-form .biz-grid{gap: var(--space-4)}.dev-form [hidden]{display: none}.dev-secret{display: flex;align-items: stretch;gap: var(--space-3)}.dev-secret__value{flex: 1 1 auto;min-width: 0;display: flex;align-items: center;padding: var(--space-3) var(--space-4);border-radius: var(--r-md);background: var(--seg-well);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font-family: var(--font-code);font-size: var(--fs-small);line-height: var(--lh-small);overflow-wrap: anywhere;word-break: break-all;user-select: all}.dev-secret__value:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}.dev-steps{gap: var(--space-3)}.dev-steps li::marker{color: var(--muted);font-weight: 600}.dev-steps code,.biz-lead code,.biz-note code,.biz-alert code,.biz-list code{padding: 0 var(--space-1);border-radius: var(--r-sm);background: var(--seg-well);font-family: var(--font-code);font-size: .92em;overflow-wrap: anywhere}.dev-code{display: flex;flex-direction: column;border-radius: var(--r-lg);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);overflow: hidden}.dev-code__tabs{display: flex;flex-wrap: wrap;gap: 2px;padding: var(--space-2) var(--space-2) 0;border-bottom: 1px solid var(--line)}.dev-code__tab{min-height: 36px;padding: 0 var(--space-4);border: 0;border-radius: var(--r-md) var(--r-md) 0 0;background: transparent;color: var(--muted);font: inherit;font-size: var(--fs-small);font-weight: 500;cursor: pointer;transition: background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}@media (hover: hover){.dev-code__tab:hover:not(.is-active){color: var(--text);background: var(--active)}}.dev-code__tab.is-active{color: var(--text);box-shadow: inset 0 -2px 0 var(--amber)}.dev-code__tab:focus-visible{outline: 2px solid var(--focus);outline-offset: -2px}.dev-code__pane{position: relative}.dev-code__pane[hidden]{display: none}.dev-code__pre{margin: 0;padding: var(--space-4) var(--space-4) var(--space-4);overflow-x: auto;color: var(--text);font-family: var(--font-code);font-size: var(--fs-small);line-height: 1.6;tab-size: 2}.dev-code__pre code{padding: 0;background: none;font: inherit;white-space: pre}.dev-code__copy{position: absolute;top: var(--space-3);right: var(--space-3);min-height: 36px;padding: 0 var(--space-3);background: var(--surface)}.dev-code--single .dev-code__pane{padding-top: 0}.dev-reference__host{min-height: 24rem;border-radius: var(--r-lg);box-shadow: inset 0 0 0 1px var(--line);overflow: hidden}.dev-reference__host > .biz-empty{margin: var(--space-6)}.dev-reference__app{min-height: 70svh}.dev-reference__app .scalar-app{--scalar-custom-header-height: 0px;--scalar-font: var(--font-sans);--scalar-font-code: var(--font-code);--scalar-background-1: var(--surface);--scalar-background-2: var(--raised);--scalar-background-3: var(--active);--scalar-sidebar-background-1: var(--surface);--scalar-color-1: var(--text);--scalar-color-2: var(--text-2);--scalar-color-3: var(--muted);--scalar-color-accent: var(--select-text);--scalar-border-color: var(--line)}@media (max-width: 1023px){.biz-grid--4{grid-template-columns: repeat(2,minmax(0,1fr))}}@media (max-width: 767px){.biz-grid--4{grid-template-columns: minmax(0,1fr)}.dev-table td:first-child{min-width: 0}.dev-key__actions{min-width: 0}.dev-key__actions > button{display: inline-flex;width: auto}.dev-key__actions > button + button{margin: 0}.dev-models__list{grid-template-columns: minmax(0,1fr)}.dev-secret{flex-direction: column}.dev-seg{width: 100%}.dev-seg__item{flex: 1 1 auto;justify-content: center;padding: 0 var(--space-3)}.dev-code__copy{position: static;margin: 0 var(--space-4) var(--space-4)}.dev-code__pane{display: flex;flex-direction: column}.dev-code__pane[hidden]{display: none}.dev-code__pre{padding-bottom: var(--space-3)}.dev-reference__app{min-height: 60svh}.dev-table td:first-child:not([data-label]),.dev-table td:has(> .dev-key__sub){display: block;text-align: left}.dev-table td:has(> .dev-key__sub)::before{display: block;margin-bottom: 2px;font-size: var(--fs-caption);line-height: var(--lh-caption)}.dev-table tfoot{display: none}}.dev-gate{transition: box-shadow .25s ease}.dev-gate:focus{outline: none}.dev-gate.is-flash{box-shadow: 0 0 0 2px var(--amber)}
.settings-page,.history-page{background: var(--bg)}.settings-page .topbar,.history-page .topbar{position: sticky;top: 0;z-index: 50;flex-shrink: 0;min-height: calc(var(--header-height) + var(--safe-top));padding: calc(var(--space-3) + var(--safe-top)) var(--space-6) var(--space-3);border-bottom: none;background: var(--bg)}.topbar__left .brand-logo{height: 27px;margin-right: var(--space-4)}.topbar__logo-link{display: inline-flex;align-items: center;min-height: var(--hit);border-radius: var(--r-sm)}.topbar__back-btn{display: inline-flex;align-items: center;gap: var(--space-2);height: var(--hit);padding: 0 var(--space-4) 0 var(--space-3);border: none;border-radius: var(--r-full);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font-family: inherit;font-size: var(--fs-ui);font-weight: 500;text-decoration: none;cursor: pointer;transition: background-color var(--dur-fast) var(--ease)}.topbar__back-btn svg{width: 20px;height: 20px;fill: currentColor;color: var(--muted);transition: color var(--dur-fast) var(--ease)}@media (hover: hover){.topbar__back-btn:hover{background: var(--raised)}.topbar__back-btn:hover svg{color: var(--amber-text)}}.topbar__back-btn:active{background: var(--raised)}.topbar__back-btn,.balance-pill{white-space: nowrap}.topbar__right{flex: none}.stat-status-dot{flex: none;width: 8px;height: 8px;border-radius: 0;background: var(--amber)}.btn-settings-action,.btn-modal-cancel,.btn-history-load-more,.btn-copy,.btn-share,.btn-connect{min-height: var(--btn-h-m);padding: 0 var(--space-6);border: none;border-radius: var(--r-full);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line-strong);color: var(--text);font-size: var(--fs-ui);font-weight: 500;transition: background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease)}@media (hover: hover){.btn-settings-action:hover,.btn-modal-cancel:hover,.btn-history-load-more:hover,.btn-copy:hover,.btn-share:hover,.btn-connect:hover{background: var(--active);color: var(--text)}}.btn-settings-action:active,.btn-modal-cancel:active,.btn-history-load-more:active,.btn-copy:active,.btn-share:active,.btn-connect:active{background: var(--active)}.btn-settings-action svg,.btn-copy svg,.btn-share svg,.btn-history-load-more svg{flex: none;width: 20px;height: 20px;fill: currentColor}.btn-copy.is-copied{color: var(--success)}@media (hover: hover){.btn-connect.is-connected:hover{background: var(--error-soft);color: var(--error);box-shadow: inset 0 0 0 1px var(--error)}}.btn-modal-submit,.btn-primary-action{min-height: var(--btn-h-m);padding: 0 var(--space-6);border: none;border-radius: var(--r-full);background: var(--amber);color: var(--on-amber);font-size: var(--fs-ui);font-weight: 500;transition: background-color var(--dur-fast) var(--ease)}@media (hover: hover){.btn-modal-submit:hover,.btn-primary-action:hover{background: var(--amber-hover)}}.btn-modal-submit:active,.btn-primary-action:active{background: var(--amber-press)}.btn-primary-action{display: inline-flex;align-items: center;justify-content: center;gap: var(--space-2);min-height: var(--btn-h-l);cursor: pointer}.btn-primary-action[hidden]{display: none}.btn-primary-action svg{flex: none;width: 20px;height: 20px;fill: currentColor}.btn-modal-submit--danger{background: var(--raised);box-shadow: inset 0 0 0 1px var(--line-strong);color: var(--text)}@media (hover: hover){.btn-modal-submit--danger:hover{background: var(--active)}}.btn-modal-submit--danger:active{background: var(--active)}.btn-delete-account{min-height: var(--btn-h-m);padding: 0 var(--space-6);border: none;border-radius: var(--r-full);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line-strong);color: var(--text);font-size: var(--fs-ui);font-weight: 500;transition: background-color var(--dur-fast) var(--ease)}.btn-delete-account svg{color: var(--error)}@media (hover: hover){.btn-delete-account:hover{background: var(--active)}}.btn-delete-account:active{background: var(--active)}
.auth-dialog{width: min(460px,calc(100% - 32px));max-height: calc(100dvh - 32px);margin: auto;padding: 0;border: none;border-radius: var(--r-lg);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line),var(--sh-lg);color: var(--text);font-family: var(--font-sans);overflow-y: auto}.auth-dialog::backdrop{background: var(--scrim)}.auth-dialog__body{position: relative;padding: var(--space-8)}.auth-dialog__close{position: absolute;top: var(--space-4);right: var(--space-4);width: var(--hit);height: var(--hit);display: inline-flex;align-items: center;justify-content: center;border: 0;border-radius: var(--r-full);background: none;color: var(--muted)}@media (hover: hover){.auth-dialog__close:hover{background: var(--raised);color: var(--text)}}.auth-dialog__close svg{width: 20px;height: 20px;fill: currentColor}.auth-dialog__title{margin-bottom: var(--space-2);padding-right: var(--hit);font-size: var(--fs-h3);line-height: var(--lh-h3);font-weight: 500;letter-spacing: var(--ls-h3)}.auth-dialog__desc{margin-bottom: var(--space-6);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.auth-dialog__desc[hidden]{display: none}.auth-dialog__footer{display: flex;align-items: center;justify-content: center;gap: var(--space-2);padding: var(--space-4) var(--space-8) var(--space-6);box-shadow: inset 0 1px 0 var(--line);font-size: var(--fs-small);color: var(--muted)}.auth-socials-grid{display: grid;grid-template-columns: 1fr 1fr;gap: var(--space-2)}.auth-social-btn{display: flex;align-items: center;gap: var(--space-3);width: 100%;min-height: var(--btn-h-m);padding: 0 var(--space-4);border: 0;border-radius: var(--r-full);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);font-size: var(--fs-small);font-weight: 500;color: var(--text);text-align: left;transition: background-color var(--dur-fast) var(--ease)}@media (hover: hover){.auth-social-btn:hover{background: var(--active)}}.auth-social-btn:disabled{opacity: .5;cursor: not-allowed}.auth-social-btn__icon{width: 24px;height: 24px;flex: none}.auth-social-btn__icon svg{width: 100%;height: 100%;filter: grayscale(1) brightness(1.15)}.auth-divider{display: flex;align-items: center;gap: var(--space-3);margin: var(--space-6) 0;font-size: var(--fs-caption);color: var(--tertiary)}.auth-divider::before,.auth-divider::after{content: "";flex: 1;height: 1px;background: var(--line)}.auth-form,.auth-page-form{display: flex;flex-direction: column;gap: var(--space-4)}.auth-form[hidden],.auth-page-form[hidden]{display: none}.auth-field{display: flex;flex-direction: column;gap: var(--space-2)}.auth-field label{font-size: var(--fs-small);font-weight: 500;color: var(--muted)}.auth-required{color: var(--amber-text)}.auth-input-wrapper{position: relative}.auth-input-wrapper input{width: 100%;height: var(--btn-h-l);padding: 0 var(--space-4);border: none;border-radius: var(--r-md);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font-family: inherit;font-size: var(--fs-ui)}.auth-input-wrapper--toggle input{padding-right: calc(var(--hit) + var(--space-2));text-overflow: ellipsis}.auth-input-wrapper input::placeholder{color: var(--tertiary)}.auth-input-wrapper input:focus{outline: none;box-shadow: inset 0 0 0 2px var(--focus)}.auth-field.has-error .auth-input-wrapper input,.auth-input-wrapper input[aria-invalid="true"]{box-shadow: inset 0 0 0 2px var(--error)}.auth-field.has-error .auth-toggle-input + .auth-toggle-switch{box-shadow: inset 0 0 0 2px var(--error)}.auth-pwd-toggle{position: absolute;top: 50%;right: var(--space-2);width: var(--hit);height: var(--hit);transform: translateY(-50%);display: inline-flex;align-items: center;justify-content: center;border: 0;border-radius: var(--r-full);background: none;color: var(--muted)}@media (hover: hover){.auth-pwd-toggle:hover{color: var(--text);background: var(--active)}}.auth-pwd-toggle svg{width: 20px;height: 20px;fill: currentColor}.auth-pwd-icon-hide{display: none}.auth-pwd-toggle.is-visible .auth-pwd-icon-show{display: none}.auth-pwd-toggle.is-visible .auth-pwd-icon-hide{display: block}.auth-field-hint{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--tertiary)}.auth-field-error{min-height: 0;font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--error)}.auth-field-error:empty{display: none}.auth-form__row-between{display: flex;align-items: center;justify-content: space-between;gap: var(--space-4);flex-wrap: wrap}.auth-toggle-row{position: relative;display: flex;align-items: flex-start;gap: var(--space-3);cursor: pointer;font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.auth-toggle-input{position: absolute;opacity: 0;pointer-events: none}.auth-toggle-switch{position: relative;flex: none;width: 44px;height: 26px;border-radius: var(--r-full);background: var(--active);box-shadow: inset 0 0 0 1px var(--line-strong);transition: background-color var(--dur-base) var(--ease)}.auth-toggle-switch::after{content: "";position: absolute;top: 3px;left: 3px;width: 20px;height: 20px;border-radius: var(--r-full);background: var(--muted);transition: transform var(--dur-base) var(--ease),background-color var(--dur-base) var(--ease)}.auth-toggle-input:checked + .auth-toggle-switch{background: var(--amber);box-shadow: none}.auth-toggle-input:checked + .auth-toggle-switch::after{background: var(--on-amber);transform: translateX(18px)}.auth-toggle-input:focus-visible + .auth-toggle-switch{outline: 2px solid var(--focus);outline-offset: 2px}.auth-toggle-text a,.auth-link-btn,.auth-link-subtle,.auth-help a,.auth-note a,.auth-card a:not([class]){color: var(--amber-text);text-decoration: underline;text-underline-offset: 3px}.auth-link-subtle{font-size: var(--fs-small);border: 0;background: none}.auth-link-btn{font-size: var(--fs-small);font-weight: 500;border: 0;background: none}@media (hover: hover){.auth-link-btn:hover,.auth-link-subtle:hover{color: var(--link-hover)}}.auth-link-btn,.auth-link-subtle{display: inline-flex;align-items: center;min-height: var(--hit);padding-inline: var(--space-1)}.auth-btn-submit,.auth-btn-secondary{display: inline-flex;align-items: center;justify-content: center;gap: var(--space-2);width: 100%;min-height: var(--btn-h-l);padding: 0 var(--space-6);border: none;border-radius: var(--r-full);font-family: inherit;font-size: var(--fs-ui);font-weight: 500;line-height: 1;text-align: center;text-decoration: none;white-space: nowrap;cursor: pointer;transition: background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}.auth-btn-submit{margin-top: var(--space-2);background: var(--amber);color: var(--on-amber)}.auth-btn-secondary{background: transparent;color: var(--text);box-shadow: inset 0 0 0 1px var(--line-strong)}@media (hover: hover){.auth-btn-submit:hover{background: var(--amber-hover)}.auth-btn-secondary:hover{background: var(--raised)}}.auth-btn-submit:active{background: var(--amber-press)}.auth-btn-submit:disabled,.auth-btn-secondary:disabled,.auth-btn-submit[aria-busy="true"]{opacity: .5;cursor: not-allowed}.auth-btn-secondary[hidden],.auth-btn-submit[hidden]{display: none}.auth-note{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--tertiary);text-align: center}.auth-status{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted);text-align: center}.auth-status:empty{display: none}.auth-status.is-error{color: var(--error)}.auth-status.is-ok{color: var(--text)}.auth-mail-address{font-weight: 600;color: var(--text);overflow-wrap: anywhere}.auth-dialog__actions{display: flex;flex-direction: column;gap: var(--space-2)}.auth-change{margin-top: var(--space-4)}.auth-help{margin-top: var(--space-6);padding-top: var(--space-4);box-shadow: inset 0 1px 0 var(--line);font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.auth-help__title{margin-bottom: var(--space-2);font-weight: 500;color: var(--text)}.auth-help__list{display: flex;flex-direction: column;gap: var(--space-1);padding-left: var(--space-4);list-style: disc}@media (max-width: 479px){.auth-dialog__body{padding: var(--space-6)}.auth-dialog__footer{padding-inline: var(--space-6)}.auth-socials-grid{grid-template-columns: 1fr}}.auth-main{display: flex;justify-content: center;align-items: flex-start;min-height: calc(var(--app-h) * .6);padding: var(--space-16) max(var(--margin-page),var(--safe-right)) var(--space-24) max(var(--margin-page),var(--safe-left))}.auth-page{width: 100%;max-width: 480px}.auth-card{display: flex;flex-direction: column;gap: var(--space-4);padding: var(--space-8);border-radius: var(--r-lg);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line);color: var(--text)}.auth-card__view{display: flex;flex-direction: column;gap: var(--space-4)}.auth-card__icon{display: inline-flex;align-items: center;justify-content: center;width: 48px;height: 48px;border-radius: var(--r-full);background: var(--raised);color: var(--amber-text)}.auth-card__icon svg{width: 24px;height: 24px;fill: currentColor}.auth-card__icon--error{color: var(--error)}.auth-card__title{font-size: var(--fs-h3);line-height: var(--lh-h3);font-weight: 500;letter-spacing: var(--ls-h3)}.auth-card__text{font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.auth-card__text + .auth-card__text{margin-top: calc(-1 * var(--space-2))}.auth-card__actions{display: flex;flex-direction: column;gap: var(--space-2)}.auth-card [hidden]{display: none}.auth-card__links{display: flex;flex-wrap: wrap;align-items: center;gap: var(--space-2) var(--space-4);font-size: var(--fs-small);color: var(--muted)}a.auth-btn-submit,a.auth-btn-secondary{text-decoration: none}@media (max-width: 479px){.auth-main{padding-top: var(--space-8);padding-bottom: var(--space-16)}.auth-card{padding: var(--space-6)}}@media (prefers-reduced-motion: reduce){.auth-btn-submit,.auth-btn-secondary,.auth-toggle-switch,.auth-toggle-switch::after{transition: none}}.authc [hidden]{display: none !important}:where(.authc) :is(h2,p,ul){margin: 0}.authc button,.authc input{font-family: inherit}.authc-form{display: flex;flex-direction: column;gap: var(--space-4)}.authc-vh{position: absolute;width: 1px;height: 1px;overflow: hidden;clip: rect(0 0 0 0);white-space: nowrap}html .authc .auth-btn-submit{position: static;box-shadow: none}.authc .auth-btn-submit[aria-busy="true"]{opacity: 1;cursor: progress}.authc .auth-divider{margin: var(--space-6) 0}.authc .auth-toggle-row{min-height: var(--hit)}.authc .auth-help{margin-top: var(--space-4)}.authc .auth-help a{color: var(--amber-text);text-decoration: underline;text-underline-offset: 3px}.authc .auth-help__list{list-style: disc}.authc .auth-btn-submit[aria-busy="true"]::after,.authc .authc-social[aria-busy="true"]::after,.authc-wait.is-wait::before{content: "";flex: none;width: 22px;height: 22px;background: currentColor;-webkit-mask: url("../assets/brand/epicai-mark-small-amber.svg") center / contain no-repeat;mask: url("../assets/brand/epicai-mark-small-amber.svg") center / contain no-repeat;animation: epic-turn var(--dur-cycle) var(--ease) infinite}.authc-last,.authc-social__last{font-size: var(--fs-caption);line-height: var(--lh-caption);font-weight: 400;color: var(--tertiary)}.authc-social__last{color: var(--muted)}.authc-socials{display: flex;flex-wrap: wrap;gap: var(--space-2)}.authc-social{position: relative;flex: 1 1 calc(50% - var(--space-1));flex-direction: column;gap: 0;min-width: 0;padding-block: var(--space-2);padding-inline: var(--space-3)}.authc-social__name{max-width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}.authc .authc-social[aria-busy="true"]::after{position: absolute;top: 50%;right: var(--space-3);margin-top: -11px}.authc .authc-social[aria-busy="true"]{opacity: 1;cursor: progress}.authc-socials + .auth-status{margin-top: var(--space-3)}.authc-note{margin-top: var(--space-4)}.authc-note + .authc-note{margin-top: var(--space-2)}.authc-code{position: relative;height: var(--btn-h-l)}.authc-code__cells{display: flex;justify-content: center;gap: var(--space-2);max-width: 352px;height: 100%;margin-inline: auto;pointer-events: none}.authc-cell{flex: 1 1 0;display: flex;align-items: center;justify-content: center;min-width: 0;max-width: 52px;border-radius: var(--r-md);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font-family: var(--font-sans);font-size: 1.25rem;font-weight: 500;font-variant-numeric: tabular-nums;line-height: 1}.authc-cell.is-current{box-shadow: inset 0 0 0 2px var(--focus)}.authc-code.is-busy .authc-cell{color: var(--muted)}.authc-code.is-locked .authc-cell{opacity: .5}.auth-field.has-error .authc-cell{box-shadow: inset 0 0 0 2px var(--error)}.authc-code__input{position: absolute;inset: 0;z-index: 1;width: 100%;height: 100%;margin: 0;padding: 0;border: 0;border-radius: var(--r-md);background: transparent;color: transparent;-webkit-text-fill-color: transparent;caret-color: transparent;font-size: var(--fs-ui);letter-spacing: normal;text-align: center;box-shadow: none}.authc-code__input:focus,.authc-code__input:focus-visible{outline: none;box-shadow: none}.authc-code__input::selection{background: transparent}.authc-wait.is-wait{display: flex;align-items: center;justify-content: center;gap: var(--space-2);color: var(--muted)}.authc-wait.is-wait::before{width: 18px;height: 18px}.authc-links{display: flex;flex-direction: column;align-items: center;margin-top: var(--space-2)}.authc-links--inline{flex-direction: row;flex-wrap: wrap;justify-content: center;gap: var(--space-2);margin-top: var(--space-4);font-size: var(--fs-small);color: var(--muted)}.auth-link-btn.authc-resend[aria-disabled="true"]{color: var(--muted);text-decoration: none;cursor: default}@media (max-width: 359px){.authc-social{flex-basis: 100%}}@media (max-width: 767px),(max-height: 500px) and (orientation: landscape) and (hover: none){html .auth-dialog.authc{width: 100%;max-width: var(--sheet-max-w);max-height: calc(var(--app-h) - var(--safe-top) - var(--space-4));margin: auto auto 0;border-radius: var(--r-lg) var(--r-lg) 0 0;overscroll-behavior: contain;animation: epic-sheet-in var(--dur-slow) var(--ease)}html .authc .auth-dialog__body{padding: var(--space-6) max(var(--space-6),var(--safe-right)) calc(var(--space-6) + var(--safe-bottom)) max(var(--space-6),var(--safe-left))}html .authc .auth-dialog__desc{margin-bottom: var(--space-4)}html .authc .auth-divider{margin-block: var(--space-4)}}@media (min-width: 480px) and (max-height: 500px) and (orientation: landscape) and (hover: none){html .authc .auth-dialog__desc{display: block}html .authc .auth-dialog__title{margin-bottom: var(--space-2)}}html.is-kbd-ios .auth-dialog.authc{top: var(--vv-top,0px);bottom: auto;margin-block: 0;max-height: var(--app-h)}@media (prefers-reduced-motion: reduce){html .auth-dialog.authc{animation: none}}
.legal-modal{display: flex;flex-direction: column;width: min(100%,560px);max-height: calc(var(--app-h,100dvh) - 2 * var(--space-6));padding: 0;overflow: hidden}.legal-modal__scroll{flex: 1 1 auto;min-height: 0;overflow-y: auto;overscroll-behavior: contain;padding: var(--space-8)}.legal-modal__body{margin-bottom: var(--space-4)}.legal-modal__item + .legal-modal__item{margin-top: var(--space-6)}.legal-modal__item-title{margin: 0 0 var(--space-2);font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 500;color: var(--text)}.legal-modal__list{margin: 0 0 var(--space-3);padding-left: 1.25em;font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--text)}.legal-modal__list li + li{margin-top: var(--space-2)}.legal-modal__consent,.legal-modal__docs,.legal-modal__note{margin: 0 0 var(--space-3);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.legal-modal__note{margin-bottom: var(--space-6)}.legal-modal a{color: var(--amber-text);text-decoration: underline;text-underline-offset: 2px}@media (hover: hover){.legal-modal a:hover{color: var(--link-hover)}}.legal-modal a:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px;border-radius: var(--r-sm)}.legal-modal__error{margin: 0 0 var(--space-3);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--error)}.legal-modal__error[hidden]{display: none}html.is-sheet .legal-modal{width: 100%;max-height: 100%}html.is-sheet .legal-modal__scroll{padding: var(--space-6) var(--space-4) calc(var(--space-6) + var(--safe-bottom,0px))}.return-modal__block{margin: 0 0 var(--space-4)}.return-modal__label{margin: 0 0 var(--space-1);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.return-modal__value{margin: 0;font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 500;color: var(--text)}.return-modal__list{margin: 0;padding-left: 1.25em;font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--text)}.return-modal__list li + li{margin-top: var(--space-2)}.return-modal__gift{margin: 0 0 var(--space-4);padding: var(--space-4);border-radius: var(--r-sm);background: var(--amber-soft);box-shadow: inset 0 0 0 1px var(--line-strong)}.return-modal__gift .return-modal__value{color: var(--amber-text)}.return-modal__tag{display: inline-block;margin-left: var(--space-2);padding: 0 var(--space-2);border-radius: var(--r-sm);font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 400;color: var(--muted);box-shadow: inset 0 0 0 1px var(--line-strong)}.return-modal__ads{display: flex;gap: var(--space-3);align-items: flex-start;margin: 0 0 var(--space-6);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--text);cursor: pointer}.return-modal__ads input{flex: 0 0 auto;width: 20px;height: 20px;margin: 2px 0 0;accent-color: var(--amber)}.return-modal__ads small{display: block;margin-top: var(--space-1);font-size: var(--fs-ui);color: var(--muted)}html.is-sheet .legal-modal__scroll{display: flex;flex-direction: column}html.is-sheet .legal-modal .modal__actions{position: sticky;bottom: calc(-1 * (var(--space-6) + var(--safe-bottom,0px)));z-index: 1;margin: auto calc(-1 * var(--space-4)) calc(-1 * (var(--space-6) + var(--safe-bottom,0px)));padding: var(--space-3) var(--space-4) calc(var(--space-3) + var(--safe-bottom,0px));background: var(--surface);box-shadow: inset 0 1px 0 var(--line)}html.is-sheet .legal-modal__scroll > *{flex: 0 0 auto}html.is-sheet .legal-modal__scroll > .modal__icon{align-self: flex-start}
.notifications-btn__badge[hidden],.notifications-btn__dot[hidden],.user-menu__badge[hidden]{display: none}.notifications-btn__dot{position: absolute;top: 5px;right: 6px;width: 9px;height: 9px;border-radius: var(--r-full);background: var(--amber);border: 2px solid var(--chat-bg);box-sizing: content-box;pointer-events: none}.topbar__right .notifications-btn__dot{border-color: var(--bg)}.notify-panel{display: flex;flex-direction: column;width: 392px;max-width: calc(100vw - 24px);padding: 0;overflow: hidden}.notify-panel:focus{outline: none}.notify-panel__head{display: flex;align-items: center;justify-content: space-between;gap: var(--space-3);padding: var(--space-3) var(--space-4) var(--space-2)}.notify-panel__title{margin: 0;font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 600;color: var(--text)}.notify-panel__readall{min-height: 36px;padding: 0 var(--space-3);border: 0;border-radius: var(--r-full);background: none;color: var(--amber-text);font: inherit;font-size: var(--fs-small);font-weight: 500;cursor: pointer}.notify-panel__readall:disabled{color: var(--muted);cursor: default;opacity: .6}@media (hover: hover){.notify-panel__readall:not(:disabled):hover{background: var(--amber-soft)}}.notify-panel__readall:focus-visible,.notify-tab:focus-visible,.notify-item__link:focus-visible,.notify-state__btn:focus-visible{outline: 2px solid var(--focus);outline-offset: -2px}.notify-tabs{display: flex;gap: 2px;padding: 0 var(--space-2) var(--space-2);overflow-x: auto;scrollbar-width: none}.notify-tabs::-webkit-scrollbar{display: none}.notify-tab{flex: none;min-height: 36px;padding: 0 var(--space-2);border: 0;border-radius: var(--r-full);background: none;color: var(--muted);font: inherit;font-size: var(--fs-caption);font-weight: 500;white-space: nowrap;cursor: pointer}.notify-tab.is-active{background: var(--amber-soft);color: var(--amber-text)}@media (hover: hover){.notify-tab:not(.is-active):hover{color: var(--text);background: var(--active)}}.notify-panel__body{flex: 1 1 auto;min-height: 0;max-height: min(60vh,520px);overflow-y: auto;overscroll-behavior: contain;border-top: 1px solid var(--line)}html.is-sheet .notify-panel__body{max-height: calc(var(--app-h,100dvh) * 0.68)}.notify-list{margin: 0;padding: 0;list-style: none}.notify-day{margin: 0;padding: var(--space-3) var(--space-4) var(--space-1);font-size: var(--fs-caption);line-height: var(--lh-caption);font-weight: 600;color: var(--muted)}.notify-item{margin: 0}.notify-item__link{position: relative;display: flex;align-items: flex-start;gap: var(--space-3);min-height: var(--hit);padding: var(--space-3) var(--space-4);color: var(--text);text-decoration: none}@media (hover: hover){.notify-item__link:hover{background: var(--active)}}.notify-item__icon{flex: none;display: inline-flex;align-items: center;justify-content: center;width: 32px;height: 32px;border-radius: var(--r-full);background: var(--active);color: var(--muted)}.notify-item__icon svg{width: 18px;height: 18px;fill: currentColor}.notify-item.is-error .notify-item__icon{color: var(--error)}.notify-item.is-unread .notify-item__icon,.notify-item.is-new .notify-item__icon{background: var(--amber-soft);color: var(--amber-text)}.notify-item__main{flex: 1 1 auto;min-width: 0;display: flex;flex-direction: column;gap: 2px}.notify-item__title{font-size: var(--fs-small);line-height: var(--lh-small);font-weight: 500;color: var(--text);overflow-wrap: anywhere}.notify-item.is-unread .notify-item__title{font-weight: 600}.notify-item__body{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted);overflow-wrap: anywhere;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden}.notify-item__meta{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted)}.notify-item__dot{flex: none;align-self: center;width: 8px;height: 8px;border-radius: var(--r-full);background: var(--amber)}.notify-skel{display: flex;flex-direction: column}.notify-skel__row{display: flex;gap: var(--space-3);padding: var(--space-3) var(--space-4)}.notify-skel__icon{flex: none;width: 32px;height: 32px;border-radius: var(--r-full);background: var(--active)}.notify-skel__lines{flex: 1;display: flex;flex-direction: column;gap: var(--space-2);padding-top: 2px}.notify-skel__line{display: block;height: 0.875rem;width: 70%;border-radius: var(--r-sm);background: var(--active)}.notify-skel__line--short{width: 45%}.notify-state{display: flex;flex-direction: column;align-items: center;gap: var(--space-2);padding: var(--space-8) var(--space-6);text-align: center}.notify-state__title{margin: 0;font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 600;color: var(--text)}.notify-state__text{margin: 0;font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.notify-state__btn{margin-top: var(--space-2);min-height: var(--hit);padding: 0 var(--space-4);border: 0;border-radius: var(--r-full);box-shadow: inset 0 0 0 1px var(--line-strong);background: none;color: var(--text);font: inherit;font-size: var(--fs-small);font-weight: 500;cursor: pointer}@media (hover: hover){.notify-state__btn:hover{background: var(--active)}}html .user-menu__item--notify{display: none}button.user-menu__item{border: 0;font-family: inherit}.user-menu__badge{margin-left: auto;min-width: 20px;height: 20px;padding: 0 6px;border-radius: var(--r-full);background: var(--amber);color: var(--text);font-size: var(--fs-caption);font-weight: 700;line-height: 20px;text-align: center}.user-menu__badge.is-dot{min-width: 10px;width: 10px;height: 10px;padding: 0;margin-right: var(--space-1)}@media (max-width: 767px){html .user-menu__item--notify{display: flex}html .user-menu__trigger[data-notify]::after{content: "";position: absolute;top: 6px;right: 6px;width: 10px;height: 10px;border-radius: var(--r-full);background: var(--amber);border: 2px solid var(--bg);box-sizing: content-box}html .user-menu__trigger{position: relative}}html.is-touch .notify-tab,html.is-touch .notify-panel__readall{min-height: var(--hit)}@media (max-width: 767px){.notify-tab{padding: 0 6px}}@media (prefers-reduced-motion: reduce){.notify-tab,.notify-item__link{transition: none}}
.user-menu__spaces{display: flex;flex-direction: column;gap: 2px}.user-menu__label{display: block;padding: var(--space-2) var(--space-3) var(--space-1);font-size: var(--fs-caption);line-height: 1.3;color: var(--muted)}.user-menu__space{border: 0;font-family: inherit}.user-menu__space-name{flex: 1;min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}.user-menu__space.is-active{color: var(--text);font-weight: 600}.user-menu__space-check{margin-left: auto;color: var(--amber)}.user-menu__space.is-busy{opacity: .6;pointer-events: none}.space-badge{display: inline-flex;align-items: center;gap: var(--space-2);height: var(--hit);max-width: 220px;padding: 0 var(--space-4);border-radius: var(--r-full);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font-size: var(--fs-ui);font-weight: 500;white-space: nowrap}.space-badge svg{flex: none;width: 18px;height: 18px;fill: currentColor;color: var(--amber)}.space-badge__name{min-width: 0;overflow: hidden;text-overflow: ellipsis}@media (hover: hover){.space-badge:hover{background: var(--raised)}}.space-badge:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}.balance-pill--static{cursor: default}.balance-pill__space{display: none}.account-card__id--space{display: flex;align-items: center;gap: var(--space-1);min-width: 0;font-variant-numeric: normal}.account-card__id--space svg{flex: none;width: 14px;height: 14px;fill: currentColor;color: var(--amber)}.account-card__id--space span{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}@media (max-width: 767px){.space-badge{display: none}.balance-pill--org .balance-pill__currency{display: none}.balance-pill--org .balance-pill__space{display: inline-flex;align-items: center;color: var(--amber)}.balance-pill--org .balance-pill__space svg{width: 18px;height: 18px;fill: currentColor}}
.epic-select{position: relative;display: block;width: 100%}.epic-select > select.epic-select__native{position: absolute;left: 0;top: 0;width: 1px;height: 1px;min-height: 0;margin: 0;padding: 0;opacity: 0;pointer-events: none;overflow: hidden}.epic-select.is-static > .epic-select__trigger{display: none}.epic-select.is-static > select.epic-select__native{position: static;width: 100%;height: auto;min-height: var(--btn-h-m);padding: 0 var(--space-4);opacity: 1;pointer-events: auto}.epic-select__trigger{display: flex;align-items: center;justify-content: space-between;gap: var(--space-3);width: 100%;min-height: var(--btn-h-m);padding: 0 var(--space-3) 0 var(--space-4);border: none;border-radius: var(--r-md);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font: 400 var(--fs-ui)/1.3 var(--font-sans);text-align: left;cursor: pointer;transition: box-shadow .15s var(--chat-ease,ease),background-color .15s var(--chat-ease,ease)}.epic-select--field > .epic-select__trigger{min-height: 48px}.epic-select__trigger:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}.epic-select__trigger[aria-expanded="true"]{box-shadow: inset 0 0 0 1px var(--amber-line)}.epic-select__trigger:disabled{opacity: .45;cursor: default}@media (hover: hover){.epic-select__trigger:not(:disabled):not([aria-expanded="true"]):hover{box-shadow: inset 0 0 0 1px var(--line-strong)}}.epic-select__value{flex: 1 1 auto;min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}.epic-select__chevron{flex: none;width: 24px;height: 24px;color: var(--muted);transition: transform .18s var(--chat-ease,ease),color .15s var(--chat-ease,ease)}.epic-select__trigger[aria-expanded="true"] .epic-select__chevron{transform: rotate(180deg);color: var(--amber-text)}.epic-select ~ .dz-ic{display: none}.epic-select__panel{padding: var(--space-2);max-height: min(360px,60vh);overflow-y: auto;overscroll-behavior: contain;transform-origin: top center}.epic-select__option{display: flex;align-items: center;justify-content: space-between;gap: var(--space-3);min-height: var(--hit);padding: 0 var(--space-3);border-radius: var(--r-sm);color: var(--text);font: 400 var(--fs-ui)/1.3 var(--font-sans);cursor: pointer;outline: none;transition: background-color .15s var(--chat-ease,ease),color .15s var(--chat-ease,ease)}.epic-select__label{min-width: 0;overflow-wrap: anywhere}.epic-select__check{flex: none;width: 20px;height: 20px;opacity: 0}.epic-select__option[aria-selected="true"]{background: var(--amber-soft);color: var(--amber-text)}.epic-select__option[aria-selected="true"] .epic-select__check{opacity: 1}.epic-select__option.is-focus:not([aria-selected="true"]){background: var(--active)}.epic-select__option.is-focus{box-shadow: inset 0 0 0 1px var(--amber-line)}.epic-select__option[aria-disabled="true"]{color: var(--tertiary);cursor: default}@media (hover: hover){.epic-select__option:not([aria-selected="true"]):not([aria-disabled="true"]):hover{background: var(--active)}}html.is-sheet .epic-select__panel{max-height: min(70vh,calc(var(--app-h,100vh) - var(--space-8)))}html.is-sheet .epic-select__option{min-height: 52px;padding: 0 calc(var(--sheet-pad-x,var(--space-6)) - var(--space-2))}
:root{--safe-top: env(safe-area-inset-top,0px);--safe-right: env(safe-area-inset-right,0px);--safe-bottom: env(safe-area-inset-bottom,0px);--safe-left: env(safe-area-inset-left,0px);--app-h: 100vh;--vv-top: 0px;--kb: 0px;--composer-h: 0px;--page-x: var(--space-4);--drawer-w: min(320px,calc(100vw - 56px - var(--safe-left)));--sheet-max-w: 560px;--sheet-shift: 100%;--z-topbar: 30;--z-drawer-scrim: 90;--z-drawer: 100;--z-popover: 210}@supports (height: 100dvh){:root{--app-h: 100dvh}}@keyframes epic-sheet-in{0%{opacity: 0;transform: translateY(var(--sheet-shift))}25%{opacity: 1}100%{opacity: 1;transform: none}}@keyframes epic-scrim-in{from{opacity: 0}to{opacity: 1}}@media (max-width: 767px){:root{--header-height: 56px}}@media (min-width: 480px) and (max-height: 500px) and (orientation: landscape) and (hover: none){:root{--header-height: 48px}}@media (prefers-reduced-motion: reduce){:root{--sheet-shift: 0%}html{scroll-behavior: auto}}html{-webkit-text-size-adjust: 100%;text-size-adjust: 100%;-webkit-tap-highlight-color: transparent}html :where(a,button,summary,[role="button"],[role="tab"],[role="menuitem"],[role="option"],[tabindex]:not([tabindex="-1"])):focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}html :where([tabindex="-1"]:not(a,button,summary,input,textarea,select,[role="button"],[role="tab"],[role="menuitem"],[role="option"])):focus-visible{outline: none}@media (hover: none){body.app,body.settings-page,body.history-page{overscroll-behavior: none}html:has(> body.app),html:has(> body.settings-page),html:has(> body.history-page){overscroll-behavior: none}}body.app,body.settings-page,body.history-page{height: var(--app-h)}a,button,summary,label,input,select,textarea,[role="button"],[role="tab"],[role="menuitem"],[role="option"],[role="switch"]{touch-action: manipulation;-webkit-tap-highlight-color: transparent}.chat,.image,.image-controls,.chat-settings,.sidebar__history-section,.settings-main,.history-main,.modal,.modal-overlay,.models-dropdown__list,.library-list,.library-editor,.earn-tokens__modal-body,.earn-tokens__list,.search-chats__list,.auth-dialog,.bubble-files,.composer__textarea{overscroll-behavior-y: contain}.models-dropdown__recent-row,.models-dropdown__categories{overscroll-behavior-x: contain}.modal:where(:not(.modal--library,.modal--earn-tokens,.modal--search-chats)){max-height: calc(var(--app-h) - 2 * var(--space-4));overflow-y: auto;overscroll-behavior: contain}.modal__close{z-index: 1}.modal--search-chats{max-height: min(560px,calc(100vh - 64px),calc(var(--app-h) - 2 * var(--space-4)))}@media (hover: none){:where(button,[role="button"]){transition: scale var(--dur-fast) var(--ease);-webkit-touch-callout: none;-webkit-user-select: none;user-select: none}:where(button:not(:disabled),[role="button"]:not([aria-disabled="true"])):active{scale: 0.97}:where(button:not(:disabled),[role="button"]:not([aria-disabled="true"])):has(> svg:only-child):active{scale: 0.96}html .nav-list__link:active,html .history-accordion__header:active,html .history-group__item:not(.active):active,html .user-menu__item:active,html .save-menu__item:active,html .chat-action-menu__item:active,html .model-entry:active,html .family-entry:active,html .recent-entry:active,html .history-item:active,html .library-item:active,html .search-chats__item:active,html .buy-tokens__item:active,html .account-card:active,html .earn-tokens__item--toggle:active,html .chat-capability:active{background: var(--active);scale: none}html .user-menu__item--danger:active,html .chat-action-menu__item--danger:active{background: var(--error-soft)}.library-create-btn:active,.library-primary-btn:active,.library-empty__action:active,.library-secondary-btn:active,.library-danger-btn:active{scale: none}}@media (max-width: 1023px){html.has-overlay,html.has-overlay body{overflow: hidden}}html.has-overlay body.app{overflow: clip}html.is-kbd .composer__hint-help,html.is-landscape-short .composer__hint-help{display: none}html.is-kbd-ios body.app,html.is-kbd-ios body.settings-page,html.is-kbd-ios body.history-page{position: fixed;inset: 0 0 auto 0;width: 100%;height: var(--app-h);transform: translateY(var(--vv-top,0px))}
@media (max-width: 1023px){html body.app{padding: 0 var(--safe-right) 0 var(--safe-left);width: 100%}html .main{border-radius: 0}html .sidebar.collapsed ~ .main{margin-left: 0}}.sidebar__close-icon{display: none}html #sidebarExpandBtn > .topbar__burger-icon{display: none}@media (max-width: 1023px){html .sidebar,html .sidebar.collapsed{position: fixed;top: 0;bottom: 0;left: 0;width: calc(var(--drawer-w) + var(--safe-left));height: auto;z-index: var(--z-drawer);padding: var(--safe-top) 0 var(--safe-bottom) var(--safe-left);border-right: none;overflow-x: hidden;overflow-y: auto;overscroll-behavior: contain;transform: translateX(-100%);visibility: hidden;transition: transform var(--dur-base) var(--ease),visibility 0s var(--ease) var(--dur-base)}html .sidebar.mobile-open{transform: none;visibility: visible;box-shadow: var(--sh-lg);transition: transform var(--dur-base) var(--ease),visibility 0s}html .sidebar-backdrop{z-index: var(--z-drawer-scrim)}html .sidebar__header{height: auto;min-height: var(--header-height)}html .sidebar__collapse-icon{display: none}html .sidebar__close-icon{display: block;width: 20px;height: 20px}html .sidebar__logo-link{min-height: var(--hit)}html .sidebar__history-section{min-height: 120px;overscroll-behavior: contain}html .btn-new-chat,html .nav-list__link,html .history-accordion__header{height: auto;min-height: 48px}html .btn-new-chat__text,html .nav-list__text{min-width: 0;overflow-wrap: anywhere}}html.is-landscape-short .sidebar__history-section{flex: none;min-height: 0;overflow: visible}html.is-landscape-short .sidebar__footer{flex: none}@media (max-width: 1023px) and (max-height: 700px){html .sidebar__history-section{flex: none;min-height: 0;overflow: visible}html .sidebar__footer{flex: none}}html.is-touch .sidebar__logo-link{min-height: var(--hit)}html :where(input,textarea,select)[readonly]:focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}@media (max-width: 1023px){html .topbar .topbar__sidebar-toggle{display: inline-flex}html #sidebarExpandBtn > svg:not(.topbar__burger-icon){display: none}html #sidebarExpandBtn > .topbar__burger-icon{display: block}html .main > .topbar,html .main:has(.chat) > .topbar,html .main:has(.image) > .topbar{z-index: var(--z-topbar);gap: var(--space-2);min-height: calc(var(--header-height) + var(--safe-top));padding: calc(var(--space-3) + var(--safe-top)) var(--space-4) var(--space-3)}html .settings-page .topbar,html .history-page .topbar{z-index: var(--z-topbar)}html .topbar :is(.topbar__sidebar-toggle,.chat-settings__expand,.image-controls__expand,.notifications-btn,.topbar__theme-toggle,.user-menu__trigger){flex: none}html .main > .topbar,html .main:has(.chat) > .topbar,html .main:has(.image) > .topbar{flex-wrap: wrap;row-gap: var(--space-1)}html .main > .topbar .topbar__left{flex: 1 1 auto;min-width: 0;gap: var(--space-2)}html .main > .topbar .topbar__model{flex: 0 1 auto;min-width: 0}html .main > .topbar .model-pill{max-width: 100%;min-width: 0}html .main > .topbar .model-pill__name{min-width: 0;max-width: none;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}html .main > .topbar .topbar__right{flex: 0 1 auto;flex-wrap: wrap;justify-content: flex-end;max-width: 100%;margin-left: auto;gap: var(--space-2);row-gap: var(--space-1)}html .main > .topbar .balance-pill{max-width: 100%}}.model-pill__short{display: none}@media (max-width: 767px){html .topbar :is(.notifications-btn,.topbar__theme-toggle,.topbar__earn){display: none}html .main > .topbar .model-pill__name{display: none}html .main > .topbar .model-pill__short{display: block;min-width: 0;max-width: none;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}html .main > .topbar .topbar__left{flex: 1 1 0;min-width: calc(var(--hit) + var(--space-1) + 3.5rem + 2rem)}html .main > .topbar .topbar__right{flex: none;flex-wrap: nowrap;max-width: none}html .main > .topbar,html .main:has(.chat) > .topbar,html .main:has(.image) > .topbar{padding: calc(var(--space-1) + var(--safe-top)) var(--space-3) var(--space-1)}html .topbar .balance-pill{flex: none;gap: var(--space-2);padding: 0 var(--space-2) 0 var(--space-3);white-space: nowrap}html .topbar .balance-pill__value,html .topbar .balance-pill__currency{flex: none;white-space: nowrap}html .topbar .balance-pill__plus{background: var(--amber-soft);color: var(--amber-text)}}@media (max-width: 767px) and (hover: hover){html .topbar .balance-pill:hover .balance-pill__plus{background: var(--amber-soft)}}@media (max-width: 430px){html .main > .topbar,html .main:has(.chat) > .topbar,html .main:has(.image) > .topbar{gap: var(--space-1);padding-left: var(--space-2);padding-right: var(--space-2)}html .main > .topbar .topbar__left,html .main > .topbar .topbar__right{gap: var(--space-1)}html .topbar .balance-pill{padding: 0 var(--space-2);gap: var(--space-1)}html .topbar .balance-pill__plus{display: none}html .main > .topbar .model-pill{padding: 0 var(--space-2) 0 calc(var(--space-1) * 1.5);gap: var(--space-1)}html .main > .topbar .model-pill > svg{display: none}html .main > .topbar .model-pill__icon{flex: none;width: 20px;height: 20px}html .main > .topbar .model-pill__short{flex: 0 1 auto}}@media (max-width: 399px){html .main > .topbar .model-pill,html .topbar .balance-pill{font-size: var(--fs-small)}}@media (max-width: 360px){html .main > .topbar .model-pill,html .topbar .balance-pill{padding-left: calc(var(--space-1) * 1.5);padding-right: calc(var(--space-1) * 1.5)}}@media (max-width: 359px){html .main > .topbar .model-pill__name,html .main > .topbar .model-pill__short{display: none}html .main > .topbar .model-pill{min-width: var(--hit);padding: 0 var(--space-2);gap: 2px}html .main > .topbar .model-pill > svg{display: block;width: 16px;height: 16px;flex: none}html .main > .topbar .topbar__left{min-width: calc(var(--hit) + var(--space-1) + 3.5rem)}}html.is-landscape-short .main > .topbar{padding-top: var(--safe-top);padding-bottom: 0}html.is-kbd.is-landscape-short .main > .topbar{display: none}@media (max-height: 299px){html.is-kbd .main > .topbar{display: none}}@media (hover: none){html .history-group__more-btn{width: var(--hit);height: var(--hit);top: calc(50% - var(--hit) / 2);right: 0;opacity: 1;pointer-events: auto;transform: none}html .history-group__link{padding-right: var(--hit)}}html.is-touch .epic-tooltip{display: none}html.is-sheet :is(.user-menu__panel,.chat-action-menu,.save-menu__panel,.action-sheet,.notify-panel){--popover-mode: sheet;position: fixed;left: 0;right: 0;top: auto;bottom: 0;width: min(100%,var(--sheet-max-w));min-width: 0;margin-inline: auto;max-height: calc(var(--app-h) - var(--safe-top) - var(--space-4));overflow-y: auto;overscroll-behavior: contain;padding: var(--space-2) var(--space-2) calc(var(--space-2) + var(--safe-bottom));border-radius: var(--r-lg) var(--r-lg) 0 0;z-index: var(--z-popover);transform-origin: bottom center;transform: translateY(var(--sheet-shift));opacity: 0;transition: transform var(--dur-fast) var(--ease),opacity var(--dur-fast) var(--ease)}html.is-sheet :is(.user-menu__panel,.chat-action-menu,.save-menu__panel,.action-sheet,.notify-panel).is-open{transform: none;opacity: 1;transition: transform var(--dur-slow) var(--ease),opacity var(--dur-base) var(--ease)}html.is-sheet .sheet-list__item,html.is-sheet :is(.user-menu__panel,.chat-action-menu,.save-menu__panel,.action-sheet) :is(.user-menu__item,.chat-action-menu__item,.save-menu__item){min-height: 52px;padding: 0 calc(var(--sheet-pad-x) - var(--space-2));gap: var(--space-3)}html.is-sheet .user-menu__panel .user-menu__header{padding-inline: calc(var(--sheet-pad-x) - var(--space-2))}.sheet-list{display: flex;flex-direction: column;gap: var(--space-1);margin: 0;padding: 0;list-style: none}.sheet-list__item{display: flex;align-items: center;width: 100%;min-height: 52px;padding: 0 var(--space-4);gap: var(--space-3);border-radius: var(--r-sm);background: none;color: var(--text-2);font-size: var(--fs-ui);font-weight: 500;text-align: left}.sheet-list__item svg{flex: none;width: 20px;height: 20px;fill: currentColor;color: var(--muted)}.sheet-list__item--danger{color: var(--error)}.sheet-list__item--danger svg{color: var(--error)}.sheet-list__item:active{background: var(--active)}.sheet-list__item--danger:active{background: var(--error-soft)}@media (hover: hover){.sheet-list__item:hover{background: var(--active);color: var(--text)}.sheet-list__item:hover svg{color: currentColor}.sheet-list__item--danger:hover{background: var(--error-soft);color: var(--error)}}.sheet-scrim{position: fixed;inset: 0;z-index: calc(var(--z-popover) - 1);background: var(--scrim);animation: epic-scrim-in var(--dur-base) var(--ease)}html:not(.is-sheet) .sheet-scrim{display: none}html.is-sheet{--sheet-pad-x: 1.25rem;--sheet-title-size: min(1.5rem,calc((100vw - var(--sheet-pad-x) - var(--sheet-close-gap) - var(--sheet-close) - var(--space-3)) / 7));--sheet-title-lh: 1.25;--sheet-close: var(--hit);--sheet-close-gap: var(--space-2);--sheet-head-pt: var(--sheet-pad-x);--sheet-head-pb: var(--space-3);--sheet-close-dy: calc((var(--sheet-title-size) * var(--sheet-title-lh) - var(--sheet-close)) / 2)}html.is-landscape-short{--sheet-head-pt: var(--space-3);--sheet-head-pb: var(--space-2)}html.is-kbd.is-landscape-short{--sheet-head-pt: var(--space-2);--sheet-head-pb: var(--space-1)}html.is-sheet :is(.chat-settings__collapse,.image-controls__toggle,.library-icon-btn,.modal__close,.settings-modal__close){display: inline-flex;align-items: center;justify-content: center;flex: none;width: var(--sheet-close);height: var(--sheet-close);border-radius: var(--r-full);background: transparent;color: var(--muted)}html.is-sheet :is(.chat-settings__collapse,.image-controls__toggle,.library-icon-btn,.modal__close,.settings-modal__close) svg{width: 24px;height: 24px;fill: currentColor}html.is-sheet :is(.chat-settings__collapse,.image-controls__toggle,.library-icon-btn,.settings-modal__close){margin-top: var(--sheet-close-dy)}html.is-sheet .modal__close{top: calc(var(--sheet-head-pt) + var(--sheet-close-dy));right: var(--sheet-close-gap)}html.is-sheet :is(.chat-settings__title,.library-modal__title,.settings-modal__title,.buy-tokens__title,.report-modal__title){font-size: var(--sheet-title-size);line-height: var(--sheet-title-lh);font-weight: 500;letter-spacing: var(--ls-h3);overflow-wrap: break-word;hyphens: manual}html.is-sheet .sheet-footer{padding: var(--space-3) var(--sheet-pad-x) calc(var(--space-3) + var(--safe-bottom))}html.is-sheet .modal-overlay:where(:not(.models-overlay,.library-overlay,.earn-tokens-overlay)){inset: 0 0 auto 0;height: var(--app-h);padding: 0 var(--safe-right) 0 var(--safe-left);align-items: flex-end;justify-content: center}html.is-sheet .modal-overlay > .modal:where(:not(.modal--library,.modal--earn-tokens)){width: 100%;max-width: var(--sheet-max-w);margin-inline: auto;max-height: calc(var(--app-h) - var(--safe-top) - var(--space-4));padding: var(--space-6) var(--space-6) calc(var(--space-6) + var(--safe-bottom));border-radius: var(--r-lg) var(--r-lg) 0 0;overflow-y: auto;overscroll-behavior: contain;animation: epic-sheet-in var(--dur-slow) var(--ease)}html.is-sheet .modal .modal__actions{flex-direction: column-reverse;gap: var(--space-2)}html.is-sheet .modal .modal__btn{width: 100%;min-height: var(--btn-h-l)}html.is-sheet .modal-overlay:has(> .modal--full){inset: 0 0 auto 0;height: var(--app-h);padding: 0;align-items: stretch;justify-content: stretch}html.is-sheet .modal-overlay > .modal--full{width: 100%;max-width: none;height: var(--app-h);max-height: var(--app-h);margin: 0;padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);border-radius: 0;box-shadow: none;overflow-y: auto;overscroll-behavior: contain;animation: epic-sheet-in var(--dur-slow) var(--ease)}html.is-sheet .modal-overlay:has(> .modal--center){padding: var(--space-4) max(var(--space-4),var(--safe-right)) var(--space-4) max(var(--space-4),var(--safe-left));align-items: center}html.is-sheet .modal-overlay > .modal.modal--center{width: 100%;max-width: 400px;max-height: calc(var(--app-h) - 2 * var(--space-4) - var(--safe-top) - var(--safe-bottom));padding: var(--space-6);border-radius: var(--r-lg);animation: modalIn var(--dur-base) var(--ease)}html{--toast-extra: 0px}@media (max-width: 1050px){html:has(.image-summary){--toast-extra: calc(var(--hit) + var(--space-4))}}html.is-kbd.is-landscape-short{--toast-extra: 0px}html.has-overlay{--toast-composer: 0px;--toast-extra: calc(var(--btn-h-l) + var(--space-6))}html.has-overlay:has(.sidebar.mobile-open){--toast-extra: 0px}html .epic-toast{position: fixed;left: max(var(--space-4),var(--safe-left));right: max(var(--space-4),var(--safe-right));bottom: calc(var(--safe-bottom) + var(--space-4) + var(--toast-composer,var(--composer-h,0px)) + var(--toast-extra,0px));margin-inline: auto;width: fit-content;max-width: min(calc(100% - 2 * var(--space-4)),420px);padding: var(--space-3) var(--space-4);border-radius: var(--r-md);gap: var(--space-3);font-size: var(--fs-ui);line-height: var(--lh-ui);overflow-wrap: anywhere;transform: translateY(var(--space-4));transition: opacity var(--dur-base) var(--ease),transform var(--dur-base) var(--ease)}html .epic-toast.is-visible{transform: none;pointer-events: auto}html .epic-toast__text{min-width: 0}html .epic-toast:has(.epic-toast__action){flex-wrap: wrap}html .epic-toast .epic-toast__icon + .epic-toast__text{max-width: calc(100% - 20px - var(--space-3))}html .epic-toast .epic-toast__icon{flex: none;width: 20px;height: 20px;fill: currentColor}html .epic-toast[data-type="success"] .epic-toast__icon{color: var(--success)}html .epic-toast[data-type="warning"] .epic-toast__icon{color: var(--warning)}html .epic-toast[data-type="error"]{color: var(--error)}html .epic-toast[data-type="error"] .epic-toast__icon{color: var(--error)}html .epic-toast__action{flex: none;min-height: var(--hit);margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-2)) calc(-1 * var(--space-3)) auto;padding: 0 var(--space-3);border-radius: var(--r-sm);color: var(--amber-text);font-size: var(--fs-ui);font-weight: 500}html .epic-toast__action:active{background: var(--active)}@media (hover: hover){html .epic-toast__action:hover{background: var(--active)}}html .epic-toast:empty{padding: 0;min-width: 0;box-shadow: none}html .epic-toast__close{flex: none;display: inline-flex;align-items: center;justify-content: center;width: var(--hit);min-height: var(--hit);margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) calc(-1 * var(--space-2));border-radius: var(--r-sm);color: var(--muted)}html .epic-toast .epic-toast__close-icon{width: 20px;height: 20px;fill: currentColor;color: inherit}html .epic-toast__close:active{background: var(--active)}@media (hover: hover){html .epic-toast__close:hover{background: var(--active)}}@media (min-width: 768px){html .sidebar .earn-tokens{display: none}}
@media (max-width: 1023px){html .app .chat-settings{box-shadow: var(--sh-lg);padding-top: var(--safe-top);padding-right: var(--safe-right)}html[data-theme="dark"] .app .chat-settings{box-shadow: var(--sh-lg)}}html.is-sheet .chat-settings{position: fixed;inset: auto 0 0 0;width: min(100% - var(--safe-left) - var(--safe-right),var(--sheet-max-w));height: auto;max-height: calc(var(--app-h) - var(--safe-top) - var(--space-4));margin-inline: auto;padding: 0;border-radius: var(--r-lg) var(--r-lg) 0 0;overscroll-behavior: contain}html.is-landscape-short .chat-settings{padding-bottom: calc(var(--space-4) + var(--safe-bottom))}html.is-sheet .app.chat-settings-collapsed .chat-settings,html.is-sheet .app:not(.chat-settings-open) .chat-settings{transform: translateY(calc(100% + var(--safe-bottom)))}html.is-sheet .app .chat-settings{box-shadow: var(--sh-lg)}html.is-sheet[data-theme="dark"] .app .chat-settings{box-shadow: var(--sh-lg)}html.is-sheet .chat-settings__header{position: sticky;top: 0;z-index: 2;align-items: flex-start;min-height: 0;padding: var(--sheet-head-pt) var(--sheet-close-gap) var(--sheet-head-pb) var(--sheet-pad-x);background: var(--surface)}html.is-sheet .chat-settings__heading{flex: 1 1 auto}html.is-sheet .chat-settings :is(.chat-settings__notice,.chat-settings__quick-actions,.chat-settings__group,.chat-settings__services){padding-inline: var(--sheet-pad-x)}@media (hover: none),(pointer: coarse){.chat-capability{align-items: flex-start;padding-block: var(--space-3)}.chat-capability__switch{margin-top: calc(var(--space-1) * -1)}.chat-settings__group-heading--toggle{position: relative;isolation: isolate;align-items: center;min-height: 48px}.chat-settings__group-heading--toggle .help-tip{z-index: 2}.chat-settings__group-toggle{position: absolute;inset: 0;z-index: 1;display: flex;align-items: center;justify-content: flex-end}.chat-settings__group-toggle .chat-capability__switch{margin-top: 0}}html.is-touch .chat-settings__segment{min-height: var(--hit)}html.is-touch .chat-settings__quick-action{min-height: var(--hit)}html.is-sheet .modal-overlay > .modal:is(.modal--report,.modal--buy-tokens){display: flex;flex-direction: column;padding: 0;overflow: hidden}html.is-sheet .modal:is(.modal--report,.modal--buy-tokens) > .modal__scroll{flex: 1 1 auto;min-height: 0;overflow-y: auto;overscroll-behavior: contain;padding: var(--sheet-head-pt) var(--sheet-pad-x) 0}html.is-sheet .modal--report .report-modal__icon{display: none}html.is-sheet .modal--report .report-modal__header{margin-bottom: 0;padding-right: calc(var(--sheet-close) + var(--sheet-close-gap) - var(--sheet-pad-x))}html.is-sheet .modal--report .report-modal__desc{margin-bottom: 0}html.is-sheet .modal--report .report-form__chips{gap: var(--space-2)}html.is-sheet .modal--report .modal__scroll{display: flex;flex-direction: column;gap: var(--space-4)}html.is-sheet .modal--report .report-form{display: contents}html.is-touch .report-chip{min-height: var(--hit)}html.is-touch .report-form__textarea{resize: none}html.is-sheet .modal--report .modal__actions{position: sticky;bottom: 0;z-index: 1;margin: auto calc(-1 * var(--sheet-pad-x)) 0;padding: var(--space-3) var(--sheet-pad-x) calc(var(--space-3) + var(--safe-bottom));background: var(--surface);box-shadow: inset 0 1px 0 var(--line)}html.is-landscape-short .modal--report .modal__actions{flex-direction: row}html.is-landscape-short .modal--report .modal__btn{flex: 1}html.is-sheet.is-kbd .modal--report .modal__actions{flex-direction: row;padding-block: var(--space-2)}html.is-sheet.is-kbd .modal--report .modal__btn{flex: 1;min-height: var(--hit)}html.is-sheet.is-kbd .modal--report .modal__scroll{scroll-padding-bottom: calc(var(--hit) + var(--space-2) * 2 + var(--space-1))}html.is-sheet.is-kbd .modal--report .report-form__textarea{max-height: max(96px,calc(var(--app-h) * .4))}html.is-sheet.is-kbd.is-landscape-short .modal--report .modal__actions{position: static}html.is-sheet.is-kbd.is-landscape-short .modal--report .modal__scroll{scroll-padding-bottom: 0}html.is-sheet .modal--buy-tokens .buy-tokens__heading{margin: 0;padding: var(--sheet-head-pt) calc(var(--sheet-close) + var(--sheet-close-gap)) var(--sheet-head-pb) var(--sheet-pad-x)}html.is-touch .buy-tokens__info{width: var(--hit);height: var(--hit);margin-block: -10px}html.is-touch .buy-tokens__info svg{width: 20px;height: 20px}html.is-sheet .modal.modal--buy-tokens > .modal__scroll{padding-top: 0;padding-bottom: calc(var(--space-6) + var(--safe-bottom,0px))}html:is(.is-sheet,.is-touch) .buy-tokens__promo-submit{background: var(--raised);color: var(--text);box-shadow: inset 0 0 0 1px var(--line-strong)}html:is(.is-sheet,.is-touch) .buy-tokens__promo-submit:active{background: var(--active)}@media (hover: hover){html:is(.is-sheet,.is-touch) .buy-tokens__promo-submit:hover{background: var(--active)}}html .buy-tokens__item.is-selected :is(.buy-tokens__value,.buy-tokens__price-old){color: var(--muted)}html:is(.is-sheet,.is-touch) .buy-tokens__badge:not(.buy-tokens__badge--best){background: var(--amber-soft);color: var(--amber-text)}html:is(.is-sheet,.is-touch) .buy-tokens__item.is-selected .buy-tokens__badge:not(.buy-tokens__badge--best){background: var(--raised)}html.is-sheet .buy-tokens__row{align-items: flex-start}html.is-sheet .buy-tokens__item-main{flex: 1 1 0;min-width: 0}html.is-sheet .buy-tokens__amount{white-space: nowrap}html.is-sheet .buy-tokens__value{white-space: normal}html.is-sheet .buy-tokens__price-block{flex: none;white-space: nowrap}html.is-sheet .buy-tokens__perks{display: flex;flex-wrap: wrap;justify-content: center;gap: var(--space-2)}html.is-sheet .buy-tokens__perk-item{flex: 0 1 auto;padding-inline: var(--space-3)}html.is-touch .buy-tokens__promo-toggle{min-height: var(--hit)}html.is-sheet .buy-tokens__info-popover.action-sheet{max-width: none;padding: var(--space-6) var(--sheet-pad-x) calc(var(--space-6) + var(--safe-bottom));text-align: left}html.is-sheet .buy-tokens__info-popover-title{margin-bottom: var(--space-2);font-size: var(--fs-lead);line-height: var(--lh-lead);font-weight: 500}html.is-sheet .buy-tokens__info-popover-text{margin-bottom: var(--space-3);font-size: var(--fs-ui);line-height: var(--lh-ui)}html.is-touch .buy-tokens__info-popover-link{min-height: var(--hit);font-size: var(--fs-ui)}.search-chats__close{display: none}.search-chats__input,.models-dropdown__search-input,.library-search input{-webkit-appearance: none;appearance: none;border-radius: 0}.search-chats__input::-webkit-search-cancel-button,.models-dropdown__search-input::-webkit-search-cancel-button{display: none;-webkit-appearance: none}html.is-sheet .modal-overlay > .modal--search-chats{display: flex;flex-direction: column;overflow: hidden}html.is-sheet .modal--search-chats > .search-chats__head{flex: none;display: flex;align-items: center;gap: var(--space-2);padding: var(--space-2) var(--sheet-close-gap) var(--space-2) var(--sheet-pad-x)}html.is-sheet .search-chats__head .search-chats__input-wrap{flex: 1;min-width: 0;padding: 0;border-bottom: none;box-shadow: inset 0 -1px 0 var(--line-strong)}html.is-sheet .search-chats__input-wrap:focus-within{box-shadow: inset 0 -2px 0 var(--amber)}html.is-sheet .search-chats__input{height: auto;min-height: var(--btn-h-l);padding-left: calc(var(--space-4) + 20px + var(--space-3));padding-right: var(--hit);font-size: var(--fs-body)}html.is-sheet .search-chats__input-icon{left: var(--space-1)}html.is-sheet .search-chats__close{display: inline-flex;flex: none;align-items: center;justify-content: center;width: var(--sheet-close);height: var(--sheet-close);border-radius: var(--r-full);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line-strong);color: var(--text)}html.is-sheet .search-chats__close svg{width: 24px;height: 24px;fill: currentColor}html.is-sheet .modal--search-chats .search-chats__list{flex: 1 1 auto;min-height: 0;overflow-y: auto;overscroll-behavior: contain;margin: 0;padding: var(--space-2) var(--space-2) var(--space-4)}html.is-sheet .search-chats__empty{padding: var(--space-12) var(--space-4);color: var(--muted)}html.is-touch .search-chats__clear{right: 0;width: var(--hit);height: var(--hit)}html.is-touch .search-chats__item{position: relative}html.is-touch .search-chats__link{min-height: 52px}html.is-touch .search-chats__link::after{content: "";position: absolute;inset: 0}html.is-touch .search-chats__time{position: relative;z-index: 0}html .search-chats__item.is-active .search-chats__time{color: var(--muted)}.models-dropdown__search-input{-webkit-user-select: text;user-select: text}.model-entry__price{display: none}html.is-sheet .modal-overlay > .models-dropdown.modal--full{display: flex;flex-direction: column;overflow: hidden;padding: calc(var(--safe-top) + var(--space-2)) calc(var(--safe-right) + var(--sheet-pad-x)) var(--safe-bottom) calc(var(--safe-left) + var(--sheet-pad-x))}html.is-sheet .models-overlay .models-overlay__close{top: calc(var(--safe-top) + var(--space-2) + (var(--btn-h-l) - var(--sheet-close)) / 2);right: calc(var(--safe-right) + var(--sheet-close-gap));width: var(--sheet-close);height: var(--sheet-close)}html.is-sheet .models-overlay .models-dropdown__search{height: auto;min-height: var(--btn-h-l);margin: 0 calc(var(--sheet-close) + var(--sheet-close-gap) + var(--space-2) - var(--sheet-pad-x)) var(--space-2) 0;padding: 0 var(--space-1)}html.is-sheet .models-overlay .models-dropdown__search-input{min-width: 0}html.is-sheet .models-dropdown__recent.is-merged .models-dropdown__recent-label{position: absolute;width: 1px;height: 1px;margin: -1px;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap}html.is-sheet .models-overlay .models-dropdown__recent{margin-bottom: var(--space-2)}html.is-sheet .models-overlay .models-dropdown__recent-row{overscroll-behavior-x: contain}html.is-kbd.is-landscape-short .models-dropdown__recent{display: none}html.is-sheet .models-overlay .models-dropdown__categories{scroll-snap-type: x proximity;scroll-padding-inline: var(--space-1);flex: none}html.is-sheet .models-overlay .cat-tab{scroll-snap-align: start}html.is-sheet .models-overlay .models-dropdown__list{flex: 1 1 auto;min-height: 0;overscroll-behavior: contain;padding-right: 0}html:is(.is-sheet,.is-touch) .models-dropdown__list > *{flex: none}html.is-touch .model-entry__price{display: block;margin-top: var(--space-1);font-size: var(--fs-caption);line-height: var(--lh-caption);font-variant-numeric: tabular-nums;color: var(--text-2)}html.is-touch .model-entry__cost,html.is-touch .model-entry__cost-rates{display: none}html.is-touch .model-entry{align-items: flex-start}html.is-touch .model-entry__avatar{margin-top: var(--space-1)}html.is-touch .model-entry.is-selected .model-entry__title{color: var(--amber-text)}html .models-overlay .model-entry.is-selected .model-entry__badge{background: var(--raised);color: var(--amber-text)}html.is-touch .model-entry__right{align-self: center;margin-left: var(--space-2)}html.is-touch .model-entry__fav{width: var(--hit);height: var(--hit)}html.is-touch .recent-entry{height: auto;min-height: var(--hit)}html.is-touch .models-overlay .models-dropdown__search-clear{width: var(--hit);height: var(--hit);background: transparent}html.is-touch .models-overlay .models-dropdown__search-clear svg{width: 16px;height: 16px}html.is-touch .models-back-btn{min-height: var(--hit)}html.is-touch .models-overlay .cat-tab{min-width: var(--hit)}html.is-sheet .modal-overlay > .modal--full:is(.modal--library,.modal--earn-tokens){display: flex;flex-direction: column;overflow: hidden}html.is-sheet .library-modal__header{align-items: flex-start;padding: var(--sheet-head-pt) var(--sheet-close-gap) var(--sheet-head-pb) var(--sheet-pad-x)}html.is-sheet .library-modal__mark{display: none}html.is-sheet .library-empty__icon{width: auto;height: auto;border-radius: 0;background: none;color: var(--muted)}html.is-sheet .library-modal__toolbar{grid-template-columns: minmax(0,1fr) var(--btn-h-l);padding: var(--space-1) var(--sheet-pad-x) var(--space-3)}html.is-sheet .library-create-btn{width: var(--btn-h-l);padding: 0}html.is-sheet .library-create-btn span{position: absolute;width: 1px;height: 1px;overflow: hidden;clip: rect(0,0,0,0)}html.is-sheet .library-modal__filters{padding-inline: var(--sheet-pad-x)}html.is-sheet .library-filter{flex: 1;padding: 0 var(--space-2)}html.is-sheet .library-modal__result-bar{padding-inline: var(--sheet-pad-x)}html.is-sheet .library-list{padding: var(--space-2) var(--sheet-pad-x) var(--space-6);overscroll-behavior: contain}html.is-sheet .library-item{grid-template-columns: minmax(0,1fr);gap: 0;padding: 0}html.is-sheet .library-item__select{grid-template-columns: 24px minmax(0,1fr);gap: var(--space-3);padding: var(--space-3) var(--space-3) var(--space-1)}html.is-sheet .library-item__icon{width: 24px;height: 24px;border-radius: 0;background: none;color: var(--muted)}html.is-sheet .library-item.is-selected .library-item__icon{background: none;color: var(--amber-text)}html.is-sheet .library-item__actions{justify-self: end;margin: 0 var(--space-2) var(--space-1)}html.is-sheet .library-editor{padding: var(--space-1) var(--sheet-pad-x) 0;overscroll-behavior: contain}html.is-sheet .library-confirm__panel{padding: var(--space-6)}html.is-sheet .library-icons{padding: 0;align-items: flex-end}html.is-sheet .library-icons__panel{width: 100%;max-height: 85%;padding: var(--space-4) var(--sheet-pad-x) calc(var(--space-6) + env(safe-area-inset-bottom,0px));border-radius: var(--r-lg) var(--r-lg) 0 0}html.is-touch .library-filter{height: auto;min-height: var(--hit)}html.is-touch .library-form__field textarea{resize: none}html.is-sheet .library-form{display: contents}html.is-sheet .library-form__field{margin-bottom: var(--space-6)}html.is-sheet .library-form__error{margin: calc(-1 * var(--space-3)) 0 var(--space-6)}html.is-sheet .library-form__actions{position: sticky;bottom: 0;z-index: 1;margin: 0 calc(-1 * var(--sheet-pad-x));padding: var(--space-3) var(--sheet-pad-x);background: var(--surface);box-shadow: inset 0 1px 0 var(--line)}html.is-sheet .library-form__actions button{flex: 1;min-height: var(--btn-h-l);padding-inline: var(--space-3)}html.is-sheet .library-editor{scroll-padding-bottom: calc(var(--btn-h-l) + var(--space-3) * 2)}html.is-sheet.is-kbd .modal--library .library-modal__subtitle{display: none}html.is-sheet.is-kbd .library-form__field textarea{min-height: 96px;max-height: max(96px,calc(var(--app-h) * .4))}html.is-sheet.is-kbd .library-form__actions{padding-block: var(--space-2)}html.is-sheet.is-kbd .library-form__actions button{min-height: var(--hit)}html.is-sheet.is-kbd .library-editor{scroll-padding-bottom: calc(var(--hit) + var(--space-2) * 2 + var(--space-1))}html.is-sheet.is-kbd.is-landscape-short .library-form__actions{position: static}html.is-sheet.is-kbd.is-landscape-short .library-editor{scroll-padding-bottom: 0}html.is-sheet .library-confirm__actions button{flex: 1;min-height: var(--btn-h-l)}html.is-sheet .modal--earn-tokens .library-modal__header{flex: none;align-items: flex-start;padding: var(--sheet-head-pt) var(--sheet-close-gap) var(--sheet-head-pb) var(--sheet-pad-x)}html.is-sheet .earn-tokens__modal-body{flex: 1 1 auto;min-height: 0;overscroll-behavior: contain;padding: 0 var(--sheet-pad-x) var(--space-6)}html.is-sheet .modal--earn-tokens .earn-tokens__item{grid-template-columns: minmax(0,1fr) auto}html.is-sheet .modal--earn-tokens .earn-tokens__item-amount{grid-column: 1;grid-row: 2;min-width: 0;text-align: left;font-size: var(--fs-small);color: var(--muted)}html.is-sheet .modal--earn-tokens .earn-tokens__item-action,html.is-sheet .modal--earn-tokens .earn-tokens__item-status,html.is-sheet .modal--earn-tokens .earn-tokens__group-end{grid-column: 2;grid-row: 1 / span 2}html.is-sheet .modal--earn-tokens .earn-tokens__sublist .earn-tokens__item-action,html.is-sheet .modal--earn-tokens .earn-tokens__sublist .earn-tokens__item-status{grid-row: auto}.earn-invite__share[hidden]{display: none}.earn-invite.has-share .earn-invite__copy:not(.earn-invite__share){background: var(--raised);color: var(--text);box-shadow: inset 0 0 0 1px var(--line-strong)}.earn-invite.has-share .earn-invite__copy:not(.earn-invite__share):active{background: var(--active)}@media (hover: hover){.earn-invite.has-share .earn-invite__copy:not(.earn-invite__share):hover{background: var(--active)}}.earn-invite.has-share .earn-invite__share{order: 1}.earn-invite.has-share .earn-invite__copy:not(.earn-invite__share){order: 2}html.is-sheet .earn-invite__row{flex-wrap: wrap}html.is-sheet .earn-invite__field{flex: 1 1 100%;height: auto;min-height: var(--btn-h-l)}html.is-sheet .earn-invite__copy{flex: 1 1 auto;justify-content: center;height: auto;min-height: var(--btn-h-l);padding: var(--space-2) var(--space-4);text-align: center}html.is-touch .modal--earn-tokens .earn-tokens__item-action{min-height: var(--btn-h-s)}.sheet-footer{display: none}html.is-sheet .sheet-footer{display: block;flex: none;position: sticky;bottom: 0;z-index: 2;margin-top: auto;background: var(--surface);box-shadow: inset 0 1px 0 var(--line)}html.is-sheet .sheet-footer .modal__btn{width: 100%;min-height: var(--btn-h-m)}html.is-landscape-short .sheet-footer,html.is-kbd .sheet-footer{display: none}html.is-sheet .modal--full .sheet-footer{padding-bottom: var(--space-3)}html.is-sheet .models-dropdown > .sheet-footer{margin-inline: calc(-1 * var(--sheet-pad-x));flex: none}html.is-sheet .modal__actions .modal__btn{min-height: var(--btn-h-l)}html.is-touch .model-entry{flex-wrap: wrap;row-gap: 0}html.is-touch .model-entry__right,html.is-touch .model-entry__tools{display: contents}html.is-touch .model-entry__main{flex: 1 1 0;min-width: 0}html.is-touch .model-entry__more{order: 2;align-self: center;flex: none;display: inline-flex;align-items: center;justify-content: center;width: var(--hit);height: var(--hit);padding: 0;border: none;border-radius: var(--r-full);background: transparent;color: var(--muted);cursor: pointer}html.is-touch .model-entry__more svg{width: 20px;height: 20px;fill: currentColor}html.is-touch .model-entry.is-open .model-entry__more{background: var(--active);color: var(--text)}html.is-touch .model-entry::after{content: "";order: 3;flex: 1 0 100%;height: 0}html.is-touch .model-entry__act{display: none}html.is-touch .model-entry.is-open .model-entry__act{order: 4;display: inline-flex;flex: 1 1 calc(50% - var(--space-2));min-width: 0;height: var(--hit);gap: var(--space-2);margin-top: var(--space-2);padding: 0 var(--space-2);border-radius: var(--r-sm);background: var(--raised);color: var(--text-2);opacity: 1}html.is-touch .model-entry.is-open .model-entry__act.is-on{color: var(--amber-text)}html.is-touch .model-entry__act-label{display: inline;font-size: var(--fs-caption);white-space: nowrap;overflow: hidden;text-overflow: ellipsis}html.is-touch .model-entry__free{display: none}html.is-touch .models-sub{padding: var(--space-3)}html.is-touch .models-sub__back{min-height: var(--hit)}html.is-touch .models-settings__field input{height: var(--hit)}html.is-touch .model-entry.is-open .model-entry__note{display: block}
html body.settings-page,html body.history-page{padding-left: var(--safe-left);padding-right: var(--safe-right)}@media (hover: none){html .settings-main,html .history-main,html .referral-table-wrap{scrollbar-width: thin;scrollbar-color: var(--line-strong) transparent}}@media (max-width: 767px){html .settings-page .topbar,html .history-page .topbar{padding: calc(var(--space-2) + var(--safe-top)) var(--space-3) var(--space-2)}html .topbar__logo-link{display: none}html .topbar__back-btn{width: var(--hit);padding: 0;justify-content: center}html .topbar__back-btn span,html .history-card__header,html .history-type-badge,html .btn-copy__text,html .referral-table thead{position: absolute;width: 1px;height: 1px;margin: -1px;padding: 0;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap;border: 0}html .settings-main,html .history-main{position: relative}html .settings-page .topbar,html .history-page .topbar{flex-wrap: wrap;row-gap: var(--space-1)}html .settings-page .topbar__right,html .history-page .topbar__right{flex: 0 1 auto;flex-wrap: wrap;justify-content: flex-end;max-width: 100%;margin-left: auto}html .settings-main,html .history-main{overflow-wrap: anywhere}html .history-tab-btn{min-width: 0;flex-wrap: wrap;row-gap: 0;padding-left: var(--space-2);padding-right: var(--space-2)}html .referral-table-header{flex-wrap: wrap}html .settings-main,html .history-main{padding: var(--space-6) var(--margin-page) calc(var(--space-16) + var(--safe-bottom))}html .settings-container,html .history-container{gap: var(--space-6)}html .settings-card{padding: var(--space-6) var(--space-4);gap: var(--space-4)}html .settings-card__header{padding-bottom: var(--space-3)}html .settings-profile-fields .settings-field__row{gap: var(--space-2)}html .settings-profile-fields .btn-settings-action{flex: none}html .integration-item{flex-direction: column;align-items: stretch;gap: var(--space-3);padding: var(--space-4)}html .btn-connect{width: 100%}html .btn-delete-account{align-self: stretch;justify-content: center}html .history-card{padding: 0;gap: var(--space-4);background: none;box-shadow: none}html .history-stat-card{padding: var(--space-4) var(--space-6);gap: var(--space-2)}html .history-item{display: grid;grid-template-columns: 40px minmax(0,1fr) auto;column-gap: var(--space-3);row-gap: 2px;align-items: center;padding: var(--space-3) var(--space-4)}html .history-item__left,html .history-item__info,html .history-item__right{display: contents}html .history-direction-icon{grid-column: 1;grid-row: 1 / span 2;width: 40px;height: 40px}html .history-item__title{grid-column: 2;grid-row: 1;align-self: end;overflow: visible;text-overflow: clip;white-space: normal;overflow-wrap: anywhere;line-height: var(--lh-ui)}html .history-item__amount{grid-column: 3;grid-row: 1;align-self: end}html .history-item__meta{grid-column: 2 / -1;grid-row: 2;align-self: start;column-gap: var(--space-2)}html .history-item__meta-divider{display: none}html .history-list{container-type: inline-size}@container (max-width: 15rem){html .history-item{grid-template-columns: 40px minmax(0,1fr)}html .history-direction-icon{grid-row: 1 / span 3}html .history-item__amount{grid-column: 2;grid-row: 2;align-self: start}html .history-item__meta{grid-column: 2;grid-row: 3}}@container (max-width: 10rem){html .history-item{grid-template-columns: minmax(0,1fr);padding-inline: var(--space-3)}html .history-direction-icon{display: none}html .history-item__title,html .history-item__amount,html .history-item__meta{grid-column: 1}}html .history-process{padding: var(--space-4)}html .history-process__btn{flex: 1 1 100%}html .btn-primary-action{width: 100%}html .btn-share--copy-text{flex: 1 1 100%;justify-content: center;padding-top: var(--space-2);padding-bottom: var(--space-2);white-space: normal;text-align: center}html .referral-inputs-list .settings-field{display: grid;grid-template-columns: minmax(0,1fr) auto;align-items: center;column-gap: var(--space-3);row-gap: var(--space-2)}html .referral-input-row{display: contents}html .referral-inputs-list .settings-field__label{grid-column: 1;grid-row: 1}html .referral-input-row .btn-copy{grid-column: 2;grid-row: 1}html .referral-value-wrap{grid-column: 1 / -1;grid-row: 2}html .referral-value{padding: calc((var(--btn-h-l) - var(--fs-ui) * var(--lh-ui)) / 2) var(--space-4)}html .referral-input-icon{display: none}html .btn-copy{min-width: var(--hit);width: var(--hit);padding: 0}html .referral-card--steps{order: 4}html .referral-steps-grid{grid-template-columns: 1fr;gap: 0}html .referral-step-card{display: grid;grid-template-columns: min(2.5rem,15vw) minmax(0,1fr);column-gap: min(var(--space-3),4vw);align-items: baseline;padding: var(--space-4) 0;border-radius: 0;background: none;box-shadow: none;border-top: 1px solid var(--line)}html .referral-step-card:first-child{border-top: 0;padding-top: 0}html .referral-step-card:last-child{padding-bottom: 0}html .referral-step-card__num{color: var(--muted)}html .referral-step-card .referral-highlight{color: var(--text);font-weight: 600}html .referral-stat-card__icon{color: var(--muted)}html .referral-stat-card--accent .referral-stat-card__icon{color: var(--amber-text)}html .referral-stats-live-tag{display: none}html .referral-stats-grid{grid-template-columns: repeat(auto-fit,minmax(max(8rem,calc((100% - var(--space-3)) / 2)),1fr));gap: var(--space-3)}html .referral-stat-card{padding: var(--space-4)}html .referral-stat-card--accent{grid-column: 1 / -1}html .referral-stat-card__meta{min-width: 0}html .referral-table-header{gap: var(--space-3)}html .referral-table-count{flex: none;white-space: nowrap}html .referral-table-wrap{overflow: visible;border-radius: 0;background: none;box-shadow: none}html .referral-table,html .referral-table tbody,html .referral-table td{display: block}html .referral-table tbody{display: flex;flex-direction: column;gap: var(--space-2)}html .referral-table tbody tr{display: grid;grid-template-columns: minmax(0,1fr) auto;column-gap: var(--space-3);row-gap: var(--space-2);align-items: center;padding: var(--space-3) var(--space-4);border-radius: var(--r-md);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line)}html .referral-table td{padding: 0;border: none;background: none}html .referral-user-cell__sub{display: none}html .referral-cell--user{grid-column: 1;grid-row: 1}html .referral-cell--reward{grid-column: 2;grid-row: 1}html .referral-table td.referral-cell--date{grid-column: 1;grid-row: 2;padding-left: calc(var(--referral-avatar) + var(--referral-avatar-gap))}html .referral-date{white-space: normal}html .referral-cell--status{grid-column: 2;grid-row: 2;text-align: right}}html.is-sheet .settings-modal-backdrop{inset: 0 0 auto 0;height: var(--app-h);padding: 0 var(--safe-right) 0 var(--safe-left);align-items: flex-end;justify-content: center;transition: none}html.is-sheet .settings-modal-backdrop.is-open{animation: epic-scrim-in var(--dur-base) var(--ease)}html.is-sheet .settings-modal{max-width: var(--sheet-max-w);max-height: calc(var(--app-h) - var(--safe-top) - var(--space-4));border-radius: var(--r-lg) var(--r-lg) 0 0;transform: none;transition: none}html.is-sheet .settings-modal-backdrop.is-open .settings-modal{animation: epic-sheet-in var(--dur-slow) var(--ease)}html.is-sheet .settings-modal__header{align-items: flex-start;padding: var(--sheet-head-pt) var(--sheet-close-gap) var(--sheet-head-pb) var(--sheet-pad-x)}html.is-sheet .settings-modal__title-wrap{flex: 1 1 auto}html.is-sheet .settings-modal__title-icon{display: none}html.is-sheet .settings-modal__body{padding: 0 var(--sheet-pad-x) var(--space-4)}html.is-sheet .settings-modal__footer{flex-direction: column-reverse;align-items: stretch;gap: var(--space-2);background: none;padding: var(--space-3) var(--sheet-pad-x) calc(var(--space-3) + var(--safe-bottom))}html.is-sheet .settings-modal__footer > button{width: 100%;min-height: var(--btn-h-l)}html.is-sheet.is-kbd .settings-modal__footer,html.is-landscape-short .settings-modal__footer{flex-direction: row}html.is-sheet.is-kbd .settings-modal__footer > button,html.is-landscape-short .settings-modal__footer > button{flex: 1 1 0;width: auto;min-height: var(--btn-h-m);padding-left: var(--space-3);padding-right: var(--space-3)}html.is-sheet.is-kbd .settings-modal__footer{padding-bottom: var(--space-3)}@media (max-width: 479px){html.is-sheet.is-kbd .settings-modal__footer > .btn-modal-cancel,html.is-landscape-short .settings-modal__footer > .btn-modal-cancel{flex: 0 0 auto}}html.is-kbd.is-landscape-short .settings-modal__footer{padding-top: var(--space-2);padding-bottom: var(--space-2)}html.is-sheet .settings-modal-backdrop--full{padding: 0;align-items: stretch;justify-content: stretch}html.is-sheet .settings-modal-backdrop--full .settings-modal{width: 100%;max-width: none;height: var(--app-h);max-height: var(--app-h);padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);border-radius: 0;box-shadow: none}html.is-sheet .settings-modal-backdrop--full .settings-modal__footer{padding-bottom: var(--space-3)}@media (max-width: 479px){html .settings-profile-fields .settings-field__row{flex-direction: column;align-items: stretch;gap: var(--space-2)}html .settings-profile-fields .btn-settings-action{width: 100%}html .referral-cell--user{grid-column: 1 / -1;grid-row: 1}html .referral-table td.referral-cell--date{grid-column: 1;grid-row: 2;padding-left: 0}html .referral-cell--reward{grid-column: 2;grid-row: 2}html .referral-cell--status{grid-column: 1 / -1;grid-row: 3;text-align: left}html .referral-reward-amount{white-space: normal}}@media (min-width: 360px) and (max-width: 479px){html .referral-stat-card:not(.referral-stat-card--accent) .referral-stat-card__icon{display: none}}@media (max-width: 359px){html .referral-stats-grid{grid-template-columns: minmax(0,1fr)}}@media (max-width: 767px){html .settings-title,html .history-title{font-size: min(var(--fs-h2),10vw)}html .settings-card__title,html .referral-table-title{font-size: min(var(--fs-lead),7vw)}html .referral-step-card__title{font-size: min(var(--fs-ui),5.5vw)}}html[data-theme="light"] .referral-badge--success{color: color-mix(in srgb,var(--success) 80%,var(--text))}@media (max-width: 767px){html .settings-card,html .integration-item,html .referral-stat-card,html .referral-table tbody tr{padding-inline: min(var(--space-4),5vw)}html .history-tab-btn{padding-inline: min(var(--space-2),2.4vw)}html .btn-primary-action,html .btn-connect,html .btn-delete-account{padding-inline: min(var(--space-6),3vw)}html .btn-primary-action,html .btn-share,html .btn-settings-action,html .btn-connect,html .btn-delete-account,html .btn-modal-submit,html .btn-modal-cancel,html .integration-name,html .integration-status,html .settings-field__label,html .referral-stat-card__label,html .referral-user-cell__name,html .referral-badge{overflow-wrap: break-word;hyphens: manual}html .referral-share-buttons{container-type: inline-size}@container (max-width: 14rem){html .btn-share{max-width: 100%;padding-inline: var(--space-3);justify-content: center;white-space: normal;text-align: center}}html .referral-stat-card__value-wrap{flex-wrap: wrap}}@media (max-width: 767px){html .referral-table-wrap{container-type: inline-size}@container (max-width: 10rem){html .referral-user-cell__avatar{display: none}html .referral-table td.referral-cell--date{padding-left: 0}}@container (max-width: 14rem){html .referral-cell--user{grid-column: 1 / -1;grid-row: 1}html .referral-table td.referral-cell--date{grid-column: 1 / -1;grid-row: 2}html .referral-cell--reward{grid-column: 1 / -1;grid-row: 3;text-align: left}html .referral-cell--status{grid-column: 1 / -1;grid-row: 4;text-align: left}}}
