.media-library{border:1px solid var(--h-edge);background:var(--page-paper);width:min(1120px,100vw - 48px);max-width:calc(100vw - 24px);height:min(820px,100dvh - 48px);max-height:calc(100dvh - 24px);color:var(--h-text);border-radius:22px;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 20px 80px #0003}.media-library[open]{flex-direction:column;display:flex}.media-library::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0006}.media-library button,.media-library input,.media-library a{font:inherit}.media-library button,.media-library a{cursor:pointer;color:inherit}.media-library button:disabled{opacity:.5;cursor:wait}.media-library-header{justify-content:space-between;align-items:center;gap:16px;padding:24px 24px 16px;display:flex}.media-library-header h2{margin:0;font-size:24px;font-weight:500}.media-library-close{background:0 0;border:0;border-radius:50%;flex:0 0 44px;width:44px;height:44px;font-size:25px!important}.media-library-controls{border-bottom:1px solid var(--h-edge);padding:0 24px}.media-library-controls input{box-sizing:border-box;background:var(--h-pill);width:100%;height:44px;color:var(--h-text);border:1px solid #0000;border-radius:12px;padding:0 14px}.media-library-filters{gap:20px;margin-top:8px;display:flex;overflow-x:auto}.media-library-filters button{min-height:44px;color:var(--h-text-dim);background:0 0;border:0;border-bottom:2px solid #0000;flex-shrink:0;padding:8px 0;font-size:13px}.media-library-filters button[aria-pressed=true]{color:var(--h-text);border-bottom-color:var(--h-text)}.media-library-results{overscroll-behavior:contain;flex:1;min-height:0;padding:18px 24px 28px;overflow:auto}.media-library-count{color:var(--h-text-dim);margin:0 0 12px;font-size:12px}.media-library-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:24px 18px;display:grid}.media-library-card{background:0 0;border:0;min-width:0}.media-library-open{text-align:start;background:0 0;border:0;width:100%;padding:0;display:block}.media-library-cover{background:var(--h-pill);border-radius:12px;place-items:center;height:170px;display:grid;position:relative;overflow:hidden}.media-library-cover img,.media-library-cover video{object-fit:cover;width:100%;height:100%}.media-library-play{color:#fff;background:#000a;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;position:absolute}.media-library-file-icon{color:var(--h-text-dim);font-size:38px}.media-library-open strong{text-overflow:ellipsis;white-space:nowrap;padding:10px 2px 3px;font-size:13px;font-weight:500;display:block;overflow:hidden}.media-library-open small{color:var(--h-text-dim);padding:0 2px;font-size:12px;display:block}.media-library-actions{align-items:center;gap:2px;margin-top:4px;display:flex}.media-library-actions button,.media-library-actions a{box-sizing:border-box;min-width:44px;min-height:44px;color:var(--h-text-dim);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:12px;text-decoration:none;display:inline-flex}.media-library-actions>:first-child{color:var(--h-text);margin-inline-end:auto;padding-inline:2px}.media-library-actions a{font-size:22px}.media-library-actions button:hover,.media-library-actions a:hover,.media-library-close:hover{background:var(--h-pill);color:var(--h-text)}.media-library-confirm{border-top:1px solid var(--h-edge);padding:12px;font-size:13px}.media-library-confirm p{margin:0 0 10px}.media-library-confirm button{border:1px solid var(--h-edge);background:var(--h-pill);border-radius:8px;min-height:38px;margin:0 6px 6px 0}.media-library-empty{text-align:center;color:var(--h-text-dim);padding:44px 12px}.media-library :focus-visible{outline:2px solid var(--h-text-dim);outline-offset:-2px}@media (max-width:600px){.media-library{border-radius:16px;width:calc(100vw - 16px);height:calc(100dvh - 24px)}.media-library-header{padding:14px}.media-library-controls{padding:0 14px}.media-library-filters{gap:18px}.media-library-results{padding:14px}.media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.media-library-cover{height:140px}.media-library-actions{flex-wrap:wrap}}.media-library-actions [role=checkbox]{gap:7px}.media-library-card.is-selected .media-library-cover{outline:2px solid var(--h-text);outline-offset:3px}.media-library-selection{border-top:1px solid var(--h-edge);background:var(--page-paper);color:var(--h-text);flex-shrink:0;padding:12px 24px}.media-library-selection>div{align-items:center;gap:12px;display:flex}.media-library-selection span{color:var(--h-text-dim);font-size:13px}.media-library-selection button{min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:24px;padding:0 16px;font-size:13px}.media-library-selection .media-library-clear{color:var(--h-text-dim);background:0 0;padding-inline:4px}.media-library-selection .media-library-add{background:var(--h-text);color:var(--page-paper);white-space:nowrap;margin-inline-start:auto}.media-library-selection button:disabled{opacity:.45;cursor:default}.media-library-selection p{margin:0 0 10px;font-size:13px}.image-preview-dialog .media-library-selection{margin:12px -14px -14px;padding:12px 14px}@media (max-width:600px){.media-library-selection{padding:10px 14px}.media-library-selection>div{gap:8px}.image-preview-dialog .media-library-selection{margin:10px -10px -10px;padding:10px}}
.page-chat .earnings-intro{padding:8px 0 28px}.page-chat .earnings-symbol{background:var(--h-hover);width:48px;height:48px;color:var(--h-text-dim);border-radius:14px;place-items:center;margin-bottom:24px;display:grid}.page-chat .earnings-symbol svg{width:28px;height:28px}.page-chat .earnings-eyebrow{color:var(--h-text-dim);font-size:var(--h-text-xs)}.page-chat .project-earnings .earnings-intro h3{letter-spacing:-.6px;color:var(--h-text);margin:10px 0 12px;font-size:clamp(23px,3vw,30px);font-weight:500}.page-chat .earnings-intro>p{max-width:460px}.page-chat .earnings-steps{font-size:var(--h-text-sm);color:var(--h-text);gap:14px;margin:28px 0 0;padding:0;list-style:none;display:grid}.page-chat .earnings-steps li{align-items:baseline;gap:14px;display:flex}.page-chat .earnings-steps span{font-size:var(--h-text-xs);color:var(--h-text-dim);font-variant-numeric:tabular-nums}.page-chat .earnings-request{border-top:1px solid var(--h-edge-soft);justify-items:start;gap:14px;margin-top:4px;padding-top:26px;display:grid}.page-chat .project-earnings .earnings-request h3{color:var(--h-text);font-size:var(--h-text-base);font-weight:550}.page-chat .project-earnings .earnings-note{font-size:var(--h-text-xs)}.page-chat .earnings-contact{overflow-wrap:anywhere}.page-chat .earnings-contact strong{color:var(--h-text);font-weight:500}.page-chat .earnings-form label{font-size:var(--h-text-sm);margin-bottom:-6px}.page-chat .earnings-form h3{margin-bottom:6px}.page-chat .earnings-request a{text-decoration:none}@media (max-width:640px){.page-chat .panel-settings-page .project-earnings .earnings-form :is(input,textarea){font-size:16px}}
.PreviewSurface-module__JNtV2G__surface{isolation:isolate;background:var(--h-panel,#f7f3ea);flex:1;width:100%;height:100%;min-height:280px;position:relative;overflow:hidden}.PreviewSurface-module__JNtV2G__frame,.PreviewSurface-module__JNtV2G__backdrop{border:0;width:100%;height:100%;position:absolute;inset:0}.PreviewSurface-module__JNtV2G__frame{background:#fff;display:block}.PreviewSurface-module__JNtV2G__pending{opacity:0;pointer-events:none}.PreviewSurface-module__JNtV2G__cover{object-fit:cover;object-position:top;filter:brightness(.88);width:100%;height:100%}.PreviewSurface-module__JNtV2G__canvas{height:100%;color:var(--h-text,#26251f);background:radial-gradient(ellipse at 72% 28%, #aeb8a326, transparent 55%), radial-gradient(ellipse at 20% 65%, #c2ac9420, transparent 55%), var(--h-panel,#f7f3ea);flex-direction:column;justify-content:center;align-items:center;gap:clamp(28px,5vh,52px);padding:36px 24px 90px;display:flex}.PreviewSurface-module__JNtV2G__sketch{aspect-ratio:1.4;border:1px solid color-mix(in srgb, currentColor 13%, transparent);background:color-mix(in srgb, var(--h-panel,#f7f3ea) 70%, transparent);border-radius:12px;width:min(320px,85%);animation:7s ease-in-out infinite PreviewSurface-module__JNtV2G__float;transform:rotate(-3deg);box-shadow:0 22px 70px #38321f0a}.PreviewSurface-module__JNtV2G__chrome{border-bottom:1px solid color-mix(in srgb, currentColor 9%, transparent);align-items:center;gap:4px;height:28px;padding:0 12px;display:flex}.PreviewSurface-module__JNtV2G__chrome i{opacity:.22;background:currentColor;border-radius:50%;width:4px;height:4px}.PreviewSurface-module__JNtV2G__chrome span{opacity:.08;background:currentColor;border-radius:9px;width:34%;height:4px;margin-left:auto}.PreviewSurface-module__JNtV2G__composition{align-items:center;gap:14%;height:62%;padding:22px 20px 16px;display:flex}.PreviewSurface-module__JNtV2G__copy{flex:1;gap:9px;display:grid}.PreviewSurface-module__JNtV2G__copy i{opacity:.1;background:currentColor;border-radius:6px;height:6px}.PreviewSurface-module__JNtV2G__copy i:first-child{opacity:.23;width:58%}.PreviewSurface-module__JNtV2G__copy i:nth-child(3){width:78%}.PreviewSurface-module__JNtV2G__copy b{opacity:.45;background:#8b9676;border-radius:4px;width:35%;height:14px;margin-top:7px}.PreviewSurface-module__JNtV2G__art{aspect-ratio:1;width:37%;position:relative}.PreviewSurface-module__JNtV2G__art span{opacity:.35;background:#adb89e;border-radius:50% 50% 8% 8%;width:66%;height:78%;position:absolute}.PreviewSurface-module__JNtV2G__art span:nth-child(2){background:#bfac94;top:20%;left:30%;transform:rotate(18deg)}.PreviewSurface-module__JNtV2G__art span:nth-child(3){opacity:.45;background:#8c9679;border-radius:50%;width:32%;height:32%;bottom:0;left:0}.PreviewSurface-module__JNtV2G__tiles{gap:9px;padding:0 20px;display:flex}.PreviewSurface-module__JNtV2G__tiles i{border:1px solid color-mix(in srgb, currentColor 9%, transparent);border-radius:4px;flex:1;height:28px}.PreviewSurface-module__JNtV2G__caption{text-align:center;max-width:360px}.PreviewSurface-module__JNtV2G__eyebrow{font:10px/1.5 var(--font-plex-mono,monospace);text-transform:uppercase;letter-spacing:.16em;opacity:.5}.PreviewSurface-module__JNtV2G__caption h2{font:400 clamp(23px, 2.5vw, 30px)/1.2 var(--font-inter,sans-serif);letter-spacing:-.04em;text-wrap:balance;margin:12px 0 8px}.PreviewSurface-module__JNtV2G__caption p{color:var(--h-text-dim,#777369);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.PreviewSurface-module__JNtV2G__status{z-index:2;background:var(--h-panel,#f7f3ea);width:max-content;max-width:calc(100% - 32px);color:var(--h-text-dim,#777369);border-radius:24px;justify-content:center;align-items:center;gap:9px;padding:10px 16px;font-size:12px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 2px 14px #00000009}.PreviewSurface-module__JNtV2G__status button{min-height:36px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0 8px;text-decoration:underline}.PreviewSurface-module__JNtV2G__pulse{background:#8b9676;border-radius:50%;flex:none;width:6px;height:6px;animation:2s ease-in-out infinite PreviewSurface-module__JNtV2G__pulse}@keyframes PreviewSurface-module__JNtV2G__float{50%{transform:translateY(-6px)rotate(-1deg)}}@keyframes PreviewSurface-module__JNtV2G__pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.PreviewSurface-module__JNtV2G__sketch,.PreviewSurface-module__JNtV2G__pulse{animation:none}}@media (max-height:560px){.PreviewSurface-module__JNtV2G__canvas{gap:18px;padding:24px 20px 64px}.PreviewSurface-module__JNtV2G__sketch{width:180px}.PreviewSurface-module__JNtV2G__composition{padding:10px 14px}.PreviewSurface-module__JNtV2G__tiles i{height:16px}}
