.auth-dialog-layer{position:fixed;z-index:220;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;overflow-y:auto;padding:24px;background:#1828488a;backdrop-filter:blur(16px) saturate(112%);-webkit-backdrop-filter:blur(16px) saturate(112%)}.auth-dialog{width:min(100%,880px);height:min(620px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);display:grid;grid-template-columns:300px minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.88);border-radius:28px;background:#fff;box-shadow:0 34px 90px #142c5b4d,inset 0 1px #fffffff5}.auth-dialog__brand-panel{position:relative;isolation:isolate;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:30px;color:#203765;background:radial-gradient(circle at 102% 6%,rgba(255,200,69,.4),transparent 25%),radial-gradient(circle at -18% 84%,rgba(76,191,151,.2),transparent 30%),linear-gradient(155deg,#f7faff,#e8f0ff 57%,#dce8ff)}.auth-dialog__brand-panel:after{content:"";position:absolute;z-index:-1;right:-58px;bottom:82px;width:176px;height:176px;border:36px solid rgba(255,255,255,.36);border-radius:50%}.auth-dialog__brand{display:flex;align-items:center;gap:11px}.auth-dialog__brand>img{width:58px;height:58px;flex:0 0 auto;object-fit:contain;filter:drop-shadow(0 11px 16px rgba(229,86,50,.2))}.auth-dialog__brand>span{min-width:0;display:grid;gap:3px}.auth-dialog__brand strong{font-family:ui-rounded,SF Pro Rounded,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:22px;font-weight:850;letter-spacing:.02em}.auth-dialog__brand small{color:#71809d;font-size:10px;font-weight:750}.auth-dialog__brand-copy{margin:auto 0}.auth-dialog__brand-copy>span{color:var(--brand-600);font-size:12px;font-weight:850;letter-spacing:.08em}.auth-dialog__brand-copy h3{max-width:225px;margin:14px 0 16px;color:#1e3157;font-family:ui-rounded,SF Pro Rounded,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:33px;font-weight:850;line-height:1.22;letter-spacing:-.035em}.auth-dialog__brand-copy p{max-width:220px;margin:0;color:#60708d;font-size:13px;line-height:1.75}.auth-dialog__trust{display:flex;align-items:flex-start;gap:8px;margin:0;color:#5c6e8d;font-size:11px;font-weight:650;line-height:1.55}.auth-dialog__trust svg{flex:0 0 auto;color:var(--brand-600)}.auth-dialog__content{position:relative;min-width:0;min-height:0;overflow-y:auto;padding:36px 42px 34px;scrollbar-gutter:stable}.auth-dialog__close{position:absolute;top:22px;right:22px;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid var(--border-soft);border-radius:12px;color:#66758a;background:#f8faff;transition:color .16s ease,border-color .16s ease,background-color .16s ease,transform .16s ease}.auth-dialog__close:hover:not(:disabled){color:var(--brand-600);border-color:#3f6ff252;background:var(--brand-50)}.auth-dialog__close:active:not(:disabled){transform:translateY(1px)}.auth-dialog__header{min-height:56px;padding-right:44px}.auth-dialog__header h2{margin:0 0 7px;color:#1d2d49;font-size:27px;font-weight:850;letter-spacing:-.03em}.auth-dialog__header p{max-width:430px;margin:0;color:#66758a;font-size:13px;line-height:1.65}.auth-dialog__mobile-mark{display:none}.auth-dialog__tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:22px 0 18px;padding:5px;border-radius:14px;background:#eef3fb}.auth-dialog__tabs button{min-height:40px;padding:8px 12px;border:0;border-radius:10px;color:#58677d;background:transparent;font:inherit;font-size:13px;font-weight:780;transition:color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}.auth-dialog__tabs button:hover:not(:disabled){color:var(--brand-600)}.auth-dialog__tabs button:active:not(:disabled){transform:translateY(1px)}.auth-dialog__tabs button.is-active{color:var(--brand-600);background:#fff;box-shadow:0 7px 20px #2d4b7e1a}.auth-dialog__social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.auth-dialog__social-grid[data-count="1"],.auth-dialog__social-grid[data-count="3"]{grid-template-columns:1fr}.auth-dialog__social{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:9px 14px;border:1px solid #d6e0ec;border-radius:12px;color:#33445e;background:#fff;font:inherit;font-size:13px;font-weight:750;white-space:nowrap;transition:color .16s ease,border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}.auth-dialog__social:hover:not(:disabled){color:var(--brand-600);border-color:#3f6ff261;background:#f8faff;box-shadow:0 8px 22px #33528a14}.auth-dialog__social:active:not(:disabled){transform:translateY(1px)}.auth-dialog__social-skeleton{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.auth-dialog__social-skeleton span{min-height:46px;border-radius:12px;background:linear-gradient(100deg,#f2f5fa 30%,#e8eef7,#f2f5fa 66%);background-size:230% 100%;animation:auth-dialog-shimmer 1.2s ease-in-out infinite}.auth-dialog__divider{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:11px;margin:16px 0;color:#65738a;font-size:11px}.auth-dialog__divider:before,.auth-dialog__divider:after{content:"";height:1px;background:var(--border-soft)}.auth-dialog__form{display:grid;gap:13px}.auth-dialog__form-group{display:grid;gap:7px}.auth-dialog__form-group>label{color:#2d3d56;font-size:12px;font-weight:780}.auth-dialog__field{min-width:0;min-height:47px;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;padding:0 13px;border:1px solid #d6e1ed;border-radius:12px;color:#748197;background:#fbfcff;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.auth-dialog__field--password{grid-template-columns:22px minmax(0,1fr) 34px;padding-right:7px}.auth-dialog__field:focus-within{border-color:var(--brand-500);background:#fff;box-shadow:0 0 0 3px #3f6ff21f}.auth-dialog__field.is-invalid{border-color:#c1344d94;background:#fffafb}.auth-dialog__field.is-invalid:focus-within{box-shadow:0 0 0 3px #c1344d1a}.auth-dialog__field input{width:100%;min-width:0;height:45px;padding:0;border:0;outline:0;color:var(--text-strong);background:transparent;font:inherit;font-size:14px}.auth-dialog__field input::placeholder{color:#68768a;opacity:1}.auth-dialog__field input:disabled{cursor:wait;opacity:.72}.auth-dialog__password-toggle{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;color:#718097;background:transparent}.auth-dialog__password-toggle:hover:not(:disabled){color:var(--brand-600);background:var(--brand-50)}.auth-dialog__field-help,.auth-dialog__field-error{font-size:11px;font-weight:560;line-height:1.5}.auth-dialog__field-help{color:#68768b}.auth-dialog__field-error{color:#9f2139}.auth-dialog__remember{display:flex;align-items:flex-start;gap:10px;color:var(--text);font-weight:500}.auth-dialog__remember input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--brand-600)}.auth-dialog__remember span{display:grid;gap:2px}.auth-dialog__remember strong{color:#33435b;font-size:12px}.auth-dialog__remember small{color:#6f7d91;font-size:10px;line-height:1.45}.auth-dialog__feedback:empty{display:none}.auth-dialog__feedback p{margin:0;padding:10px 12px;border-radius:11px;font-size:12px;line-height:1.5}.auth-dialog__error{color:#94233a;background:#fff0f3}.auth-dialog__notice{display:flex;align-items:flex-start;gap:7px;color:#176044;background:#edf9f3}.auth-dialog__notice svg{flex:0 0 auto;margin-top:1px}.auth-dialog__submit{width:100%;min-height:47px;margin-top:1px;white-space:nowrap;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;border-color:#315fdc;background:#315fdc}.auth-dialog__submit:hover:not(:disabled){border-color:#244fca;background:#244fca}.auth-dialog__submit:active:not(:disabled){transform:translateY(1px)}.auth-dialog__spinner{animation:auth-dialog-spin .8s linear infinite}.auth-dialog__legal{margin:13px 0 0;color:#68768a;font-size:10.5px;line-height:1.6;text-align:center}.auth-dialog__legal a{color:#2856d5;font-weight:720;text-decoration:none}.auth-dialog__legal a:hover{text-decoration:underline}.auth-dialog__header h2:focus{outline:none}.auth-dialog__verification{min-height:520px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:20px 16px;text-align:center}.auth-dialog__verification-icon{width:66px;height:66px;display:grid;place-items:center;margin:0 auto 20px;border:1px solid rgba(63,111,242,.18);border-radius:19px;color:var(--brand-600);background:var(--brand-50);box-shadow:0 14px 32px #375ba61c}.auth-dialog__header--centered{min-height:0;padding:0;text-align:center}.auth-dialog__header--centered p{margin-inline:auto}.auth-dialog__verification-address{width:fit-content;max-width:100%;margin:22px auto 10px;overflow-wrap:anywhere;padding:10px 14px;border-radius:12px;color:#334c78;background:#f0f5ff;font-size:13px;font-weight:780}.auth-dialog__verification-help{max-width:390px;margin:0 auto 18px;color:#6b788b;font-size:12px;line-height:1.65}.auth-dialog__verification .auth-dialog__feedback,.auth-dialog__verification .auth-dialog__submit{width:min(100%,390px);margin-inline:auto}.auth-dialog__verification-actions{display:flex;justify-content:center;gap:18px;margin-top:18px}.auth-dialog__verification-actions button{display:inline-flex;align-items:center;gap:5px;padding:6px 4px;border:0;color:#64738a;background:transparent;font:inherit;font-size:12px;font-weight:720}.auth-dialog__verification-actions button:hover:not(:disabled){color:var(--brand-600)}@keyframes auth-dialog-spin{to{transform:rotate(360deg)}}@keyframes auth-dialog-shimmer{to{background-position-x:-130%}}@media(max-width:840px){.auth-dialog{width:min(100%,560px);height:auto;grid-template-columns:1fr}.auth-dialog__brand-panel{display:none}.auth-dialog__content{padding:30px 30px 28px}.auth-dialog__header{min-height:58px;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:12px}.auth-dialog__mobile-mark{width:54px;height:54px;display:grid;place-items:center}.auth-dialog__mobile-mark img{width:54px;height:54px;object-fit:contain}.auth-dialog__header--centered{display:block;min-height:0}.auth-dialog__verification{min-height:520px}}@media(max-width:580px){.auth-dialog-layer{align-items:end;padding:10px 10px max(10px,env(safe-area-inset-bottom))}.auth-dialog{width:100%;max-height:calc(100dvh - 12px);border-radius:24px 24px 14px 14px}.auth-dialog__content{padding:24px 19px 22px}.auth-dialog__close{top:18px;right:17px;width:36px;height:36px}.auth-dialog__header{grid-template-columns:48px minmax(0,1fr);gap:10px;padding-right:36px}.auth-dialog__header--centered{padding-right:0}.auth-dialog__mobile-mark,.auth-dialog__mobile-mark img{width:48px;height:48px}.auth-dialog__header h2{margin-bottom:4px;font-size:22px}.auth-dialog__header p{font-size:12px;line-height:1.55}.auth-dialog__tabs{margin:18px 0 16px}.auth-dialog__social-grid,.auth-dialog__social-skeleton{grid-template-columns:1fr}.auth-dialog__form{gap:12px}.auth-dialog__verification{min-height:min(560px,calc(100dvh - 64px));padding:42px 0 18px}.auth-dialog__verification-actions{gap:13px}}@media(prefers-reduced-motion:reduce){.auth-dialog *,.auth-dialog *:before,.auth-dialog *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation:none!important}}@media(prefers-reduced-transparency:reduce){.auth-dialog-layer{background:#182848c2;backdrop-filter:none;-webkit-backdrop-filter:none}}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.auth-dialog-layer{background:#182848bd}}:root{--digit-dur: .5s;--digit-distance: 8px;--digit-stagger: 70ms;--digit-blur: 2px;--digit-ease: cubic-bezier(.34, 1.45, .64, 1);--digit-dir-x: 0;--digit-dir-y: 1}.game-renderer-frame{position:relative;isolation:isolate;width:100%;min-height:var(--game-renderer-min-height, 620px);overflow:hidden;border:1px solid rgba(70,98,185,.17);border-radius:20px;background:#eef4ff;box-shadow:0 24px 68px #324d9d29}.game-renderer-frame[data-stage-mode="16:9"]{aspect-ratio:16 / 9;min-height:0}.game-renderer-frame__iframe{width:100%;height:var(--game-renderer-min-height, 620px);min-height:var(--game-renderer-min-height, 620px);display:block;border:0;background:transparent}.game-renderer-frame[data-stage-mode="16:9"] .game-renderer-frame__iframe{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;min-height:0}.game-renderer-frame__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;grid-template-rows:auto auto auto;place-content:center;justify-items:center;gap:12px;padding:24px;color:#4058a8;background:linear-gradient(120deg,#eef4ff 20%,#f8faff,#eef4ff 80%);background-size:220% 100%;font-size:13px;font-weight:750;animation:game-renderer-loading 1.4s ease-in-out infinite}.game-renderer-frame__loading-mark{width:34px;height:34px;border:3px solid rgba(79,111,245,.2);border-top-color:#4f6ff5;border-radius:50%;animation:game-renderer-spin .82s linear infinite}.game-renderer-frame__loading-copy{line-height:1.4;text-align:center}.game-renderer-frame__loading-track{width:min(220px,62vw);height:5px;overflow:hidden;border-radius:999px;background:#4f6ff524}.game-renderer-frame__loading-track>span{display:block;height:100%;min-width:2px;border-radius:inherit;background:linear-gradient(90deg,#55b8ff,#596dff,#9568ef);transition:width .24s cubic-bezier(.22,1,.36,1)}.game-renderer-frame[data-renderer-status=ready] .game-renderer-frame__iframe,.game-renderer-frame[data-renderer-status=playing] .game-renderer-frame__iframe,.game-renderer-frame[data-renderer-status=paused] .game-renderer-frame__iframe,.game-renderer-frame[data-renderer-status=completed] .game-renderer-frame__iframe{animation:game-renderer-reveal .32s cubic-bezier(.22,1,.36,1) both}@keyframes game-renderer-loading{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes game-renderer-spin{to{transform:rotate(360deg)}}@keyframes game-renderer-reveal{0%{transform:translateY(6px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes t-digit-pop-in{0%{transform:translate(calc(var(--digit-distance) * var(--digit-dir-x)),calc(var(--digit-distance) * var(--digit-dir-y)));opacity:0;filter:blur(var(--digit-blur))}to{transform:translate(0);opacity:1;filter:blur(0)}}.t-digit-group{display:inline-flex;align-items:baseline}.t-digit{display:inline-block;will-change:transform,opacity,filter}.t-digit-group.is-animating .t-digit{animation:t-digit-pop-in var(--digit-dur) var(--digit-ease) both}.t-digit-group.is-animating .t-digit[data-stagger="1"]{animation-delay:var(--digit-stagger)}.t-digit-group.is-animating .t-digit[data-stagger="2"]{animation-delay:calc(var(--digit-stagger) * 2)}@media(max-width:640px){.game-renderer-frame{border-radius:14px}}@media(prefers-reduced-motion:reduce){.game-renderer-frame__loading,.game-renderer-frame__loading-mark,.game-renderer-frame__iframe{animation:none!important}.game-renderer-frame__loading-track>span{transition:none!important}}@media(prefers-reduced-motion:reduce){.t-digit-group .t-digit{animation:none!important}}.app-shell:has(.play-page),.app-main:has(.play-page){height:100dvh;overflow:hidden}body:has(.play-page){height:100dvh;padding-bottom:0;overflow:hidden}.play-page{--play-toolbar-height: 56px;min-height:100dvh;padding:var(--play-toolbar-height) 0 0;overflow:hidden;color:#1f2b45;background:#eef3fb}.play-toolbar{position:fixed;z-index:60;inset:0 0 auto;height:var(--play-toolbar-height);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:7px clamp(10px,2vw,22px);border-bottom:1px solid rgba(67,82,125,.13);background:#fffffff0;box-shadow:0 6px 20px #2e3a5b14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.play-toolbar__identity,.play-toolbar__actions,.play-notice{display:flex;align-items:center}.play-toolbar__identity{min-width:0;gap:9px}.play-toolbar__identity strong{max-width:min(48vw,560px);overflow:hidden;color:#26324a;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.play-icon-button{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid rgba(69,83,123,.16);border-radius:11px;color:#3c4d76;background:#fff;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.play-icon-button:hover{transform:translate(-2px);border-color:#3f5fe75c;box-shadow:0 7px 18px #3d55a61c}.play-brand-mark{width:38px;height:38px;flex:0 0 38px;display:block;object-fit:contain}.play-toolbar__actions{justify-self:end;gap:7px}.play-button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;border:1px solid transparent;border-radius:11px;font-size:12px;font-weight:800;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.play-button:hover{transform:translateY(-1px)}.play-button--quiet{border-color:#45537b29;color:#3c4d76;background:#fff}.play-button--primary{color:#fff;background:linear-gradient(135deg,#607df6,#405ee4);box-shadow:0 8px 18px #3e58d733}.play-stage{width:100%;height:calc(100dvh - var(--play-toolbar-height));margin:0;overflow:hidden}.play-stage>.game-renderer-frame,.play-stage>.game-renderer-frame .game-renderer-frame__iframe{height:100%;min-height:100%}.play-stage>.game-renderer-frame{border:0;border-radius:0;box-shadow:none}.play-notice{position:fixed;z-index:80;right:24px;bottom:24px;max-width:min(520px,calc(100vw - 32px));gap:10px;padding:13px 15px;border:1px solid rgba(182,119,20,.22);border-radius:14px;color:#7d520e;background:#fff9e5f7;box-shadow:0 18px 48px #3746692e;font-size:13px;line-height:1.5;animation:play-notice-in .28s cubic-bezier(.22,1,.36,1) both}.play-notice--success{color:#176849;border-color:#16835d33;background:#eefaf5fa}.play-notice--error{color:#942f39;border-color:#be313e38;background:#fff5f6fa}.play-notice__copy{min-width:0;display:flex;flex-direction:column;gap:2px}.play-notice__copy small{color:inherit;font-size:11px;opacity:.82;overflow-wrap:anywhere}.play-notice button{flex:0 0 auto;padding:5px 8px;border:0;border-radius:8px;color:inherit;background:#ffffffb3;font-size:12px;font-weight:850;cursor:pointer}.play-page--load-error{display:grid;place-items:center;padding:42px 18px;overflow:auto}.play-load-error{width:min(100%,620px);padding:clamp(26px,5vw,42px);border:1px solid rgba(190,49,62,.16);border-radius:24px;color:#92313a;background:#fffffff2;box-shadow:0 24px 70px #37466929;text-align:center}.play-load-error>span{display:block;margin-top:10px;color:#b53d48;font-size:12px;font-weight:850;letter-spacing:.08em}.play-load-error h1{margin:6px 0 14px;color:#293552;font-size:clamp(24px,5vw,34px)}.play-load-error p{margin:8px auto;max-width:500px;color:#647089;line-height:1.65;overflow-wrap:anywhere}.play-load-error .play-button{margin-top:18px}@keyframes play-notice-in{0%{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}@media(max-width:780px){.play-toolbar{gap:7px;padding-inline:8px}.play-toolbar__identity{gap:6px}.play-toolbar__identity strong{max-width:34vw;font-size:13px}.play-toolbar__actions{gap:5px}.play-button{width:36px;min-height:36px;padding-inline:0}.play-button__label{display:none}.play-notice{right:12px;bottom:12px;left:12px}}@media(max-width:430px){.play-brand-mark{width:34px;height:34px;flex-basis:34px}.play-toolbar__identity strong{max-width:25vw}}@media(prefers-reduced-motion:reduce){.play-notice{animation:none}.play-icon-button,.play-button{transition:none}}.legal-page{position:relative;width:min(100%,1200px);margin:0 auto;padding:clamp(30px,5vw,66px) clamp(16px,3vw,28px) 88px}.legal-page:before{content:"";position:absolute;z-index:-1;top:0;left:50%;width:min(960px,96vw);height:460px;border-radius:50%;background:radial-gradient(circle,rgba(87,130,245,.17),rgba(141,187,255,.07) 48%,transparent 72%);filter:blur(16px);transform:translate(-50%)}.legal-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(250px,.43fr);align-items:center;gap:clamp(18px,3vw,30px);padding:clamp(24px,4vw,40px);border:1px solid rgba(63,111,242,.15);border-radius:28px;background:radial-gradient(circle at 96% 0,rgba(73,119,245,.14),transparent 32%),#ffffffdb;box-shadow:0 28px 72px #3052aa21,inset 0 1px #fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.legal-hero__icon{width:72px;height:72px;display:grid;place-items:center;border:1px solid rgba(63,111,242,.15);border-radius:22px;box-shadow:0 16px 34px #2f5fe424}.legal-hero__icon.is-privacy{color:#2857d2;background:linear-gradient(145deg,#eef4ff,#dce9ff)}.legal-hero__icon.is-terms{color:#7650d6;background:linear-gradient(145deg,#f7f1ff,#e9e0ff)}.legal-hero__copy{min-width:0}.legal-eyebrow{color:var(--brand-600);font-size:12px;font-weight:850;letter-spacing:.1em}.legal-hero h1{margin:7px 0 10px;color:var(--text-strong);font-size:clamp(34px,5vw,50px);line-height:1.08;letter-spacing:-.035em}.legal-hero__copy>p{max-width:640px;margin:0;color:#5d6b80;font-size:15px;line-height:1.75}.legal-meta{display:grid;gap:1px;margin:0;overflow:hidden;border:1px solid rgba(63,111,242,.11);border-radius:17px;background:#3f6ff21a}.legal-meta>div{min-width:0;display:grid;gap:3px;padding:12px 14px;background:#f9fbfff2}.legal-meta dt{color:#7a879a;font-size:10px;font-weight:750}.legal-meta dd{margin:0;overflow-wrap:anywhere;color:#30405a;font-size:12px;font-weight:800}.legal-meta a{color:var(--brand-600);text-decoration:none}.legal-meta a:hover{text-decoration:underline;text-underline-offset:3px}.legal-layout{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start;gap:22px;margin-top:22px}.legal-toc{position:sticky;top:calc(var(--header-height) + 20px);max-height:calc(100dvh - var(--header-height) - 40px);display:grid;gap:14px;padding:18px;border:1px solid rgba(63,111,242,.12);border-radius:20px;background:#ffffffc2;box-shadow:0 16px 44px #2e4e8b14;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);overflow-y:auto}.legal-toc__title{display:flex;align-items:center;gap:8px;color:#2d3e59;font-size:13px;font-weight:850}.legal-toc__title svg{color:var(--brand-600)}.legal-toc nav{display:grid;gap:2px}.legal-toc nav a{min-width:0;display:grid;grid-template-columns:25px minmax(0,1fr);gap:7px;padding:7px 8px;border-radius:9px;color:#657187;font-size:12px;line-height:1.4;text-decoration:none}.legal-toc nav a span{color:#9aa5b6;font-variant-numeric:tabular-nums}.legal-toc nav a:hover{color:var(--brand-600);background:#ebf2ffe6}.legal-contact-card{display:grid;gap:5px;padding:13px;border:1px solid rgba(63,111,242,.12);border-radius:13px;background:#f2f6ff}.legal-contact-card svg{margin-bottom:2px;color:var(--brand-600)}.legal-contact-card strong{color:#34445e;font-size:13px}.legal-contact-card p{margin:0;color:#768196;font-size:12px;line-height:1.6}.legal-contact-card a{overflow-wrap:anywhere;color:var(--brand-600);font-size:12px;font-weight:800;text-decoration:none}.legal-document{min-width:0;padding:clamp(24px,4vw,44px);border:1px solid rgba(63,111,242,.12);border-radius:24px;background:#ffffffe8;box-shadow:0 24px 70px #2f4d8c1a}.legal-section{scroll-margin-top:calc(var(--header-height) + 22px);padding:0 0 34px}.legal-section+.legal-section{padding-top:34px;border-top:1px solid rgba(63,111,242,.1)}.legal-section:last-of-type{padding-bottom:8px}.legal-section__heading{display:flex;align-items:baseline;gap:11px;margin-bottom:16px}.legal-section__heading>span{color:var(--brand-500);font-size:11px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.08em}.legal-section h2{margin:0;color:#263752;font-size:clamp(20px,3vw,25px);letter-spacing:-.015em}.legal-section>p{margin:0 0 14px;color:#5c687b;font-size:16px;line-height:1.8}.legal-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.legal-info-card{min-width:0;padding:16px;border:1px solid rgba(63,111,242,.1);border-radius:14px;background:#f7f9ff}.legal-info-card h3{margin:0 0 7px;color:#34445e;font-size:14px}.legal-info-card p{margin:0;color:#6b7688;font-size:14px;line-height:1.7}.legal-list{display:grid;gap:10px;margin:16px 0 18px;padding:0;list-style:none}.legal-list li{position:relative;padding-left:21px;color:#5c687b;font-size:16px;line-height:1.75}.legal-list li:before{content:"";position:absolute;top:.72em;left:2px;width:7px;height:7px;border-radius:50%;background:var(--brand-500);box-shadow:0 0 0 4px #3f6ff21a}.legal-note{margin:18px 0 0;padding:13px 15px;border:1px solid rgba(194,130,22,.16);border-radius:12px;color:#75500f;background:#fff9ea;font-size:14px;line-height:1.7}.legal-table-wrap{margin:18px 0;overflow-x:auto;border:1px solid rgba(63,111,242,.11);border-radius:14px;background:#fff}.legal-table-wrap table{width:100%;min-width:560px;border-collapse:collapse;color:#5a6679;font-size:14px;line-height:1.6}.legal-table-wrap th,.legal-table-wrap td{padding:12px 14px;border-bottom:1px solid rgba(63,111,242,.08);text-align:left;vertical-align:top}.legal-table-wrap thead th{color:#364762;background:#f3f6fc;font-weight:850}.legal-table-wrap tbody th{width:24%;color:#40516b;background:#fbfcff;font-weight:800}.legal-table-wrap tr:last-child th,.legal-table-wrap tr:last-child td{border-bottom:0}.legal-related{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px;padding:18px 20px;border:1px solid rgba(63,111,242,.13);border-radius:16px;background:linear-gradient(135deg,#eff4ff,#f9fbff)}.legal-related>div{display:grid;gap:3px}.legal-related span{color:#8290a5;font-size:10px;font-weight:750}.legal-related strong{color:#30415b;font-size:14px}.legal-related>a{display:inline-flex;align-items:center;gap:7px;color:var(--brand-600);font-size:13px;font-weight:850;text-decoration:none;white-space:nowrap}.legal-related>a:hover svg{transform:translate(2px)}.legal-related svg{transition:transform .16s ease}.site-footer{padding:26px clamp(20px,5vw,58px) 20px;border-top:1px solid rgba(151,177,211,.25);background:#e8f1ffb8}.site-footer__inner,.site-footer__bottom{width:min(100%,1200px);margin:0 auto}.site-footer__inner{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:28px}.site-footer__brand{display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none}.site-footer__brand img{width:36px;height:36px;object-fit:contain}.site-footer__brand>span{display:grid;gap:1px}.site-footer__brand strong{color:#243753;font-size:15px}.site-footer__brand small{color:#8390a2;font-size:10px}.site-footer__inner>p{margin:0;color:#728095;font-size:12px}.site-footer nav{display:flex;align-items:center;gap:18px}.site-footer nav a{color:#596981;font-size:12px;font-weight:700;text-decoration:none}.site-footer nav a:hover{color:var(--brand-600)}.site-footer__bottom{display:flex;justify-content:space-between;gap:20px;margin-top:18px;padding-top:13px;border-top:1px solid rgba(151,177,211,.22);color:#95a0b0;font-size:11px}.site-footer__bottom a{color:#728095;text-decoration:none}.site-footer__bottom a:hover{color:var(--brand-600);text-decoration:underline}.site-footer__bottom a:focus-visible{outline:2px solid var(--brand-600);outline-offset:4px;border-radius:2px}@media(max-width:920px){.legal-hero{grid-template-columns:auto minmax(0,1fr)}.legal-meta{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}.legal-layout{grid-template-columns:1fr}.legal-toc{position:static;max-height:none;overflow-y:visible}.legal-toc nav{display:flex;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.legal-toc nav a{flex:0 0 auto;grid-template-columns:auto auto;border:1px solid rgba(63,111,242,.1);background:#ffffffb3}.legal-contact-card{display:none}.site-footer__inner{grid-template-columns:auto 1fr}.site-footer nav{grid-column:1 / -1}}@media(max-width:700px){.legal-page{padding-top:24px;padding-bottom:72px}.legal-hero{grid-template-columns:58px minmax(0,1fr);align-items:start;border-radius:23px}.legal-hero__icon{width:58px;height:58px;border-radius:17px}.legal-hero h1{margin-top:5px}.legal-hero__copy>p{grid-column:1 / -1;font-size:13px}.legal-meta{grid-template-columns:1fr}.legal-document{padding:24px 18px;border-radius:20px}.legal-card-grid{grid-template-columns:1fr}.legal-section{scroll-margin-top:calc(var(--header-height) + 12px)}.legal-related{align-items:flex-start;flex-direction:column}.site-footer{padding-bottom:calc(var(--mobile-nav-height) + 22px)}.site-footer__inner{grid-template-columns:1fr;gap:16px}.site-footer nav{grid-column:1;flex-wrap:wrap}}@media(max-width:430px){.legal-hero{grid-template-columns:1fr}.legal-meta{grid-column:1}.legal-toc{padding:14px}.legal-document{padding-inline:15px}.legal-section__heading{align-items:flex-start}.site-footer__bottom{flex-direction:column;gap:4px}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#17212f;background:#eef5ff;font-synthesis:none;text-rendering:optimizeLegibility;--brand-600: #2f5fe4;--brand-500: #3f6ff2;--brand-100: #dfe9ff;--brand-50: #eff4ff;--brand-sun: #ffc845;--brand-sun-soft: #fff3cf;--surface: #ffffff;--surface-subtle: #f4f7fb;--border: #dbe5ef;--border-soft: #e8eef5;--text-strong: #17212f;--text: #5f6d7c;--text-muted: #8794a3;--success: #04a95c;--warning: #c98016;--danger: #e85b61;--shadow-soft: 0 18px 46px rgba(41, 77, 118, .11);--header-height: 80px;--mobile-nav-height: 62px}*{box-sizing:border-box}html{min-width:320px;background:#eef5ff}body{margin:0;min-width:320px;min-height:100vh;color:var(--text-strong);background:#eef5ff;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid rgba(63,111,242,.28);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.58}.app-shell{min-height:100vh;background:#eef5ff}.site-header{position:sticky;z-index:40;top:0;height:var(--header-height);display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(270px,1fr);align-items:center;gap:24px;padding:0 clamp(22px,4vw,52px);background:#f8fbffdb;border-bottom:1px solid rgba(197,216,237,.74);box-shadow:0 10px 32px #3057820f;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.brand-button,.nav-link,.upgrade-button,.account-button,.mobile-nav-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;cursor:pointer}.nav-link,.upgrade-button,.account-button,.login-button,.mobile-nav-link{transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.brand-button{width:fit-content;display:inline-flex;align-items:center;gap:11px;padding:0}.brand-mark{width:56px;height:56px;flex:0 0 auto;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(238,92,57,.2));transition:transform .18s ease}.brand-button:hover .brand-mark{transform:translateY(-1px) rotate(-3deg)}.brand-button:active .brand-mark{transform:translateY(1px) rotate(0)}.brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:1px;line-height:1;white-space:nowrap}.brand-copy strong{color:#1b2d50;font-family:ui-rounded,SF Pro Rounded,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:25px;font-weight:850;letter-spacing:.02em;line-height:1.05}.brand-copy small{color:#7e8e9d;font-size:11px;font-weight:700;letter-spacing:.04em}.desktop-nav{height:100%;display:flex;align-items:stretch;gap:22px}.nav-link{position:relative;min-width:78px;padding:0 4px;font-size:17px;font-weight:700;color:#4f5e6c}.nav-link:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:2px;background:transparent}.nav-link:hover,.nav-link.is-active{color:var(--brand-600)}.nav-link.is-active:after{background:var(--brand-500)}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;white-space:nowrap}.upgrade-button,.community-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 15px;border:1px solid rgba(47,95,228,.36);border-radius:12px;font-size:14px;font-weight:750;color:#fff;background:var(--brand-600);box-shadow:0 10px 24px #2f5fe433,inset 0 1px #ffffff38}.upgrade-button:hover{background:#244fc7;transform:translateY(-1px)}.upgrade-button:active{transform:translateY(1px)}.upgrade-button svg{color:var(--brand-sun)}.account-button{min-height:42px;display:inline-flex;align-items:center;gap:9px;padding:5px 11px 5px 6px;border:1px solid rgba(204,218,231,.92);border-radius:13px;color:#344454;background:#ffffffd1;box-shadow:0 8px 22px #2f4e7012,inset 0 1px #ffffffe6}.account-button:hover{border-color:#2f5fe461;background:#fff}.account-button:active{transform:translateY(1px)}.account-button img{width:30px;height:30px;border-radius:9px;object-fit:cover}.account-button span{max-width:88px;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:700;white-space:nowrap}.account-button__caret{color:#8794a3;transition:transform .16s ease}.account-button[aria-expanded=true] .account-button__caret{transform:rotate(180deg)}.account-menu{position:relative}.account-dropdown{position:absolute;z-index:80;top:calc(100% + 10px);right:0;width:min(292px,calc(100vw - 30px));display:grid;gap:3px;padding:9px;border:1px solid rgba(197,216,237,.9);border-radius:18px;background:#fffffffa;box-shadow:0 24px 60px #25446833;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.account-dropdown__identity{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;padding:8px 9px 11px}.account-dropdown__identity img{width:42px;height:42px;border-radius:12px;object-fit:cover}.account-dropdown__identity>span{min-width:0;display:grid;gap:3px}.account-dropdown__identity strong,.account-dropdown__identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-dropdown__identity strong{font-size:14px}.account-dropdown__identity small{color:var(--text-muted);font-size:11px}.account-dropdown>button{width:100%;min-height:42px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;padding:8px 10px;border:0;border-radius:11px;color:#344454;background:transparent;text-align:left;cursor:pointer}.account-dropdown>button:hover:not(:disabled),.account-dropdown>button:focus-visible{color:var(--brand-600);background:var(--brand-50)}.account-dropdown>button svg{justify-self:center}.account-dropdown__separator{height:1px;margin:5px 8px;background:var(--border-soft)}.account-dropdown>.account-dropdown__danger{color:#b83f52}.account-dropdown>.account-dropdown__danger:hover,.account-dropdown>.account-dropdown__danger:focus-visible{color:#a3293d;background:#fff1f3}.account-dropdown>p{margin:4px 8px 2px;color:#a3293d;font-size:11px;line-height:1.5}.login-button{min-width:66px;min-height:38px;padding:7px 18px;border:1px solid rgba(63,111,242,.42);border-radius:12px;color:var(--brand-600);background:#ffffffd1;cursor:pointer}.login-button:hover{color:#fff;background:var(--brand-600)}.auth-state-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 13px;border:1px solid rgba(63,111,242,.2);border-radius:12px;color:#65728a;background:#ffffffd1;font-size:12px;font-weight:750}.auth-state-button--error{color:#a3293d;border-color:#ba304633;background:#fff5f6;cursor:pointer}.auth-state-button--error:hover{border-color:#ba304661;background:#fff}.auth-state-spinner{animation:auth-session-spin .8s linear infinite}.auth-service-banner{min-height:42px;display:flex;align-items:center;justify-content:center;gap:12px;padding:9px clamp(16px,4vw,48px);border-bottom:1px solid rgba(186,48,70,.14);color:#873043;background:#fff4f6;font-size:12px;text-align:center}.auth-service-banner span{overflow-wrap:anywhere}.auth-service-banner button{flex:0 0 auto;padding:3px 7px;border:0;color:#9f2740;background:transparent;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px;cursor:pointer}@keyframes auth-session-spin{to{transform:rotate(360deg)}}.app-main{min-height:calc(100vh - var(--header-height))}.app-main--workspace{background:#fff}.draft-recovery-page{min-height:100dvh;display:grid;place-items:center;padding:92px 20px 36px;background:radial-gradient(circle at 12% 12%,rgba(91,132,255,.13),transparent 30%),linear-gradient(145deg,#f4f8ff,#f8f7ff)}.draft-recovery-card{width:min(100%,660px);display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;padding:clamp(24px,5vw,38px);border:1px solid rgba(67,91,170,.16);border-radius:22px;background:#fffffff5;box-shadow:0 24px 70px #2f417e24}.draft-recovery-card__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#9a6112;background:#fff2cf}.draft-recovery-card__eyebrow{color:var(--brand-600);font-size:12px;font-weight:800;letter-spacing:.08em}.draft-recovery-card h1{margin:6px 0 12px;color:var(--text-strong);font-size:clamp(22px,4vw,30px)}.draft-recovery-card p{margin:0 0 10px;color:var(--text);line-height:1.65;overflow-wrap:anywhere}.draft-recovery-card__detail{padding:9px 11px;border-radius:10px;color:#70480c!important;background:#fff8e8;font-size:13px}.draft-recovery-card__note{color:var(--text-muted)!important;font-size:13px}.draft-recovery-card__actions{grid-column:2;display:flex;flex-wrap:wrap;gap:9px;margin-top:4px}.draft-recovery-card .button--danger{color:#b33841;border-color:#b3384133;background:#fff5f5}@media(max-width:560px){.draft-recovery-page{padding:78px 14px 28px}.draft-recovery-card{grid-template-columns:1fr}.draft-recovery-card__actions{grid-column:1;flex-direction:column}.draft-recovery-card__actions .button{width:100%}}.mobile-nav{display:none}.subscription-overlay{position:fixed;z-index:220;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#16262675;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.subscription-modal{width:min(920px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:30px;border:1px solid rgba(255,255,255,.72);border-radius:24px;background:#f8fbff;box-shadow:0 34px 100px #1a395c47}.subscription-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:24px}.subscription-eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;color:var(--warning);font-size:13px;font-weight:800}.subscription-modal__header h2{max-width:650px;margin:0 0 9px;color:#182635;font-size:clamp(26px,4vw,36px);line-height:1.18;letter-spacing:-.025em}.subscription-modal__header p{max-width:650px;margin:0;color:var(--text);line-height:1.65}.subscription-modal__close{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;padding:0;border:1px solid var(--border-soft);border-radius:50%;color:var(--text);background:#fff;cursor:pointer}.subscription-modal__close:hover{color:var(--text-strong);background:var(--surface-subtle)}.subscription-test-mode{display:flex;align-items:center;gap:8px;margin:0 0 16px;padding:10px 12px;border:1px solid rgba(177,116,0,.2);border-radius:10px;color:#805100;background:#fff5d8;font-size:12px;font-weight:750;line-height:1.55}.subscription-test-mode>svg{flex:0 0 auto}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.plan-card{position:relative;min-height:348px;display:flex;flex-direction:column;padding:25px;border:1px solid var(--border);border-radius:18px;background:#fff}.plan-card--featured{border-color:#3f6ff280;background:#f2f6ff;box-shadow:0 16px 40px #2f5fe41f}.plan-recommend{position:absolute;top:17px;right:17px;padding:5px 9px;border-radius:999px;color:#fff;background:var(--brand-600);font-size:11px;font-weight:800}.plan-card__top{display:flex;flex-direction:column;gap:15px}.plan-name{color:#273b3c;font-size:18px;font-weight:800}.plan-price{display:flex;align-items:baseline;gap:7px}.plan-price strong{color:#183334;font-size:38px;letter-spacing:-.03em}.plan-price span{color:var(--text-muted);font-size:13px}.plan-card>p{min-height:44px;margin:13px 0 18px;color:var(--text);font-size:13px;line-height:1.65}.plan-card ul{display:grid;gap:11px;margin:0 0 24px;padding:0;list-style:none}.plan-card li{display:flex;align-items:flex-start;gap:9px;color:#4d5b5c;font-size:13px}.plan-card li svg{flex:0 0 auto;margin-top:2px;color:var(--brand-600)}.plan-card li>span{min-width:0;display:grid;gap:2px}.plan-card li strong{color:#2c3b50;font-size:13px;line-height:1.45}.plan-card li small{color:var(--text-muted);font-size:11px;line-height:1.5}.benefit-availability{width:fit-content;display:inline-flex;padding:2px 6px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.4}.benefit-availability.benefit-availability--available{color:#087847;background:#e8f8ef}.benefit-availability.benefit-availability--planned{color:#805100;background:#fff1c7}.plan-button{width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:auto;padding:10px 16px;border-radius:9px;font-weight:800;cursor:pointer}.plan-button--current{color:#788283;border:1px solid var(--border);background:var(--surface-subtle)}.plan-button--primary{color:#fff;border:1px solid var(--brand-600);background:var(--brand-600)}.plan-button--primary:hover{background:#244fc7}.checkout-spinner{animation:auth-spin .9s linear infinite}.subscription-notice{margin:15px 0 0;padding:11px 13px;border-radius:9px;color:#087847;background:#effaf4;font-size:13px}.subscription-notice--with-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.subscription-notice--with-action a,.subscription-notice--with-action button{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(8,120,71,.18);border-radius:8px;color:#087847;background:#ffffffb8;font-weight:750;text-decoration:none;cursor:pointer}.subscription-notice--with-action a:hover,.subscription-notice--with-action button:hover{background:#fff}.subscription-notice--error{color:#a52c2c;background:#fff0f0}.subscription-footnote{margin:15px 0 0;color:var(--text-muted);font-size:12px;text-align:center}.primary-button,.secondary-button,.text-button,.back-link{border:0;cursor:pointer}.primary-button,.secondary-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 22px;border-radius:7px;font-weight:700}.primary-button{color:#fff;background:var(--brand-500);border:1px solid var(--brand-500)}.primary-button:hover:not(:disabled){background:var(--brand-600);border-color:var(--brand-600)}.secondary-button{color:var(--brand-600);background:#fff;border:1px solid var(--brand-500)}.secondary-button:hover{background:var(--brand-50)}.text-button,.back-link{display:inline-flex;align-items:center;gap:6px;padding:6px;color:var(--brand-600);background:transparent}.builder-page{min-height:calc(100vh - var(--header-height));display:flex;flex-direction:column;background:#fff}.builder-toolbar{min-height:112px;display:grid;grid-template-columns:142px minmax(390px,1fr) minmax(500px,582px);align-items:center;gap:22px;padding:18px 50px 16px}.back-link{width:fit-content;font-size:15px;font-weight:600;white-space:nowrap}.builder-title{min-width:0;padding-left:46px;border-left:1px solid var(--border)}.builder-title h1{margin:0 0 6px;font-size:24px;line-height:1.25}.builder-title p{margin:0;color:var(--text-muted);font-size:14px}.builder-progress{min-width:0;display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0;list-style:none}.builder-progress li{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;color:#555d61;font-size:13px;text-align:center}.builder-progress li:not(:last-child):after{content:"";position:absolute;z-index:0;top:14px;left:calc(50% + 20px);width:calc(100% - 40px);height:1px;background:#cfd6d8}.builder-progress li.is-done:not(:last-child):after,.builder-progress li.is-active:not(:last-child):after{background:var(--brand-500)}.progress-node{position:relative;z-index:1;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;border:1px solid #cbd2d4;color:#677075;background:#fff;font-size:13px}.builder-progress li.is-active .progress-node,.builder-progress li.is-done .progress-node{border-color:var(--brand-500);color:#fff;background:var(--brand-500)}.inline-notice{position:fixed;z-index:80;top:88px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;max-width:min(92vw,620px);padding:11px 17px;border:1px solid rgba(4,169,92,.24);border-radius:8px;color:#087841;background:#f1fff8;box-shadow:var(--shadow-soft);font-size:14px}.builder-workspace{flex:1;min-height:0;display:grid;grid-template-columns:28.25% 47.05% 24.7%;border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft)}.conversation-panel,.game-draft-panel,.source-panel{min-width:0;padding:26px 24px;background:#fff}.conversation-panel{padding:26px 30px 26px 42px;border-right:1px solid var(--border-soft)}.source-panel{padding:26px 48px 26px 24px;border-left:1px solid var(--border-soft)}.panel-heading{display:flex;align-items:center;gap:7px;margin-bottom:20px}.panel-heading h2{margin:0;font-size:19px}.assistant-bubble{max-width:270px;padding:17px 16px;border:1px solid var(--border-soft);border-radius:9px;color:#363d40;background:#fff;box-shadow:0 5px 14px #14373c0f;font-size:14px;line-height:1.8}.message-time,.user-message time{display:block;margin-top:7px;color:var(--text-muted);font-size:12px}.conversation-list{display:flex;flex-direction:column;gap:32px;margin:26px 0 22px}.user-message{display:grid;grid-template-columns:48px 1fr;align-items:start;gap:16px;color:var(--brand-600)}.user-message>img{width:48px;height:48px;display:block;border-radius:50%}.user-message>div>span{color:#3e4548;font-size:13px}.user-message p{width:fit-content;margin:6px 0 0;padding:13px 20px;border-radius:7px;color:#31393c;background:var(--brand-50);font-size:14px;line-height:1.55}.requirement-summary{padding:15px 16px;border-radius:8px;background:#f4fbfb}.summary-title{display:flex;align-items:center;gap:6px;margin-bottom:19px;color:var(--brand-600);font-size:13px;font-weight:700}.requirement-summary dl{display:grid;gap:9px;margin:0}.requirement-summary dl>div{display:grid;grid-template-columns:72px 1fr;gap:7px;font-size:12px;line-height:1.5}.requirement-summary dt{font-weight:700}.requirement-summary dd{margin:0;color:#565e61}.conversation-restart{margin-top:13px;font-size:13px}.game-draft-panel{display:flex;flex-direction:column;gap:16px;padding:26px 32px 26px 18px;background:#fbfdfd}.recommendation-heading{min-height:66px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-left:13px}.recommendation-title{min-width:0;display:flex;align-items:flex-start;gap:9px;color:var(--brand-500)}.recommendation-title h2{margin:0 0 7px;color:#262d30;font-size:19px;line-height:1.35}.recommendation-title p{margin:0;color:var(--text);font-size:13px}.reason-tag{flex:0 0 auto;padding:4px 9px;border:1px solid rgba(63,111,242,.28);border-radius:999px;color:var(--brand-600);background:var(--brand-50);font-size:11px;font-weight:700}.game-preview-frame{position:relative;width:min(100%,720px);margin:7px 0 0;border:12px solid #eef3f4;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px #16353a14;background:#f7f9f9}.game-preview-frame img{display:block;width:100%;height:auto}.game-preview-frame--renderer{width:100%;margin-inline:auto;border-width:8px;border-color:#e7edfb;border-radius:18px;background:#edf3ff;box-shadow:0 18px 44px #2e4a9824}.game-preview-frame--renderer .game-renderer-frame{border:0;border-radius:10px;box-shadow:none}.question-ready-badge{z-index:3;position:absolute;right:12px;top:12px;padding:6px 10px;border-radius:999px;color:#fff;background:#029599eb;font-size:12px;font-weight:700}.game-tip{width:min(100%,720px);display:flex;align-items:flex-start;gap:9px;margin:0 auto;padding:11px 14px;border-radius:7px;color:#4a5357;background:#eef8f8;font-size:12px;line-height:1.6}.game-tip svg{flex:0 0 auto;margin-top:1px}.game-tip svg:last-child{margin-left:auto;color:var(--brand-600)}.source-panel-heading{margin-bottom:27px}.current-step-label{margin:0 0 12px;font-size:14px;font-weight:700}.current-step-label span{color:var(--text-muted);font-weight:500}.upload-zone{width:100%;min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;border:1.5px dashed var(--brand-500);border-radius:9px;color:#3f484c;background:#fff;cursor:pointer}.upload-zone:hover,.upload-zone.has-file{background:var(--brand-50)}.upload-zone>span:not(.file-icons):not(.select-file-button){color:var(--text-muted);font-size:12px;line-height:1.5}.file-icons{display:flex;align-items:center;gap:6px}.file-icons svg:first-child{color:#2f9d57}.file-icons svg:last-child{color:#2e72c5}.select-file-button{min-height:38px;display:inline-flex;align-items:center;gap:7px;margin-top:3px;padding:8px 17px;border-radius:6px;color:#fff;background:var(--brand-500);font-size:13px;font-weight:700}.source-separator{display:flex;align-items:center;gap:10px;margin:16px 0;color:var(--text-muted);font-size:12px}.source-separator:before,.source-separator:after{content:"";flex:1;height:1px;background:var(--border-soft)}.source-option{width:100%;min-height:66px;display:grid;grid-template-columns:30px 1fr 20px;align-items:center;gap:10px;margin-top:10px;padding:12px 13px;border:1px solid var(--border-soft);border-radius:8px;color:var(--brand-600);background:#fff;text-align:left;cursor:pointer}.source-option:hover{border-color:#3f6ff280;background:var(--brand-50)}.source-option span{display:flex;flex-direction:column;gap:4px;color:#31383b}.source-option small{color:var(--text-muted);font-size:12px}.import-rules{margin-top:26px;color:var(--text)}.import-rules h3{margin:0 0 10px;color:#42494c;font-size:13px}.import-rules ul{display:grid;gap:7px;margin:0;padding-left:19px;font-size:12px;line-height:1.45}.builder-actions{position:sticky;z-index:30;bottom:0;min-height:72px;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 34px;border-top:1px solid var(--border-soft);background:#fffffff7}.builder-actions .secondary-button{min-width:114px}.generate-button{min-width:220px}.builder-page--composer{padding:25px 50px 60px;background:var(--brand-50)}.requirement-composer{width:min(860px,100%);margin:72px auto 0;padding:42px;border:1px solid rgba(63,111,242,.18);border-radius:12px;background:#fff;box-shadow:var(--shadow-soft);text-align:center}.requirement-composer>svg{color:var(--brand-500)}.requirement-composer h2{margin:15px 0 9px;font-size:27px}.requirement-composer>p{margin:0 auto 28px;color:var(--text);line-height:1.7}.requirement-composer form{display:grid;gap:13px}.requirement-composer textarea{min-height:150px;resize:vertical;padding:18px;border:1.5px solid var(--brand-500);border-radius:9px;color:#333;background:#fff;font-size:16px;line-height:1.7}.requirement-composer form .primary-button{justify-self:end}.prompt-examples{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:20px;color:var(--text-muted);font-size:12px}.prompt-examples button{padding:7px 11px;border:1px solid transparent;border-radius:999px;color:var(--brand-600);background:var(--brand-50);cursor:pointer}.prompt-examples button:hover{border-color:#3f6ff252}.harness-builder-page{position:relative;width:100%;max-width:100vw;height:calc(100dvh - var(--header-height));min-height:0;overflow:hidden;background:#f7f9ff}.harness-builder-page>.inline-notice{position:absolute;top:90px}.harness-builder-toolbar{position:relative;z-index:35;top:auto;min-height:82px;grid-template-columns:auto minmax(190px,.62fr) minmax(570px,1.8fr);gap:16px;padding:10px clamp(16px,2vw,28px);border-bottom:1px solid var(--border-soft);background:#f9fbfff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:min-height .18s ease,padding .18s ease,box-shadow .18s ease}.harness-builder-toolbar .builder-title{padding-left:18px}.harness-builder-toolbar .builder-title h1{margin-bottom:2px;font-size:21px}.harness-builder-toolbar .builder-title p{font-size:12px}.harness-builder-toolbar .back-link{min-width:112px;font-size:13px}.harness-builder-toolbar.is-compact{position:sticky;top:var(--header-height);min-height:54px;padding-block:6px;box-shadow:0 12px 24px #294d7614}.harness-builder-toolbar.is-compact .builder-title h1{font-size:17px}.harness-builder-toolbar.is-compact .builder-title p{display:none}.harness-builder-toolbar.is-compact .agent-chip{min-height:32px;padding-block:4px}.harness-builder-toolbar.is-compact .agent-chip small{display:none}.harness-workspace{flex:1;min-width:0;min-height:0;grid-template-columns:minmax(360px,1.28fr) minmax(410px,1.02fr) minmax(280px,.72fr);overflow:hidden}.harness-workspace.is-draft-collapsed{grid-template-columns:minmax(420px,1.55fr) 50px minmax(280px,.82fr)}.harness-workspace.is-source-collapsed{grid-template-columns:minmax(390px,1.35fr) minmax(430px,1.08fr) 50px}.harness-workspace.is-draft-collapsed.is-source-collapsed{grid-template-columns:minmax(520px,1fr) 50px 50px}.harness-workspace>.conversation-panel,.harness-workspace>.game-draft-panel,.harness-workspace>.source-panel,.harness-workspace>.harness-collapsed-rail{min-width:0;min-height:0;max-height:none;overflow-x:hidden}.harness-panel-heading{align-items:flex-start;justify-content:space-between;margin-bottom:13px}.harness-panel-heading>div{min-width:0}.harness-panel-heading h2{margin-bottom:3px;font-size:16px}.harness-panel-heading small{color:var(--text-muted);font-size:10px;line-height:1.4}.harness-icon-button{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;padding:0;border:1px solid #dce4ee;border-radius:9px;color:#5c6a79;background:#fff;cursor:pointer}.harness-icon-button:hover:not(:disabled){border-color:#3f6ff27a;color:var(--brand-600);background:var(--brand-50)}.harness-icon-button:active:not(:disabled){transform:translateY(1px)}.harness-icon-button.is-running svg{animation:harness-spin 1s linear infinite}@keyframes harness-spin{to{transform:rotate(360deg)}}.harness-model-status{width:fit-content;display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border:1px solid #dce2e5;border-radius:999px;color:#687176;background:#f7f9fa;font-size:10px;font-weight:700}.harness-model-status>span{width:7px;height:7px;border-radius:50%;background:#a3abb0}.harness-model-status.is-online{border-color:#04a95c3d;color:#087841;background:#f1fff8}.harness-model-status.is-online>span{background:#04a95c;box-shadow:0 0 0 3px #04a95c1f}.harness-conversation-panel{display:flex;flex-direction:column;padding:0;border-right:1px solid var(--border-soft);background:#f9fbff}.harness-chat-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border-soft);background:#ffffffeb}.harness-chat-title,.harness-chat-tools{min-width:0;display:flex;align-items:center;gap:9px}.harness-chat-icon{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;color:var(--brand-600);background:var(--brand-50)}.harness-chat-title h2{margin:0;font-size:15px}.harness-chat-title small{display:block;margin-top:2px;color:var(--text-muted);font-size:9px}.harness-message-list{flex:1;min-height:0;display:flex;flex-direction:column;gap:11px;margin:0;padding:16px clamp(14px,2vw,22px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.harness-message{max-width:84%;padding:11px 13px;border:1px solid var(--border-soft);border-radius:11px 11px 11px 3px;background:#fff;box-shadow:0 4px 14px #1d34570b}.harness-message.is-teacher{align-self:flex-end;border-color:#3f6ff229;border-radius:11px 11px 3px;background:var(--brand-50)}.harness-message>span{color:var(--brand-600);font-size:11px;font-weight:800}.harness-message p{margin:4px 0 0;color:#3d4549;font-size:13px;line-height:1.58;white-space:pre-wrap}.harness-message time{display:block;margin-top:5px;color:var(--text-muted);font-size:10px}.harness-message.is-working p{display:flex;align-items:center;gap:4px;color:var(--text-muted)}.harness-message.is-working p i{width:5px;height:5px;border-radius:50%;background:var(--brand-500);animation:harness-dot 1.2s ease-in-out infinite}.harness-message.is-working p i:nth-child(2){animation-delay:.12s}.harness-message.is-working p i:nth-child(3){margin-right:4px;animation-delay:.24s}@keyframes harness-dot{50%{opacity:.32;transform:translateY(-2px)}}.harness-prompt-form{display:grid;gap:6px;margin:0;padding:10px 14px 9px;border-top:1px solid var(--border-soft);background:#fff}.harness-prompt-form>label{color:#586675;font-size:10px;font-weight:700}.harness-composer-shell{overflow:hidden;border:1px solid #cfd9e5;border-radius:13px;background:#fff;box-shadow:0 8px 22px #2c4b7012}.harness-prompt-form textarea,.harness-paste-source textarea{width:100%;resize:vertical;padding:11px 12px;border:1px solid #d7dddf;border-radius:8px;color:#30373a;background:#fff;font:inherit;font-size:12px;line-height:1.55}.harness-prompt-form textarea{min-height:68px;max-height:156px;padding:11px 12px 4px;border:0;border-radius:0;box-shadow:none}.harness-prompt-form textarea:focus,.harness-paste-source textarea:focus,.harness-question-row input:focus{outline:2px solid rgba(63,111,242,.18);border-color:var(--brand-500)}.harness-prompt-form textarea:focus{outline:0}.harness-composer-shell:focus-within{border-color:var(--brand-500);box-shadow:0 0 0 3px #3f6ff21c}.harness-composer-actions{min-height:38px;display:flex;align-items:center;gap:8px;padding:3px 6px 6px}.harness-composer-actions>span{min-width:0;flex:1;overflow:hidden;color:var(--text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.harness-attach-button,.harness-send-button{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;padding:0;border:0;border-radius:9px;cursor:pointer}.harness-attach-button{color:#667482;background:#f1f5f9}.harness-attach-button:hover:not(:disabled){color:var(--brand-600);background:var(--brand-50)}.harness-send-button{color:#fff;background:var(--brand-500)}.harness-send-button:hover:not(:disabled){background:var(--brand-600)}.harness-chat-footer{min-height:28px;display:flex;align-items:center;gap:12px;padding:5px 14px;border-top:1px solid #eef2f7;color:var(--text-muted);background:#fbfcff;font-size:9px}.harness-agent-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.agent-chip{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:5px;min-height:38px;padding:5px 6px;border:1px solid #dde2e5;border-radius:8px;color:#4e585d;background:#fff;font-size:10px;font-weight:800}.agent-chip>i{width:7px;height:7px;border-radius:50%;background:#a9b0b4}.agent-chip small{grid-column:2;overflow:hidden;color:var(--text-muted);font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.agent-chip.is-running>i{background:#e0a100;box-shadow:0 0 0 3px #e0a10021;animation:harness-pulse 1.2s ease-in-out infinite}.agent-chip.is-success{border-color:#04a95c38;background:#f4fff9}.agent-chip.is-success>i{background:#04a95c}.agent-chip.is-failed{border-color:#d7414b3d;background:#fff7f7}.agent-chip.is-failed>i{background:#d7414b}.agent-chip.is-skipped>i{background:#7d8690}.agent-chip.is-queued>i{background:#6f7f8d}.agent-chip.is-cancelled>i{background:#a56c32}@keyframes harness-pulse{50%{opacity:.35;transform:scale(.75)}}.harness-draft-panel{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;background:#f9fbff}.harness-panel-expanded{width:100%;height:100%;min-width:0;min-height:0;display:flex;flex-direction:column}.harness-panel-expanded[hidden]{display:none}.harness-product-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px 9px 15px;border-bottom:1px solid var(--border-soft);background:#fff}.harness-product-header>div:first-child{min-width:0;display:grid;gap:2px}.harness-product-header>div:first-child>span{font-size:15px;font-weight:800}.harness-product-header small{overflow:hidden;color:var(--text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.harness-product-actions{flex:0 0 auto;display:flex;align-items:center;gap:7px}.harness-enter-editor{min-height:34px;padding:6px 11px;border-radius:9px;font-size:11px}.harness-draft-scroll{flex:1;min-height:0;display:flex;flex-direction:column;gap:13px;padding:14px;overflow-y:auto;overscroll-behavior:contain}.harness-recommendation-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:0 4px}.harness-recommendation-tabs button{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d8dfe2;border-radius:999px;color:#515a5f;background:#fff;cursor:pointer;font-size:11px}.harness-recommendation-tabs button:hover,.harness-recommendation-tabs button.is-selected{border-color:var(--brand-500);color:var(--brand-600);background:var(--brand-50)}.harness-recommendation-tabs small{color:var(--text-muted);font-size:9px}.harness-preview-frame{min-height:310px;display:grid;place-items:center}.harness-preview-frame:has(.game-renderer-frame){display:block}.harness-preview-empty{min-height:292px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:24px;color:#677179;text-align:center}.harness-preview-empty svg{color:var(--brand-500)}.harness-preview-empty strong{color:#323a3e;font-size:16px}.harness-preview-empty span{max-width:340px;font-size:12px;line-height:1.6}.harness-validation-tip{width:100%}.harness-source-panel{padding:13px;overflow-y:auto;overscroll-behavior:contain;background:#fff}.harness-source-panel.is-collapsed{padding:0;overflow:hidden}.harness-source-heading{position:sticky;z-index:2;top:-13px;margin:-13px -13px 11px;padding:12px 13px 9px;border-bottom:1px solid var(--border-soft);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.harness-library-import{margin-bottom:11px;padding:10px;border:1px solid #dde7f5;border-radius:11px;background:#f7faff}.harness-library-import>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.harness-library-import>header>div{min-width:0;display:flex;align-items:center;gap:6px;color:#35485f;font-size:11px}.harness-library-import>header svg{flex:0 0 auto;color:var(--brand-500)}.harness-library-import>header>button{padding:4px;border:0;color:var(--brand-600);background:transparent;cursor:pointer;font-size:9px;font-weight:700}.harness-library-list{display:grid;gap:5px;margin-top:8px}.harness-library-list>button{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;border:1px solid #e2e9f2;border-radius:8px;color:#536274;background:#fff;text-align:left;cursor:pointer}.harness-library-list>button:hover{border-color:#3f6ff26b;background:var(--brand-50)}.harness-library-list span{min-width:0;display:grid;gap:1px}.harness-library-list strong,.harness-library-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.harness-library-list strong{color:#344354;font-size:10px}.harness-library-list small{color:var(--text-muted);font-size:8px}.harness-library-empty{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:8px;padding:10px;border:1px dashed #c8d5e7;border-radius:8px;color:#66788c;background:#fff;cursor:pointer;font-size:9px}.harness-upload-zone{min-height:132px;padding:13px}.harness-upload-zone:disabled{cursor:wait;opacity:.72}.harness-progress{width:min(190px,90%);height:7px;overflow:hidden;border-radius:999px;background:#e7ecee}.harness-progress>i{display:block;height:100%;border-radius:inherit;background:var(--brand-500);transition:width .18s ease}.harness-paste-source{display:grid;gap:8px}.harness-paste-source textarea{min-height:72px}.harness-paste-source .secondary-button{justify-self:end;min-height:35px;padding:6px 11px;font-size:11px}.harness-data-boundary{display:flex;align-items:flex-start;gap:6px;margin:10px 0 0;padding:8px 9px;border-radius:7px;color:#52636b;background:#f1f6ff;font-size:9px;line-height:1.45}.harness-data-boundary svg{flex:0 0 auto;color:var(--brand-500)}.harness-bank-result{margin-top:18px;padding-top:15px;border-top:1px solid var(--border-soft)}.harness-bank-result>header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.harness-bank-result>header>div{display:grid;gap:3px}.harness-bank-result>header strong{font-size:13px}.harness-bank-result>header small{color:var(--text-muted);font-size:10px}.bank-status{flex:0 0 auto;padding:4px 7px;border-radius:999px;color:#8a5d00;background:#fff6d8;font-size:9px;font-weight:800}.bank-status.is-ready{color:#087841;background:#eafff4}.harness-question-list{display:grid;gap:9px;max-height:300px;margin-top:12px;padding-right:4px;overflow-y:auto}.harness-question-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:7px 9px;padding:9px;border:1px solid #e0e5e7;border-left:3px solid #e0a100;border-radius:8px;background:#fff}.harness-question-row.is-ready{border-left-color:#04a95c}.harness-question-row.is-failed{border-left-color:#d7414b}.harness-question-status{grid-row:1 / span 2;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.harness-question-status span{color:#5f5200;font-size:10px;font-weight:800}.harness-question-row.is-ready .harness-question-status span{color:#087841}.harness-question-row.is-failed .harness-question-status span{color:#a1232c}.harness-question-status small{color:var(--text-muted);font-size:8px;overflow-wrap:anywhere}.harness-question-row label{min-width:0;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:5px;color:#667075;font-size:9px}.harness-question-row input{min-width:0;width:100%;padding:6px 7px;border:1px solid #dce1e3;border-radius:5px;color:#333b3f;font-size:10px}.harness-question-row p{grid-column:2;display:flex;align-items:flex-start;gap:4px;margin:0;color:#835d00;font-size:9px;line-height:1.4}.harness-question-row p svg{flex:0 0 auto}.harness-more-questions,.harness-bank-warning{margin:10px 0 0;color:var(--text-muted);font-size:10px;line-height:1.5}.harness-bank-warning{display:flex;align-items:flex-start;gap:5px;color:#8a5d00}.harness-bank-warning svg{flex:0 0 auto}.harness-confirm-bank{width:100%;margin-top:12px;min-height:39px}.harness-collapsed-rail{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:15px 8px;border:0;border-left:1px solid var(--border-soft);border-right:1px solid var(--border-soft);color:#53657a;background:#f7faff;cursor:pointer}.harness-collapsed-rail:hover{color:var(--brand-600);background:var(--brand-50)}.harness-collapsed-rail span{writing-mode:vertical-rl;letter-spacing:.08em;font-size:11px;font-weight:800}.harness-error-notice{border-color:#d7414b40;color:#a1232c;background:#fff5f5}@media(min-width:1161px){.desktop-nav{transform:translate(-20px)}}@media(max-width:1160px){.site-header{grid-template-columns:auto 1fr auto;padding-inline:24px;gap:18px}.desktop-nav{justify-content:center;gap:14px}.header-actions{gap:9px;padding-right:0}.community-link{display:none}.builder-toolbar{grid-template-columns:165px minmax(260px,1fr) minmax(430px,1.7fr);padding-inline:24px}.builder-title{padding-left:26px}.builder-workspace{grid-template-columns:280px minmax(460px,1.5fr) 290px}.conversation-panel,.game-draft-panel,.source-panel{padding:22px 18px}.harness-builder-toolbar{grid-template-columns:auto minmax(155px,.45fr) minmax(520px,1.55fr);padding-inline:14px}.harness-builder-toolbar .back-link{min-width:42px}.harness-builder-toolbar .back-link span{display:none}.harness-builder-toolbar .builder-title{padding-left:13px}.harness-workspace{grid-template-columns:minmax(320px,1.25fr) minmax(380px,1fr) minmax(260px,.72fr)}.harness-workspace.is-draft-collapsed{grid-template-columns:minmax(390px,1.5fr) 48px minmax(270px,.82fr)}.harness-workspace.is-source-collapsed{grid-template-columns:minmax(350px,1.3fr) minmax(390px,1fr) 48px}.harness-workspace.is-draft-collapsed.is-source-collapsed{grid-template-columns:minmax(470px,1fr) 48px 48px}.harness-conversation-panel,.harness-draft-panel{padding:0}.harness-source-panel{padding:13px}.harness-agent-strip{grid-template-columns:repeat(6,minmax(0,1fr))}.agent-chip{font-size:9px}}@media(max-width:980px){.harness-builder-page{height:auto;min-height:calc(100dvh - var(--header-height));overflow:visible}.harness-builder-page>.inline-notice{top:128px}.harness-builder-toolbar{grid-template-columns:auto minmax(0,1fr);min-height:72px}.harness-builder-toolbar .harness-agent-strip{grid-column:1 / -1}.harness-builder-toolbar.is-compact{min-height:50px;grid-template-columns:auto minmax(0,1fr)}.harness-builder-toolbar.is-compact .harness-agent-strip{grid-column:2}.harness-builder-toolbar.is-compact .builder-title{display:none}.harness-workspace,.harness-workspace.is-draft-collapsed,.harness-workspace.is-source-collapsed,.harness-workspace.is-draft-collapsed.is-source-collapsed{display:flex;flex-direction:column;overflow:visible}.harness-workspace>.conversation-panel,.harness-workspace>.game-draft-panel,.harness-workspace>.source-panel{width:100%;max-height:none;overflow-x:hidden}.harness-conversation-panel{min-height:min(690px,calc(100dvh - var(--header-height) - 72px))}.harness-draft-panel{min-height:560px}.harness-source-panel{min-height:0}.harness-collapsed-rail{width:100%;height:48px;flex-direction:row;justify-content:center;padding:8px 12px;border:0;border-bottom:1px solid var(--border-soft)}.harness-collapsed-rail span{writing-mode:horizontal-tb;letter-spacing:0}}@media(max-width:980px)and (min-width:841px){.brand-mark{width:46px;height:46px}.brand-copy strong{font-size:23px}.brand-copy small{display:none}.account-button{width:42px;height:42px;justify-content:center;padding:5px}.account-button span{display:none}}@media(max-width:840px){:root{--header-height: 70px}body{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom))}.site-header{position:sticky;grid-template-columns:1fr auto;gap:12px;padding:0 15px}.brand-mark{width:44px;height:44px}.brand-copy strong{font-size:23px}.brand-copy small,.desktop-nav,.upgrade-button,.community-link{display:none}.login-button{min-width:58px;min-height:35px;padding:6px 13px}.auth-state-button{min-height:35px;padding-inline:10px}.account-button{width:42px;height:42px;justify-content:center;padding:5px}.account-button img{width:30px;height:30px}.account-button span{display:none}.subscription-overlay{align-items:end;padding:12px 12px calc(12px + var(--mobile-nav-height))}.subscription-modal{max-height:calc(100dvh - var(--mobile-nav-height) - 24px);padding:22px 17px;border-radius:20px 20px 12px 12px}.subscription-modal__header{gap:14px}.subscription-modal__header h2{font-size:26px}.plan-grid{grid-template-columns:1fr}.plan-card{min-height:0}.subscription-notice--with-action{align-items:stretch;flex-direction:column}.mobile-nav{position:fixed;z-index:100;left:0;right:0;bottom:0;min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);padding:6px 6px env(safe-area-inset-bottom);border-top:1px solid var(--border);background:#fffffffa;box-shadow:0 -6px 18px #14373c0d}.mobile-nav-link{min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#666e72;font-size:11px}.mobile-nav-link.is-active{color:var(--brand-600)}.builder-page{min-height:auto}.builder-toolbar{display:grid;grid-template-columns:1fr;gap:12px;padding:15px}.builder-title{padding:0;border:0}.builder-title h1{font-size:22px}.builder-progress{margin-top:3px}.builder-progress li{font-size:10px}.builder-workspace{display:flex;flex-direction:column}.harness-workspace{min-height:0}.harness-workspace>.conversation-panel,.harness-workspace>.game-draft-panel,.harness-workspace>.source-panel{max-height:none;overflow-y:visible}.harness-builder-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;padding:8px 12px}.harness-builder-toolbar .builder-title{padding:0 0 0 10px;border-left:1px solid var(--border)}.harness-builder-toolbar .harness-agent-strip{grid-column:1 / -1}.harness-builder-toolbar.is-compact{grid-template-columns:auto minmax(0,1fr)}.harness-builder-toolbar.is-compact .harness-agent-strip{grid-column:2}.conversation-panel,.game-draft-panel,.source-panel{padding:20px 15px;border:0;border-bottom:1px solid var(--border-soft)}.conversation-panel{order:1}.game-draft-panel{order:2;background:#fff}.source-panel{order:3}.harness-conversation-panel,.harness-draft-panel{padding:0}.harness-source-panel{padding:13px}.conversation-list{display:grid;grid-template-columns:1fr}.game-preview-frame{width:100%;border-width:8px}.upload-zone{min-height:210px}.builder-actions{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));justify-content:stretch;padding:10px 15px}.builder-actions .secondary-button{flex:0 0 92px;min-width:0}.builder-actions .primary-button{flex:1;min-width:0}.harness-builder-actions{flex-wrap:wrap}.harness-session-actions{width:100%}.harness-preview-frame{min-height:330px}.harness-preview-empty{min-height:310px}.builder-page--composer{padding:18px 15px 50px}.requirement-composer{margin-top:25px;padding:25px 18px}.requirement-composer h2{font-size:23px}.requirement-composer form .primary-button{width:100%}}@media(max-width:430px){.auth-service-banner{align-items:flex-start;justify-content:space-between;text-align:left}.auth-state-button{max-width:100px}}@media(max-width:430px){.builder-progress li:not(:last-child):after{left:calc(50% + 17px);width:calc(100% - 34px)}.progress-node{width:26px;height:26px}.recommendation-heading{flex-direction:column;min-height:0}.assistant-bubble{max-width:100%}.requirement-summary dl>div{grid-template-columns:68px 1fr}.harness-agent-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-chip small{display:none}.harness-question-row{grid-template-columns:44px minmax(0,1fr)}.harness-builder-actions>.secondary-button,.harness-builder-actions>.primary-button{width:100%;flex:1 0 100%}.harness-session-actions{align-items:flex-start;flex-direction:column;gap:3px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root{--panel-open-dur: .4s;--panel-close-dur: .35s;--panel-translate-y: 100px;--panel-blur: 2px;--panel-ease: cubic-bezier(.22, 1, .36, 1)}.t-panel-slide{transform:translateY(var(--panel-translate-y));opacity:0;filter:blur(var(--panel-blur));pointer-events:none;transition:transform var(--panel-close-dur) var(--panel-ease),opacity var(--panel-close-dur) var(--panel-ease),filter var(--panel-close-dur) var(--panel-ease);will-change:transform,opacity,filter}.t-panel-slide[data-open=true]{transform:translateY(0);opacity:1;filter:blur(0);pointer-events:auto;transition:transform var(--panel-open-dur) var(--panel-ease),opacity var(--panel-open-dur) var(--panel-ease),filter var(--panel-open-dur) var(--panel-ease)}@media(prefers-reduced-motion:reduce){.t-panel-slide{transition:none!important}}.harness-builder-page{height:calc(100dvh - var(--header-height));background:radial-gradient(circle at 12% 8%,rgba(104,136,255,.08),transparent 32%),#f5f7fb}.harness-builder-page>.inline-notice{top:68px}.harness-builder-toolbar{min-height:58px;display:flex;align-items:center;gap:14px;padding:8px clamp(16px,2.5vw,34px);border-bottom:1px solid #e4eaf2;background:#ffffffe6;box-shadow:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.harness-builder-toolbar .back-link{min-width:0;min-height:36px;padding:7px 10px;border:1px solid #dbe3ed;border-radius:10px;color:#526275;background:#fff;font-size:12px}.harness-builder-toolbar .back-link:hover{border-color:#3f6ff26b;color:var(--brand-600);background:var(--brand-50)}.harness-builder-toolbar .builder-title{display:flex;align-items:baseline;gap:10px;padding:0;border:0}.harness-builder-toolbar .builder-title h1{margin:0;font-size:17px}.harness-builder-toolbar .builder-title p{margin:0;font-size:11px}.harness-workspace{width:min(100%,1320px);flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,820px);justify-content:center;gap:16px;margin:0 auto;padding:16px clamp(16px,2.5vw,32px) 20px;overflow:hidden;border:0;background:transparent}.harness-workspace.has-context{grid-template-columns:minmax(390px,.95fr) minmax(430px,.9fr);justify-content:stretch}.harness-workspace>.harness-conversation-panel,.harness-context-dock{min-width:0;min-height:0;overflow:hidden;border:1px solid #dfe6ef;border-radius:16px;background:#fff;box-shadow:0 18px 48px #324a6c17}.harness-conversation-panel{height:100%;padding:0;border-right:1px solid #dfe6ef;background:#fff}.harness-chat-header{min-height:64px;padding:10px 12px 10px 16px;background:#fffffff5}.harness-chat-tools{justify-content:flex-end}.harness-context-switcher{display:inline-flex;align-items:center;gap:4px;padding:3px;border-radius:10px;background:#f1f4f8}.harness-context-switcher button{min-height:29px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:0;border-radius:8px;color:#5d6b7a;background:transparent;cursor:pointer;font-size:10px;font-weight:750}.harness-context-switcher button:hover,.harness-context-switcher button.is-active{color:var(--brand-600);background:#fff;box-shadow:0 2px 8px #3045601a}.harness-conversation-panel>.harness-agent-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:7px 12px;border-bottom:1px solid #e8edf4;background:#fbfcfe}.harness-conversation-panel>.harness-agent-strip .agent-chip{min-height:31px;padding:4px 5px;font-size:9px}.harness-message-list{padding:22px clamp(16px,3vw,30px);background:linear-gradient(180deg,#fbfcff,#fff 35%)}.harness-message{max-width:min(82%,610px);border-radius:14px 14px 14px 4px}.harness-message.is-teacher{border-radius:14px 14px 4px}.harness-prompt-form{padding:12px 14px 14px}.harness-prompt-form>label{padding-left:3px}.harness-composer-shell{border-radius:14px;box-shadow:0 10px 30px #2c4b7014}.harness-context-dock{--panel-translate-y: 16px;height:100%}.harness-context-dock[data-open=false]{display:none}.harness-context-dock>.harness-draft-panel,.harness-context-dock>.harness-source-panel{width:100%;height:100%;min-width:0;min-height:0;border:0}.harness-product-header,.harness-source-heading{min-height:64px}.harness-product-header{padding-inline:16px 12px}.harness-source-panel{padding:14px}.harness-source-heading{top:-14px;margin:-14px -14px 12px;padding:12px 14px 10px}.harness-draft-scroll{padding:16px}.harness-chat-footer,.harness-collapsed-rail{display:none}@media(max-width:980px){.harness-builder-page{height:auto;min-height:calc(100dvh - var(--header-height));overflow:visible}.harness-builder-page>.inline-notice{top:62px}.harness-builder-toolbar{min-height:56px;display:flex;padding:8px 14px}.harness-builder-toolbar .builder-title{display:flex}.harness-workspace,.harness-workspace.has-context{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px;overflow:visible}.harness-conversation-panel{min-height:min(680px,calc(100dvh - var(--header-height) - 80px));max-height:none;overflow:hidden}.harness-context-dock{min-height:620px;max-height:none}.harness-workspace>.conversation-panel,.harness-workspace>.harness-context-dock{width:100%}}@media(max-width:620px){.harness-builder-toolbar .builder-title p,.harness-model-status{display:none}.harness-builder-toolbar .back-link span{display:inline}.harness-chat-header{align-items:flex-start;flex-wrap:wrap}.harness-chat-tools{width:100%}.harness-context-switcher{flex:1}.harness-context-switcher button{flex:1;justify-content:center}.harness-conversation-panel>.harness-agent-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.harness-message{max-width:92%}.harness-context-dock{min-height:680px}}.app-main--workspace .harness-builder-page{height:100dvh}.app-main--workspace .harness-builder-toolbar .back-link span{display:inline}@media(max-width:980px){.app-main--workspace .harness-builder-page{min-height:100dvh}.app-main--workspace .harness-conversation-panel{min-height:min(680px,calc(100dvh - 80px))}}.harness-builder-page.is-starter{height:100dvh;min-height:620px;overflow:hidden;background:radial-gradient(circle at 18% 8%,rgba(63,111,242,.1),transparent 30%),radial-gradient(circle at 82% 20%,rgba(255,200,69,.14),transparent 25%),linear-gradient(180deg,#f8fbff,#f3f7fc)}.harness-starter{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}.harness-starter-inner{position:relative;width:min(100% - 48px,1080px);min-height:100%;display:flex;flex-direction:column;align-items:stretch;margin:0 auto;padding:clamp(28px,5vh,54px) 0 30px}.harness-starter-back{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:clamp(28px,5vh,54px);left:0;min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid rgba(129,150,176,.32);border-radius:13px;color:#53657a;background:#ffffffd1;box-shadow:0 8px 22px #2b466c12;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;font-size:13px;font-weight:750;transition:color .18s ease,border-color .18s ease,background-color .18s ease,transform .18s ease}.harness-starter-back:hover{border-color:#3f6ff26b;color:var(--brand-600);background:#fffffff5;transform:translate(-2px)}.harness-starter-brand{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:fit-content;display:inline-flex;align-items:center;align-self:center;gap:14px;margin-bottom:clamp(20px,3vh,30px);padding:2px 10px;border:0;border-radius:20px;color:#1b2d50;background:transparent;cursor:pointer}.harness-starter-brand img{width:clamp(72px,7vw,90px);height:clamp(72px,7vw,90px);object-fit:contain;filter:drop-shadow(0 13px 18px rgba(238,92,57,.2));transition:transform .18s ease}.harness-starter-brand:hover img{transform:translateY(-2px) rotate(-2deg)}.harness-starter-brand:active img{transform:translateY(0)}.harness-starter-brand>span{display:grid;justify-items:start;gap:4px;text-align:left}.harness-starter-brand strong{font-family:ui-rounded,SF Pro Rounded,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:clamp(26px,3vw,34px);font-weight:900;letter-spacing:.02em;line-height:1}.harness-starter-brand small{color:#74849a;font-size:12px;font-weight:750;letter-spacing:.08em}.harness-starter-composer{width:min(100%,980px);display:block;align-self:center;padding:0;border:0;background:transparent}.harness-starter-composer>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.harness-starter-composer .harness-composer-shell{min-height:180px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(120,143,172,.32);border-radius:26px;background:#fffffff7;box-shadow:0 22px 60px #2b466c1f,0 2px 8px #2b466c0d}.harness-starter-composer .harness-composer-shell:focus-within{border-color:#3f6ff2b8;box-shadow:0 0 0 4px #3f6ff21a,0 24px 64px #2b466c24}.harness-starter-composer textarea{min-height:118px;max-height:250px;flex:1;padding:22px 24px 10px;color:#24344b;font-size:18px;line-height:1.55;resize:none}.harness-starter-composer textarea::placeholder{color:#9aa6b5}.harness-starter-composer .harness-composer-actions{min-height:58px;gap:10px;padding:6px 10px 10px}.harness-starter-composer .harness-composer-actions>span{color:#78879a;font-size:10px}.harness-starter-composer-right{display:inline-flex;align-items:center;gap:8px}.harness-starter-attach-action,.harness-starter-library-action{width:auto;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid transparent;border-radius:13px;font-size:13px;font-weight:750}.harness-starter-attach-action{background:#f3f6fa}.harness-starter-library-action{color:#38516e;border-color:#dde5ee;background:#fff}.harness-starter-library-action:hover:not(:disabled){border-color:#3f6ff259;color:var(--brand-600);background:var(--brand-50)}.harness-starter-composer .harness-send-button{width:44px;height:44px;border-radius:14px;box-shadow:0 8px 18px #2f5fe43d}.harness-starter-templates{width:min(100%,1040px);align-self:center;margin-top:clamp(26px,4vh,38px)}.harness-starter-templates>header{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:13px;padding:0 2px}.harness-starter-templates h2{margin:0;color:#253751;font-size:17px;font-weight:850}.harness-starter-template-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,calc((100% - 32px) / 3));gap:16px;overflow-x:auto;padding:3px 3px 14px;scroll-padding-inline:3px;scroll-snap-type:x proximity;scrollbar-color:#c8d4e2 transparent;scrollbar-width:thin}.harness-starter-template{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;display:grid;gap:10px;padding:0;border:0;border-radius:19px;color:#253751;background:transparent;text-align:left;cursor:pointer;scroll-snap-align:start}.harness-starter-template-cover{position:relative;aspect-ratio:3 / 2;display:block;overflow:hidden;border:1px solid rgba(122,144,170,.25);border-radius:18px;background:#fff;box-shadow:0 12px 28px #2a446614;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.harness-starter-template-cover img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .24s ease}.harness-starter-template:first-child .harness-starter-template-cover{background:radial-gradient(circle at 24% 24%,rgba(255,200,69,.34),transparent 34%),radial-gradient(circle at 78% 76%,rgba(63,111,242,.2),transparent 38%),#f8fbff}.harness-starter-template:first-child .harness-starter-template-cover img{object-fit:contain;padding:20px}.harness-starter-template:hover .harness-starter-template-cover{transform:translateY(-2px);border-color:#3f6ff26b;box-shadow:0 16px 34px #2a446621}.harness-starter-template:hover .harness-starter-template-cover img{transform:scale(1.018)}.harness-starter-template.is-selected .harness-starter-template-cover{border-color:var(--brand-500);box-shadow:0 0 0 3px #3f6ff221,0 16px 34px #2a446621}.harness-starter-template-copy{min-width:0;padding:0 3px 2px}.harness-starter-template-copy strong{overflow:hidden;font-size:16px;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}@media(max-width:980px){.harness-builder-page.is-starter{height:100dvh;min-height:560px;overflow:hidden}.harness-starter-inner{width:min(100% - 48px,920px);padding-top:24px}.harness-starter-brand{margin-bottom:20px}.harness-starter-brand img{width:78px;height:78px}.harness-starter-brand strong{font-size:30px}.harness-starter-composer .harness-composer-shell{min-height:168px;border-radius:22px}.harness-starter-composer textarea{min-height:108px;padding:18px 20px 8px;font-size:16px}.harness-starter-template-track{grid-auto-columns:calc((100% - 24px) / 3);gap:12px}}@media(max-width:620px){.harness-starter-inner{width:min(100% - 28px,560px);padding:18px 0 24px}.harness-starter-back{position:static;align-self:flex-start;min-height:40px;margin-bottom:10px;padding:7px 10px}.harness-starter-brand{gap:10px;padding:0 6px}.harness-starter-brand{margin-bottom:16px}.harness-starter-brand img{width:64px;height:64px}.harness-starter-brand strong{font-size:25px}.harness-starter-brand small{font-size:10px}.harness-starter-composer .harness-composer-shell{min-height:164px;border-radius:20px}.harness-starter-composer textarea{min-height:106px;padding:17px 16px 6px;font-size:15px}.harness-starter-composer .harness-composer-actions{gap:6px;padding:5px 7px 8px}.harness-starter-composer .harness-composer-actions>span{display:none}.harness-starter-attach-action,.harness-starter-library-action{gap:5px;padding:0 9px;font-size:12px}.harness-starter-templates{margin-top:24px}.harness-starter-templates>header{align-items:flex-start;margin-bottom:11px}.harness-starter-template-track{grid-auto-columns:minmax(220px,80%)}}@media(max-width:390px){.harness-starter-action-label{font-size:0}.harness-starter-attach-action .harness-starter-action-label:after{content:"附件";font-size:12px}.harness-starter-library-action .harness-starter-action-label:after{content:"题库";font-size:12px}}.page{width:min(100%,1200px);margin:0 auto;padding:48px 28px 80px;color:var(--text-strong)}.page h1,.page h2,.page h3,.page p{margin-top:0}.page button,.modal-layer button{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 18px;border:1px solid transparent;border-radius:8px;font-weight:700;line-height:1.2;white-space:nowrap;transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.button--large{min-height:50px;padding-inline:22px;font-size:15px}.button--primary{color:#fff;background:var(--brand-500);border-color:var(--brand-500)}.button--primary:hover:not(:disabled){background:var(--brand-600);border-color:var(--brand-600)}.button--secondary{color:var(--brand-600);background:var(--surface);border-color:#3f6ff28c}.button--secondary:hover:not(:disabled){background:var(--brand-50);border-color:var(--brand-500)}.button--quiet{color:var(--text);background:var(--surface);border-color:var(--border)}.button--quiet:hover:not(:disabled){color:var(--brand-600);background:var(--brand-50);border-color:#3f6ff266}.page .text-button,.modal-layer .text-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 2px;border:0;color:var(--brand-600);background:transparent;font-weight:700;text-decoration:none}.page .text-button:hover,.modal-layer .text-button:hover{color:var(--brand-500)}.page .text-button--danger{color:var(--danger)}.icon-button{width:38px;height:38px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:8px;color:var(--text);background:transparent}.icon-button:hover:not(:disabled){color:var(--brand-600);background:var(--brand-50);border-color:var(--border-soft)}.page-title,.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}.page-title{margin-bottom:30px}.page-title__copy,.section-heading__copy{min-width:0}.page-title__eyebrow,.section-heading__eyebrow{margin-bottom:8px;color:var(--brand-600);font-size:13px;font-weight:800;letter-spacing:.08em}.page-title h1{margin-bottom:10px;font-size:clamp(28px,3.2vw,40px);line-height:1.18;letter-spacing:-.02em}.page-title__copy>p:last-child,.section-heading__copy>p:last-child{max-width:720px;margin-bottom:0;color:var(--text);line-height:1.7}.page-title__actions,.section-heading__action{flex:0 0 auto;display:flex;align-items:center;gap:10px}.section-heading{margin-bottom:22px}.section-heading h2{margin-bottom:7px;font-size:clamp(23px,2.6vw,31px);line-height:1.25}.status-pill{width:fit-content;display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border:1px solid var(--border-soft);border-radius:999px;color:var(--text);background:var(--surface-subtle);font-size:12px;font-weight:700;line-height:1.2}.status-pill--brand{color:var(--brand-600);background:var(--brand-50);border-color:#3f6ff238}.status-pill--success{color:#087d46;background:#effaf4;border-color:#04a95c33}.template-visual{min-height:188px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--brand-600);background:var(--brand-50);border-bottom:1px solid var(--border-soft)}.template-visual img{width:100%;height:100%;display:block;object-fit:cover}.template-visual__fallback{position:relative;z-index:1;display:grid;justify-items:center;gap:10px}.template-visual__fallback:before,.template-visual__fallback:after{position:absolute;z-index:-1;width:96px;height:96px;border:1px solid currentColor;border-radius:28px;content:"";opacity:.08;transform:rotate(24deg)}.template-visual__fallback:before{right:58px;bottom:10px}.template-visual__fallback:after{top:12px;left:60px;transform:rotate(-17deg)}.template-visual__fallback>strong{font-size:13px;letter-spacing:.04em}.template-visual__icon{width:74px;height:74px;display:grid;place-items:center;border:1px solid rgba(63,111,242,.16);border-radius:18px;background:#ffffffb8}.template-visual__meta{position:absolute;left:14px;right:14px;bottom:12px;display:flex;justify-content:space-between;gap:10px;color:#233436b3;font-size:11px;font-weight:700}.template-visual--compact{min-height:88px;width:96px;flex:0 0 96px;border:0;border-radius:9px}.template-visual--compact .template-visual__fallback{gap:0}.template-visual--compact .template-visual__fallback:before,.template-visual--compact .template-visual__fallback:after{display:none}.template-visual--compact .template-visual__icon{width:48px;height:48px;border-radius:12px}.template-visual--blue,.template-visual--cyan{color:#2773a9;background:#eef7fc}.template-visual--orange,.template-visual--yellow{color:#ae7516;background:#fff8e9}.template-visual--rose,.template-visual--red{color:#b65765;background:#fff2f4}.template-visual--green{color:#29815a;background:#edf9f3}.template-visual--violet,.template-visual--indigo{color:#6660ad;background:#f3f2fc}.search-field{min-width:220px;min-height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--text-muted);background:var(--surface)}.search-field:focus-within{border-color:var(--brand-500);box-shadow:0 0 0 3px #3f6ff21a}.search-field input{min-width:0;flex:1;padding:9px 0;border:0;outline:0;color:var(--text-strong);background:transparent}.search-field button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;color:var(--text-muted);background:transparent}.select-field{min-height:42px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--border);border-radius:8px;color:var(--text-muted);background:var(--surface);white-space:nowrap}.select-field select{min-width:92px;padding:9px 0;border:0;outline:0;color:var(--text);background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.filter-chips button{min-height:36px;padding:7px 13px;border:1px solid transparent;border-radius:999px;color:var(--text);background:transparent;font-size:13px}.filter-chips button:hover{background:var(--surface-subtle)}.filter-chips button.is-active{color:var(--brand-600);background:var(--brand-50);border-color:#3f6ff23d;font-weight:700}.empty-state{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:38px 20px;border:1px dashed var(--border);border-radius:12px;color:var(--text-muted);background:var(--surface);text-align:center}.empty-state h3{margin:6px 0 0;color:var(--text-strong)}.empty-state p{max-width:440px;margin-bottom:10px;color:var(--text)}.modal-layer{position:fixed;z-index:200;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#1d272970}.modal-card{width:min(100%,600px);max-height:min(86vh,820px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-soft);border-radius:14px;background:var(--surface);box-shadow:0 22px 60px #16303433}.modal-card--wide{width:min(100%,860px)}.modal-card__header,.modal-card__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 22px}.modal-card__header{border-bottom:1px solid var(--border-soft)}.modal-card__header h2{margin:0 0 4px;font-size:21px}.modal-card__header p{margin:0;color:var(--text);font-size:13px}.modal-card__body{min-height:0;overflow:auto;padding:22px}.modal-card__footer{justify-content:flex-end;border-top:1px solid var(--border-soft)}.work-preview,.template-preview{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr);gap:24px}.work-preview>.template-visual,.template-preview>.template-visual{min-height:300px;border:1px solid var(--border-soft);border-radius:11px}.work-preview__content{align-self:center}.work-preview__content h3{margin:14px 0 8px;line-height:1.45}.work-preview__content p{color:var(--text);line-height:1.7}.work-preview__stats{display:flex;flex-wrap:wrap;gap:14px;color:var(--text);font-size:13px}.work-preview__stats span{display:inline-flex;align-items:center;gap:5px}.template-preview__details{display:grid;gap:22px;align-content:start}.template-preview__summary h3,.template-preview__questions h3{margin-bottom:8px;font-size:16px}.template-preview__summary p{color:var(--text);line-height:1.65}.template-preview__summary dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 0}.template-preview__summary dl>div{padding:10px;border-radius:8px;background:var(--surface-subtle)}.template-preview__summary dt{color:var(--text-muted);font-size:11px}.template-preview__summary dd{margin:4px 0 0;font-size:13px;font-weight:700}.template-preview__questions ol{display:grid;gap:8px;margin:0;padding-left:22px;color:var(--text);line-height:1.55}.home-hero{min-height:500px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:clamp(34px,6vw,76px);padding:clamp(36px,6vw,68px);border:1px solid rgba(63,111,242,.16);border-radius:18px;background:var(--brand-50)}.home-hero__copy{min-width:0}.home-hero__eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:16px;color:var(--brand-600);font-size:14px;font-weight:800}.home-hero h1{max-width:650px;margin-bottom:18px;font-size:clamp(36px,4.4vw,58px);line-height:1.12;letter-spacing:-.035em}.home-hero__copy>p:not(.home-hero__eyebrow){max-width:620px;margin-bottom:26px;color:var(--text);font-size:17px;line-height:1.75}.home-hero__actions{display:flex;flex-wrap:wrap;gap:10px}.home-hero__proof{display:flex;flex-wrap:wrap;gap:15px 22px;margin:24px 0 0;padding:0;color:var(--text);list-style:none;font-size:13px}.home-hero__proof li{display:inline-flex;align-items:center;gap:6px}.home-hero__proof svg{color:var(--success)}.ai-demo-card{padding:20px;border:1px solid var(--border-soft);border-radius:15px;background:var(--surface);box-shadow:var(--shadow-soft)}.ai-demo-card__header{display:flex;align-items:center;gap:10px;margin-bottom:18px}.ai-demo-card__avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;color:var(--brand-600);background:var(--brand-100)}.ai-demo-card__header>div{display:flex;flex-direction:column;gap:3px}.ai-demo-card__header span:last-child{color:var(--text-muted);font-size:11px}.ai-demo-card__message{margin-left:42px;padding:13px 15px;border-radius:11px 11px 3px;color:#315154;background:var(--brand-50);font-size:13px;line-height:1.6}.ai-demo-card__result{display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:11px;margin:17px 0;padding:14px;border:1px solid rgba(63,111,242,.22);border-radius:10px}.ai-demo-card__result-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:9px;color:var(--brand-600);background:var(--brand-50)}.ai-demo-card__result>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.ai-demo-card__result span,.ai-demo-card__result small{color:var(--text-muted);font-size:11px}.ai-demo-card__result>svg{color:var(--success)}.ai-demo-card__prompt{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border:1px solid var(--border);border-radius:9px;color:var(--text-muted);background:var(--surface-subtle);text-align:left}.ai-demo-card__prompt:hover{color:var(--brand-600);border-color:var(--brand-500);background:var(--brand-50)}.home-section{padding-top:64px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-grid--featured{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-template-card{min-width:0;display:flex;gap:16px;padding:15px;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface);transition:border-color .16s ease,box-shadow .16s ease}.mini-template-card:hover{border-color:#3f6ff25c;box-shadow:var(--shadow-soft)}.mini-template-card__body{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.mini-template-card__body>span{color:var(--text-muted);font-size:11px}.mini-template-card h3{margin:5px 0 6px;font-size:17px}.mini-template-card p{margin-bottom:5px;color:var(--text);font-size:12px;line-height:1.55}.home-section--recent{padding-bottom:10px}.recent-work-list{overflow:hidden;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface)}.recent-work-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto 150px 38px;align-items:center;gap:15px;padding:14px 16px;border-bottom:1px solid var(--border-soft)}.recent-work-row:last-child{border-bottom:0}.recent-work-row .template-visual--compact{width:76px;min-height:66px;flex-basis:76px}.recent-work-row__main{min-width:0;display:flex;align-items:center;gap:12px}.recent-work-row h3{margin:0 0 4px;overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.recent-work-row p{margin:0;color:var(--text-muted);font-size:12px}.recent-work-row__meta{display:grid;gap:6px;color:var(--text-muted);font-size:12px}.recent-work-row__meta span{display:inline-flex;align-items:center;gap:5px}.ai-template-banner{display:grid;grid-template-columns:60px minmax(280px,1fr) auto auto;align-items:center;gap:20px;margin-bottom:30px;padding:22px 24px;border:1px solid rgba(63,111,242,.24);border-radius:13px;background:var(--brand-50)}.ai-template-banner__icon{width:56px;height:56px;display:grid;place-items:center;border-radius:13px;color:var(--brand-600);background:var(--surface)}.ai-template-banner__copy>span{color:var(--brand-600);font-size:12px;font-weight:800}.ai-template-banner__copy :is(h1,h2){margin:5px 0 4px;font-size:20px;line-height:1.25}.ai-template-banner__copy p{margin:0;color:var(--text);font-size:13px;line-height:1.55}.ai-template-banner__steps{display:flex;gap:8px;margin:0;padding:0;list-style:none}.ai-template-banner__steps li{display:flex;align-items:center;gap:5px;color:var(--text);font-size:11px;white-space:nowrap}.ai-template-banner__steps li span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:var(--brand-600);background:var(--surface);font-weight:800}.template-catalog{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}.template-catalog__sidebar{position:sticky;top:calc(var(--header-height) + 20px)}.template-catalog__sidebar h2{margin:0 0 10px;font-size:15px}.template-catalog__sidebar nav{display:grid;gap:4px}.template-catalog__sidebar nav button{width:100%;min-height:42px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid transparent;border-radius:8px;color:var(--text);background:transparent;text-align:left}.template-catalog__sidebar nav button:hover{background:var(--surface-subtle)}.template-catalog__sidebar nav button.is-active{color:var(--brand-600);background:var(--brand-50);border-color:#3f6ff22e;font-weight:700}.template-catalog__sidebar nav small{color:var(--text-muted)}.template-catalog__tip{margin-top:20px;padding:14px;border:1px solid var(--border-soft);border-radius:10px;color:var(--brand-600);background:var(--surface-subtle)}.template-catalog__tip strong{display:block;margin:7px 0 4px;color:var(--text-strong);font-size:13px}.template-catalog__tip p{margin:0;color:var(--text);font-size:11px;line-height:1.6}.template-catalog__content{min-width:0}.catalog-toolbar{display:grid;grid-template-columns:minmax(210px,1fr) auto auto;align-items:center;gap:12px;margin-bottom:12px}.catalog-result-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;color:var(--text-muted);font-size:12px}.catalog-result-meta button{padding:0;border:0;color:var(--brand-600);background:transparent}.template-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.template-card:hover{border-color:#3f6ff261;box-shadow:var(--shadow-soft);transform:translateY(-2px)}.template-card__body{flex:1;padding:16px}.template-card__labels{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-muted);font-size:11px}.template-card h3{margin:12px 0 7px;font-size:18px}.template-card__body>p{min-height:58px;margin-bottom:13px;color:var(--text);font-size:13px;line-height:1.55}.template-card__capabilities{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 13px}.template-card__capabilities span{max-width:100%;padding:5px 8px;overflow:hidden;border:1px solid rgba(63,111,242,.14);border-radius:999px;color:#42506a;background:var(--brand-50);font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.template-card__facts{display:flex;flex-wrap:wrap;gap:11px;margin:0;color:var(--text-muted);font-size:11px}.template-card__facts>div{display:flex;align-items:center;gap:4px}.template-card__facts dt{display:flex}.template-card__facts dd{margin:0}.template-card__actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px;padding:12px 16px 16px}.square-featured{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:40px;align-items:center;padding:clamp(26px,4vw,44px);border:1px solid rgba(63,111,242,.2);border-radius:15px;background:var(--brand-50)}.square-featured__copy h2{margin:16px 0 10px;font-size:clamp(27px,3vw,38px)}.square-featured__copy>p{max-width:650px;color:var(--text);line-height:1.7}.square-featured__author{display:flex;align-items:center;gap:7px;margin:18px 0;color:var(--text);font-size:13px}.square-featured__actions{display:flex;flex-wrap:wrap;gap:9px}.square-featured__visual{padding:14px;border:1px solid var(--border-soft);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-soft)}.square-featured__visual .template-visual{min-height:220px;border:0;border-radius:9px}.square-featured__visual dl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 0}.square-featured__visual dl>div{padding:8px;text-align:center}.square-featured__visual dt{color:var(--text-muted);font-size:10px}.square-featured__visual dd{margin:4px 0 0;font-size:16px;font-weight:800}.square-library{padding-top:56px}.square-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:12px;margin-bottom:20px}.community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.community-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface);transition:border-color .16s ease,box-shadow .16s ease}.community-card:hover{border-color:#3f6ff25c;box-shadow:var(--shadow-soft)}.community-card__preview{position:relative;display:block;padding:0;border:0;background:transparent;text-align:left}.community-card__preview>span{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:7px;color:var(--text-strong);background:#ffffffe6;font-size:11px;font-weight:700;opacity:0;transition:opacity .16s ease}.community-card__preview:hover>span,.community-card__preview:focus-visible>span{opacity:1}.community-card__body{flex:1;padding:16px}.community-card__labels{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--text-muted);font-size:11px}.community-card__labels>span{display:inline-flex;align-items:center;gap:3px}.community-card h3{margin:12px 0 7px;font-size:18px}.community-card__body>p{min-height:60px;color:var(--text);font-size:13px;line-height:1.55}.community-card__author{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--border-soft)}.community-card__author>div{min-width:0;display:flex;flex-direction:column}.community-card__author strong{font-size:12px}.community-card__author span{overflow:hidden;color:var(--text-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.community-card__metrics{display:flex;flex-wrap:wrap;gap:12px;margin-top:13px;color:var(--text-muted);font-size:11px}.community-card__metrics span{display:inline-flex;align-items:center;gap:4px}.community-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-top:1px solid var(--border-soft);color:var(--text-muted);font-size:11px}.studio-tabs{display:flex;gap:8px;margin-bottom:22px;border-bottom:1px solid var(--border-soft)}.studio-tabs button{min-height:48px;display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border:0;border-bottom:2px solid transparent;color:var(--text);background:transparent;font-weight:700}.studio-tabs button:hover{color:var(--brand-600)}.studio-tabs button.is-active{color:var(--brand-600);border-bottom-color:var(--brand-500)}.studio-tabs button span{min-width:22px;padding:2px 6px;border-radius:999px;background:var(--surface-subtle);font-size:10px;text-align:center}.studio-panel{min-width:0}.studio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.studio-toolbar .search-field{width:min(100%,420px)}.studio-toolbar__actions{display:flex;gap:8px}.studio-view-toggle{display:flex;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.studio-view-toggle button{width:34px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;color:var(--text-muted);background:transparent}.studio-view-toggle button.is-active{color:var(--brand-600);background:var(--surface);box-shadow:0 1px 4px #14373c14}.studio-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.studio-work-grid--list{grid-template-columns:1fr}.studio-work-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface)}.studio-work-card:hover{border-color:#3f6ff257;box-shadow:var(--shadow-soft)}.studio-work-card__visual{position:relative;display:block;padding:0;border:0;background:transparent;text-align:left}.studio-work-card__visual>span{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:7px;color:var(--text-strong);background:#ffffffe6;font-size:11px;opacity:0}.studio-work-card__visual:hover>span,.studio-work-card__visual:focus-visible>span{opacity:1}.studio-work-card__body{flex:1;padding:15px 16px}.studio-work-card__status{display:flex;align-items:center;justify-content:space-between;gap:8px}.studio-work-card h3{margin:11px 0 5px;font-size:17px}.studio-work-card__body>p{color:var(--text-muted);font-size:12px}.studio-work-card dl{display:flex;flex-wrap:wrap;gap:10px 14px;margin:0;color:var(--text-muted);font-size:11px}.studio-work-card dl>div{display:flex;align-items:center;gap:4px}.studio-work-card dt{display:flex}.studio-work-card dd{margin:0}.studio-work-card__footer{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px;padding:12px 16px 15px;border-top:1px solid var(--border-soft)}.studio-work-grid--list .studio-work-card{display:grid;grid-template-columns:180px minmax(0,1fr) 210px;align-items:stretch}.studio-work-grid--list .studio-work-card__visual .template-visual{height:100%;min-height:140px;border:0}.studio-work-grid--list .studio-work-card__footer{align-content:center;border-top:0;border-left:1px solid var(--border-soft)}.question-library{min-width:0}.selection-bar{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:8px 13px;border:1px solid rgba(63,111,242,.2);border-radius:8px;color:var(--brand-600);background:var(--brand-50);font-size:13px;font-weight:700}.question-table,.invoice-table{overflow:hidden;border:1px solid var(--border-soft);border-radius:11px;background:var(--surface)}.question-table__head,.question-table__row{display:grid;grid-template-columns:42px minmax(320px,1.8fr) minmax(130px,.65fr) minmax(110px,.55fr) 78px;align-items:center;gap:12px;padding:11px 14px}.question-table__head{color:var(--text-muted);background:var(--surface-subtle);font-size:11px;font-weight:700}.question-table__row{min-height:76px;border-top:1px solid var(--border-soft)}.question-table__row:hover{background:#fcfefe}.question-table__stem,.question-table__row>div{min-width:0;display:flex;flex-direction:column;gap:5px}.question-table__stem>strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.question-table__stem>span{display:flex;align-items:center;gap:7px;color:var(--text-muted);font-size:11px}.question-table__row>div:not(.question-table__stem):not(.question-table__actions) strong{font-size:12px}.question-table__row>div:not(.question-table__stem):not(.question-table__actions) span{color:var(--text-muted);font-size:11px}.question-table__actions{flex-direction:row!important;justify-content:flex-end}.form-stack,.profile-form{display:grid;gap:17px}.form-stack label,.profile-form label{display:grid;gap:7px;color:var(--text);font-size:12px;font-weight:700}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-stack input,.form-stack textarea,.form-stack select,.profile-form input,.profile-form select{width:100%;padding:10px 11px;border:1px solid var(--border);border-radius:8px;color:var(--text-strong);background:var(--surface);font-weight:400;outline:0}.form-stack textarea{resize:vertical;line-height:1.55}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus,.profile-form input:focus,.profile-form select:focus{border-color:var(--brand-500);box-shadow:0 0 0 3px #3f6ff21a}.profile-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start}.profile-sidebar{position:sticky;top:calc(var(--header-height) + 20px);overflow:hidden;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface)}.profile-summary{display:flex;align-items:center;gap:10px;padding:17px;border-bottom:1px solid var(--border-soft)}.profile-avatar{width:54px;height:54px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:var(--brand-600);background:var(--brand-50)}.profile-summary>div:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}.profile-summary strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.profile-summary span{color:var(--text-muted);font-size:11px}.profile-sidebar nav{display:grid;gap:3px;padding:8px}.profile-sidebar nav button{width:100%;min-height:42px;display:grid;grid-template-columns:24px 1fr 18px;align-items:center;gap:7px;padding:8px 10px;border:1px solid transparent;border-radius:8px;color:var(--text);background:transparent;text-align:left}.profile-sidebar nav button:hover{background:var(--surface-subtle)}.profile-sidebar nav button.is-active{color:var(--brand-600);background:var(--brand-50);border-color:#3f6ff22e;font-weight:700}.profile-sidebar nav button>svg:last-child{justify-self:end}.profile-sidebar__studio{width:calc(100% - 16px);min-height:40px;display:flex;align-items:center;gap:7px;margin:4px 8px 10px;padding:8px 10px;border:0;border-top:1px solid var(--border-soft);color:var(--text-muted);background:transparent;text-align:left}.profile-sidebar__studio:hover{color:var(--brand-600)}.profile-content{min-width:0}.profile-section{padding:24px;border:1px solid var(--border-soft);border-radius:12px;background:var(--surface)}.profile-section__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--border-soft)}.profile-section__header h2{margin-bottom:5px;font-size:22px}.profile-section__header p{margin:0;color:var(--text);font-size:13px}.save-confirmation{display:inline-flex;align-items:center;gap:5px;color:var(--success);font-size:12px;font-weight:700}.profile-avatar-field{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--border-soft)}.profile-avatar-field>div:last-child{display:grid;justify-items:start;gap:4px}.profile-avatar-field p{margin:0 0 3px;color:var(--text-muted);font-size:11px}.profile-form input:disabled{color:var(--text-muted);background:var(--surface-subtle)}.profile-form__footer{display:flex;justify-content:flex-end;padding-top:4px}.membership-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;padding:22px;border:1px solid rgba(63,111,242,.22);border-radius:12px;background:var(--brand-50)}.membership-card__title{display:flex;align-items:flex-start;gap:12px}.membership-card__title>span{width:46px;height:46px;display:grid;place-items:center;border-radius:11px;color:var(--warning);background:var(--surface)}.membership-card__title>div{min-width:0}.membership-card__title small{color:var(--text-muted)}.membership-card__title h3{margin:3px 0;font-size:21px}.membership-card__title p{margin:0;color:var(--text);font-size:12px}.membership-card__title .status-pill{margin-left:auto}.membership-card__price{align-self:center;white-space:nowrap}.membership-card__price strong{font-size:26px}.membership-card__price span{color:var(--text-muted);font-size:12px}.membership-card ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;margin:0;padding:16px 0 0;border-top:1px solid rgba(63,111,242,.17);list-style:none}.membership-card li{display:flex;align-items:center;gap:6px;color:var(--text);font-size:12px}.membership-card li svg{color:var(--success)}.membership-card>.button{align-self:end}.usage-card{margin-top:16px;padding:19px;border:1px solid var(--border-soft);border-radius:11px}.usage-card header{display:flex;align-items:center;justify-content:space-between;gap:16px}.usage-card h3{margin-bottom:3px;font-size:16px}.usage-card header p,.usage-card>p{margin:0;color:var(--text-muted);font-size:11px}.usage-card progress{width:100%;height:9px;margin:15px 0 9px;border:0;border-radius:999px;overflow:hidden;accent-color:var(--brand-500)}.settings-list{display:grid;gap:10px}.settings-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px solid var(--border-soft);border-radius:10px}.settings-row__icon,.payment-card__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:var(--brand-600);background:var(--brand-50)}.settings-row h3{margin:0 0 3px;font-size:15px}.settings-row p{margin:0;color:var(--text-muted);font-size:11px}.switch-control{display:flex;align-items:center;gap:7px;color:var(--text);font-size:11px}.switch-control input{width:34px;height:19px;accent-color:var(--brand-500)}.security-note{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:13px 15px;border:1px solid rgba(4,169,92,.18);border-radius:9px;color:var(--success);background:#f1fbf6}.security-note strong{display:block;color:#087d46;font-size:13px}.security-note p{margin:3px 0 0;color:var(--text);font-size:11px}.payment-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;margin-bottom:16px;padding:15px;border:1px solid var(--border-soft);border-radius:10px}.payment-card>div{display:flex;flex-direction:column;gap:2px}.payment-card small,.payment-card span{color:var(--text-muted);font-size:11px}.invoice-table__head,.invoice-table__row{display:grid;grid-template-columns:110px minmax(200px,1fr) 90px 90px 52px;align-items:center;gap:12px;padding:11px 14px}.invoice-table__head{color:var(--text-muted);background:var(--surface-subtle);font-size:11px;font-weight:700}.invoice-table__row{min-height:64px;border-top:1px solid var(--border-soft);font-size:12px}.invoice-table__row>div{display:flex;flex-direction:column;gap:3px}.invoice-table__row small{color:var(--text-muted)}@media(max-width:1040px){.template-grid,.community-grid,.studio-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-work-grid--list{grid-template-columns:1fr}.catalog-toolbar,.square-toolbar{grid-template-columns:minmax(210px,1fr) auto}.catalog-toolbar .filter-chips,.square-toolbar .filter-chips{grid-column:1 / -1;grid-row:2}.ai-template-banner{grid-template-columns:60px minmax(0,1fr) auto}.ai-template-banner__steps{display:none}.recent-work-row{grid-template-columns:76px minmax(0,1fr) auto 38px}.recent-work-row__meta{display:none}}@media(max-width:840px){.page{width:100%;padding:30px 15px calc(54px + var(--mobile-nav-height));overflow-x:hidden}.page-title,.section-heading{align-items:flex-start;flex-direction:column;gap:14px}.page-title{margin-bottom:22px}.page-title h1{font-size:30px}.page-title__actions,.section-heading__action{width:100%;flex-wrap:wrap}.page-title__actions .button{flex:1}.home-hero{min-height:0;grid-template-columns:1fr;gap:30px;padding:30px 20px}.home-hero h1{font-size:clamp(34px,10vw,46px)}.home-hero__actions .button{flex:1 1 190px}.home-section{padding-top:44px}.template-grid--featured{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-template-card{align-items:flex-start;flex-direction:column}.mini-template-card .template-visual--compact{width:100%;min-height:96px;flex-basis:auto}.recent-work-row{grid-template-columns:62px minmax(0,1fr) 38px;padding-inline:12px}.recent-work-row .template-visual--compact{width:62px;min-height:58px;flex-basis:62px}.recent-work-row__main{display:block}.recent-work-row__main .status-pill{margin-top:6px}.ai-template-banner{grid-template-columns:48px minmax(0,1fr);padding:18px}.ai-template-banner__icon{width:46px;height:46px}.ai-template-banner>.button{grid-column:1 / -1;width:100%}.template-catalog{grid-template-columns:1fr;gap:18px}.template-catalog__sidebar{position:static}.template-catalog__sidebar h2,.template-catalog__tip{display:none}.template-catalog__sidebar nav{display:flex;padding-bottom:4px;overflow-x:auto;scrollbar-width:none}.template-catalog__sidebar nav::-webkit-scrollbar{display:none}.template-catalog__sidebar nav button{width:auto;min-width:max-content;grid-template-columns:20px auto auto}.catalog-toolbar,.square-toolbar{grid-template-columns:minmax(0,1fr) auto}.catalog-toolbar .filter-chips,.square-toolbar .filter-chips{width:calc(100vw - 30px);flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto;scrollbar-width:none}.catalog-toolbar .filter-chips::-webkit-scrollbar,.square-toolbar .filter-chips::-webkit-scrollbar{display:none}.filter-chips button{flex:0 0 auto}.square-featured{grid-template-columns:1fr;gap:26px;padding:24px 20px}.square-featured__visual{max-width:520px;width:100%}.square-library{padding-top:42px}.studio-toolbar{align-items:stretch;flex-direction:column}.studio-toolbar .search-field,.studio-toolbar__actions{width:100%}.studio-toolbar__actions .button{flex:1}.studio-view-toggle{align-self:flex-end}.studio-work-grid--list .studio-work-card{grid-template-columns:140px minmax(0,1fr)}.studio-work-grid--list .studio-work-card__footer{grid-column:1 / -1;border-top:1px solid var(--border-soft);border-left:0}.question-table{overflow-x:auto}.question-table__head,.question-table__row{min-width:790px}.profile-layout{grid-template-columns:1fr}.profile-sidebar{position:static;overflow:visible;border:0;background:transparent}.profile-summary{border:1px solid var(--border-soft);border-radius:10px}.profile-sidebar nav{grid-template-columns:repeat(4,minmax(112px,1fr));margin-top:10px;padding:0 0 4px;overflow-x:auto}.profile-sidebar nav button{min-width:112px;grid-template-columns:22px 1fr;border:1px solid var(--border-soft);background:var(--surface)}.profile-sidebar nav button>svg:last-child{display:none}.profile-sidebar__studio{display:none}.profile-section{padding:19px 16px}.modal-layer{align-items:end;padding:12px 12px calc(12px + var(--mobile-nav-height))}.modal-card{max-height:calc(100dvh - var(--mobile-nav-height) - 24px);border-radius:14px 14px 10px 10px}.modal-card__header,.modal-card__body,.modal-card__footer{padding-inline:17px}.work-preview,.template-preview{grid-template-columns:1fr}.work-preview>.template-visual,.template-preview>.template-visual{min-height:210px}}@media(max-width:580px){.button{padding-inline:13px}.template-grid,.template-grid--featured,.community-grid,.studio-work-grid,.studio-work-grid--list{grid-template-columns:1fr}.mini-template-card{flex-direction:row}.mini-template-card .template-visual--compact{width:80px;min-height:76px;flex:0 0 80px}.home-hero__actions{flex-direction:column}.home-hero__actions .button{width:100%;flex:0 0 auto}.home-hero__proof{display:grid;gap:8px}.ai-demo-card{padding:15px}.ai-demo-card__message{margin-left:18px}.ai-demo-card__result{grid-template-columns:42px 1fr 20px}.recent-work-row{grid-template-columns:54px minmax(0,1fr) 34px;gap:10px}.recent-work-row .template-visual--compact{width:54px;min-height:54px;flex-basis:54px}.recent-work-row h3{font-size:13px}.catalog-toolbar,.square-toolbar{grid-template-columns:1fr}.catalog-toolbar .filter-chips,.square-toolbar .filter-chips{grid-row:auto;grid-column:1}.catalog-toolbar .select-field,.square-toolbar .select-field{width:fit-content}.template-card__body>p,.community-card__body>p{min-height:0}.studio-tabs button{flex:1;justify-content:center;padding-inline:8px}.studio-work-grid--list .studio-work-card{display:flex}.studio-work-grid--list .studio-work-card__visual .template-visual{min-height:160px}.form-row{grid-template-columns:1fr}.profile-section__header{flex-direction:column}.profile-avatar-field{align-items:flex-start}.membership-card{grid-template-columns:1fr}.membership-card__title{flex-wrap:wrap}.membership-card__title .status-pill{margin-left:0}.membership-card ul{grid-template-columns:1fr}.membership-card>.button{width:100%}.settings-row{grid-template-columns:42px minmax(0,1fr)}.settings-row>.button,.settings-row>.switch-control{grid-column:2;justify-self:start}.payment-card{grid-template-columns:42px minmax(0,1fr)}.payment-card>.button{grid-column:2;justify-self:start}.invoice-table{overflow-x:auto}.invoice-table__head,.invoice-table__row{min-width:660px}.modal-card__footer .button{flex:1}}@media(prefers-reduced-motion:reduce){.button,.template-card,.community-card,.mini-template-card{transition:none}}.page-title{align-items:flex-start;margin-bottom:40px}.page-title h1{margin-bottom:12px;font-size:clamp(34px,3.8vw,46px)}.page-title__copy>p:last-child{max-width:620px;font-size:15px;line-height:1.65}.section-heading{align-items:center;margin-bottom:22px}.section-heading h2{margin-bottom:0;font-size:clamp(25px,2.5vw,31px)}.home-hero{min-height:470px;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);padding:52px 0 68px;border:0;border-bottom:1px solid var(--border-soft);border-radius:0;background:transparent}.home-hero h1{max-width:620px;margin-bottom:20px;font-size:clamp(42px,5vw,64px);line-height:1.08}.home-hero__copy>p:not(.home-hero__eyebrow){max-width:540px;margin-bottom:30px;font-size:18px;line-height:1.65}.ai-demo-card{padding:28px;border:0;border-radius:16px;background:var(--brand-50);box-shadow:none}.ai-demo-card h2{margin-bottom:18px;font-size:21px}.ai-demo-card__message{margin-left:28px;padding:14px 16px;color:var(--text-strong);background:var(--surface);font-size:14px}.ai-demo-card__result{margin:18px 0 0;border:0;background:#ffffffad}.ai-demo-card__result span{font-size:12px}.home-section{padding-top:58px}.mini-template-card{align-items:center;gap:18px;padding:17px 0;border:0;border-top:1px solid var(--border-soft);border-radius:0;background:transparent}.mini-template-card:hover{border-color:var(--border-soft);box-shadow:none}.mini-template-card h3{order:-1;margin:0 0 7px;font-size:18px}.mini-template-card__body>span{color:var(--text);font-size:13px}.mini-template-card .text-button{margin-top:5px}.recent-work-list{overflow:visible;border:0;border-radius:0;background:transparent}.recent-work-row{grid-template-columns:76px minmax(0,1fr) auto 38px;padding:15px 0;border-top:1px solid var(--border-soft);border-bottom:0}.recent-work-row:last-child{border-bottom:1px solid var(--border-soft)}.ai-template-banner{grid-template-columns:60px minmax(280px,1fr) auto;margin-bottom:48px;padding:24px 26px;border:0;border-radius:14px}.ai-template-banner__copy :is(h1,h2){margin:0 0 5px;font-size:22px}.page--templates>.section-heading{margin-bottom:24px}.template-catalog__sidebar h3{margin:0 0 10px;font-size:15px}.template-card:hover{box-shadow:none;transform:none}.square-featured-section>.section-heading,.square-library>.section-heading{align-items:center;min-height:42px}.square-featured{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);padding:clamp(30px,4vw,48px);border:0;border-radius:16px;background:var(--surface-subtle)}.square-featured__copy h3{margin:0 0 12px;font-size:clamp(28px,3vw,38px);line-height:1.25}.square-featured__visual{padding:0;border:0;background:transparent;box-shadow:none}.square-featured__visual .template-visual{min-height:0;aspect-ratio:16 / 10;overflow:hidden;border-radius:12px}.square-library{padding-top:64px}.community-card{overflow:visible;border:0;border-radius:0;background:transparent}.community-card:hover{border-color:transparent;box-shadow:none}.community-card__preview{overflow:hidden;border-radius:12px}.community-card__preview .template-visual{min-height:0;aspect-ratio:16 / 10;border:0}.community-card__body{padding:16px 0 12px}.community-card__body>p{min-height:44px}.community-card__author{padding-top:0;border-top:0}.community-card__footer{padding:11px 0}.question-file-library{max-width:920px}.question-upload-zone{min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:38px 24px;border:1px dashed rgba(63,111,242,.48);border-radius:14px;background:var(--brand-50);text-align:center;cursor:pointer}.question-upload-zone:focus-within{border-color:var(--brand-600);box-shadow:0 0 0 3px #3f6ff21a}.question-upload-zone>input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.question-upload-zone__icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:4px;border-radius:14px;color:var(--brand-600);background:var(--surface)}.question-upload-zone>strong{font-size:24px}.question-upload-zone>p{max-width:560px;margin:0 0 8px;color:var(--text);font-size:14px;line-height:1.65}.question-upload-zone>.button{pointer-events:none}.question-upload-message{display:flex;align-items:center;gap:7px;margin:14px 0 0;color:var(--success);font-size:13px;font-weight:700}.recent-files{margin-top:40px}.recent-files>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.recent-files h2{margin:0;font-size:24px}.recent-files>header>span{color:var(--text-muted);font-size:13px}.recent-file-list{border-top:1px solid var(--border-soft)}.recent-file-row{min-height:76px;display:grid;grid-template-columns:46px minmax(0,1fr) auto 38px;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--border-soft)}.recent-file-row__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;color:var(--brand-600);background:var(--brand-50)}.recent-file-row>div{min-width:0;display:flex;flex-direction:column;gap:5px}.recent-file-row>div>strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.recent-file-row>div>span{color:var(--text-muted);font-size:12px}.page.page--profile{width:min(100%,940px)}.profile-overview{display:grid}.profile-identity,.profile-membership-summary{display:grid;align-items:center;gap:22px;padding:30px 0;border-bottom:1px solid var(--border-soft)}.profile-identity{grid-template-columns:88px minmax(0,1fr) auto;padding-top:8px}.profile-avatar--large{width:82px;height:82px}.profile-identity__copy h2{margin:0 0 7px;font-size:27px}.profile-identity__copy p{margin:0 0 7px;color:var(--text);font-size:14px}.profile-identity__copy span{color:var(--text-muted);font-size:13px}.save-confirmation--standalone{margin:14px 0 0;justify-self:start}.profile-membership-summary{grid-template-columns:58px minmax(0,1fr) auto}.profile-membership-summary__icon,.profile-settings-entry>span{width:54px;height:54px;display:grid;place-items:center;border-radius:13px;color:var(--brand-600);background:var(--brand-50)}.profile-membership-summary>div>p{margin:0 0 4px;color:var(--text-muted);font-size:13px}.profile-membership-summary h2{margin:0 0 5px;font-size:23px}.profile-membership-summary>div>span{color:var(--text);font-size:13px}.profile-settings-entry{width:100%;display:grid;grid-template-columns:58px minmax(0,1fr) 24px;align-items:center;gap:22px;padding:28px 0;border:0;border-bottom:1px solid var(--border-soft);color:var(--text-strong);background:transparent;text-align:left}.profile-settings-entry:hover{color:var(--brand-600)}.profile-settings-entry h2{margin:0 0 5px;font-size:22px}.profile-settings-entry p{margin:0;color:var(--text);font-size:13px}.profile-settings-entry>svg{justify-self:end}.profile-studio-link{width:fit-content;margin-top:20px}.subscription-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.subscription-card{display:flex;flex-direction:column;gap:20px;padding:22px;border:1px solid var(--border-soft);border-radius:12px}.subscription-card--featured{border-color:#3f6ff25c;background:var(--brand-50)}.subscription-card h3{margin:0 0 12px;font-size:21px}.subscription-card p{display:flex;align-items:baseline;gap:6px;margin:0}.subscription-card p strong{font-size:30px}.subscription-card p span{color:var(--text-muted);font-size:12px}.subscription-card ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.subscription-card li{display:flex;align-items:flex-start;gap:8px;color:var(--text);font-size:13px}.subscription-card li svg{flex:0 0 auto;margin-top:2px;color:var(--brand-600)}.subscription-card li>span{min-width:0;display:grid;gap:2px}.subscription-card li strong{color:var(--text-strong);font-size:13px;line-height:1.45}.subscription-card li small{color:var(--text-muted);font-size:11px;line-height:1.5}.subscription-card>.button{width:100%;margin-top:auto}.button:disabled{cursor:default;opacity:.7}.settings-entry-list{display:grid}.settings-entry-list button{width:100%;min-height:72px;display:grid;grid-template-columns:28px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:14px 4px;border:0;border-bottom:1px solid var(--border-soft);color:var(--text);background:transparent;text-align:left}.settings-entry-list button:last-child{border-bottom:0}.settings-entry-list button:hover{color:var(--brand-600)}.settings-entry-list button>span{display:flex;flex-direction:column;gap:4px}.settings-entry-list strong{color:var(--text-strong);font-size:14px}.settings-entry-list small{color:var(--text-muted);font-size:12px}@media(max-width:840px){.home-hero{grid-template-columns:1fr;gap:34px;padding:36px 0 44px}.ai-template-banner{grid-template-columns:48px minmax(0,1fr)}.template-catalog__sidebar h3{display:none}.square-featured{grid-template-columns:1fr;padding:26px 22px}.recent-file-row{grid-template-columns:46px minmax(0,1fr) auto 38px}.profile-identity,.profile-membership-summary{gap:16px}}@media(max-width:580px){.page-title{margin-bottom:30px}.page-title h1{font-size:34px}.section-heading h2{font-size:25px}.home-hero h1{font-size:42px}.ai-demo-card{padding:20px}.ai-demo-card__message{margin-left:12px}.question-upload-zone{min-height:260px;padding:30px 18px}.question-upload-zone>strong{font-size:21px}.recent-file-row{grid-template-columns:42px minmax(0,1fr) 34px;gap:10px}.recent-file-row .status-pill{grid-column:2;justify-self:start}.recent-file-row>.icon-button{grid-column:3;grid-row:1 / span 2}.profile-identity,.profile-membership-summary{grid-template-columns:64px minmax(0,1fr);padding-block:24px}.profile-avatar--large{width:62px;height:62px}.profile-identity>.button,.profile-membership-summary>.button{grid-column:1 / -1;width:100%}.profile-settings-entry{grid-template-columns:50px minmax(0,1fr) 20px;gap:12px}.profile-settings-entry>span{width:46px;height:46px}.subscription-grid{grid-template-columns:1fr}}.page--home,.page--templates,.page--square,.page--profile{--cool-canvas: #edf4ff;--cool-panel: rgba(255, 255, 255, .82);--cool-border: rgba(63, 111, 242, .2);--cool-shadow: 0 28px 80px rgba(48, 89, 190, .14)}.page--home{width:min(100%,1280px);padding-top:34px}.home-live-example{display:grid;grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(28px,4vw,54px);padding:clamp(30px,4vw,48px);overflow:hidden;border:1px solid rgba(255,255,255,.94);border-radius:30px;background:radial-gradient(circle at 18% 15%,rgba(63,111,242,.13),transparent 32%),linear-gradient(135deg,#eaf3ff,#f7faffe0);box-shadow:var(--cool-shadow),inset 0 1px #fffffff5}.home-live-example__copy{min-width:0}.home-live-example__eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:18px;color:var(--brand-600);font-size:14px;font-weight:800}.home-live-example__copy h1{max-width:560px;margin-bottom:18px;font-size:clamp(42px,4.8vw,64px);line-height:1.08;letter-spacing:-.045em}.home-live-example__copy>p:not(.home-live-example__eyebrow):not(.home-live-example__note){max-width:540px;margin-bottom:20px;color:#4e5b73;font-size:16px;line-height:1.72}.home-live-example__note{display:flex;align-items:center;gap:7px;margin-bottom:24px;color:#376052;font-size:12px;font-weight:700}.home-live-example__note svg{color:var(--success)}.home-live-example__player{min-width:0;padding:12px;border:1px solid rgba(63,111,242,.16);border-radius:24px;background:#ffffffd1;box-shadow:0 24px 64px #3156b224}.home-live-example__player>header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px;padding:4px 6px 12px}.home-live-example__player>header span{grid-row:1 / 3;padding:6px 8px;border-radius:9px;color:var(--brand-600);background:#e9f0ff;font-size:10px;font-weight:800}.home-live-example__player>header strong{overflow:hidden;text-overflow:ellipsis;font-size:13px;white-space:nowrap}.home-live-example__player>header small{color:#778197;font-size:10px}.home-live-example__player .game-renderer-frame{border-radius:16px;box-shadow:none}.page--home .button,.page--templates .button,.page--square .button,.page--profile .button{border-radius:12px}.page--home .icon-button,.page--templates .icon-button,.page--square .icon-button,.page--profile .icon-button{border-radius:11px}.page--home .button:active,.page--templates .button:active,.page--square .button:active,.page--profile .button:active{transform:translateY(1px)}.home-hero{min-height:0;display:block;padding:clamp(38px,4vw,54px);overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:30px;background:var(--cool-canvas);box-shadow:var(--cool-shadow),inset 0 1px #fffffff5;margin-top:28px}.home-hero__intro{max-width:1040px;margin-bottom:32px}.home-hero__eyebrow{margin-bottom:18px;color:var(--brand-600);font-size:14px;font-weight:750;letter-spacing:0}.home-hero__intro>h2{max-width:1040px;margin-bottom:20px;font-size:clamp(36px,4vw,52px);line-height:1.1;letter-spacing:-.045em}.home-hero__intro>p:not(.home-hero__eyebrow){max-width:580px;margin:0;color:#4c5870;font-size:17px;line-height:1.72}.home-creation{display:grid;grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr);align-items:stretch;gap:18px}.home-creation__selector,.home-creation__panel{min-width:0;border:1px solid rgba(255,255,255,.96);border-radius:24px;background:#ffffffd1;box-shadow:0 22px 58px #375bb41c,inset 0 1px #fffffff5}.home-creation__selector{display:flex;flex-direction:column;padding:18px}.home-creation__selector-heading{padding:8px 8px 18px}.home-creation__selector-heading h2{margin:0 0 8px;font-size:24px;letter-spacing:-.02em}.home-creation__selector-heading p{margin:0;color:#637086;font-size:13px;line-height:1.6}.home-creation__options{display:grid;gap:10px}.home-creation__options>button{width:100%;min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:94px;padding:15px;border:1px solid rgba(63,111,242,.14);border-radius:17px;color:#263650;background:#f3f7ffe6;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.home-creation__options>button:hover{border-color:#3f6ff261;background:#fff;transform:translateY(-2px)}.home-creation__options>button:active{transform:translateY(1px)}.home-creation__options>button.is-active{border-color:#2f5fe4;color:#fff;background:#2f5fe4;box-shadow:0 18px 38px #2f5fe43d,inset 0 1px #ffffff3d}.home-creation__option-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;color:var(--brand-600);background:#fff;box-shadow:0 8px 22px #2d54ae1a}.home-creation__options>button.is-active .home-creation__option-icon{color:#2f5fe4;background:#fff}.home-creation__options>button>span:nth-child(2){min-width:0;display:grid;gap:6px}.home-creation__options strong{font-size:14px;line-height:1.4}.home-creation__options small{color:#6c7890;font-size:11px;line-height:1.45}.home-creation__options>button.is-active small{color:#ffffffc2}.home-creation__options>button>svg{color:#8a97ad;transition:transform .18s ease}.home-creation__options>button.is-active>svg{color:#fff;transform:translate(2px)}.home-creation__option-title{min-width:0;display:flex;align-items:center;gap:8px}.home-creation__option-title em{flex:0 0 auto;padding:3px 6px;border:1px solid rgba(63,111,242,.18);border-radius:7px;color:var(--brand-600);background:#fff;font-size:9px;font-style:normal;font-weight:800}.home-creation__shared-tip{display:flex;align-items:flex-start;gap:8px;margin:auto 8px 5px;padding-top:20px;color:#5d6980;font-size:12px;line-height:1.55}.home-creation__shared-tip svg{flex:0 0 auto;margin-top:1px;color:var(--success)}.home-creation__panel{min-height:500px;padding:clamp(24px,3vw,36px);background:radial-gradient(circle at 96% 5%,rgba(63,111,242,.13),transparent 34%),#ffffffe6}.home-creation__panel-content{min-height:100%;display:flex;flex-direction:column}.home-creation__panel-header{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:start;gap:16px;margin-bottom:26px}.home-creation__panel-header>span{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:var(--brand-600);background:#e7efff}.home-creation__panel-header small{display:block;margin-bottom:6px;color:var(--brand-600);font-size:12px;font-weight:800}.home-creation__panel-header h2{margin:0 0 9px;font-size:clamp(28px,3vw,38px);line-height:1.2;letter-spacing:-.03em}.home-creation__panel-header p{max-width:680px;margin:0;color:#5b687e;font-size:14px;line-height:1.65}.home-ai-dialog{display:grid;grid-template-columns:minmax(220px,.86fr) minmax(300px,1.14fr);gap:14px}.home-ai-dialog__prompt{min-height:156px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;margin:0;padding:22px;border-radius:18px;color:#fff;background:#2f5fe4;box-shadow:0 16px 34px #2f5fe433,inset 0 1px #fff3}.home-ai-dialog__prompt p{margin:0;font-size:14px;font-weight:650;line-height:1.7}.home-ai-dialog__result{min-width:0;min-height:156px;display:grid;grid-template-columns:118px minmax(0,1fr);align-items:stretch;gap:16px;padding:10px 18px 10px 10px;border:1px solid rgba(63,111,242,.14);border-radius:18px;background:#f3f7ffe6}.home-ai-dialog__result .template-visual--compact{width:118px;min-height:136px;border:0;border-radius:13px}.home-ai-dialog__result>div{min-width:0;align-self:center}.home-ai-dialog__result span{display:flex;align-items:center;gap:5px;color:var(--success);font-size:11px;font-weight:750}.home-ai-dialog__result h3{margin:8px 0 6px;font-size:18px;line-height:1.35}.home-ai-dialog__result p{margin:0;color:#637086;font-size:12px;line-height:1.55}.home-ai-assets{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin-top:14px;padding:16px 18px;border:1px solid rgba(63,111,242,.12);border-radius:17px;background:#ffffffb8}.home-ai-assets strong{display:block;margin-bottom:4px;font-size:13px}.home-ai-assets p{margin:0;color:#667389;font-size:11px;line-height:1.55}.home-ai-assets ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0;padding:0;list-style:none}.home-ai-assets li{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:11px;color:#44516a;background:#edf3ff;font-size:11px;font-weight:700;white-space:nowrap}.home-ai-assets li svg{color:var(--brand-600)}.home-creation__panel-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto;padding-top:24px}.home-creation__panel-footer>p{display:flex;align-items:center;gap:7px;margin:0;color:#5f6c82;font-size:12px}.home-creation__panel-footer>p svg{color:var(--success)}.home-creation__panel-footer .button{flex:0 0 auto;box-shadow:0 16px 34px #2d57c129}.home-ai-flow{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#647187;font-size:11px;font-weight:750}.home-ai-flow svg{color:#9aa8bb}.home-manual-list{display:grid;gap:10px}.home-manual-list>button{width:100%;min-width:0;display:grid;grid-template-columns:92px minmax(0,1fr) 20px;align-items:center;gap:15px;padding:9px 14px 9px 9px;border:1px solid rgba(63,111,242,.13);border-radius:17px;color:#263650;background:#f7f9ffe6;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.home-manual-list>button:hover{border-color:#3f6ff257;background:#fff;box-shadow:0 12px 28px #3658aa17;transform:translateY(-2px)}.home-manual-list>button:active{transform:translateY(1px)}.home-manual-list .template-visual--compact{width:92px;min-height:74px;border:0;border-radius:12px}.home-manual-list>button>span{min-width:0;display:grid;gap:5px}.home-manual-list strong{overflow:hidden;text-overflow:ellipsis;font-size:14px;white-space:nowrap}.home-manual-list small{color:#6c7890;font-size:11px}.home-manual-list>button>svg{color:var(--brand-600)}@media(prefers-reduced-motion:no-preference){.home-creation__panel-content{animation:home-panel-enter .22s cubic-bezier(.16,1,.3,1)}}@keyframes home-panel-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.home-more-works{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(26px,4vw,52px);margin-top:28px;padding:clamp(28px,4vw,44px);overflow:hidden;border:1px solid rgba(63,111,242,.14);border-radius:26px;background:#ffffffd1;box-shadow:0 22px 64px #375bb41c,inset 0 1px #fffffff5}.home-more-works__copy>span{display:block;margin-bottom:9px;color:var(--brand-600);font-size:12px;font-weight:800}.home-more-works__copy h2{margin-bottom:13px;font-size:clamp(30px,3.2vw,42px);letter-spacing:-.035em}.home-more-works__copy p{max-width:500px;margin-bottom:23px;color:#56627a;font-size:14px;line-height:1.7}.home-more-works__mosaic{min-width:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(150px,.65fr);grid-template-rows:repeat(2,126px);gap:10px;transform:rotate(-1deg)}.home-more-works__mosaic img{width:100%;height:100%;display:block;border:5px solid rgba(255,255,255,.92);border-radius:16px;object-fit:cover;box-shadow:0 16px 36px #2f51a426}.home-more-works__mosaic img:first-child{grid-row:1 / 3}.home-more-works__mosaic img:nth-child(2){transform:translate(8px)}.home-more-works__mosaic img:nth-child(3){transform:translate(-4px)}.page--templates{width:min(100%,1240px);padding-top:32px}.page--templates>.page-title{margin-bottom:34px}.page--templates .page-title h1{font-size:clamp(40px,4.3vw,54px);letter-spacing:-.035em}.page--templates>.section-heading h2{font-size:31px}.page--templates .ai-template-banner{grid-template-columns:78px minmax(280px,1fr) auto;margin-bottom:58px;padding:28px 30px;border:1px solid rgba(255,255,255,.94);border-radius:22px;background:var(--cool-canvas);box-shadow:0 20px 58px #3459b61f,inset 0 1px #fffffff5}.page--templates .ai-template-banner__icon{width:76px;height:76px;overflow:visible;border:0;border-radius:0;background:transparent;filter:drop-shadow(0 14px 18px rgba(55,91,180,.18));box-shadow:none}.page--templates .ai-template-banner__icon img{width:100%;height:100%;display:block;object-fit:contain}.page--templates .ai-template-banner__copy :is(h1,h2){font-size:25px;letter-spacing:-.015em}.page--templates .ai-template-banner__copy p{max-width:650px;margin-top:7px;color:#56627a;font-size:14px}.page--templates .template-catalog{grid-template-columns:214px minmax(0,1fr);gap:26px}.page--templates .template-catalog__sidebar{padding:14px;border:1px solid rgba(63,111,242,.12);border-radius:18px;background:#ffffffb3;box-shadow:0 18px 48px #3a5bae14}.page--templates .template-catalog__sidebar h3{padding:4px 8px 8px;color:#536078;font-size:13px}.page--templates .template-catalog__sidebar nav{gap:6px}.page--templates .template-catalog__sidebar nav button{min-height:46px;border-radius:12px}.page--templates .template-catalog__sidebar nav button.is-active{border-color:#3f6ff229}.page--templates .catalog-toolbar{grid-template-columns:minmax(260px,1fr) auto;gap:12px}.page--templates .search-field,.page--templates .select-field{min-height:46px;border-radius:12px;background:#ffffffdb}.page--templates .catalog-result-meta{margin:14px 2px 18px;font-size:13px}.page--templates .template-grid{gap:20px}.page--templates .template-card{border-color:#3f6ff21f;border-radius:20px;box-shadow:0 16px 44px #395bb017}.page--templates .template-card:hover{border-color:#3f6ff242;box-shadow:0 24px 56px #395bb026;transform:translateY(-3px)}.page--templates .template-card>.template-visual{min-height:176px}.page--templates .template-card__body{padding:18px 18px 14px}.page--templates .template-card h3{margin-top:14px;font-size:19px}.page--templates .template-card__actions{padding:12px 18px 18px}.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:34px;padding:16px}.catalog-pagination button{min-height:40px;border:1px solid rgba(63,111,242,.14);border-radius:11px;color:#42506a;background:#fffc;font-weight:700}.catalog-pagination button:hover:not(:disabled){color:var(--brand-600);border-color:#3f6ff257;background:var(--cool-canvas)}.catalog-pagination button:focus-visible{outline:3px solid rgba(63,111,242,.24);outline-offset:2px}.catalog-pagination button:disabled{cursor:not-allowed;opacity:.42}.catalog-pagination__step{min-width:94px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 13px}.catalog-pagination__pages{display:flex;align-items:center;gap:7px}.catalog-pagination__pages button{width:40px;padding:0}.catalog-pagination__pages button.is-active{color:#fff;border-color:var(--brand-600);background:var(--brand-600);box-shadow:0 10px 24px #2f5fe433}.page.page--square{width:min(100%,1240px);padding-top:34px}.page--square>.page-title{align-items:center;margin-bottom:54px;padding:clamp(28px,4vw,42px);border:1px solid rgba(255,255,255,.96);border-radius:26px;background:radial-gradient(circle at 92% 8%,rgba(63,111,242,.15),transparent 35%),#ffffffd1;box-shadow:0 22px 62px #375bb41f,inset 0 1px #fffffff5}.page--square>.page-title h1{font-size:clamp(40px,4.3vw,54px);letter-spacing:-.035em}.page--square>.page-title .page-title__copy>p{max-width:610px;color:#56627a}.page.page--profile{width:min(100%,1240px)}.page--profile>.page-title{align-items:center;margin-bottom:34px}.page--profile .page-title h1{font-size:clamp(40px,4.3vw,54px);letter-spacing:-.035em}.profile-top-settings:disabled{cursor:not-allowed;opacity:.5}.profile-login-panel{min-height:380px;display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:26px;padding:clamp(34px,5vw,60px);border:1px solid rgba(255,255,255,.96);border-radius:28px;background:var(--cool-canvas);box-shadow:var(--cool-shadow),inset 0 1px #fffffff5}.profile-login-panel__icon{width:68px;height:68px;display:grid;place-items:center;border:1px solid rgba(63,111,242,.16);border-radius:18px;color:var(--brand-600);background:#ffffffd1}.profile-login-panel h2{margin:0 0 10px;font-size:clamp(28px,3vw,38px)}.profile-login-panel p{max-width:650px;margin:0;color:#56627a;line-height:1.7}.profile-auth-state{min-height:300px;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:20px;padding:clamp(30px,5vw,52px);border:1px solid rgba(63,111,242,.14);border-radius:26px;background:#fffc;box-shadow:var(--cool-shadow)}.profile-auth-state>svg:first-child{color:var(--brand-600)}.profile-auth-state h2{margin:0 0 8px;font-size:clamp(24px,3vw,32px)}.profile-auth-state p{max-width:650px;margin:0;color:#5c687d;line-height:1.65}.profile-auth-state--error{border-color:#ba304624;background:#fff8f9}.profile-auth-state--error>svg:first-child{color:#b6324d}.profile-auth-state__spinner,.profile-action-spinner{animation:profile-auth-spin .8s linear infinite}.profile-form__error{margin:0;padding:10px 12px;border-radius:10px;color:#a3293d;background:#fff0f3;font-size:12px;line-height:1.5}@keyframes profile-auth-spin{to{transform:rotate(360deg)}}.profile-dashboard{display:grid;gap:22px}.profile-account-card,.profile-overview-card,.profile-activity-card{min-width:0;padding:26px;border:1px solid rgba(63,111,242,.12);border-radius:24px;background:#ffffffe0;box-shadow:0 20px 56px #3a5bae1a,inset 0 1px #fffffff5}.profile-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.profile-card-header>div{min-width:0}.profile-card-header>div>span{display:block;margin-bottom:6px;color:#667289;font-size:12px;font-weight:700}.profile-card-header h2{margin:0;font-size:24px;letter-spacing:-.015em}.profile-card-header>svg{color:var(--brand-600)}.profile-account-card__body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:stretch;gap:28px}.profile-account-card__identity{min-width:0;display:flex;align-items:center;gap:20px;padding:10px 0}.profile-avatar--large{width:96px;height:96px;flex:0 0 auto;overflow:hidden;border:4px solid rgba(255,255,255,.96);box-shadow:0 14px 34px #3558b129}.profile-avatar--large img{width:100%;height:100%;display:block;object-fit:cover}.profile-account-card__identity>div:last-child{min-width:0}.profile-account-card__identity strong{display:block;margin-bottom:8px;font-size:17px;line-height:1.45}.profile-account-card__identity p{margin:0 0 8px;color:#56627a;font-size:14px}.profile-account-card__identity span{overflow-wrap:anywhere;color:#717b8f;font-size:13px}.profile-account-card>.text-button{margin-top:18px}.profile-membership-summary{min-width:0;display:block;grid-template-columns:none;gap:0;padding:20px;border:1px solid rgba(63,111,242,.15);border-radius:18px;background:#f2f6ff}.profile-membership-summary__heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.profile-membership-summary__heading h3{order:-1;margin:0;font-size:21px;letter-spacing:-.015em}.profile-membership-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;color:#805100;background:#fff1c7;font-size:11px;font-weight:800}.profile-membership-summary>p{margin:12px 0 16px;color:#59667d;font-size:13px;line-height:1.62}.profile-permission-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}.profile-permission-card>div{min-width:0;padding:12px;border:1px solid rgba(63,111,242,.1);border-radius:12px;background:#ffffffc7}.profile-permission-card dt{color:#6a758a;font-size:11px}.profile-permission-card dd{margin:5px 0 0;font-size:13px;font-weight:750;line-height:1.45}.profile-overview-card__body{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:16px}.profile-library-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-library-summary button{min-height:110px;display:grid;justify-items:start;align-content:center;gap:5px;padding:14px;border:1px solid rgba(63,111,242,.12);border-radius:15px;color:var(--text-strong);background:var(--cool-canvas);text-align:left}.profile-library-summary button:hover{border-color:#3f6ff252;transform:translateY(-2px)}.profile-library-summary button>span{color:var(--brand-600)}.profile-library-summary strong{font-size:25px;line-height:1}.profile-library-summary small{color:#647086;font-size:12px}.profile-ai-create-card{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;border:1px solid rgba(63,111,242,.14);border-radius:17px;background:linear-gradient(135deg,#eef4ff,#ffffffe6)}.profile-ai-create-card>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:var(--brand-600);background:#fff;box-shadow:0 10px 28px #3658aa1a}.profile-ai-create-card>div{min-width:0}.profile-ai-create-card strong{display:block;margin-bottom:5px;font-size:16px}.profile-ai-create-card p{max-width:480px;margin:0;color:#637086;font-size:12px;line-height:1.55}.profile-activity-list{display:grid}.profile-activity-list button{width:100%;min-height:70px;display:grid;grid-template-columns:44px minmax(0,1fr) 22px;align-items:center;gap:13px;padding:11px 4px;border:0;border-top:1px solid rgba(63,111,242,.12);color:var(--text-strong);background:transparent;text-align:left}.profile-activity-list button:first-child{border-top:0}.profile-activity-list button:hover{color:var(--brand-600)}.profile-activity-list button>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:5px}.profile-activity-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-activity-list small{color:#707b90;font-size:12px}.profile-activity-list__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.profile-activity-list button>svg{justify-self:end}.profile-avatar-picker{margin:0;padding:0 0 4px;border:0}.profile-avatar-picker legend{margin-bottom:9px;color:var(--text);font-size:12px;font-weight:700}.profile-avatar-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-avatar-picker label{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;padding:9px;border:1px solid var(--border);border-radius:13px;background:var(--surface);cursor:pointer}.profile-avatar-picker label.is-selected{border-color:var(--brand-500);background:var(--brand-50);box-shadow:0 0 0 3px #3f6ff21a}.profile-avatar-picker input{position:absolute;opacity:0;pointer-events:none}.profile-avatar-picker img{width:46px;height:46px;display:block;border-radius:50%;object-fit:cover}.profile-avatar-picker label>span{min-width:0;color:var(--text-strong);font-size:12px;font-weight:700}.profile-avatar-picker label:focus-within{outline:3px solid rgba(63,111,242,.24);outline-offset:2px}.profile-dashboard button:focus-visible,.profile-login-panel button:focus-visible{outline:3px solid rgba(63,111,242,.24);outline-offset:2px}.home-live-example__player{padding:10px}.home-live-example__thumbnail{position:relative;width:100%;aspect-ratio:16 / 10;display:block;overflow:hidden;padding:0;border:0;border-radius:17px;background:#dfe9ff}.home-live-example__thumbnail:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,transparent 52%,rgba(20,35,62,.24));content:""}.home-live-example__thumbnail>img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .24s ease}.home-live-example__thumbnail>span{position:absolute;z-index:1;left:50%;top:50%;width:62px;height:62px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.76);border-radius:50%;color:var(--brand-600);background:#fffffff0;box-shadow:0 14px 36px #20396f3d;transform:translate(-50%,-50%)}.home-live-example__thumbnail:hover>img{transform:scale(1.025)}.home-creation__selector{justify-content:center}.home-creation__options>button{grid-template-columns:66px minmax(0,1fr) 18px;min-height:112px}.home-creation__option-icon{width:66px;height:66px;overflow:hidden;border-radius:18px}.home-creation__option-icon img{width:100%;height:100%;display:block;object-fit:contain}.home-creation__panel{min-height:470px}.home-creation__panel-header{grid-template-columns:64px minmax(0,1fr);align-items:center}.home-creation__panel-header>span{width:64px;height:64px;overflow:hidden;padding:3px;border-radius:18px;background:#fff;box-shadow:0 12px 30px #3658aa1f}.home-creation__panel-header>span img{width:100%;height:100%;display:block;object-fit:contain}.home-manual-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-manual-list>button{position:relative;min-height:210px;display:block;overflow:hidden;padding:0;border-radius:18px;background:#dfe9ff}.home-manual-list>button:after{position:absolute;top:30%;right:0;bottom:0;left:0;background:linear-gradient(180deg,transparent,rgba(16,30,56,.76));content:""}.home-manual-list>button>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;object-fit:cover;transition:transform .22s ease}.home-manual-list>button:hover>img{transform:scale(1.025)}.home-manual-list>button>strong{position:absolute;z-index:1;left:16px;right:44px;bottom:16px;overflow:hidden;color:#fff;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.home-manual-list>button>svg{position:absolute;z-index:1;right:16px;bottom:17px;color:#fff}.square-featured{border:1px solid rgba(63,111,242,.12);background:radial-gradient(circle at 91% 36%,rgba(84,126,242,.17),transparent 34%),linear-gradient(90deg,#fff,#fff 66%,#f1f5ff);box-shadow:0 20px 56px #3a5bae1a}.square-pagination{margin-top:28px}.page--templates .template-card{aspect-ratio:1}.template-card__surface{position:relative;width:100%;height:100%;display:block;overflow:hidden;padding:0;border:0;background:#dfe9ff;text-align:left}.page--templates .template-card__surface .template-visual{width:100%;height:100%;min-height:0;border:0}.page--templates .template-card__surface .template-visual img{transition:transform .22s ease}.page--templates .template-card:hover .template-visual img{transform:scale(1.025)}.template-card__title{position:absolute;z-index:2;right:0;bottom:0;left:0;min-height:42%;display:flex;align-items:flex-end;padding:48px 18px 17px;border:0;border-radius:0;color:#fff;background:linear-gradient(180deg,#0c162b00,#0c162b2e 34%,#0c162bc7);box-shadow:none;pointer-events:none}.template-card__title strong{min-width:0;overflow:hidden;font-size:17px;line-height:1.3;text-overflow:ellipsis;text-shadow:0 2px 10px rgba(4,11,24,.38);white-space:nowrap}.template-card__title svg{display:none}.profile-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.profile-account-card,.profile-classroom-card,.profile-questions-card,.profile-activity-card{min-width:0;padding:26px;border:1px solid rgba(63,111,242,.12);border-radius:24px;background:#ffffffe0;box-shadow:0 20px 56px #3a5bae1a,inset 0 1px #fffffff5}.profile-account-card,.profile-classroom-card{height:100%;display:flex;flex-direction:column}.profile-account-card__body{height:100%;grid-template-columns:1fr;align-content:start;gap:18px}.profile-account-card .profile-membership-summary{margin-top:2px;padding:18px}.profile-account-card .profile-membership-summary>.button{min-height:40px;margin-top:2px}.profile-classroom-list,.profile-question-list{display:grid}.profile-classroom-list>button,.profile-question-list>button{width:100%;min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:68px;padding:10px 3px;border:0;border-top:1px solid rgba(63,111,242,.11);background:transparent;text-align:left}.profile-classroom-list>button:first-child,.profile-question-list>button:first-child{border-top:0}.profile-classroom-list>button:hover,.profile-question-list>button:hover{color:var(--brand-600)}.profile-classroom-list__icon,.profile-question-list>button>span:first-child{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--brand-600);background:var(--brand-50)}.profile-classroom-list>button>span:nth-child(2),.profile-question-list>button>span:nth-child(2){min-width:0;display:grid;gap:4px}.profile-classroom-list strong,.profile-question-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-classroom-list small,.profile-question-list small{overflow:hidden;color:#707b90;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profile-classroom-card__footer{display:flex;justify-content:flex-end;gap:9px;margin-top:auto;padding-top:18px}.profile-questions-card,.profile-activity-card{grid-column:1 / -1}.profile-question-upload{position:relative;cursor:pointer}.profile-question-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.profile-questions-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:24px}.profile-question-files{min-width:0;padding:17px;border:1px solid rgba(63,111,242,.11);border-radius:16px;background:var(--cool-canvas)}.profile-question-files>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.profile-question-files>header span{min-width:27px;padding:4px 7px;border-radius:999px;color:var(--brand-600);background:#fff;font-size:11px;font-weight:800;text-align:center}.profile-question-files article{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;padding:10px 0;border-top:1px solid rgba(63,111,242,.1)}.profile-question-files article>span{min-width:0;display:grid;gap:3px}.profile-question-files article strong,.profile-question-files article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-question-files article strong{font-size:12px}.profile-question-files article small{color:#707b90;font-size:10px}.profile-question-files__empty{min-height:112px;display:grid;place-items:center;align-content:center;gap:8px;color:#707b90;font-size:12px;text-align:center}.profile-question-files>p{margin:10px 0 0;color:#46715f;font-size:11px;line-height:1.5}.profile-activity-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-activity-list button{min-height:76px;padding:12px;border:1px solid rgba(63,111,242,.1);border-radius:14px;background:var(--cool-canvas)}.profile-activity-list button:first-child{border-top:1px solid rgba(63,111,242,.1)}.profile-activity-list button:hover{border-color:#3f6ff242;background:#f3f6ff}@media(max-width:1040px){.home-hero{padding:46px}.home-hero__intro>h2{font-size:clamp(38px,5.4vw,50px)}.home-live-example{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)}.home-creation{grid-template-columns:minmax(248px,.68fr) minmax(0,1.32fr)}.home-ai-dialog{grid-template-columns:1fr}.home-ai-dialog__prompt{min-height:132px}.page--templates .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:840px){.page--home,.page--templates,.page--square,.page--profile{padding-top:24px}.home-live-example{grid-template-columns:1fr;padding:38px 26px 26px;border-radius:24px}.home-live-example__copy h1{max-width:700px;font-size:clamp(40px,8.4vw,58px)}.home-hero{padding:38px 26px;border-radius:24px}.home-hero__intro>h2{max-width:700px;font-size:clamp(36px,7vw,48px)}.home-creation{grid-template-columns:1fr}.home-creation__options{grid-template-columns:repeat(2,minmax(0,1fr))}.home-creation__shared-tip{margin-top:18px}.home-creation__panel{min-height:0}.home-ai-dialog{grid-template-columns:minmax(220px,.86fr) minmax(300px,1.14fr)}.home-more-works{grid-template-columns:1fr}.home-more-works__copy{max-width:680px}.page--square>.page-title{align-items:flex-start}.page--templates .ai-template-banner{grid-template-columns:68px minmax(0,1fr);padding:24px}.page--templates .ai-template-banner__icon{width:66px;height:66px}.page--templates .ai-template-banner>.button{grid-column:1 / -1;width:100%}.page--templates .template-catalog{grid-template-columns:minmax(0,1fr)}.page--templates .template-catalog__content,.page--templates .catalog-toolbar,.page--templates .template-grid{width:100%;max-width:100%;min-width:0}.page--templates .template-catalog__sidebar{position:static;padding:0;border:0;background:transparent;box-shadow:none}.page--templates .template-catalog__sidebar nav{display:flex;overflow-x:auto}.page--templates .template-catalog__sidebar nav button{min-width:max-content}.page--profile>.page-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px}.page--profile .page-title__actions{width:auto;grid-column:2;grid-row:1}.profile-auth-state{grid-template-columns:48px minmax(0,1fr)}.profile-auth-state>.button{width:100%;grid-column:1 / -1}.profile-login-panel{grid-template-columns:60px minmax(0,1fr)}.profile-login-panel>.button{grid-column:1 / -1;width:100%}.profile-account-card,.profile-classroom-card,.profile-questions-card,.profile-overview-card,.profile-activity-card{grid-column:1 / -1}.profile-dashboard,.profile-account-card__body,.profile-overview-card__body,.profile-questions-layout{grid-template-columns:1fr}.profile-activity-list{grid-template-columns:1fr;gap:0}.profile-activity-list button{padding-inline:4px;border:0;border-top:1px solid rgba(63,111,242,.12);border-radius:0;background:transparent}.profile-activity-list button:first-child{border-top:0}}@media(max-width:580px){.home-live-example{padding:30px 20px 20px}.home-live-example__copy h1{font-size:39px}.home-live-example__player{padding:8px;border-radius:18px}.home-live-example__player>header{grid-template-columns:minmax(0,1fr)}.home-live-example__player>header span{width:fit-content;grid-row:auto}.home-hero{padding:30px 20px}.home-hero__intro>h2{font-size:36px}.home-hero__intro>p:not(.home-hero__eyebrow){font-size:15px}.home-creation__selector{padding:14px;border-radius:20px}.home-creation__options{grid-template-columns:1fr}.home-creation__options>button{min-height:88px}.home-manual-list{grid-template-columns:1fr}.home-creation__panel{padding:22px 18px;border-radius:20px}.home-creation__panel-header{grid-template-columns:46px minmax(0,1fr);gap:12px}.home-creation__panel-header>span{width:46px;height:46px;border-radius:14px}.home-creation__panel-header h2{font-size:27px}.home-ai-dialog,.home-ai-assets{grid-template-columns:1fr}.home-ai-assets ul{justify-content:flex-start}.home-creation__panel-footer{align-items:stretch;flex-direction:column}.home-creation__panel-footer .button{width:100%}.home-more-works{padding:24px 18px;border-radius:22px}.home-more-works__mosaic{grid-template-columns:minmax(0,1.2fr) minmax(108px,.8fr);grid-template-rows:repeat(2,100px);transform:none}.home-more-works__copy .button{width:100%}.page--templates .page-title h1,.page--square .page-title h1,.page--profile .page-title h1{font-size:36px}.page--square>.page-title{display:grid;gap:22px;margin-bottom:42px;padding:26px 20px}.page--square>.page-title .page-title__actions,.page--square>.page-title .button{width:100%}.page--profile>.page-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.page--profile .page-title__actions{width:auto;grid-column:2;grid-row:1}.page--profile .profile-top-settings{flex:0 0 auto;padding-inline:13px}.page--templates .ai-template-banner{margin-bottom:46px;padding:20px 17px}.page--templates .catalog-toolbar{grid-template-columns:minmax(0,1fr)}.page--templates .search-field,.page--templates .select-field{width:100%;min-width:0}.page--templates .select-field{justify-content:flex-start}.page--templates .select-field select{flex:1;width:auto;min-width:0}.page--templates .select-field>svg:last-child{margin-left:auto}.page--templates .template-grid{grid-template-columns:1fr}.catalog-pagination{gap:8px;padding-inline:0}.catalog-pagination__step{min-width:42px;width:42px;overflow:hidden;padding:0;color:#42506a;font-size:0;gap:0}.catalog-pagination__step svg{flex:0 0 auto}.catalog-pagination__pages{gap:5px}.catalog-pagination__pages button{width:36px;min-height:36px}.profile-login-panel{grid-template-columns:1fr;justify-items:start;padding:30px 22px}.profile-login-panel>.button{grid-column:auto}.profile-auth-state{min-height:260px;grid-template-columns:1fr;justify-items:start;padding:30px 22px}.profile-auth-state>.button{grid-column:auto}.profile-account-card,.profile-classroom-card,.profile-questions-card,.profile-overview-card,.profile-activity-card{grid-column:1 / -1;padding:22px 18px;border-radius:20px}.profile-account-card__identity{align-items:flex-start}.profile-avatar--large{width:68px;height:68px}.profile-membership-summary{padding:17px}.profile-classroom-card__footer{align-items:stretch;flex-direction:column}.profile-classroom-card__footer .button{width:100%}.profile-questions-card .profile-card-header{align-items:stretch;flex-direction:column}.profile-question-upload{width:100%}.profile-ai-create-card{grid-template-columns:44px minmax(0,1fr);padding:17px}.profile-ai-create-card>span{width:44px;height:44px}.profile-ai-create-card>.button{width:100%;grid-column:1 / -1}}@media(max-width:360px){.catalog-pagination{flex-wrap:wrap}.catalog-pagination__pages{order:1;width:100%;justify-content:center}.catalog-pagination__step{order:2;width:auto;min-width:0;flex:1 1 120px;padding-inline:10px;gap:5px;color:#42506a}.profile-permission-card,.profile-avatar-picker>div{grid-template-columns:1fr}}@media(prefers-reduced-transparency:reduce){.home-creation__selector,.home-creation__panel,.home-ai-assets,.home-live-example,.home-more-works,.profile-account-card,.profile-classroom-card,.profile-questions-card,.profile-overview-card,.profile-activity-card{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}@media(prefers-reduced-motion:reduce){.home-creation__options>button,.home-live-example__thumbnail>img,.home-manual-list>button,.home-manual-list>button>img,.page--templates .template-card,.page--templates .template-card__surface .template-visual img,.profile-library-summary button{transition:none}.home-creation__options>button:hover,.home-live-example__thumbnail:hover>img,.home-manual-list>button:hover,.home-manual-list>button:hover>img,.page--templates .template-card:hover,.page--templates .template-card:hover .template-visual img,.profile-library-summary button:hover{transform:none}}.home-live-example__copy>.button{margin-top:24px}.home-creation{grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr)}.home-creation__selector{padding:22px}.home-creation__options{gap:14px}.home-creation__options>button{grid-template-columns:76px minmax(0,1fr) 20px;min-height:128px;gap:15px;padding:18px;border-radius:20px}.home-creation__option-icon{width:76px;height:76px;border-radius:20px}.home-creation__options strong{font-size:17px;line-height:1.35}.home-creation__options small{font-size:13px;line-height:1.55}.home-creation__panel-footer:has(>.button:only-child){justify-content:flex-end}.page--templates>.page-title{margin-bottom:20px}.page--templates .ai-template-banner{margin-bottom:34px}.page--templates .template-card{position:relative}.template-card__favorite{position:absolute;z-index:4;top:13px;right:13px}.favorite-toggle{width:40px;height:40px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.78);border-radius:12px;color:#536078;background:#ffffffeb;box-shadow:0 9px 24px #233c6e2b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease}.favorite-toggle:hover{color:var(--brand-600);transform:translateY(-1px)}.favorite-toggle.is-active{color:#fff;border-color:var(--brand-600);background:var(--brand-600)}.template-detail-favorite{margin-right:auto}.template-detail-favorite.is-active,.button.is-favorite{color:var(--brand-600);border-color:#3f6ff247;background:var(--brand-50)}.template-favorites-filter{width:100%;min-height:50px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;margin-bottom:10px;padding:9px 11px;border:1px solid rgba(63,111,242,.24);border-radius:13px;color:var(--brand-600);background:linear-gradient(135deg,#fff,#edf3ff);box-shadow:0 12px 28px #3056b31c;text-align:left;cursor:pointer}.template-favorites-filter span{font-size:14px;font-weight:850}.template-favorites-filter small{min-width:24px;padding:3px 7px;border-radius:999px;color:#fff;background:var(--brand-600);font-size:10px;text-align:center}.template-favorites-filter.is-active{color:#fff;border-color:var(--brand-600);background:var(--brand-600)}.template-favorites-filter.is-active small{color:var(--brand-600);background:#fff}.template-detail{display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(0,.95fr);gap:26px;align-items:center}.template-detail__visual{min-width:0;aspect-ratio:16 / 10;overflow:hidden;border-radius:18px;background:#dfe9ff;box-shadow:0 18px 44px #2e4f9a29}.template-detail__visual img{width:100%;height:100%;display:block;object-fit:cover}.template-detail__content{min-width:0;display:grid;align-content:center;gap:13px}.template-detail__content h3{margin:0;font-size:29px;letter-spacing:-.025em}.template-detail__content>p{margin:0;color:#5b687e;line-height:1.72}.template-detail__note{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding:13px;border-radius:13px;color:#3857a9;background:var(--brand-50);font-size:13px;line-height:1.55}.template-detail__examples strong{font-size:13px}.template-detail__examples ul{display:grid;gap:6px;margin:9px 0 0;padding-left:19px;color:#637086;font-size:12px;line-height:1.5}.community-card__footer>div{display:flex;align-items:center;gap:8px}.community-card__footer .favorite-toggle{width:34px;height:34px;border-color:#3f6ff229;box-shadow:none}.square-featured__actions{flex-wrap:wrap}.profile-favorites-card{min-width:0;grid-column:1 / -1;padding:26px;border:1px solid rgba(63,111,242,.12);border-radius:24px;background:#ffffffe0;box-shadow:0 20px 56px #3a5bae1a,inset 0 1px #fffffff5}.profile-favorites-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-favorites-list article{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(63,111,242,.12);border-radius:16px;background:var(--cool-canvas)}.profile-favorite-main{width:100%;min-width:0;display:grid;grid-template-columns:68px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:11px 52px 11px 11px;border:0;background:transparent;text-align:left;cursor:pointer}.profile-favorite-main img{width:68px;height:58px;display:block;border-radius:11px;object-fit:cover}.profile-favorite-main>span{min-width:0;display:grid;gap:5px}.profile-favorite-main small{color:var(--brand-600);font-size:10px;font-weight:800}.profile-favorite-main strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.profile-favorites-list article>.favorite-toggle{position:absolute;top:50%;right:10px;width:34px;height:34px;transform:translateY(-50%);box-shadow:none}.profile-favorites-list article>.favorite-toggle:hover{transform:translateY(calc(-50% - 1px))}.profile-favorites-empty{min-height:116px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px;border:1px dashed rgba(63,111,242,.24);border-radius:16px;color:var(--brand-600);background:var(--cool-canvas)}.profile-favorites-empty p{margin:5px 0 0;color:#68758b;font-size:13px;line-height:1.55}.account-settings-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px;padding:5px;border-radius:14px;background:var(--cool-canvas)}.account-settings-tabs button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;color:#637086;background:transparent;font-weight:800;cursor:pointer}.account-settings-tabs button.is-active{color:var(--brand-600);background:#fff;box-shadow:0 7px 20px #2f51a41a}.account-settings-notice{margin:0 0 16px;padding:11px 13px;border-radius:11px;font-size:13px;line-height:1.5}.account-settings-notice--success{color:#167149;background:#edf9f3}.account-settings-notice--error{color:#a43c46;background:#fff1f2}.account-security-panel,.account-other-panel{display:grid;gap:14px}.account-security-panel{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:start}.account-setting-card{min-width:0;padding:18px;border:1px solid rgba(63,111,242,.12);border-radius:16px;background:#fff}.account-setting-card>header{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;margin-bottom:15px}.account-setting-card>header>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--brand-600);background:var(--brand-50)}.account-setting-card h3{margin:0 0 3px;font-size:16px}.account-setting-card header p{margin:0;color:#707b90;font-size:12px;line-height:1.5}.account-login-methods,.account-session-list{display:grid;gap:8px;margin-bottom:14px}.account-login-methods>div,.account-session-list>div{min-width:0;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;padding:10px;border-radius:11px;color:#516079;background:var(--cool-canvas);font-size:12px}.account-login-methods svg{color:var(--success)}.account-session-list>div>span{min-width:0;display:grid;gap:3px}.account-session-list strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.account-session-list small{color:#8792a6;font-size:10px}.account-setting-form{display:grid;gap:12px}.account-setting-form>header{margin-bottom:2px}.account-setting-form label{min-width:0;display:grid;gap:6px;color:#5d6980;font-size:12px;font-weight:750}.account-setting-form input{width:100%;min-width:0;min-height:42px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;color:var(--text-strong);background:#fff}.account-setting-form input:disabled{color:#8b95a7;background:#f5f7fb}.account-setting-form>.button{justify-self:start}.account-setting-card__unavailable{margin:0;color:#7c8798;font-size:12px;line-height:1.55}.account-phone-code{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.global-action-toast{position:fixed;z-index:320;right:22px;bottom:22px;max-width:min(380px,calc(100vw - 32px));display:grid;grid-template-columns:22px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:12px 12px 12px 15px;border:1px solid rgba(63,111,242,.22);border-radius:14px;color:#294b9d;background:#fffffff5;box-shadow:0 18px 48px #26458b33;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:13px;font-weight:750}.global-action-toast button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.modal-layer{opacity:0;transition:opacity var(--modal-open-dur) ease}.modal-layer.is-open{opacity:1}.modal-layer.is-closing{opacity:0;transition-duration:var(--modal-close-dur)}:root{--modal-open-dur: .25s;--modal-close-dur: .15s;--modal-scale: .96;--modal-scale-close: .96;--modal-ease: cubic-bezier(.22, 1, .36, 1)}.t-modal{transform-origin:center;transform:scale(var(--modal-scale));opacity:0;pointer-events:none;transition:transform var(--modal-open-dur) var(--modal-ease),opacity var(--modal-open-dur) var(--modal-ease);will-change:transform,opacity}.t-modal.is-open{transform:scale(1);opacity:1;pointer-events:auto}.t-modal.is-closing{transform:scale(var(--modal-scale-close));opacity:0;pointer-events:none;transition:transform var(--modal-close-dur) var(--modal-ease),opacity var(--modal-close-dur) var(--modal-ease)}@media(prefers-reduced-motion:reduce){.t-modal{transition:none!important}}@media(max-width:1040px){.home-creation{grid-template-columns:minmax(300px,.76fr) minmax(0,1.24fr)}.home-creation__options>button{grid-template-columns:68px minmax(0,1fr) 18px;min-height:120px;padding:16px}.home-creation__option-icon{width:68px;height:68px}.profile-favorites-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:840px){.home-creation{grid-template-columns:1fr}.home-creation__options>button{min-height:132px}.template-favorites-filter{width:fit-content;min-width:160px;margin:0 0 10px}.page--templates .template-catalog__sidebar{display:flex;align-items:center;gap:8px;overflow-x:auto}.page--templates .template-catalog__sidebar nav{flex:1 0 auto}.profile-favorites-card{grid-column:1 / -1}.account-security-panel{grid-template-columns:1fr}}@media(max-width:620px){.template-detail{grid-template-columns:1fr}.template-detail__content h3{font-size:24px}.modal-card__footer{flex-wrap:wrap}.modal-card__footer .button{flex:1 1 auto}.template-detail-favorite{width:100%;margin-right:0}.profile-favorites-card{padding:22px 18px;border-radius:20px}.profile-favorites-list{grid-template-columns:1fr}.profile-favorites-empty{grid-template-columns:34px minmax(0,1fr)}.profile-favorites-empty .button{width:100%;grid-column:1 / -1}.account-settings-tabs{grid-template-columns:1fr 1fr}.account-phone-code{grid-template-columns:1fr}.account-setting-form>.button,.account-phone-code .button{width:100%}.global-action-toast{right:14px;bottom:calc(var(--mobile-nav-height) + 14px)}}@media(prefers-reduced-transparency:reduce){.favorite-toggle,.global-action-toast,.profile-favorites-card{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}.editor-page{--editor-accent: var(--brand-500, #04b6bb);--editor-accent-strong: var(--brand-600, #029599);--editor-accent-soft: var(--brand-50, #f0fbfb);--editor-ink: var(--text-strong, #333333);--editor-copy: var(--text, #666666);--editor-muted: var(--text-muted, #969da3);--editor-line: var(--border-soft, #e9eeee);--editor-line-strong: var(--border, #dddddd);--editor-radius: 12px;min-height:calc(100dvh - var(--header-height, 78px));padding-bottom:44px;color:var(--editor-ink);background:#f7fafa}.editor-page button,.modal-layer button{font:inherit}.editor-page button:active:not(:disabled),.modal-layer button:active:not(:disabled){transform:translateY(1px)}.editor-page .button,.modal-layer .button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid transparent;border-radius:8px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .1s ease}.editor-page .button--primary,.modal-layer .button--primary{color:#fff;border-color:var(--editor-accent, #04b6bb);background:var(--editor-accent, #04b6bb)}.editor-page .button--primary:hover:not(:disabled),.modal-layer .button--primary:hover:not(:disabled){border-color:var(--editor-accent-strong, #029599);background:var(--editor-accent-strong, #029599)}.editor-page .button--secondary,.modal-layer .button--secondary{color:var(--editor-accent-strong, #029599);border-color:#04b6bb7a;background:#fff}.editor-page .button--secondary:hover:not(:disabled),.modal-layer .button--secondary:hover:not(:disabled){border-color:var(--editor-accent, #04b6bb);background:var(--editor-accent-soft, #f0fbfb)}.editor-page .button--quiet,.modal-layer .button--quiet{color:#4d585c;border-color:var(--editor-line-strong, #dddddd);background:#fff}.editor-page .button--quiet:hover:not(:disabled),.modal-layer .button--quiet:hover:not(:disabled){color:var(--editor-accent-strong, #029599);border-color:#04b6bb6b;background:var(--editor-accent-soft, #f0fbfb)}.editor-page .icon-button,.modal-layer .icon-button{width:38px;height:38px;flex:0 0 38px;display:inline-grid;place-items:center;padding:0;border:1px solid var(--editor-line-strong, #dddddd);border-radius:8px;color:#526065;background:#fff;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .1s ease}.editor-page .icon-button:hover:not(:disabled),.modal-layer .icon-button:hover:not(:disabled){color:var(--editor-accent-strong, #029599);border-color:#04b6bb7a;background:var(--editor-accent-soft, #f0fbfb)}.editor-page .icon-button--danger:hover:not(:disabled){color:#bd343d;border-color:#e85b6170;background:#fff5f5}.editor-page .text-button{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:0;border-radius:7px;color:var(--editor-accent-strong);background:transparent;font-weight:700;cursor:pointer}.editor-page .text-button:hover{background:#04b6bb1a}.editor-header{position:sticky;z-index:28;top:var(--header-height, 78px);min-height:76px;display:grid;grid-template-columns:minmax(300px,1fr) auto auto;align-items:center;gap:22px;padding:12px max(20px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--editor-line);background:#fffffffa;box-shadow:0 4px 14px #14373c0a}.editor-header__left{min-width:0;display:flex;align-items:center;gap:12px}.editor-header__left>div{min-width:0;display:grid;gap:3px}.editor-header__left span{color:var(--editor-muted);font-size:12px;line-height:1.3}.editor-header__left input{width:min(100%,520px);min-width:0;padding:4px 7px;border:1px solid transparent;border-radius:6px;color:var(--editor-ink);background:transparent;font-size:18px;font-weight:750;line-height:1.35;text-overflow:ellipsis}.editor-header__left input:hover{border-color:var(--editor-line-strong);background:#fff}.editor-header__left input:focus{border-color:var(--editor-accent);outline:3px solid rgba(4,182,187,.18);background:#fff}.editor-header__status{min-height:32px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--editor-line);border-radius:8px;color:#5e696d;background:#fbfdfd;font-size:12px;white-space:nowrap}.editor-header__status svg{flex:0 0 auto;color:var(--editor-accent-strong)}.editor-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.editor-ai-note{width:min(1200px,calc(100% - 32px));min-height:58px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:16px auto 0;padding:10px 14px;border:1px solid rgba(4,182,187,.22);border-radius:10px;color:var(--editor-accent-strong);background:var(--editor-accent-soft)}.editor-ai-note>svg{align-self:start;margin-top:3px}.editor-ai-note>div{min-width:0;display:grid;gap:2px}.editor-ai-note strong{color:#274348;font-size:13px}.editor-ai-note span{color:#587075;font-size:12px;line-height:1.55}.editor-layout{width:min(1440px,calc(100% - 32px));display:grid;grid-template-columns:minmax(190px,.5fr) minmax(400px,1.12fr) minmax(400px,1fr);align-items:start;gap:14px;margin:14px auto 0}.editor-question-nav,.question-editor,.game-settings{min-width:0;border:1px solid var(--editor-line);border-radius:var(--editor-radius);background:#fff;box-shadow:0 5px 18px #14373c0b}.editor-question-nav,.game-settings{position:sticky;top:calc(var(--header-height, 78px) + 90px);max-height:calc(100dvh - var(--header-height, 78px) - 108px);overflow:hidden}.editor-question-nav{display:grid;grid-template-rows:auto minmax(160px,1fr) auto}.editor-question-nav>header,.question-editor__header,.game-settings>header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--editor-line)}.editor-question-nav>header>div,.game-settings>header>div{min-width:0}.editor-question-nav h2,.question-editor h2,.game-settings h2{margin:0;color:var(--editor-ink);font-size:16px;line-height:1.35}.editor-question-nav>header span,.game-settings>header p{display:block;margin:2px 0 0;color:var(--editor-muted);font-size:11px;line-height:1.35}.editor-question-nav>ol{min-height:0;display:grid;align-content:start;gap:5px;margin:0;padding:8px;overflow-y:auto;list-style:none;scrollbar-color:#cbd8d9 transparent;scrollbar-width:thin}.editor-question-nav li,.editor-question-nav li button{min-width:0;width:100%}.editor-question-nav li button{min-height:61px;display:grid;grid-template-columns:26px minmax(0,1fr) 17px;align-items:center;gap:8px;padding:8px 9px;border:1px solid transparent;border-radius:9px;color:#566266;background:transparent;text-align:left;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .1s ease}.editor-question-nav li button:hover{border-color:var(--editor-line);background:#f8fbfb}.editor-question-nav li button.is-active,.editor-question-nav li button[aria-current=true]{color:var(--editor-accent-strong);border-color:#04b6bb57;background:var(--editor-accent-soft)}.editor-question-nav li button>span{width:26px;height:26px;display:grid;place-items:center;border:1px solid #d8e1e2;border-radius:7px;color:#667276;background:#fff;font-size:11px;font-weight:800}.editor-question-nav li button.is-active>span,.editor-question-nav li button[aria-current=true]>span{color:#fff;border-color:var(--editor-accent);background:var(--editor-accent)}.editor-question-nav li button>div{min-width:0;display:grid;gap:3px}.editor-question-nav li strong,.editor-question-nav li small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-question-nav li strong{color:#3e484c;font-size:12px;font-weight:700}.editor-question-nav li small{color:var(--editor-muted);font-size:10px}.editor-question-nav li button>svg{color:var(--editor-accent-strong)}.editor-question-nav>footer{display:grid;gap:7px;padding:10px;border-top:1px solid var(--editor-line);background:#fbfdfd}.editor-question-nav>footer .button{width:100%}.question-editor{min-height:610px;overflow:hidden}.question-editor__header>div:first-child{min-width:0;display:flex;align-items:baseline;gap:8px}.question-editor__header>div:first-child>span{color:var(--editor-accent-strong);font-size:12px;font-weight:800}.question-editor__header>div:last-child{display:flex;align-items:center;gap:7px}.question-editor__form{display:grid;gap:18px;padding:20px}.editor-page .field-label{min-width:0;display:grid;gap:7px;color:#444f53;font-size:13px;font-weight:700}.editor-page .field-label>span{min-width:0;display:flex;align-items:center;gap:6px;line-height:1.4}.editor-page .field-label>span small,.option-editor legend small{color:var(--editor-muted);font-size:11px;font-weight:500}.editor-page .field-label>span strong{margin-left:auto;color:var(--editor-accent-strong);font-size:12px}.editor-page .field-label select,.editor-page .field-label textarea,.editor-page .field-label input:not([type=range]),.option-row>input[type=text],.option-row>input:not([type]){width:100%;min-width:0;border:1px solid #d8e0e1;border-radius:8px;color:var(--editor-ink);background:#fff;font-size:14px;font-weight:500;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.editor-page .field-label select,.editor-page .field-label input:not([type=range]){min-height:42px;padding:9px 11px}.editor-page .field-label textarea{min-height:86px;padding:11px 12px;line-height:1.65;resize:vertical}.editor-page .field-label textarea::placeholder{color:#7d888c}.editor-page .field-label select:hover,.editor-page .field-label textarea:hover,.editor-page .field-label input:not([type=range]):hover,.option-row>input:not([type=radio]):hover{border-color:#b8c7c9}.editor-page .field-label select:focus,.editor-page .field-label textarea:focus,.editor-page .field-label input:not([type=range]):focus,.option-row>input:not([type=radio]):focus{border-color:var(--editor-accent);outline:none;box-shadow:0 0 0 3px #04b6bb29}.field-label--question textarea{min-height:116px;font-size:15px}.option-editor{min-width:0;display:grid;gap:9px;margin:0;padding:0;border:0}.option-editor legend{width:100%;margin-bottom:5px;color:#444f53;font-size:13px;font-weight:700}.option-row{min-width:0;min-height:48px;display:grid;grid-template-columns:18px 30px minmax(0,1fr) 38px;align-items:center;gap:8px;padding:5px 6px 5px 11px;border:1px solid var(--editor-line);border-radius:9px;background:#fbfdfd}.option-row.is-answer{border-color:#04b6bb6b;background:var(--editor-accent-soft)}.option-row>input[type=radio]{width:17px;height:17px;margin:0;accent-color:var(--editor-accent-strong);cursor:pointer}.option-row>span{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#5e696d;background:#edf2f2;font-size:11px;font-weight:800}.option-row.is-answer>span{color:#fff;background:var(--editor-accent)}.option-row>input:not([type=radio]){min-width:0;min-height:36px;padding:7px 9px;border:1px solid transparent;border-radius:7px;color:var(--editor-ink);background:#fff}.option-row>.icon-button{width:34px;height:34px;flex-basis:34px}.editor-page .empty-state{min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:30px;color:var(--editor-muted);text-align:center}.editor-page .empty-state svg{color:var(--editor-accent)}.editor-page .empty-state h3{margin:0 0 4px;color:var(--editor-ink);font-size:17px}.game-settings{overflow-y:auto;scrollbar-color:#cbd8d9 transparent;scrollbar-width:thin}.editor-workbench__header{position:sticky;z-index:3;top:0;background:#fffffffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.workbench-status{min-height:26px;display:inline-flex;align-items:center;padding:4px 8px;border:1px solid rgba(4,182,187,.24);border-radius:7px;color:#26777b;background:#f1fbfb;font-size:10px;font-weight:800;white-space:nowrap}.workbench-status--playing,.workbench-status--completed{color:#fff;border-color:var(--editor-accent-strong);background:var(--editor-accent-strong)}.workbench-status--error{color:#a22d36;border-color:#bd343d47;background:#fff2f3}.game-settings>header{justify-content:flex-start}.game-settings>header>svg{flex:0 0 auto;color:var(--editor-accent-strong)}.game-settings__live{display:grid;gap:10px;margin:13px;padding:10px;border:1px solid rgba(4,182,187,.22);border-radius:12px;background:linear-gradient(145deg,#effafa,#fbfefe)}.game-settings__live-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.game-settings__live-heading>div{min-width:0;display:grid;gap:2px}.game-settings__live-heading span{color:var(--editor-accent-strong);font-size:10px;font-weight:850;letter-spacing:.08em}.game-settings__live-heading strong{color:#29474b;font-size:13px}.game-settings__live-heading .text-button{flex:0 0 auto;padding:5px 7px;font-size:11px}.game-settings__live .game-renderer-frame{border-radius:12px;box-shadow:0 12px 30px #1a5b6021}.preview-update-notice{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px 7px 10px;border:1px solid rgba(4,182,187,.24);border-radius:8px;color:#46666a;background:#fff;font-size:10px;line-height:1.4}.preview-update-notice button{flex:0 0 auto;min-height:26px;padding:4px 7px;border:1px solid var(--editor-accent);border-radius:6px;color:#fff;background:var(--editor-accent);font-size:10px;font-weight:800;cursor:pointer}.game-settings__preview{min-height:68px;display:grid;grid-template-columns:38px minmax(0,1fr) 36px;align-items:center;gap:9px;margin:13px;padding:10px;border:1px solid rgba(4,182,187,.25);border-radius:10px;color:var(--editor-accent-strong);background:var(--editor-accent-soft)}.game-settings__preview>div{min-width:0;display:grid;gap:3px}.game-settings__preview span{color:#638084;font-size:10px}.game-settings__preview strong{overflow:hidden;color:#29474b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.game-settings__preview .icon-button{width:34px;height:34px;flex-basis:34px;border-color:#04b6bb38}.editor-workbench__tabs{position:sticky;z-index:2;top:62px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 13px;padding:4px;border:1px solid var(--editor-line);border-radius:10px;background:#f2f6f6}.editor-workbench__tabs button{min-width:0;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 8px;border:1px solid transparent;border-radius:7px;color:#657276;background:transparent;font-size:11px;font-weight:750;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .1s ease}.editor-workbench__tabs button:hover{color:var(--editor-accent-strong);background:#ffffffb8}.editor-workbench__tabs button.is-active{color:var(--editor-accent-strong);border-color:#04b6bb38;background:#fff;box-shadow:0 3px 10px #184d5212}.editor-workbench__tabs button>span{min-width:18px;height:18px;display:inline-grid;place-items:center;padding-inline:4px;border-radius:5px;color:inherit;background:var(--editor-accent-soft);font-size:9px}.editor-workbench__body{padding:12px 13px 15px}.workbench-panel{min-width:0;display:grid;gap:11px}.workbench-panel__heading{min-height:42px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.workbench-panel__heading>div{min-width:0;display:grid;gap:3px}.workbench-panel__heading>div>span{color:var(--editor-accent-strong);font-size:10px;font-weight:800}.workbench-panel__heading strong{color:#29474b;font-size:13px;line-height:1.4}.workbench-panel__heading>svg{flex:0 0 auto;color:var(--editor-accent-strong)}.question-bank-count{min-width:38px;height:26px;display:inline-grid;place-items:center;padding-inline:7px;border:1px solid rgba(4,182,187,.22);border-radius:7px;color:var(--editor-accent-strong);background:var(--editor-accent-soft);font-size:10px;font-weight:850}.question-bank-summary{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid rgba(4,182,187,.2);border-radius:9px;background:var(--editor-accent-soft)}.question-bank-summary>div{min-width:0;display:grid;gap:2px}.question-bank-summary strong{color:#315458;font-size:12px}.question-bank-summary span{color:#678084;font-size:10px}.question-bank-summary .text-button{flex:0 0 auto;min-height:30px;padding:5px 7px;font-size:10px}.question-bank-search{display:grid;gap:5px;color:#58666a;font-size:10px;font-weight:750}.question-bank-search>div{min-height:38px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;padding-inline:10px;border:1px solid var(--editor-line-strong);border-radius:8px;color:#7b898d;background:#fff}.question-bank-search>div:focus-within{color:var(--editor-accent-strong);border-color:var(--editor-accent);outline:3px solid rgba(4,182,187,.14)}.question-bank-search input{width:100%;min-width:0;height:34px;padding:0;border:0;outline:0;color:var(--editor-ink);background:transparent;font:inherit;font-size:11px}.question-bank-search input::placeholder{color:#8b9699}.question-bank-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.question-bank-filters button,.question-bank-bulk button{min-height:30px;border:1px solid var(--editor-line);border-radius:7px;color:#687579;background:#fff;font-size:10px;font-weight:750;cursor:pointer}.question-bank-filters button:hover,.question-bank-filters button.is-active{color:var(--editor-accent-strong);border-color:#04b6bb4d;background:var(--editor-accent-soft)}.question-bank-list{min-height:180px;max-height:430px;display:grid;align-content:start;gap:6px;overflow-y:auto;scrollbar-color:#cbd8d9 transparent;scrollbar-width:thin}.question-bank-row{min-width:0;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid var(--editor-line);border-radius:9px;background:#fbfdfd}.question-bank-row.is-active{border-color:#04b6bb47;background:#f7fcfc}.question-bank-row.is-selected{border-color:var(--editor-accent);box-shadow:inset 3px 0 0 var(--editor-accent)}.question-bank-row>input{width:16px;height:16px;margin:0;accent-color:var(--editor-accent-strong);cursor:pointer}.question-bank-row__copy{min-width:0;display:grid;gap:2px;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.question-bank-row__copy>span{color:var(--editor-accent-strong);font-size:9px;font-weight:800}.question-bank-row__copy strong{overflow:hidden;color:#3c4c50;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.question-bank-row__copy small{overflow:hidden;color:#818d91;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.question-bank-row__actions{display:flex;align-items:center;gap:3px}.question-bank-row__actions button{width:25px;height:25px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:6px;color:#738085;background:transparent;cursor:pointer}.question-bank-row__actions button:hover:not(:disabled){color:var(--editor-accent-strong);border-color:#04b6bb38;background:var(--editor-accent-soft)}.question-bank-row__actions button:disabled{opacity:.28;cursor:default}.question-bank-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:5px;padding:20px;border:1px dashed var(--editor-line-strong);border-radius:9px;color:#899497;text-align:center}.question-bank-empty strong{color:#526065;font-size:12px}.question-bank-empty span{font-size:10px}.question-bank-bulk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.question-bank-bulk button:hover{color:var(--editor-accent-strong);border-color:#04b6bb4d;background:var(--editor-accent-soft)}.workbench-notice{padding:8px 9px;border:1px solid rgba(4,182,187,.2);border-radius:8px;color:#315f63;background:var(--editor-accent-soft);font-size:10px;line-height:1.5}.elements-panel__intro,.elements-panel__legal{margin:0;color:#687579;font-size:10px;line-height:1.55}.element-slot-list{display:grid;gap:8px}.element-slot-card{display:grid;gap:10px;padding:10px;border:1px solid var(--editor-line);border-radius:10px;background:#fbfdfd}.element-slot-card>header{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:9px}.element-slot-card>header>div:nth-child(2){min-width:0;display:grid;gap:1px}.element-slot-card>header span{color:var(--editor-accent-strong);font-size:9px;font-weight:800}.element-slot-card>header strong{color:#3a4b4f;font-size:12px}.element-slot-card>header small{overflow:hidden;color:#818d91;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.element-slot-preview{width:44px;height:44px;overflow:hidden;border:1px solid rgba(4,182,187,.2);border-radius:9px;background:var(--editor-accent-soft)}.element-slot-preview img,.element-slot-preview__fallback{width:100%;height:100%;display:grid;place-items:center;object-fit:cover}.element-slot-preview__fallback{color:var(--editor-accent-strong)}.element-slot-kind{align-self:start;padding:4px 6px;border-radius:6px;color:#657276!important;background:#eef3f3;white-space:nowrap}.element-field{min-width:0;display:grid;gap:5px;color:#59676b;font-size:10px;font-weight:750}.element-field>input,.element-field select,.element-prompt-row>input{width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid var(--editor-line-strong);border-radius:8px;color:var(--editor-ink);background:#fff;font:inherit;font-size:11px}.element-field>input:focus,.element-field select:focus,.element-prompt-row>input:focus{border-color:var(--editor-accent);outline:3px solid rgba(4,182,187,.14)}.element-prompt-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.element-prompt-row>button{min-height:36px;display:inline-flex;align-items:center;gap:4px;padding:7px 9px;border:1px solid rgba(4,182,187,.34);border-radius:8px;color:var(--editor-accent-strong);background:var(--editor-accent-soft);font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}.element-slot-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.element-slot-actions .button{min-width:0;min-height:36px;padding:7px 8px;font-size:10px}.element-slot-actions label{position:relative;cursor:pointer}.element-slot-actions label.is-busy{opacity:.66;cursor:wait}.element-slot-actions input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.settings-panel>.field-label,.settings-panel>.settings-toggles,.settings-panel>.game-settings__summary{margin:0}.asset-settings{display:grid;gap:11px;margin:0 14px 16px;padding:12px;border:1px solid rgba(63,111,242,.18);border-radius:11px;background:#f8faff}.asset-settings>header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#4261db}.asset-settings>header>div{display:grid;gap:2px}.asset-settings>header span{font-size:10px;font-weight:850;letter-spacing:.07em}.asset-settings>header strong{color:#273858;font-size:13px}.asset-settings__selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.asset-settings__selects label,.asset-settings__prompt{min-width:0;display:grid;gap:5px;color:#59677d;font-size:10px;font-weight:750}.asset-settings select,.asset-settings textarea{width:100%;min-width:0;border:1px solid rgba(63,111,242,.18);border-radius:8px;color:#273858;background:#fff;font:inherit}.asset-settings select{min-height:34px;padding:6px 7px;font-size:11px}.asset-settings textarea{resize:vertical;padding:8px 9px;font-size:11px;line-height:1.5}.asset-settings select:focus-visible,.asset-settings textarea:focus-visible{outline:3px solid rgba(63,111,242,.2);outline-offset:1px}.asset-settings__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.asset-settings__actions .button{min-width:0;min-height:38px;padding:7px 8px;font-size:10px}.asset-settings__actions label{cursor:pointer}.asset-settings__actions input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.asset-settings>p{margin:0;color:#68758a;font-size:9px;line-height:1.55}.asset-settings__notice{padding:7px 8px;border-radius:7px;color:#3154b8;background:#edf2ff;font-size:10px;line-height:1.5}.game-settings>.field-label,.settings-toggles,.game-settings__summary{margin-inline:14px}.game-settings>.field-label{margin-bottom:15px}.range-field input[type=range]{width:100%;margin:4px 0 1px;accent-color:var(--editor-accent-strong);cursor:pointer}.range-field>small{display:flex;justify-content:space-between;color:var(--editor-muted);font-size:10px;font-weight:500}.settings-toggles{display:grid;gap:6px;margin-top:2px}.settings-toggles>label{min-height:57px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--editor-line);border-radius:9px;background:#fbfdfd;cursor:pointer}.settings-toggles>label:hover{border-color:#04b6bb59;background:var(--editor-accent-soft)}.settings-toggles>label>div{min-width:0;display:flex;align-items:center;gap:8px;color:var(--editor-accent-strong)}.settings-toggles>label>div>span{min-width:0;display:grid;gap:2px}.settings-toggles strong{color:#3f4b4f;font-size:12px}.settings-toggles small{color:var(--editor-muted);font-size:10px;font-weight:500;line-height:1.35}.settings-toggles input[type=checkbox]{width:18px;height:18px;flex:0 0 auto;margin:0;accent-color:var(--editor-accent-strong);cursor:pointer}.game-settings__summary{display:flex;align-items:flex-start;gap:9px;margin-block:15px;padding:11px;border:1px solid rgba(4,182,187,.22);border-radius:9px;color:var(--editor-accent-strong);background:var(--editor-accent-soft)}.game-settings__summary>div{min-width:0}.game-settings__summary strong{display:block;color:#345054;font-size:12px}.game-settings__summary p{margin:3px 0 0;color:#658084;font-size:10px}.modal-layer{position:fixed;z-index:220;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#142b2f80}.modal-card{width:min(620px,100%);max-height:min(88dvh,880px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe4e5;border-radius:14px;color:var(--text-strong, #333333);background:#fff;box-shadow:0 24px 70px #14373c38}.modal-card--wide{width:min(980px,100%)}.modal-card__header{min-height:76px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid var(--border-soft, #e9eeee)}.modal-card__header>div{min-width:0}.modal-card__header h2{margin:0;color:var(--text-strong, #333333);font-size:19px;line-height:1.35}.modal-card__header p{margin:5px 0 0;color:var(--text, #666666);font-size:12px;line-height:1.5}.modal-card__body{min-height:0;padding:20px;overflow:auto;background:#f7fafa}.modal-card__footer{min-height:66px;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:12px 20px;border-top:1px solid var(--border-soft, #e9eeee);background:#fff}.game-preview-screen{min-height:500px;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;border:1px solid #d6e3e4;border-radius:12px;color:#34494d;background:#eaf7f7;box-shadow:0 10px 30px #14373c17}.game-preview-screen>header{min-height:72px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 17px;color:#fff;background:#087f84}.game-preview-screen>header>div{min-width:0;display:grid;gap:3px}.game-preview-screen>header span{display:inline-flex;align-items:center;gap:5px;font-size:11px}.game-preview-screen>header strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.game-preview-screen__question{width:min(680px,calc(100% - 32px));align-self:center;justify-self:center;display:grid;gap:17px;margin-block:28px;padding:28px;border:1px solid rgba(4,182,187,.26);border-radius:12px;background:#fff;box-shadow:0 10px 28px #14373c17}.game-preview-screen__question>small{width:fit-content;padding:4px 8px;border:1px solid rgba(4,182,187,.28);border-radius:6px;color:var(--editor-accent-strong, #029599);background:var(--editor-accent-soft, #f0fbfb);font-size:11px;font-weight:800}.game-preview-screen__question h3{margin:0;color:#2c3f43;font-size:clamp(20px,3vw,29px);line-height:1.45;text-align:center}.game-preview-screen__question>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-preview-screen__question button{min-height:48px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;padding:8px 12px;border:1px solid #d6e1e2;border-radius:9px;color:#344448;background:#fff;text-align:left;cursor:pointer}.game-preview-screen__question button:hover{color:var(--editor-accent-strong, #029599);border-color:#04b6bb85;background:var(--editor-accent-soft, #f0fbfb)}.game-preview-screen__question button span{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#fff;background:var(--editor-accent, #04b6bb);font-size:11px;font-weight:800}.game-preview-screen__question textarea{min-height:110px;padding:12px;border:1px solid #d6e1e2;border-radius:9px;color:#445357;background:#fff;resize:none}.game-preview-screen>footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 17px;border-top:1px solid rgba(4,182,187,.2);background:#fff}.game-preview-screen>footer>span{display:inline-flex;align-items:center;gap:6px;color:#607074;font-size:12px}.game-preview-screen>footer>button{min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border:1px solid var(--editor-accent, #04b6bb);border-radius:8px;color:#fff;background:var(--editor-accent, #04b6bb);font-weight:750;cursor:pointer}.game-preview-screen>footer>button:hover{border-color:var(--editor-accent-strong, #029599);background:var(--editor-accent-strong, #029599)}@media(max-width:1080px)and (min-width:841px){.editor-header{grid-template-columns:minmax(260px,1fr) auto;gap:10px 14px;padding-inline:16px}.editor-header__status{grid-column:1;grid-row:2;width:fit-content;margin-left:50px}.editor-header__actions{grid-column:2;grid-row:1 / span 2}.editor-layout{width:calc(100% - 24px);grid-template-columns:minmax(176px,.48fr) minmax(420px,1.52fr);gap:9px}.game-settings{position:static;display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;padding-bottom:12px;overflow:visible}.game-settings.editor-workbench{display:block;padding-bottom:0}.game-settings>header,.game-settings__live,.asset-settings,.game-settings__summary{grid-column:1 / -1}.game-settings__live{margin:12px}.asset-settings{margin-inline:10px}.editor-ai-note{width:calc(100% - 24px)}.question-editor__form{padding:16px}.game-settings>.field-label,.settings-toggles,.game-settings__summary{margin-inline:10px}}@media(max-width:840px){.editor-page{min-height:auto;padding-bottom:calc(92px + var(--mobile-nav-height, 62px) + env(safe-area-inset-bottom))}.editor-header{top:var(--header-height, 66px);min-height:92px;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:10px 12px}.editor-header__left{min-width:0;gap:8px}.editor-header__left .icon-button{width:36px;height:36px;flex-basis:36px}.editor-header__left input{width:100%;padding-inline:4px;font-size:15px}.editor-header__status{grid-column:1 / -1;width:fit-content;min-height:26px;margin-left:44px;padding:4px 8px}.editor-header__actions{position:fixed;z-index:150;right:10px;bottom:calc(var(--mobile-nav-height, 62px) + env(safe-area-inset-bottom) + 8px);left:10px;display:grid;grid-template-columns:minmax(104px,.72fr) minmax(150px,1.28fr);gap:8px;padding:9px;border:1px solid var(--editor-line-strong);border-radius:12px;background:#fffffffa;box-shadow:0 10px 30px #14373c24}.editor-header__actions .button{width:100%}.editor-ai-note{width:calc(100% - 24px);grid-template-columns:auto minmax(0,1fr);gap:8px 10px;margin-top:12px;padding:10px 11px}.editor-ai-note .text-button{grid-column:2;width:fit-content;padding-left:0}.editor-layout{width:100%;display:flex;flex-direction:column;gap:12px;margin-top:12px;padding-inline:12px}.editor-question-nav,.question-editor,.game-settings{position:static;width:100%;max-height:none;border-radius:10px}.editor-question-nav{display:block}.editor-question-nav>ol{display:flex;gap:7px;padding:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity}.editor-question-nav li{width:178px;flex:0 0 178px;scroll-snap-align:start}.editor-question-nav>footer{grid-template-columns:repeat(2,minmax(0,1fr))}.question-editor{min-height:0}.question-editor__form{gap:16px;padding:16px 14px 20px}.game-settings{overflow:visible}.editor-workbench__header,.editor-workbench__tabs{position:static}.editor-workbench__body{padding-bottom:16px}.question-bank-list{max-height:480px}.asset-settings__selects{grid-template-columns:1fr}.modal-layer{align-items:stretch;padding:0}.modal-card,.modal-card--wide{width:100%;max-height:100dvh;border:0;border-radius:0}.modal-card__header{min-height:68px;padding:14px 15px}.modal-card__body{padding:12px}.modal-card__footer{position:sticky;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.game-preview-screen{min-height:calc(100dvh - 154px - env(safe-area-inset-bottom))}.game-preview-screen__question{margin-block:18px;padding:22px 18px}}@media(max-width:520px){.editor-header__left>div>span{display:none}.editor-header__status{margin-left:0}.editor-ai-note{grid-template-columns:1fr}.editor-ai-note>svg{display:none}.editor-ai-note .text-button{grid-column:1}.editor-question-nav>footer{grid-template-columns:1fr}.question-editor__header{padding-inline:12px}.question-editor__header>div:first-child{display:grid;gap:2px}.option-row{grid-template-columns:18px 26px minmax(0,1fr) 34px;gap:5px;padding-left:8px}.option-row>span{width:25px;height:25px}.question-bank-row{grid-template-columns:18px minmax(0,1fr)}.question-bank-row__actions{grid-column:2;justify-content:flex-end}.element-slot-card>header{grid-template-columns:42px minmax(0,1fr)}.element-slot-kind{grid-column:2;justify-self:start}.game-preview-screen>header{grid-template-columns:auto minmax(0,1fr);padding-inline:12px}.game-preview-screen>header>span:last-child{display:none}.game-preview-screen__question{width:calc(100% - 20px);gap:14px;padding:18px 13px}.game-preview-screen__question>div{grid-template-columns:1fr}.game-preview-screen__question h3{font-size:19px}.game-preview-screen>footer{padding-inline:12px}}@media(prefers-reduced-motion:reduce){.editor-page *,.editor-page *:before,.editor-page *:after,.modal-layer *,.modal-layer *:before,.modal-layer *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.editor-page{--editor-toolbar-height: 68px;min-height:100dvh;padding-bottom:24px;background:#f4f8f8}.editor-header{top:0;min-height:var(--editor-toolbar-height);grid-template-columns:minmax(340px,1fr) auto auto;gap:16px;padding:10px max(18px,calc((100vw - 1600px)/2));box-shadow:0 4px 16px #1c44480e}.editor-header__back{min-height:38px;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;padding:7px 9px;border:1px solid transparent;border-radius:8px;color:#536267;background:transparent;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer;transition:color .15s ease,border-color .15s ease,background-color .15s ease,transform .1s ease}.editor-header__back:hover{color:var(--editor-accent-strong);border-color:#04b6bb3d;background:var(--editor-accent-soft)}.editor-header__back:focus-visible,.question-sequence button:focus-visible,.editor-preview-toolbar button:focus-visible{outline:3px solid rgba(4,182,187,.2);outline-offset:2px}.editor-layout{width:min(1600px,calc(100% - 32px));display:grid;grid-template-columns:clamp(360px,32vw,480px) minmax(0,1fr);align-items:start;gap:16px;margin-top:12px}.editor-controls,.editor-preview-shell{grid-column:auto;position:sticky;top:calc(var(--editor-toolbar-height) + 12px);height:calc(100dvh - var(--editor-toolbar-height) - 24px);max-height:calc(100dvh - var(--editor-toolbar-height) - 24px);min-width:0;overflow:hidden;border:1px solid var(--editor-line);border-radius:var(--editor-radius);background:#fff;box-shadow:0 8px 24px #1b43480e}.editor-controls{display:flex;flex-direction:column;padding:0}.editor-controls .editor-workbench__tabs{position:static;z-index:auto;flex:0 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:8px;border:0;border-bottom:1px solid var(--editor-line);border-radius:0;background:#f7fafa}.editor-controls .editor-workbench__tabs button{min-height:42px;padding:8px 5px;font-size:12px}.editor-controls .editor-workbench__body{min-height:0;flex:1 1 auto;padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#c5d3d4 transparent;scrollbar-width:thin}.editor-controls .workbench-panel{padding:14px}.editor-controls .question-bank-list{max-height:none;overflow:visible}.editor-edit-panel{min-width:0;display:grid;align-content:start;background:#fff}.question-sequence{min-width:0;min-height:58px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid var(--editor-line);background:#f8fbfb}.question-sequence__heading{display:grid;gap:1px;white-space:nowrap}.question-sequence__heading strong{color:#3e4d51;font-size:12px;line-height:1.3}.question-sequence__heading span{color:var(--editor-muted);font-size:10px;line-height:1.3}.question-sequence ol{min-width:0;display:flex;align-items:center;gap:5px;margin:0;padding:2px;overflow-x:auto;list-style:none;scrollbar-color:#c5d3d4 transparent;scrollbar-width:thin}.question-sequence li{flex:0 0 auto}.question-sequence li button{width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid #d5dfe0;border-radius:7px;color:#647276;background:#fff;font-size:11px;font-weight:800;cursor:pointer;transition:color .15s ease,border-color .15s ease,background-color .15s ease,transform .1s ease}.question-sequence li button:hover{color:var(--editor-accent-strong);border-color:#04b6bb6b}.question-sequence li button.is-active,.question-sequence li button[aria-current=true]{color:#fff;border-color:var(--editor-accent-strong);background:var(--editor-accent-strong)}.question-sequence__actions{display:flex;align-items:center;gap:5px}.question-sequence__actions button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 8px;border:1px solid var(--editor-line-strong);border-radius:7px;color:#59676b;background:#fff;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer;transition:color .15s ease,border-color .15s ease,background-color .15s ease,transform .1s ease}.question-sequence__actions button:hover{color:var(--editor-accent-strong);border-color:#04b6bb61;background:var(--editor-accent-soft)}.question-editor--integrated{min-height:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.question-editor--integrated .question-editor__header{min-height:52px;padding:10px 14px;background:#fff}.question-editor--integrated .question-editor__form{gap:14px;padding:14px 14px 18px}.question-editor--integrated .field-label textarea{min-height:74px}.question-editor--integrated .field-label--question textarea{min-height:96px}.question-editor--integrated .option-row{min-height:44px}.editor-preview-shell{display:block}.editor-preview-pane{min-width:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:#fff}.editor-preview-toolbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px 9px 15px;border-bottom:1px solid var(--editor-line);background:#fff}.editor-preview-toolbar>div{min-width:0;display:flex;align-items:center;gap:9px}.editor-preview-toolbar>div:first-child{display:grid;gap:2px}.editor-preview-toolbar strong{color:#34474b;font-size:14px;line-height:1.3}.editor-preview-toolbar span:not(.workbench-status){overflow:hidden;color:var(--editor-muted);font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.editor-preview-toolbar .button{min-height:34px;padding:7px 11px;font-size:11px}.editor-preview-stage{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;overflow:auto;overscroll-behavior:contain;background:#eef3f3}.editor-preview-stage>.preview-update-notice,.editor-preview-stage>.game-renderer-frame{width:100%;max-width:1100px;flex:0 0 auto}.editor-preview-stage>.preview-update-notice{margin-bottom:10px}.editor-preview-stage>.game-renderer-frame{border-radius:12px;box-shadow:0 16px 38px #1c4b5121}@media(max-width:1120px)and (min-width:841px){.editor-page{--editor-toolbar-height: 90px}.editor-header{min-height:90px;grid-template-columns:minmax(300px,1fr) auto;gap:8px 14px;padding-inline:16px}.editor-header__status{grid-column:1;grid-row:2;width:fit-content;margin-left:118px}.editor-header__actions{grid-column:2;grid-row:1 / span 2}.editor-layout{width:calc(100% - 20px);display:grid;grid-template-columns:clamp(330px,40vw,390px) minmax(0,1fr);gap:10px}.editor-controls,.editor-preview-shell{position:sticky;width:100%;height:calc(100dvh - var(--editor-toolbar-height) - 24px);max-height:calc(100dvh - var(--editor-toolbar-height) - 24px)}.editor-preview-pane,.editor-preview-stage{min-height:0}}@media(max-width:840px)and (min-width:701px){.editor-page{--editor-toolbar-height: 104px;min-height:100dvh;padding-bottom:24px}.editor-header{top:0;min-height:var(--editor-toolbar-height);grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:8px 10px}.editor-header__left{grid-column:1;grid-row:1;min-width:0}.editor-header__status{grid-column:1;grid-row:2;justify-self:start;width:fit-content;margin-left:112px}.editor-header__actions{position:static;z-index:auto;inset:auto;grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:repeat(2,minmax(108px,1fr));gap:6px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.editor-header__actions .button{min-width:0;padding-inline:9px;font-size:11px}.editor-layout{width:calc(100% - 16px);display:grid;grid-template-columns:minmax(310px,330px) minmax(0,1fr);gap:8px;margin-top:8px}.editor-controls,.editor-preview-shell{position:sticky;top:calc(var(--editor-toolbar-height) + 8px);width:100%;height:calc(100dvh - var(--editor-toolbar-height) - 16px);max-height:calc(100dvh - var(--editor-toolbar-height) - 16px)}.editor-controls .editor-workbench__tabs button{gap:3px;padding-inline:3px;font-size:10px}.question-sequence{grid-template-columns:minmax(0,1fr) auto}.question-sequence__heading{display:none}.editor-preview-stage{padding:8px}}@media(max-width:700px){.editor-page{padding-bottom:24px}.editor-header{top:0;min-height:0;grid-template-columns:minmax(0,1fr);gap:8px;padding:9px 12px 10px}.editor-header__left,.editor-header__status,.editor-header__actions{grid-column:1;width:100%;margin:0}.editor-header__status{grid-row:auto;justify-self:start;width:fit-content}.editor-header__actions{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.editor-header__actions .button{min-width:0;min-height:38px;padding-inline:7px;font-size:11px}.editor-layout{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:10px;padding-inline:10px}.editor-controls,.editor-preview-shell{position:static;width:100%;height:auto;max-height:none;border-radius:10px}.editor-controls .editor-workbench__body{overflow:visible}.editor-controls .question-bank-list{max-height:480px;overflow-y:auto}.editor-preview-pane{height:auto}.editor-preview-stage{min-height:0;padding:9px}}@media(max-width:520px){.editor-header__left{align-items:flex-start}.editor-header__back{padding-inline:5px}.editor-header__left input{font-size:14px}.editor-controls .editor-workbench__tabs{gap:2px;padding:6px}.editor-controls .editor-workbench__tabs button{min-height:40px;gap:4px;padding-inline:3px;font-size:11px}.question-sequence{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:8px 10px}.question-sequence__heading{grid-column:1}.question-sequence__actions{grid-column:2}.question-sequence ol{grid-column:1 / -1;grid-row:2}.question-editor--integrated .question-editor__header,.question-editor--integrated .question-editor__form,.editor-controls .workbench-panel{padding-inline:11px}.editor-preview-toolbar{padding-inline:10px}}.payment-success-page{position:relative;width:min(100%,980px);margin:0 auto;padding:clamp(34px,6vw,76px) clamp(16px,4vw,30px) 72px}.payment-success-page:before{content:"";position:absolute;z-index:-1;top:4%;left:50%;width:min(760px,92vw);height:420px;border-radius:50%;background:radial-gradient(circle,rgba(83,127,245,.2),rgba(116,174,255,.08) 46%,transparent 72%);filter:blur(12px);transform:translate(-50%)}.payment-success-card{position:relative;overflow:hidden;padding:clamp(26px,5vw,52px);border:1px solid rgba(63,111,242,.16);border-radius:30px;background:radial-gradient(circle at 92% 5%,rgba(80,125,246,.13),transparent 28%),#ffffffe6;box-shadow:0 32px 90px #3052aa29,inset 0 1px #fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.payment-success-hero{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:clamp(22px,4vw,36px)}.payment-product-avatar{width:112px;height:112px;padding:8px;border:1px solid rgba(63,111,242,.14);border-radius:28px;background:#ffffffeb;box-shadow:0 18px 44px #2f5fe42b}.payment-product-avatar img{width:100%;height:100%;display:block;border-radius:21px;object-fit:cover}.payment-success-copy{min-width:0}.payment-success-status{width:fit-content;display:inline-flex;align-items:center;gap:7px;margin-bottom:13px;padding:7px 11px;border-radius:999px;color:#14724c;background:#eaf9f1;font-size:12px;font-weight:800}.payment-success-status--pending{color:#315eb9;background:#eaf1ff}.payment-success-status--warning{color:#895b00;background:#fff3cf}.payment-success-status--error{color:#a52c2c;background:#fff0f0}.payment-status-spinner{animation:payment-status-spin .9s linear infinite}@keyframes payment-status-spin{to{transform:rotate(360deg)}}.payment-success-copy h1{max-width:700px;margin:0;color:var(--text-strong);font-size:clamp(32px,5vw,48px);line-height:1.14;letter-spacing:-.035em}.payment-success-copy>p{max-width:690px;margin:15px 0 0;color:#59677d;font-size:16px;line-height:1.75}.payment-plan-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:34px 0 22px;padding:0;overflow:hidden;border:1px solid rgba(63,111,242,.12);border-radius:18px;background:#3f6ff21f}.payment-plan-summary>div{min-width:0;padding:17px 19px;background:#f7fafff5}.payment-plan-summary dt{margin-bottom:6px;color:#6f7b90;font-size:11px;font-weight:700}.payment-plan-summary dd{margin:0;overflow-wrap:anywhere;color:var(--text-strong);font-size:15px;font-weight:800}.payment-unlocked{padding:clamp(20px,4vw,28px);border:1px solid rgba(63,111,242,.13);border-radius:22px;background:linear-gradient(135deg,#eef5fff0,#ffffffe6)}.payment-unlocked__heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.payment-unlocked__heading>span{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;color:#805100;background:#fff1c7}.payment-unlocked h2{margin:0;font-size:21px;letter-spacing:-.015em}.payment-unlocked__heading p{margin:4px 0 0;color:#68758a;font-size:12px}.payment-unlocked ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:0;padding:0;list-style:none}.payment-unlocked li{min-width:0;display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid rgba(63,111,242,.09);border-radius:13px;background:#ffffffc2}.payment-unlocked li>svg{flex:0 0 auto;margin-top:2px;color:var(--brand-600)}.payment-unlocked li>span{min-width:0;display:grid;gap:3px}.payment-unlocked li strong{color:#2b3a50;font-size:13px;line-height:1.45}.payment-unlocked li small{color:#6d788c;font-size:11px;line-height:1.5}.payment-pending-panel{display:flex;align-items:center;gap:13px;padding:18px 20px;border:1px solid rgba(63,111,242,.13);border-radius:18px;color:#315eb9;background:#f1f6ff}.payment-pending-panel>svg{flex:0 0 auto}.payment-pending-panel>div{min-width:0;display:grid;gap:4px}.payment-pending-panel strong{color:#263b67;font-size:14px}.payment-pending-panel span{color:#61708c;font-size:12px;line-height:1.6}.payment-success-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-top:26px}.payment-success-actions .text-button{margin-left:auto}.payment-success-note{margin:22px 0 0;padding-top:18px;border-top:1px solid rgba(63,111,242,.11);color:#798397;font-size:11px;line-height:1.65;text-align:center}@media(max-width:700px){.payment-success-page{padding-top:26px}.payment-success-card{border-radius:24px}.payment-success-hero{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:17px}.payment-product-avatar{width:76px;height:76px;padding:6px;border-radius:21px}.payment-product-avatar img{border-radius:16px}.payment-success-status{margin-bottom:9px}.payment-success-copy h1{font-size:clamp(27px,8.5vw,38px)}.payment-success-copy>p{grid-column:1 / -1;font-size:14px}.payment-plan-summary,.payment-unlocked ul{grid-template-columns:1fr}.payment-success-actions{align-items:stretch;flex-direction:column}.payment-success-actions .button,.payment-success-actions .text-button{width:100%;margin-left:0;justify-content:center}}@media(max-width:430px){.payment-success-hero{grid-template-columns:1fr}.payment-product-avatar{width:84px;height:84px}}
