.ref-library{--ref-bg: var(--app-page);--ref-surface: #141414;--ref-surface-strong: #1d1d1d;--ref-text: #f5f5f2;--ref-muted: rgba(245, 245, 242, .58);--ref-border: rgba(255, 255, 255, .11);--ref-border-strong: rgba(255, 255, 255, .2);--ref-accent: var(--brand-accent);--ref-accent-text: #101207;--ref-gutter: 6px;--ref-radius: 14px;--ref-pad: clamp(10px, 1.4vw, 22px);min-height:100%;overflow-x:clip;background:var(--ref-bg);color:var(--ref-text);padding:0 var(--ref-pad) 148px}.ref-library--desktop{padding-bottom:128px}[data-chat-theme=light] .ref-library,.ref-library[data-chat-theme=light]{--ref-bg: var(--app-page);--ref-surface: #e9e9e4;--ref-surface-strong: #deded7;--ref-text: #11120f;--ref-muted: rgba(17, 18, 15, .58);--ref-border: rgba(17, 18, 15, .12);--ref-border-strong: rgba(17, 18, 15, .22);--ref-accent: var(--brand-accent)}.ref-library button,.ref-library input{font:inherit}.ref-library button{-webkit-tap-highlight-color:transparent}.ref-library-controls{position:sticky;z-index:20;top:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:64px;margin:0 calc(-1 * var(--ref-pad));padding:8px var(--ref-pad);gap:16px;background:var(--ref-bg)}.ref-library-controls__brand{display:flex;align-items:baseline;min-width:0;gap:10px}.ref-library-wordmark{padding:0;border:0;background:transparent;color:var(--ref-accent);font-size:22px;font-weight:760;letter-spacing:-.03em;text-transform:uppercase;white-space:nowrap;cursor:pointer}.ref-library-controls__count{color:var(--ref-muted);font-size:11px;font-variant-numeric:tabular-nums}.ref-library-controls__row{display:flex;align-items:center;justify-content:center;min-width:0;gap:8px}.ref-library-search{display:flex;align-items:center;width:640px;max-width:100%;flex:0 1 640px;min-height:40px;padding:0 14px;gap:10px;border:1px solid color-mix(in srgb,var(--ref-accent) 55%,transparent);border-radius:999px;background:transparent;color:var(--ref-muted)}.ref-library-search:focus-within{border-color:var(--ref-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--ref-accent) 18%,transparent)}.ref-library-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ref-text);font-size:16px}.ref-library-search input::-moz-placeholder{color:var(--ref-muted)}.ref-library-search input::placeholder{color:var(--ref-muted)}.ref-library-search>button{display:grid;width:28px;height:28px;padding:0;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--ref-muted);cursor:pointer}.ref-library-mode{display:flex;flex:0 0 auto;padding:3px;gap:2px;border:1px solid var(--ref-border);border-radius:999px;background:var(--ref-surface)}.ref-library-mode button{min-height:32px;padding:0 11px;border:0;border-radius:999px;background:transparent;color:var(--ref-muted);font-size:12px;white-space:nowrap;cursor:pointer}.ref-library-mode button.is-active{background:var(--ref-text);color:var(--ref-bg)}.ref-library-desktop-header.balanced-utility-header{grid-column:3;justify-self:end;min-height:0;margin:0;padding:0}.ref-library-nav{display:flex;flex-direction:column;max-width:1400px;margin:6px auto 14px;gap:10px}.ref-library-groups{display:flex;flex-wrap:wrap;justify-content:center;-moz-column-gap:22px;column-gap:22px;row-gap:6px}.ref-library-group{min-height:30px;padding:0;border:0;background:transparent;color:var(--ref-muted);font-size:13px;font-weight:640;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:color .12s ease}.ref-library-group.is-active{color:var(--ref-accent)}.ref-library-group--more{color:var(--ref-text)}.ref-library-technique{display:flex;flex-direction:column;max-width:1400px;margin:0 auto 18px;padding-bottom:14px;gap:12px;border-bottom:1px solid var(--ref-border)}.ref-library-technique__title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}.ref-library-technique h2{margin:0;font-size:clamp(30px,3.4vw,52px);font-weight:560;letter-spacing:-.035em;line-height:1}.ref-library-technique__original,.ref-library-technique__total{color:var(--ref-muted);font-size:13px;font-variant-numeric:tabular-nums}.ref-library-technique__total:before{content:"· "}.ref-library-technique__body{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.ref-library-technique__body p{max-width:720px;margin:0;color:var(--ref-muted);font-size:13px;line-height:1.5}.ref-library-subnav__back{display:inline-flex;align-items:center;min-height:28px;padding:0 10px 0 4px;gap:4px;flex:0 0 auto;align-self:center;border:0;border-radius:999px;background:transparent;color:var(--ref-muted);font-size:12px;cursor:pointer}.ref-library-subnav__pills{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px}.ref-library-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;gap:5px;border:1px solid var(--ref-border);border-radius:999px;background:transparent;color:var(--ref-muted);font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:border-color .12s ease,color .12s ease,background-color .12s ease}.ref-library-pill.is-active{border-color:var(--ref-accent);background:var(--ref-accent);color:var(--ref-accent-text)}@media(hover:hover)and (pointer:fine){.ref-library-group:hover,.ref-library-subnav__back:hover{color:var(--ref-text)}.ref-library-group.is-active:hover{color:var(--ref-accent)}.ref-library-pill:hover{border-color:var(--ref-accent)}}.ref-library-grid{container-type:inline-size;container-name:ref-masonry;position:relative;width:100%}.ref-library-spacer,.ref-library-canvas{--gap: var(--ref-gutter);--k: 2;--cw: calc((100cqw - (var(--k) - 1) * var(--gap)) / var(--k))}.ref-library-spacer{--h: var(--h2);height:var(--h)}.ref-library-canvas{position:absolute;top:0;right:0;left:0}.ref-library-cell{--c: var(--c2);--y: var(--y2);--n: var(--n2);position:absolute;top:calc(var(--y) * var(--cw) + var(--n) * var(--gap));left:calc(var(--c) * (var(--cw) + var(--gap)));display:flex;width:var(--cw);height:calc(var(--r) * var(--cw))}@container ref-masonry (min-width: 640px){.ref-library-spacer,.ref-library-canvas{--k: 3}.ref-library-spacer{--h: var(--h3)}.ref-library-cell{--c: var(--c3);--y: var(--y3);--n: var(--n3)}}@container ref-masonry (min-width: 1040px){.ref-library-spacer,.ref-library-canvas{--k: 4}.ref-library-spacer{--h: var(--h4)}.ref-library-cell{--c: var(--c4);--y: var(--y4);--n: var(--n4)}}@container ref-masonry (min-width: 1500px){.ref-library-spacer,.ref-library-canvas{--k: 5}.ref-library-spacer{--h: var(--h5)}.ref-library-cell{--c: var(--c5);--y: var(--y5);--n: var(--n5)}}@container ref-masonry (min-width: 2000px){.ref-library-spacer,.ref-library-canvas{--k: 6}.ref-library-spacer{--h: var(--h6)}.ref-library-cell{--c: var(--c6);--y: var(--y6);--n: var(--n6)}}.ref-library-card{position:relative;display:flex;min-width:0;flex:1;overflow:hidden;border-radius:var(--ref-radius);background:var(--ref-surface);contain:layout paint style}.ref-library-card__open{position:relative;display:flex;width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.ref-library-card__media{display:flex;width:100%;min-width:0}.ref-library-card__media>img,.ref-library-card__media-element{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .22s ease}.ref-library-card__media>img.is-ready,.ref-library-card__media-element.is-ready{opacity:1}.ref-library-card__fallback{display:block;width:100%;background:var(--ref-surface-strong)}.ref-library-card__caption{position:absolute;z-index:2;right:0;bottom:0;left:0;overflow:hidden;padding:26px 12px 10px;background:linear-gradient(to top,#000000b8,#0000);color:#fff;font-size:12px;font-weight:600;text-align:left;text-overflow:ellipsis;white-space:nowrap;opacity:0;pointer-events:none}.ref-library-card__select{position:absolute;z-index:3;top:8px;right:8px;display:grid;width:30px;height:30px;padding:0;place-items:center;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:#080808b3;color:#fff;line-height:1;cursor:pointer}.ref-library-card__select.is-selected{border-color:var(--ref-accent);background:var(--ref-accent);color:var(--ref-accent-text)}.ref-library-card__open:focus-visible,.ref-library-card__select:focus-visible,.ref-library button:focus-visible,.ref-library-category-picker button:focus-visible,.ref-library-category-picker input:focus-visible{outline:2px solid var(--ref-accent, #d9ff3f);outline-offset:-2px}@media(hover:hover)and (pointer:fine){.ref-library-card__media>img,.ref-library-card__media-element{transition:opacity .22s ease,transform .26s cubic-bezier(.2,.7,.2,1)}.ref-library-card:hover .ref-library-card__media>img.is-ready,.ref-library-card:hover .ref-library-card__media-element.is-ready{transform:scale(1.03)}.ref-library-card__caption{transition:opacity .16s ease}.ref-library-card:hover .ref-library-card__caption{opacity:1}.ref-library-card__select{opacity:0;transition:opacity .14s ease}.ref-library-card:hover .ref-library-card__select,.ref-library-card:focus-within .ref-library-card__select,.ref-library-card__select.is-selected{opacity:1}}.ref-library-sentinel{height:1px}.ref-library-more{display:flex;align-items:center;justify-content:center;min-height:48px;margin:18px auto 0;gap:12px;color:var(--ref-muted);font-size:11px;font-variant-numeric:tabular-nums}.ref-library-more__spinner{display:block;width:16px;height:16px;border:2px solid var(--ref-border-strong);border-top-color:var(--ref-accent);border-radius:50%;animation:ref-library-spin .8s linear infinite}@keyframes ref-library-spin{to{transform:rotate(360deg)}}.ref-library-message button{min-height:40px;padding:0 18px;border:1px solid var(--ref-border-strong);border-radius:999px;background:transparent;color:var(--ref-text);font-size:12px;font-weight:600;cursor:pointer}.ref-library-reset{min-height:32px;padding:0 12px;border:0;background:transparent;color:var(--ref-muted);font-size:11px;cursor:pointer}.ref-library-message{display:grid;min-height:260px;place-items:center;align-content:center;gap:8px;color:var(--ref-muted);text-align:center}.ref-library-message strong{color:var(--ref-text);font-size:20px}.ref-library-message p{margin:0 0 8px}.ref-library-skeletons{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-auto-rows:200px;gap:var(--ref-gutter)}.ref-library-skeletons>span{display:block;border-radius:var(--ref-radius);background:var(--ref-surface);animation:ref-library-pulse 1.2s ease-in-out infinite alternate}@keyframes ref-library-pulse{to{opacity:.55}}.ref-library-selection{position:fixed;z-index:45;right:26px;bottom:24px;display:flex;align-items:center;min-height:60px;padding:8px 9px 8px 12px;gap:10px;border:1px solid rgba(255,255,255,.15);border-radius:16px;background:#181916;box-shadow:0 14px 40px #0000004d;color:#f7f7f3}.ref-library-selection>div{display:flex;align-items:center;min-width:108px;gap:10px}.ref-library-selection>div>span{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--ref-accent);color:var(--ref-accent-text);font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}.ref-library-selection p{margin:0;line-height:1.12}.ref-library-selection p strong,.ref-library-selection p small{display:block}.ref-library-selection p strong{font-size:12px}.ref-library-selection p small{margin-top:4px;color:#f7f7f38a;font-size:9px}.ref-library-selection>button{min-height:42px;padding:0 16px;border:0;border-radius:10px;background:var(--ref-accent);color:var(--ref-accent-text);font-size:12px;font-weight:680;cursor:pointer}.ref-library-selection>.ref-library-selection__clear{display:grid;width:42px;padding:0;place-items:center;background:transparent;color:#f7f7f39e}.ref-library-modal{position:fixed;z-index:80;inset:0;display:grid;padding:56px 88px 32px;place-items:center;background:#000000f0}.ref-library-modal__dialog{display:flex;flex-direction:column;width:min(1320px,100%);max-height:100%;outline:none;color:#f6f6f1}.ref-library-modal__close,.ref-library-modal__arrow{position:fixed;z-index:2;display:grid;width:48px;height:48px;padding:0;place-items:center;border:0;border-radius:50%;background:transparent;color:#ffffffc7;cursor:pointer;transition:color .12s ease,background-color .12s ease}.ref-library-modal__close{top:14px;right:18px}.ref-library-modal__arrow{top:50%;transform:translateY(-50%)}.ref-library-modal__arrow--prev{left:18px}.ref-library-modal__arrow--next{right:18px}.ref-library-modal__arrow--next svg{transform:rotate(180deg)}.ref-library-modal__arrow:disabled{opacity:.25;cursor:default}.ref-library-modal__close:hover,.ref-library-modal__arrow:not(:disabled):hover{background:#ffffff1a;color:#fff}.ref-library-modal__media{display:grid;min-height:0;flex:1 1 auto;place-items:center}.ref-library-modal__media img,.ref-library-modal__media video{display:block;max-width:100%;max-height:min(68vh,900px);border-radius:14px;-o-object-fit:contain;object-fit:contain}.ref-library-modal__content{display:flex;flex:0 0 auto;flex-direction:column;min-width:0;max-width:820px;padding:18px 0 0;gap:10px;overflow-y:auto;scrollbar-width:none}.ref-library-modal__content::-webkit-scrollbar{display:none}.ref-library-modal__heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.ref-library-modal h2{margin:0;color:var(--ref-accent, #d9ff3f);font-size:clamp(18px,1.6vw,24px);font-weight:620;letter-spacing:-.02em;line-height:1.15}.ref-library-modal__meta{color:#f6f6f173;font-size:11px;font-variant-numeric:tabular-nums}.ref-library-modal__description,.ref-library-modal__cue{margin:0;color:#f6f6f1b8;font-size:13px;line-height:1.5}.ref-library-modal__cue{padding-left:12px;border-left:2px solid var(--ref-accent, #d9ff3f);color:#f6f6f1db}.ref-library-modal__facts{display:flex;flex-direction:column;margin:2px 0 0;gap:3px}.ref-library-modal__facts>div{display:flex;align-items:baseline;min-width:0;gap:6px;font-size:12.5px;line-height:1.4}.ref-library-modal__facts dt{flex:0 0 auto;color:#f6f6f18c}.ref-library-modal__facts dt:after{content:" —"}.ref-library-modal__facts dd{min-width:0;margin:0;overflow-wrap:anywhere}.ref-library-modal__link{padding:0;border:0;background:transparent;color:var(--ref-accent, #d9ff3f);font-size:inherit;cursor:pointer}.ref-library-modal__link:hover{text-decoration:underline}.ref-library-modal__prompt{margin-top:6px;padding:14px 15px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#121311}.ref-library-modal__prompt>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.ref-library-modal__prompt strong{font-size:11px;letter-spacing:.08em;text-transform:uppercase}.ref-library-modal__prompt button{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;gap:6px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:transparent;color:#f6f6f1b8;font-size:10px;cursor:pointer}.ref-library-modal__prompt p{margin:12px 0 0;color:#f6f6f1d1;font-size:12px;line-height:1.55}.ref-library-modal__tags{display:flex;flex-wrap:wrap;gap:6px}.ref-library-modal__tags button{padding:5px 10px;border:0;border-radius:999px;background:var(--ref-accent, #d9ff3f);color:#101207;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;cursor:pointer}.ref-library-modal__actions{display:flex;margin-top:6px;gap:8px}.ref-library-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;gap:7px;border-radius:999px;font-size:12px;font-weight:650;text-decoration:none}.ref-library-button--primary{border:1px solid rgba(255,255,255,.2);background:transparent;color:#f6f6f1;cursor:pointer}.ref-library-button--primary[aria-pressed=true]{border-color:var(--ref-accent, #d9ff3f);background:var(--ref-accent, #d9ff3f);color:#101207}.ref-library-category-picker{color:var(--chat-fg, #f5f5f2)}.ref-library-category-picker__search{display:flex;align-items:center;min-height:48px;padding:0 13px;gap:9px;border:1px solid var(--chat-border, rgba(255, 255, 255, .12));border-radius:10px;color:var(--chat-text-muted, rgba(245, 245, 242, .55))}.ref-library-category-picker__search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--chat-fg, #f5f5f2);font-size:16px}.ref-library-category-picker__search button{display:grid;width:34px;height:34px;padding:0;place-items:center;border:0;background:transparent;color:inherit;cursor:pointer}.ref-library-category-picker__count{margin:12px 1px 8px;color:var(--chat-text-muted, rgba(245, 245, 242, .55));font-size:11px;font-variant-numeric:tabular-nums}.ref-library-category-picker__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:min(54dvh,500px);gap:5px;overflow-y:auto;scrollbar-width:none}.ref-library-category-picker__list::-webkit-scrollbar{display:none}.ref-library-category-picker__list button{display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:44px;padding:0 11px;gap:8px;border:1px solid transparent;border-radius:8px;background:var(--chat-muted-1, rgba(255, 255, 255, .04));color:var(--chat-fg, #f5f5f2);font-size:12px;text-align:left;cursor:pointer}.ref-library-category-picker__list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-library-category-picker__list button small{flex:0 0 auto;color:var(--chat-text-muted, rgba(245, 245, 242, .5));font-size:9px;font-variant-numeric:tabular-nums}.ref-library-category-picker__list button.is-active{border-color:var(--ref-accent, #d9ff3f)}.ref-library-category-picker__empty{padding:34px 10px;color:var(--chat-text-muted, rgba(245, 245, 242, .55));font-size:13px;text-align:center}.ref-library-toast{position:fixed;z-index:100;left:50%;bottom:28px;max-width:calc(100vw - 32px);padding:11px 15px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:#1b1c19;color:#f6f6f2;box-shadow:0 10px 32px #0000004d;font-size:12px;transform:translate(-50%)}@media(max-width:1023px){.ref-library{--ref-gutter: 4px;--ref-radius: 10px;--ref-pad: 6px;padding-bottom:136px}.ref-library-controls{grid-template-columns:minmax(0,1fr);min-height:0;padding:8px 6px;gap:8px}.ref-library-controls__brand{display:none}.ref-library-controls__row{flex-wrap:wrap}.ref-library-search{width:100%;flex:1 1 100%}.ref-library-mode{width:100%;justify-content:space-between}.ref-library-mode button{flex:1;padding-inline:6px}.ref-library-groups,.ref-library-subnav__pills{justify-content:flex-start;flex-wrap:nowrap;-moz-column-gap:16px;column-gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.ref-library-groups::-webkit-scrollbar,.ref-library-subnav__pills::-webkit-scrollbar{display:none}.ref-library-nav{margin:4px 0 10px}.ref-library-technique{margin-bottom:12px;padding-bottom:10px;gap:8px}.ref-library-technique h2{font-size:26px}.ref-library-technique__body{flex-direction:column;gap:8px}.ref-library-technique__body p{font-size:11.5px}.ref-library-subnav__pills{gap:5px}.ref-library-pill{min-height:28px;padding:0 11px}.ref-library-card__select{width:32px;height:32px}.ref-library-selection{right:10px;bottom:84px;left:10px;justify-content:space-between;border-radius:14px}.ref-library-selection>div{min-width:0}.ref-library-selection p small{display:none}.ref-library-modal{display:block;padding:56px 12px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;scrollbar-width:none}.ref-library-modal::-webkit-scrollbar{display:none}.ref-library-modal__dialog{max-height:none}.ref-library-modal__close{top:10px;right:8px}.ref-library-modal__arrow{top:auto;bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px;transform:none;background:#ffffff14}.ref-library-modal__arrow--prev{left:12px}.ref-library-modal__arrow--next{right:12px}.ref-library-modal__media img,.ref-library-modal__media video{max-height:52dvh}.ref-library-modal__content{max-width:none;padding:14px 0 64px;overflow:visible}.ref-library-category-picker__list{grid-template-columns:1fr}}@media(max-width:390px){.ref-library-selection>button:not(.ref-library-selection__clear){padding-inline:12px}}@media(prefers-reduced-motion:reduce){.ref-library-card__media>img,.ref-library-card__media-element,.ref-library-skeletons>span,.ref-library-more__spinner{animation:none;transition:none}}.ref-library-card[data-reference-media-state=loading]:after{position:absolute;z-index:1;top:50%;left:50%;display:block;width:20px;height:20px;border:2px solid color-mix(in srgb,var(--ref-muted) 42%,transparent);border-top-color:var(--ref-accent);border-radius:50%;content:"";pointer-events:none;transform:translate(-50%,-50%);animation:ref-library-media-spin .8s linear infinite}.ref-library-card[data-reference-media-state=failed]:after{position:absolute;top:50%;left:50%;width:8px;height:8px;border-radius:50%;background:var(--ref-accent);content:"";opacity:.72;transform:translate(-50%,-50%)}.ref-library-card__retry{position:absolute;z-index:4;top:50%;left:50%;min-height:32px;padding:0 12px;border:1px solid color-mix(in srgb,var(--ref-accent) 76%,transparent);border-radius:999px;background:color-mix(in srgb,var(--ref-bg) 86%,transparent);color:var(--ref-accent);font-size:11px;font-weight:700;cursor:pointer;transform:translate(-50%,calc(-50% + 24px))}.ref-library-card__retry:hover,.ref-library-card__retry:focus-visible{background:var(--ref-accent);color:var(--ref-accent-text)}@keyframes ref-library-media-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}@media(prefers-reduced-motion:reduce){.ref-library-card[data-reference-media-state=loading]:after{animation:none}}.ref-library-card__media{position:relative}.ref-library-card__media>img.is-frozen{visibility:hidden}.ref-library-card__media>img:not(.ref-library-card__poster){position:relative}.ref-library-card__media>img.ref-library-card__poster{position:absolute;inset:0}.ref-library-card__media>img.ref-library-card__poster.is-shown{opacity:1;transform:none}@media(hover:hover)and (pointer:fine){.ref-library-card:hover .ref-library-card__media>img.ref-library-card__poster.is-shown{transform:scale(1.03)}}.ref-library-saved-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:0;border-radius:10px;background:#20221c;color:#eef0e6;white-space:nowrap;font-size:12px;cursor:pointer}.ref-library-saved-button span{color:var(--ref-accent);font-variant-numeric:tabular-nums}.ref-library-modal--browse{padding:20px 76px;background:#0b0c0a}.ref-library-modal--browse .ref-library-modal__dialog{display:block;max-height:calc(100dvh - 40px);height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 12px 40px}.ref-library-modal__topbar{display:flex;justify-content:space-between;align-items:center;min-height:54px;gap:12px;margin-bottom:12px}.ref-library-modal__topbar>span{color:#91958a;font-size:12px}.ref-library-modal__feature{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:28px;align-items:start}.ref-library-modal--browse .ref-library-modal__media{min-height:230px;background:#151710;border-radius:12px;overflow:hidden}.ref-library-modal--browse .ref-library-modal__media img,.ref-library-modal--browse .ref-library-modal__media video{width:100%;max-height:58dvh}.ref-library-modal--browse .ref-library-modal__content{padding:0;overflow:visible}.ref-library-modal__techniques{display:flex;flex-wrap:wrap;gap:6px}.ref-library-modal--browse .ref-library-modal__actions{flex-wrap:wrap}.ref-library-modal--browse .ref-library-button,.ref-library-collection .ref-library-button{background:#23261d;color:#eff1e7;border:0;cursor:pointer}.ref-library-modal--browse .ref-library-button--primary,.ref-library-collection .ref-library-button--primary{background:var(--ref-accent, #d9ff3f);color:#111508}.ref-library-modal--browse .ref-library-modal__prompt{border:0}.ref-library-modal--browse .ref-library-modal__prompt button{border:0;background:#22251d}.ref-library-related{margin-top:36px}.ref-library-related__heading{display:flex;align-items:baseline;gap:16px;margin-bottom:16px}.ref-library-related h3{margin:0;font-size:22px;font-weight:600;letter-spacing:-.03em}.ref-library-related__heading span{color:#91958a;font-size:12px}.ref-library-related__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ref-library-related__grid>.ref-library-card{aspect-ratio:16/10;height:auto}.ref-library-collection__toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.ref-library-collection__toolbar p{color:#9b9f92;font-size:13px}.ref-library-collection__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.ref-library-collection__item{min-width:0}.ref-library-collection__item .ref-library-card{aspect-ratio:16/10;height:auto}.ref-library-collection__item>span{display:block;margin-top:7px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c5c9bb}.ref-library-selection{max-width:calc(100% - 24px)}@media(max-width:767px){.ref-library-controls__row{flex-wrap:wrap}.ref-library-saved-button{order:3;width:100%}.ref-library-modal--browse{padding:0;overflow:hidden}.ref-library-modal--browse .ref-library-modal__dialog{height:100dvh;max-height:100dvh;padding:12px 12px calc(84px + env(safe-area-inset-bottom))}.ref-library-modal__feature{display:flex;flex-direction:column;gap:18px}.ref-library-modal__feature>div{width:100%}.ref-library-modal__topbar{padding-right:30px;margin-bottom:8px}.ref-library-modal__topbar>span{display:none}.ref-library-modal--browse .ref-library-modal__media{min-height:180px}.ref-library-modal--browse .ref-library-modal__media img,.ref-library-modal--browse .ref-library-modal__media video{max-height:46dvh}.ref-library-related__grid,.ref-library-collection__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-library-collection__toolbar{align-items:stretch;flex-direction:column;gap:6px}.ref-library-selection{gap:5px;padding:8px}.ref-library-selection p{display:none}.ref-library-selection>button:not(.ref-library-selection__clear){padding-inline:8px;font-size:11px}}.ref-library-group--index{color:var(--ref-accent)!important}.ref-library-techniques-picker>input{width:100%;min-height:44px;margin-bottom:22px;padding:0 14px;border:0;border-radius:10px;background:#1d2118;color:#edf2e1}.ref-library-techniques-picker section{margin-bottom:22px}.ref-library-techniques-picker h3{margin:0 0 10px;font-size:14px;color:#9da58f;font-weight:500}.ref-library-techniques-picker section>div{display:flex;flex-wrap:wrap;gap:6px}.ref-library-techniques-picker section button{min-height:36px;padding:6px 12px;border:0;border-radius:8px;background:#252a1e;color:#e4ebd7;cursor:pointer;font-size:13px}.ref-library-techniques-picker section button:hover{background:#343f22}.ref-library-collection{max-height:65dvh;overflow-y:auto;scrollbar-width:none}.ref-library{--ref-raised: #202723;--ref-raised-2: #2a322d;--ref-quiet: #8f9a93;--ref-ink-2: #c9d2cc;--ref-sheet: #141817;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}[data-chat-theme=light] .ref-library,.ref-library[data-chat-theme=light]{--ref-raised: #e4e7e3;--ref-raised-2: #d6dad5;--ref-quiet: #5f6862;--ref-ink-2: #2f3531;--ref-sheet: #eef0ec}.ref-library :is(button,input,a){font-family:inherit}.ref-library .ref-library-button,.ref-library-modal .ref-library-button,.ref-library-collection .ref-library-button,.ref-library-about .ref-library-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--ref-raised);color:var(--ref-text);font-size:14px;font-weight:700;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap;cursor:pointer}.ref-library .ref-library-button--primary,.ref-library-modal .ref-library-button--primary,.ref-library-collection .ref-library-button--primary{background:var(--ref-accent);color:var(--ref-accent-text)}.ref-library-modal .ref-library-button--primary[aria-pressed=true]{background:var(--ref-raised);color:var(--ref-text)}.ref-library .ref-library-button--large,.ref-library-modal .ref-library-button--large,.ref-library-collection .ref-library-button--large{width:100%;min-height:54px;height:54px;border-radius:16px;font-size:16px}.ref-library .ref-library-button--small,.ref-library-modal .ref-library-button--small,.ref-library-about .ref-library-button--small{min-height:32px;height:32px;padding:0 12px;border-radius:10px;font-size:12px}.ref-library-button:disabled,.ref-library-button[aria-disabled=true]{opacity:.45;cursor:default}.ref-library-glass{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;color:var(--ref-text);text-decoration:none;cursor:pointer;background:#23262abf;backdrop-filter:blur(12px) saturate(1.6);-webkit-backdrop-filter:blur(12px) saturate(1.6);box-shadow:inset 1px 1px #fff3,inset -1px -1px #00000026,0 4px 24px -8px #00000040}[data-chat-theme=light] .ref-library-glass{background:#ffffffc7;box-shadow:inset 0 0 0 1px #0000000f,0 4px 18px -8px #00000030}.ref-library .ref-library-wordmark{color:var(--ref-text);font-size:20px;font-weight:700;letter-spacing:-.03em;text-transform:none}.ref-library .ref-library-controls__count{color:var(--ref-quiet);font-size:12px}.ref-library .ref-library-controls__back{display:none}.ref-library .ref-library-search{min-height:44px;border:0;border-radius:14px;background:var(--ref-raised);color:var(--ref-quiet);box-shadow:none}.ref-library .ref-library-search:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--ref-accent) 60%,transparent)}.ref-library .ref-library-search input{color:var(--ref-text);font-size:16px}.ref-library .ref-library-saved-button{min-height:44px;padding:0 14px;border:0;border-radius:12px;background:var(--ref-raised);color:var(--ref-text);font-size:14px;font-weight:700}.ref-library .ref-library-saved-button span{color:var(--ref-accent);font-variant-numeric:tabular-nums}.ref-library .ref-library-mode{gap:2px;padding:3px;border:0;border-radius:12px;background:var(--ref-surface)}.ref-library .ref-library-mode button{min-height:34px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--ref-quiet);font-size:13px;font-weight:700;text-transform:none}.ref-library .ref-library-mode button.is-active{background:var(--ref-raised-2);color:var(--ref-text)}.ref-library .ref-library-groups{gap:6px;-moz-column-gap:6px;column-gap:6px}.ref-library .ref-library-group{display:inline-flex;align-items:center;flex:none;min-height:32px;height:32px;padding:0 12px;border:0;border-radius:999px;background:var(--ref-surface);color:var(--ref-ink-2);font-size:13px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap}.ref-library .ref-library-group.is-active{background:var(--ref-text);color:var(--ref-bg)}.ref-library .ref-library-group--index{color:var(--ref-text)!important;background:var(--ref-raised)}.ref-library .ref-library-pill{min-height:32px;border:0;border-radius:999px;background:var(--ref-surface);color:var(--ref-ink-2);font-size:13px;font-weight:700;text-transform:none}.ref-library .ref-library-pill.is-active{background:var(--ref-text);color:var(--ref-bg)}.ref-library-dock{position:fixed;z-index:40;left:50%;bottom:20px;display:flex;align-items:center;gap:10px;width:min(560px,calc(100% - 24px));min-height:56px;padding:6px 6px 6px 10px;border-radius:18px;background:#1b201dee;color:#f4f6f4;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px #ffffff14,0 10px 30px -10px #000;transform:translate(-50%);animation:ref-dock-in .24s ease-out}.ref-library--desktop .ref-library-dock{bottom:24px}.ref-library-dock__stack{display:flex;flex:none}.ref-library-dock__stack img{width:30px;height:30px;margin-left:-9px;border:2px solid #1b201d;border-radius:8px;-o-object-fit:cover;object-fit:cover;background:#202723}.ref-library-dock__stack img:first-child{margin-left:0}.ref-library-dock__count{flex:1;min-width:0;overflow:hidden;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.ref-library-dock .ref-library-button{height:44px;min-height:44px}.ref-library-dock .ref-library-glass{width:36px;height:36px;background:transparent;box-shadow:none;color:#8f9a93}@keyframes ref-dock-in{0%{opacity:0;transform:translate(-50%,16px)}}.ref-library .ref-library-card__select{border:0;background:#0b0d0c99;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff}.ref-library .ref-library-card__select.is-selected{background:var(--ref-accent);color:var(--ref-accent-text)}.ref-library .ref-library-card__caption{font-weight:700}@media(max-width:767px){.ref-library .ref-library-card__select{backdrop-filter:none;-webkit-backdrop-filter:none;background:#0b0d0cdb}}@media(max-width:1023px){.ref-library{--ref-pad: 12px;--ref-gutter: 6px;--ref-radius: 12px}.ref-library .ref-library-controls{gap:10px;padding:8px var(--ref-pad) 10px}.ref-library .ref-library-controls__brand{display:flex;align-items:center;gap:8px}.ref-library:not(.ref-library--desktop) .ref-library-controls__back{display:grid}.ref-library .ref-library-wordmark{flex:0 1 auto;font-size:20px}.ref-library .ref-library-controls__count{flex:1}.ref-library .ref-library-controls__row{gap:10px}.ref-library .ref-library-saved-button{display:none}.ref-library .ref-library-mode{display:grid;grid-template-columns:repeat(4,1fr)}.ref-library .ref-library-mode button{padding-inline:4px}.ref-library .ref-library-nav{margin:0 calc(-1 * var(--ref-pad)) 10px}.ref-library .ref-library-groups{padding-inline:var(--ref-pad)}.ref-library-dock{bottom:calc(84px + env(safe-area-inset-bottom,0px));min-height:52px;padding:4px 4px 4px 8px;border-radius:16px}.ref-library-dock .ref-library-button{height:40px;min-height:40px;padding:0 14px}.ref-library-dock__secondary{display:none!important}}@media(prefers-reduced-motion:reduce){.ref-library-dock{animation:none}}.ref-library-modal--browse .ref-library-modal__heading h2{color:var(--ref-text);font-size:24px;font-weight:700;line-height:1.15;letter-spacing:-.035em;text-wrap:balance}.ref-library-modal--browse .ref-library-modal__meta{color:var(--ref-quiet);font-size:12px;font-weight:500}.ref-library-modal--browse .ref-library-modal__cue,.ref-library-modal--browse .ref-library-modal__description{border:0;padding:0;color:var(--ref-ink-2);font-size:14px}.ref-library-modal--browse .ref-library-modal__facts dt{color:var(--ref-quiet);font-weight:500;text-transform:none;letter-spacing:0}.ref-library-modal--browse .ref-library-modal__facts dd,.ref-library-modal--browse .ref-library-modal__link{font-weight:700}.ref-library-modal--browse .ref-library-modal__prompt{border:0;border-radius:14px;background:var(--ref-surface)}.ref-library-modal--browse .ref-library-modal__prompt strong{color:var(--ref-quiet);font-size:12px;font-weight:700;letter-spacing:0;text-transform:none}.ref-library-modal--browse .ref-library-modal__prompt p{color:var(--ref-ink-2);font-size:13px;line-height:1.5}.ref-library-modal--browse :is(.ref-library-modal__tags,.ref-library-modal__techniques){display:flex;flex-wrap:wrap;gap:6px}.ref-library-modal--browse .ref-library-modal__tags button,.ref-library-modal--browse .ref-library-modal__techniques .ref-library-pill{display:inline-flex;align-items:center;min-height:28px;height:28px;padding:0 10px;border:0;border-radius:8px;background:var(--ref-surface);color:var(--ref-ink-2);font-size:12px;font-weight:700;letter-spacing:0;text-transform:none}.ref-library-modal--browse .ref-library-modal__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ref-library-modal--browse .ref-library-modal__actions .ref-library-button--large{grid-column:1 / -1}.ref-library-modal__legal{margin:14px 0 0;color:var(--ref-quiet);font-size:11px;font-weight:500;line-height:1.45}.ref-library-modal__legal button{padding:0;border:0;background:none;color:var(--ref-ink-2);font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.ref-library-related__heading h3{font-size:16px;font-weight:700;letter-spacing:-.02em}.ref-library-collection__list{display:grid;gap:8px}.ref-library-collection__row{display:grid;grid-template-columns:72px minmax(0,1fr) 40px;align-items:center;gap:12px;padding:6px;border-radius:14px;background:var(--chat-surface, #141817)}.ref-library-collection__thumb{width:72px;height:54px;padding:0;overflow:hidden;border:0;border-radius:9px;background:#202723;cursor:pointer}.ref-library-collection__thumb img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.ref-library-collection__row strong{display:-webkit-box;overflow:hidden;font-size:14px;font-weight:700;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ref-library-collection__row small{display:block;margin-top:2px;overflow:hidden;color:#8f9a93;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ref-library-collection__row .ref-library-glass{width:40px;height:40px;background:transparent;box-shadow:none;color:#8f9a93}.ref-library-collection__footer{position:sticky;bottom:0;display:grid;gap:8px;padding:12px 0 2px;background:linear-gradient(transparent,var(--chat-surface-soft, #101312) 18%)}.ref-library-collection__summary{display:flex;justify-content:space-between;gap:8px;margin:0 0 10px;color:#8f9a93;font-size:12px;font-variant-numeric:tabular-nums}.ref-library-progress{height:4px;overflow:hidden;border-radius:2px;background:#202723}.ref-library-progress>i{display:block;height:100%;background:var(--brand-accent, #d6ff2e);transition:width .3s ease}.ref-library-hint{margin:0;color:#8f9a93;font-size:12px;text-align:center}.ref-library-collection .ref-library-button--primary{background:var(--brand-accent, #d6ff2e);color:#0b0d05}.ref-library-about{display:grid;gap:10px;max-height:70dvh;overflow-y:auto;padding-bottom:8px;color:var(--chat-fg-muted, #c9d2cc);font-size:14px;line-height:1.5;scrollbar-width:none}.chat-spa-root:has(:is(.ref-library-collection,.ref-library-about)){background:transparent}.chat-spa-root:has(.ref-library-about){z-index:90}.ref-library-about h3{margin:8px 0 0;color:var(--chat-fg, #f4f6f4);font-size:14px;font-weight:700}.ref-library-about p{margin:0}.ref-library-about__mail{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 10px 10px 14px;border-radius:14px;background:var(--chat-surface, #141817);color:var(--chat-fg, #f4f6f4);font-weight:700;text-decoration:none}.ref-library-about .ref-library-button{background:#202723;color:#f4f6f4}@media(max-width:1023px){.ref-library-modal--browse .ref-library-modal__dialog{padding:8px 0 0;background:var(--ref-bg)}.ref-library-modal--browse .ref-library-modal__topbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;margin:0;padding:0 12px 10px;background:var(--ref-bg)}.ref-library-modal--browse .ref-library-modal__topbar .ref-library-button{height:40px;min-height:40px;padding:0 12px 0 8px;border-radius:999px}.ref-library-modal--browse .ref-library-modal__close,.ref-library-modal--browse .ref-library-modal__arrow{display:none}.ref-library-modal--browse .ref-library-modal__media{width:auto!important;margin:0 12px;border-radius:16px}.ref-library-modal--browse .ref-library-modal__content{padding:14px 16px 0}.ref-library-modal--browse .ref-library-modal__heading h2{font-size:22px}.ref-library-modal--browse .ref-library-modal__actions{position:sticky;bottom:0;z-index:2;margin:12px -16px 0;padding:10px 16px calc(14px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,var(--ref-bg) 22%)}.ref-library-modal--browse .ref-library-related{padding:0 16px 24px}.ref-library-collection__footer{padding-bottom:env(safe-area-inset-bottom,0px)}}@media(prefers-reduced-motion:reduce){.ref-library-progress>i{transition:none}}@media(max-width:1023px){.ref-library:not(.ref-library--desktop) .ref-library-controls,.ref-library:not(.ref-library--desktop) .ref-library-controls__row{display:contents}.ref-library:not(.ref-library--desktop) .ref-library-controls__brand{padding-top:8px}.ref-library:not(.ref-library--desktop) .ref-library-search{position:sticky;z-index:20;top:8px;width:auto;margin:10px 0 0;box-shadow:0 0 0 100vmax var(--ref-bg);clip-path:inset(-10px calc(-1 * var(--ref-pad)) -8px)}.ref-library:not(.ref-library--desktop) .ref-library-search:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--ref-accent) 60%,transparent),0 0 0 100vmax var(--ref-bg)}.ref-library:not(.ref-library--desktop) .ref-library-mode{margin-top:18px}.ref-library:not(.ref-library--desktop) .ref-library-nav{margin-top:10px}.ref-library:not(.ref-library--desktop){--ref-gutter: 8px;--ref-radius: 14px}}.ref-library-card:not([data-reference-media-state=ready]):not([data-reference-media-state=failed]):before{position:absolute;z-index:1;inset:0;background:linear-gradient(100deg,transparent 20%,color-mix(in srgb,var(--ref-text) 7%,transparent) 50%,transparent 80%);content:"";pointer-events:none;transform:translate(-100%);animation:ref-library-card-sheen 1.6s ease-in-out infinite}.ref-library-card[data-reference-media-state=loading]:after{display:none}.ref-library-card__media>img,.ref-library-card__media-element{transform:scale(1.04);transition:opacity .42s ease,transform .62s cubic-bezier(.2,.7,.2,1)}.ref-library-card__media>img.is-ready,.ref-library-card__media-element.is-ready{transform:none}.ref-library-card__open:after{position:absolute;z-index:2;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ref-text) 8%,transparent);content:"";pointer-events:none}@keyframes ref-library-card-sheen{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.ref-library-card:before{animation:none!important}.ref-library-card__media>img,.ref-library-card__media-element{transform:none}}@font-face{font-family:Reference Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter/Inter-latin.woff2) format("woff2")}@font-face{font-family:Reference Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter/Inter-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}.ref-library{font-family:Reference Inter,Inter,system-ui,sans-serif;--ref-control: color-mix(in srgb, var(--ref-surface) 80%, var(--ref-raised));--ref-label: color-mix(in srgb, var(--ref-text) 76%, var(--ref-bg));--ref-pad: clamp(16px, 2vw, 28px);--ref-gutter: 12px;--ref-radius: 16px;--ddf-text-1: var(--ref-text);--ddf-text-2: var(--ref-label);--ddf-text-3: var(--ref-muted);--ddf-well: var(--ref-surface);--ddf-surface: var(--ref-control);--ddf-surface-raised: var(--ref-raised);--service-form-control-border: transparent;--ddf-dropdown-option-min-height: 44px;--ddf-radius-inner: 10px;--ddf-popover-bg: var(--ref-raised);--ddf-popover-line: transparent;--ddf-popover-active: var(--ref-raised-2);--ddf-popover-hover: var(--ref-raised-2);--ddf-panel: var(--ref-sheet);--ddf-dropdown-card-min-height: 56px;--ddf-dropdown-label-size: 12px;--ddf-dropdown-value-size: 15px;--ddf-radius-card: 16px;--ddf-target: 44px;--segmented-md-well: var(--ref-control);--chat-fg: var(--ref-text);--chat-bg: var(--ref-bg)}.ref-browse-head,.ref-browse-toolbar{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:center;gap:16px}.ref-browse-head{padding:22px 0 20px}.ref-browse-title{grid-column:span 4;display:grid;grid-template-columns:minmax(0,max-content) 44px;align-items:center;gap:12px}.ref-browse-title h1{margin:0;font-size:clamp(30px,2.8vw,38px);font-weight:700;line-height:1.15;letter-spacing:-.035em}.ref-browse-title__copy{min-width:0}.ref-browse-title__copy p{margin:7px 0 0;color:var(--ref-label);font-size:13px;font-weight:500;line-height:1.4}.ref-library .ref-browse-icon{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--ref-surface);color:var(--ref-text);cursor:pointer}.ref-library .ref-browse-about{background:transparent;color:var(--ref-muted)}.ref-library .ref-browse-back{display:none}.ref-browse-search{grid-column:span 5;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:56px;padding:0 18px;border-radius:999px;background:var(--ref-control);color:var(--ref-label)}.ref-browse-search>svg{width:20px;height:20px}.ref-browse-search input{width:100%;min-width:0;padding:12px 0;border:0;outline:0;background:transparent;color:var(--ref-text);font-size:16px;font-weight:550;letter-spacing:-.015em}.ref-browse-search input::-moz-placeholder{color:var(--ref-label)}.ref-browse-search input::placeholder{color:var(--ref-label)}.ref-browse-search button{display:grid;width:44px;height:44px;place-items:center;margin-right:-10px;border:0;background:transparent;color:var(--ref-text);cursor:pointer}.ref-browse-search button svg{width:18px;height:18px}.ref-library .ref-browse-saved{grid-column:span 3;justify-self:end;display:grid;grid-template-columns:20px auto auto;align-items:center;gap:10px;min-height:52px;padding:0 14px;border:0;border-radius:999px;background:var(--ref-control);color:var(--ref-text);font-size:15px;font-weight:650;cursor:pointer}.ref-browse-saved b{display:grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:50%;background:color-mix(in srgb,var(--ref-accent) 12%,var(--ref-control));color:var(--ref-accent);font-weight:700;font-variant-numeric:tabular-nums}.ref-browse-toolbar{position:sticky;top:0;z-index:25;padding:8px 0;background:var(--ref-bg)}.ref-browse-modes{--segmented-md-well: transparent;--segmented-md-active: color-mix(in srgb, var(--ref-accent) 10%, var(--ref-control));--segmented-md-active-text: var(--ref-text);--ddf-target: 112px;grid-column:1 / -1;min-width:0}.ref-browse-modes [data-segmented-control]>div{padding:0;gap:12px}.ref-browse-modes [data-segment-value]{position:relative;flex-direction:column;align-items:flex-start;gap:9px;padding:18px 24px;background:var(--ref-control);font-size:16px;font-weight:650;letter-spacing:-.015em;border-radius:32px;text-align:left}.ref-browse-modes [data-segment-icon]{display:grid;place-items:center;flex-shrink:0}.ref-browse-modes [data-segment-hint]{font-size:12px;font-weight:450;line-height:1.4}.ref-browse-modes [data-segment-value][aria-pressed=true]:before{content:"";position:absolute;right:18px;top:18px;width:6px;height:6px;border-radius:50%;background:var(--ref-accent)}.ref-browse-desktop-fields{display:contents}.ref-browse-field{grid-column:span 6;min-width:0}.ref-browse-field [data-setting-layout]{width:100%;border-radius:999px;border:0;box-shadow:none}.ref-browse-field [data-setting-card-label]{font-size:var(--ddf-dropdown-label-size);font-weight:550}.ref-browse-field [data-setting-card-value]{font-size:var(--ddf-dropdown-value-size);font-weight:650;letter-spacing:-.015em}.ref-browse-field [role=option]{font-size:14px;font-weight:550}.ref-browse-field [data-setting-popover-size]{background:var(--ref-sheet);color:var(--ref-text)}.ref-library .ref-browse-filter{display:none}.ref-browse-status{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:52px;padding:8px 0 16px;font-size:13px;font-weight:550;color:var(--ref-label)}.ref-browse-status p{display:grid;gap:3px;min-width:0;margin:0;font-variant-numeric:tabular-nums}.ref-browse-context{display:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-browse-links{display:grid;grid-auto-flow:column;gap:18px;align-items:center}.ref-browse-links button{min-height:44px;padding:0;border:0;background:transparent;color:var(--ref-label);font-size:13px;font-weight:550;cursor:pointer}.ref-browse-links button:hover{color:var(--ref-text)}.ref-browse-head button:focus-visible,.ref-browse-toolbar button:focus-visible,.ref-browse-status button:focus-visible,.ref-browse-search:focus-within{outline:2px solid var(--ref-accent);outline-offset:3px}.ref-library-card__open:after{box-shadow:none}.ref-browse-sheet{--chat-surface-soft: var(--ref-sheet)}.ref-browse-sheet .chat-spa-root{z-index:110;background:transparent}.ref-browse-sheet .picker-pop{box-shadow:none!important}.ref-browse-sheet__body{display:grid;gap:16px}.ref-browse-sheet__body>p{margin:0 0 8px;color:var(--ref-label);font-size:15px;font-weight:500;line-height:1.5}.ref-browse-sheet__body .ref-browse-field{--ddf-surface: var(--ref-raised);grid-column:auto}.ref-browse-sheet__body .ref-browse-field [data-setting-layout]{min-height:64px}.ref-browse-sheet__browse{display:grid;padding:8px 0}.ref-browse-sheet__browse button{display:grid;grid-template-columns:1fr auto;align-items:center;min-height:48px;padding:0;border:0;background:transparent;color:var(--ref-text);text-align:left;font-size:15px;font-weight:600}.ref-browse-sheet__browse span{color:var(--ref-muted)}.ref-browse-sheet__footer{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;position:sticky;bottom:0;padding-top:16px;background:var(--ref-sheet)}.ref-browse-sheet__footer .ref-library-button{border-radius:999px}.ref-library .ref-browse-reset{min-height:48px;border:0;padding:0;background:transparent;color:var(--ref-text);font-size:14px;font-weight:600;cursor:pointer}.ref-browse-reset:disabled{opacity:.35}[data-chat-theme=light] .ref-browse-saved b{color:var(--ref-text)}@media(max-width:1023px){.ref-library:not(.ref-library--desktop){--ref-pad: 16px;--ref-gutter: 10px;--ref-radius: 16px}.ref-browse-head{gap:16px 10px;padding:12px 0 10px}.ref-browse-title{grid-column:1 / 9;grid-template-columns:36px minmax(0,1fr);gap:8px}.ref-browse-title h1{font-size:27px}.ref-browse-title__copy p{margin-top:4px;font-size:11px}.ref-library .ref-browse-back{display:grid;width:36px;height:44px;background:transparent}.ref-library .ref-browse-about{display:none}.ref-library .ref-browse-saved{grid-column:9 / -1;grid-row:1;grid-template-columns:19px auto;padding:0 10px;gap:6px;min-height:44px;border-radius:24px}.ref-browse-saved>span{display:none}.ref-browse-search{grid-column:1 / -1;grid-row:2;min-height:52px;padding-inline:14px}.ref-browse-toolbar{grid-template-columns:minmax(0,1fr);top:0;padding:8px 0}.ref-browse-modes{--ddf-target: 86px;grid-column:auto}.ref-browse-modes [data-segmented-control]>div{gap:8px}.ref-browse-modes [data-segment-value]{align-items:center;gap:10px;padding:16px 4px 13px;font-size:12px;line-height:18px;border-radius:28px;text-align:center}.ref-browse-modes [data-segment-hint]{display:none}.ref-browse-modes [data-segment-value][aria-pressed=true]:before{right:12px;top:12px;width:4px;height:4px}.ref-browse-desktop-fields{display:none}.ref-library .ref-browse-filter{position:relative;display:grid;width:48px;height:48px}.ref-browse-dot{position:absolute;right:6px;top:5px;width:7px;height:7px;border-radius:50%;background:var(--ref-accent)}.ref-browse-status{min-height:46px;padding:4px 0 12px;gap:8px;font-size:12px}.ref-browse-context{display:block}.ref-browse-links .ref-browse-directory{display:none}.ref-browse-links{gap:12px}.ref-browse-sheet .chat-spa-root{align-items:end;padding:8px}.ref-browse-sheet .picker-pop{max-height:min(88dvh,720px);border-radius:32px;padding-bottom:env(safe-area-inset-bottom,0px)}.ref-browse-sheet .picker-pop>div:first-of-type button{width:44px;height:44px}}@media(max-width:359px){.ref-browse-title h1{font-size:22px}.ref-browse-title__copy p{font-size:10px}.ref-library .ref-browse-filter{width:44px}.ref-browse-modes [data-segment-value]{font-size:12px}}@media(prefers-reduced-motion:reduce){.ref-browse-sheet .picker-pop,.ref-browse-sheet .backdrop-fade{animation:none}}.ref-browse-search--bar{display:none}@media(min-width:1024px){.ref-browse-search--head{display:none}.ref-library .ref-browse-head .ref-browse-saved{grid-column:9 / -1}.ref-browse-toolbar{--ref-bar-h: 46px;display:block;container:ref-bar / inline-size;padding:8px 0}.ref-browse-bar{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px}.ref-browse-bar .ref-browse-search--bar{display:grid;grid-column:1 / -1;min-height:var(--ref-bar-h);padding-inline:16px}.ref-browse-bar .ref-browse-search--bar input{padding:10px 0;font-size:15px}.ref-browse-bar .ref-browse-search--bar button{width:40px;height:40px}.ref-browse-bar .ref-browse-modes{--ddf-target: calc(var(--ref-bar-h) - 8px);--segmented-md-well: var(--ref-control);--segmented-md-active: color-mix(in srgb, var(--ref-accent) 16%, var(--ref-raised));grid-column:auto}.ref-browse-bar .ref-browse-modes [data-segmented-control]>div{grid-template-columns:repeat(4,auto)!important;gap:2px;padding:4px;border-radius:999px}.ref-browse-bar .ref-browse-modes [data-segment-value]{flex-direction:row;align-items:center;justify-content:center;gap:7px;min-height:var(--ddf-target);padding:0 13px;border-radius:999px;background:transparent;font-size:14px;font-weight:600;line-height:1;white-space:nowrap}.ref-browse-bar .ref-browse-modes [data-segment-value][aria-pressed=true]{background:var(--segmented-md-active)}.ref-browse-bar .ref-browse-modes [data-segment-value][aria-pressed=true]:before{content:none}.ref-browse-bar .ref-browse-modes [data-segment-icon] svg,.ref-browse-bar .ref-browse-modes [data-segment-icon] img{width:18px;height:18px}.ref-browse-bar .ref-browse-modes [data-segment-hint]{display:none}.ref-browse-bar .ref-browse-field{--ddf-dropdown-card-min-height: var(--ref-bar-h);--ddf-dropdown-label-size: 11px;--ddf-dropdown-value-size: 13.5px;grid-column:auto}.ref-browse-bar .ref-browse-field [data-setting-layout]{padding-inline:16px 14px}@media(pointer:coarse){.ref-browse-toolbar{--ref-bar-h: 52px}}@container ref-bar (min-width: 1080px){.ref-browse-bar{grid-template-columns:minmax(240px,1fr) auto minmax(150px,200px) minmax(150px,200px)}.ref-browse-bar .ref-browse-search--bar{grid-column:auto}}}
