body.polyglot{--agent:#818cf8;--agent-soft:rgba(129,140,248,.1);--agent-tint:rgba(129,140,248,.2);--agent-mid:rgba(129,140,248,.42);--agent-strong:rgba(129,140,248,.65);--agent-2:#c084fc;--agent-3:#f472b6;--agent-4:#38bdf8}.polyglot .pg-welcome{max-width:820px;margin:0 auto}.polyglot .pg-greet h2{font-size:26px;line-height:1.15}.polyglot .pg-greet h2 strong{background:linear-gradient(135deg,var(--agent-4),var(--agent) 35%,var(--agent-2) 65%,var(--agent-3));-webkit-background-clip:text;background-clip:text;color:transparent}.polyglot .pg-greet p{margin-top:8px;font-size:14px;color:var(--text-dim);line-height:1.5}.polyglot .pg-greet p b{color:var(--text);font-weight:700}.polyglot .dl-card{margin:22px 0;padding:18px 20px;border-radius:var(--radius);border:1px solid var(--agent-mid);background:radial-gradient(700px 240px at 0 0,var(--agent-soft),transparent 60%),var(--surface)}.polyglot .dl-head{display:flex;align-items:center;gap:12px}.polyglot .dl-icon{font-size:26px}.polyglot .dl-titles{flex:1;min-width:0}.polyglot .dl-title{font-weight:700;font-size:15px}.polyglot .dl-meta{color:var(--text-muted);font-weight:500}.polyglot .dl-sub{font-size:13px;color:var(--text-dim);margin-top:2px}.polyglot .dl-streak{font-size:12px;font-weight:700;color:var(--agent);background:var(--agent-tint);border:1px solid var(--agent-mid);padding:4px 10px;border-radius:999px;white-space:nowrap}.polyglot .dl-list{margin:14px 0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.polyglot .dl-list li{font-size:13.5px;color:var(--text-dim);line-height:1.4}.polyglot .dl-actions{display:flex;gap:10px;flex-wrap:wrap}.polyglot .dl-cta{background:linear-gradient(135deg,var(--agent),var(--agent-2));color:#0b0418;border:0;padding:11px 20px;border-radius:12px;font-weight:700;font-size:14px;cursor:pointer;font-family:inherit}.polyglot .dl-cta:hover{filter:brightness(1.06)}.polyglot .dl-skip{background:transparent;color:var(--text-dim);border:1px solid var(--outline-strong);padding:11px 18px;border-radius:12px;font-weight:600;font-size:13.5px;cursor:pointer;font-family:inherit}.polyglot .dl-skip:hover{color:var(--text)}.polyglot .pick-title{font-size:13px;color:var(--text-muted);font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin:24px 0 12px}.polyglot .lang-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.polyglot .lang-card{position:relative;display:flex;flex-direction:column;gap:4px;padding:16px 14px;border-radius:14px;border:1px solid var(--outline);background:var(--surface);cursor:pointer;text-align:left;font-family:inherit;color:var(--text);transition:border-color .15s,background .15s,box-shadow .15s}.polyglot .lang-card:hover{border-color:var(--agent-mid);background:var(--agent-soft);box-shadow:0 8px 22px -14px rgba(129,140,248,.45)}.polyglot .lang-card .lc-cont{position:absolute;top:10px;right:12px;font-size:10.5px;font-weight:700;color:var(--agent)}.polyglot .lang-card .lc-flag{font-size:30px;line-height:1}.polyglot .lang-card .lc-name{font-size:15px;font-weight:700}.polyglot .lang-card .lc-native{font-size:12px;color:var(--agent);font-weight:600;font-family:var(--font-mono),"JetBrains Mono",monospace;line-height:1.2}.polyglot .lang-card .lc-badge{margin-top:6px;align-self:flex-start;font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:999px;border:1px solid var(--outline);color:var(--text-muted)}.polyglot .lang-card.has-progress .lc-badge{color:var(--agent);border-color:var(--agent-mid);background:var(--agent-tint)}.polyglot .lang-card.soon{filter:grayscale(.85);opacity:.7;cursor:pointer}.polyglot .lang-card.soon:hover{filter:grayscale(.4);opacity:.9}.polyglot .lang-card .lc-soon{margin-top:6px;align-self:flex-start;font-size:10.5px;font-weight:700;color:var(--text-muted)}.polyglot .quick-actions-row{display:flex;gap:8px;flex-wrap:wrap}.polyglot .qa-mini{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;border:1px dashed var(--outline-strong);background:transparent;color:var(--text-dim);font-weight:600;font-size:13px;cursor:pointer;font-family:inherit}.polyglot .qa-mini:hover{color:var(--text);border-color:var(--agent-mid);border-style:solid;background:var(--agent-soft)}.polyglot .qa-mini .qa-badge{background:var(--agent);color:var(--bg-deep);font-size:10px;font-weight:800;padding:1px 7px;border-radius:999px}.polyglot .welcome-note{margin-top:22px;font-size:12.5px;color:var(--text-muted);line-height:1.5}body.polyglot .chat-grid{display:grid;grid-template-columns:280px 1fr 320px;gap:0;height:calc(100dvh - 32px);margin:16px;border:1px solid var(--outline);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card)}body.polyglot .chat-grid>*{min-width:0}@media (max-width:1280px){body.polyglot .chat-grid{grid-template-columns:280px 1fr}.polyglot .memory-pane{display:none}}@media (max-width:900px){body.polyglot .chat-grid{grid-template-columns:1fr;height:calc(100dvh - var(--header-h) - var(--tabbar-h));margin:0;border:0;border-radius:0;box-shadow:none}.polyglot .memory-pane,.polyglot .threads-pane{display:none}}.polyglot .threads-pane{display:flex;flex-direction:column;gap:12px;border-right:1px solid var(--outline);background:rgba(var(--text-rgb),.015);padding:14px;min-height:0;overflow:hidden}.polyglot .agent-pin{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--agent-mid);border-radius:12px;background:var(--agent-soft)}.polyglot .agent-pin .ava{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:18px;background:linear-gradient(135deg,var(--agent),var(--agent-2))}.polyglot .agent-pin .name{font-weight:700;font-size:13.5px}.polyglot .agent-pin .role{font-size:11px;color:var(--text-muted)}.polyglot .agent-pin .gear{margin-left:auto;background:transparent;border:0;color:var(--text-muted);cursor:pointer}.polyglot .threads-head{display:flex;flex-direction:column;gap:8px}.polyglot .threads-head .search{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--outline);border-radius:10px;color:var(--text-muted)}.polyglot .threads-head .search input{background:transparent;border:0;color:var(--text);font-size:12.5px;outline:none;width:100%;font-family:inherit}.polyglot .threads-list{display:flex;flex-direction:column;gap:2px;overflow-y:auto;min-height:0}.polyglot .threads-group{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);padding:12px 6px 6px}.polyglot .thread-item{padding:10px;border-radius:10px;border-left:2px solid transparent;cursor:pointer;text-decoration:none;color:var(--text);display:block}.polyglot .thread-item:hover{background:var(--agent-soft)}.polyglot .thread-item.active{background:var(--agent-soft);border-left-color:var(--agent)}.polyglot .thread-item .ttl{font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px}.polyglot .thread-item .preview{font-size:11.5px;color:var(--text-muted);margin-top:2px}.polyglot .thread-item .time{font-size:10.5px;color:var(--text-muted);margin-top:2px}.polyglot .chat-stream{display:flex;flex-direction:column;background:var(--bg);min-height:0;min-width:0;overflow:hidden}.polyglot .chat-header{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--outline)}.polyglot .chat-header .ava{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:17px;background:linear-gradient(135deg,var(--agent),var(--agent-2))}.polyglot .chat-header .title .name{font-weight:700;font-size:14px}.polyglot .chat-header .title .role{font-size:11px;color:var(--text-muted)}.polyglot .chat-header .actions{margin-left:auto;display:flex;align-items:center;gap:6px}.polyglot .icon-btn,.polyglot .voice-btn{background:transparent;border:1px solid var(--outline);color:var(--text-dim);border-radius:10px;min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-family:inherit;font-size:12px;padding:0 10px}.polyglot .icon-btn:hover,.polyglot .voice-btn:hover:not(:disabled){color:var(--text);border-color:var(--agent-mid)}.polyglot .voice-btn:disabled{opacity:.5;cursor:not-allowed}.polyglot .mobile-only-icon{display:none}@media (max-width:1280px){.polyglot .chat-header .actions .profile{display:inline-flex}}@media (max-width:900px){.polyglot .chat-header .actions .profile,.polyglot .chat-header .actions .threads{display:inline-flex}}.polyglot .lang-switcher-bar{display:flex;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid var(--outline);overflow-x:auto}.polyglot .lsb-label{font-size:11px;color:var(--text-muted);font-family:var(--font-mono),"JetBrains Mono",monospace}.polyglot .lang-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid var(--outline);background:transparent;color:var(--text-dim);font-weight:600;font-size:12.5px;cursor:pointer;font-family:inherit;white-space:nowrap}.polyglot .lang-switcher-bar .lang-chip:hover{color:var(--text);border-color:var(--agent-mid)}.polyglot .lang-chip.active{color:#0b0418;background:linear-gradient(135deg,var(--agent),var(--agent-2));border-color:transparent}.polyglot .lang-chip .fl{font-size:14px;line-height:1}.polyglot .session-context-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:8px 16px;background:var(--agent-soft);border-bottom:1px solid var(--agent-mid);font-size:12px;color:var(--text-dim);flex-wrap:wrap}.polyglot .scb-flag{font-size:16px}.polyglot .scb-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.polyglot .scb-meta strong{color:var(--text)}.polyglot .scb-dot{color:var(--text-muted)}.polyglot .scb-end{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--outline-strong);background:transparent;color:var(--text-dim);font-weight:600;font-size:12px;cursor:pointer;font-family:inherit}.polyglot .scb-end:hover{color:var(--text);border-color:var(--agent-mid)}.polyglot .messages-wrap{flex:1;overflow-y:auto;min-height:0;padding:16px}.polyglot .messages-inner{display:flex;flex-direction:column;gap:16px;max-width:760px;margin:0 auto}.polyglot .msg{display:flex;gap:10px;max-width:100%}.polyglot .msg.user{flex-direction:row-reverse}.polyglot .msg .ava{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}.polyglot .msg .ava.bot{background:linear-gradient(135deg,var(--agent),var(--agent-2));color:#0b0418}.polyglot .msg .ava.user{background:var(--surface-hi);color:var(--text)}.polyglot .msg .body{min-width:0;display:flex;flex-direction:column}.polyglot .msg.user .body{align-items:flex-end}.polyglot .bubble{background:var(--surface-up);border:1px solid var(--outline);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.5;color:var(--text);max-width:100%;word-break:break-word;position:relative}.polyglot .msg:not(.user) .bubble{border-left:2px solid var(--agent-mid)}.polyglot .msg.user .bubble{background:var(--agent-soft);border-color:var(--agent-mid)}.polyglot .bubble strong{color:var(--agent)}.polyglot .md-body>:first-child{margin-top:0}.polyglot .md-body>:last-child{margin-bottom:0}.polyglot .md-body p{margin:0 0 8px}.polyglot .md-body ol,.polyglot .md-body ul{margin:6px 0 8px;padding-left:20px}.polyglot .md-body li{margin:2px 0}.polyglot .md-body code{font-family:var(--font-mono),monospace;font-size:12.5px;background:var(--agent-soft);border:1px solid var(--agent-mid);border-radius:5px;padding:1px 5px;color:var(--agent)}.polyglot .md-body pre{margin:8px 0;padding:10px 12px;background:var(--bg);border:1px solid var(--outline);border-radius:10px;overflow-x:auto}.polyglot .md-body pre code{background:none;border:0;padding:0;color:var(--text)}.polyglot .md-body h1,.polyglot .md-body h2,.polyglot .md-body h3{font-size:15px;margin:10px 0 6px}.polyglot .md-body blockquote{margin:8px 0;padding-left:12px;border-left:3px solid var(--agent-mid);color:var(--text-dim)}.polyglot .md-body table{border-collapse:collapse;margin:8px 0;font-size:13px}.polyglot .md-body td,.polyglot .md-body th{border:1px solid var(--outline);padding:4px 8px;text-align:left}.polyglot .msg .meta{font-size:10.5px;color:var(--text-muted);margin-top:4px;display:flex;gap:6px}.polyglot .typing-bubble{display:inline-flex;align-items:center;min-height:20px}.polyglot .typing-dots{display:inline-flex;align-items:center;gap:4px}.polyglot .typing-dots i{width:6px;height:6px;border-radius:50%;background:var(--agent);opacity:.45;animation:pg-typing 1.2s ease-in-out infinite}.polyglot .typing-dots i:nth-child(2){animation-delay:.15s}.polyglot .typing-dots i:nth-child(3){animation-delay:.3s}@keyframes pg-typing{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.polyglot .typing-dots i{animation:none;opacity:.6}}.polyglot .bubble-tts{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}.polyglot .bubble-tts .tts-btn{display:inline-flex;align-items:center;gap:6px;background:var(--agent-soft);border:1px solid var(--agent-mid);color:var(--agent);font-size:11.5px;font-weight:700;padding:5px 11px;border-radius:999px;cursor:pointer;font-family:inherit}.polyglot .bubble-tts .tts-btn:disabled{opacity:.5;cursor:not-allowed}.polyglot .bubble-tts .tts-btn:hover:not(:disabled){background:var(--agent-tint)}.polyglot .bubble-tts .speed-pill{display:inline-flex;border:1px solid var(--outline);border-radius:999px;overflow:hidden}.polyglot .bubble-tts .speed-pill button{background:transparent;border:0;color:var(--text-muted);font-size:10.5px;font-weight:700;padding:4px 9px;cursor:pointer;font-family:inherit}.polyglot .bubble-tts .speed-pill button.active{background:var(--agent);color:var(--bg-deep)}.polyglot .bubble-tts .sep{color:var(--text-muted)}.polyglot .bubble-tts .ghost,.polyglot .feedback-btn{background:transparent;border:1px solid var(--outline);color:var(--text-dim);border-radius:8px;padding:4px 8px;font-size:12px;cursor:pointer;font-family:inherit;min-height:30px}.polyglot .bubble-tts .ghost:hover,.polyglot .feedback-btn:hover{color:var(--text);border-color:var(--agent-mid)}.polyglot .feedback-btn[aria-pressed=true]{background:var(--agent-tint);border-color:var(--agent);color:var(--agent)}.polyglot .feedback-reasons{display:flex;align-items:center;gap:6px;margin-top:8px;flex-wrap:wrap}.polyglot .fr-title{font-size:11.5px;color:var(--text-muted);font-weight:600}.polyglot .fr-chip{background:var(--surface);border:1px solid var(--outline);color:var(--text-dim);border-radius:999px;padding:4px 11px;font-size:11.5px;cursor:pointer;font-family:inherit;min-height:30px}.polyglot .fr-chip:hover{color:var(--text);border-color:var(--agent-mid)}.polyglot .bubble-err-badge{display:inline-flex;align-items:center;margin-left:8px;padding:1px 7px;border-radius:999px;background:rgba(255,217,78,.16);color:#ffd94e;font-size:11px;font-weight:800;cursor:pointer}.polyglot .correction-drawer{margin-top:8px;border:1px solid var(--agent-mid);border-radius:12px;background:var(--agent-soft);padding:12px;max-width:100%}.polyglot .cd-head{font-size:11.5px;font-weight:700;color:var(--agent);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}.polyglot .cd-diff{display:flex;flex-direction:column;gap:4px;font-size:13px}.polyglot .cd-line s{color:var(--red);opacity:.8}.polyglot .cd-line mark{background:rgba(85,240,187,.18);color:var(--green);padding:0 3px;border-radius:4px}.polyglot .cd-tip{margin-top:10px;font-size:12.5px;color:var(--text-dim);line-height:1.4}.polyglot .cd-foot{display:flex;align-items:center;gap:8px;margin-top:12px}.polyglot .cd-btn{background:transparent;border:1px solid var(--outline-strong);color:var(--text-dim);border-radius:9px;padding:6px 12px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;min-height:34px}.polyglot .cd-btn:disabled{opacity:.5;cursor:not-allowed}.polyglot .cd-btn.primary{background:linear-gradient(135deg,var(--agent),var(--agent-2));color:#0b0418;border-color:transparent}.polyglot .cd-foot .spacer{flex:1}.polyglot .pron-note{margin-top:8px;align-self:flex-end;max-width:100%;border:1px solid var(--agent-mid);border-left:3px solid var(--agent);border-radius:12px;background:var(--agent-soft);padding:10px 12px}.polyglot .pron-note-head{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--agent)}.polyglot .pron-note-head .pron-score{margin-left:auto;font-family:var(--font-mono),monospace;font-size:11px;background:var(--agent-tint);border:1px solid var(--agent-mid);border-radius:999px;padding:1px 8px}.polyglot .pron-note-body{margin-top:6px;font-size:13px;line-height:1.5;color:var(--text-dim)}.polyglot .pg-composer{border-top:1px solid var(--outline);padding:12px 16px}.polyglot .composer-mode-tabs{display:inline-flex;gap:4px;margin-bottom:10px;padding:3px;border:1px solid var(--outline);border-radius:10px}.polyglot .composer-mode-tabs button{background:transparent;border:0;color:var(--text-dim);font-size:12.5px;font-weight:600;padding:6px 12px;border-radius:8px;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px}.polyglot .composer-mode-tabs button.active{background:var(--agent-soft);color:var(--agent)}.polyglot .composer-mode-tabs button:disabled{opacity:.5;cursor:not-allowed}.polyglot .composer-box{border:1px solid var(--outline);border-radius:14px;background:var(--surface-up);padding:10px 12px;transition:border-color .18s,box-shadow .18s}.polyglot .composer-box:focus-within{border-color:var(--agent-strong);box-shadow:0 0 0 3px var(--agent-tint)}.polyglot .composer-box textarea{width:100%;background:transparent;border:0;color:var(--text);font-size:14px;outline:none;resize:none;font-family:inherit;line-height:1.5;min-height:44px}.polyglot .composer-tools{display:flex;align-items:center;gap:8px;margin-top:8px}.polyglot .composer-tools .send{margin-left:auto;display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,var(--agent),var(--agent-2));color:#0b0418;border:0;padding:9px 18px;border-radius:10px;font-weight:700;font-size:13.5px;cursor:pointer;font-family:inherit}.polyglot .composer-tools .send:disabled{opacity:.5;cursor:not-allowed}.polyglot .composer-hint{display:flex;align-items:center;gap:14px;margin-top:8px;font-size:11px;color:var(--text-muted);flex-wrap:wrap}.polyglot .composer-hint kbd{background:var(--surface-hi);border:1px solid var(--outline);border-radius:5px;padding:1px 6px;font-size:10.5px;font-family:var(--font-mono),monospace}.polyglot .composer-hint .meters{margin-left:auto}.polyglot .voice-mini{display:flex;align-items:center;gap:12px;padding:14px;border:1px dashed var(--outline-strong);border-radius:14px}.polyglot .mic-btn{width:48px;height:48px;border-radius:50%;border:1px solid var(--agent-mid);background:var(--agent-soft);color:var(--agent);font-size:20px;cursor:not-allowed;opacity:.55;flex:none}.polyglot .mic-info .mic-prompt{font-weight:700;font-size:13.5px}.polyglot .mic-info .mic-hint{font-size:11.5px;color:var(--text-muted);margin-top:2px}.polyglot .phrase-widget{margin-top:12px;border:1px solid var(--outline);border-radius:12px;overflow:hidden;background:var(--surface)}.polyglot .pw-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--outline);font-size:12.5px}.polyglot .pw-head .tag{font-size:10.5px;font-weight:700;color:var(--agent);background:var(--agent-tint);border-radius:999px;padding:2px 8px}.polyglot .pw-list{display:flex;flex-direction:column}.polyglot .pw-card{padding:10px 12px;border-bottom:1px solid var(--outline)}.polyglot .pw-card:last-child{border-bottom:0}.polyglot .pw-target{font-size:14px;font-weight:700;color:var(--text)}.polyglot .pw-translit{font-size:11.5px;color:var(--agent);font-family:var(--font-mono),monospace;margin-top:2px}.polyglot .pw-ru{font-size:12.5px;color:var(--text-dim);margin-top:2px}.polyglot .pw-foot{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}.polyglot .pw-save,.polyglot .pw-tts{display:inline-flex;align-items:center;gap:5px;font-family:inherit;font-size:11px;font-weight:700;padding:4px 9px;border-radius:7px;cursor:pointer}.polyglot .pw-tts{background:var(--agent-soft);border:1px solid var(--agent-mid);color:var(--agent)}.polyglot .pw-tts:disabled{opacity:.5;cursor:not-allowed}.polyglot .pw-save{background:transparent;border:1px solid var(--outline-strong);color:var(--text-dim)}.polyglot .pw-save:hover:not(:disabled){color:var(--text);border-color:var(--agent-mid)}.polyglot .pw-save.saved{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.45);color:#22c55e;cursor:default}.polyglot .memory-pane{display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--outline);background:rgba(var(--text-rgb),.015);padding:14px;overflow-y:auto;min-height:0}.polyglot .mem-block{border:1px solid var(--outline);border-radius:12px;padding:12px;background:var(--surface-up)}.polyglot .mem-block h4{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:8px}.polyglot .mem-block .mem-row{font-size:12.5px;color:var(--text-dim);padding:3px 0;display:flex;justify-content:space-between;gap:8px}.polyglot .mem-block .mem-row b{color:var(--text);font-weight:600}.polyglot .mem-tabs{display:inline-flex;gap:4px;margin-bottom:8px;padding:3px;border:1px solid var(--outline);border-radius:9px}.polyglot .mem-tabs button{background:transparent;border:0;color:var(--text-dim);font-size:11.5px;font-weight:600;padding:5px 10px;border-radius:7px;cursor:pointer;font-family:inherit}.polyglot .mem-tabs button.active{background:var(--agent-soft);color:var(--agent)}.polyglot .mem-acc{border-top:1px solid var(--outline);padding-top:8px;margin-top:4px}.polyglot .mem-acc summary{cursor:pointer;font-size:12.5px;font-weight:600;color:var(--text-dim);list-style:none}.polyglot .mem-acc summary::-webkit-details-marker{display:none}.polyglot .homework-card{border:1px solid var(--agent-mid);border-radius:14px;background:radial-gradient(500px 200px at 0 0,var(--agent-soft),transparent 60%),var(--surface);padding:14px 16px}.polyglot .hw-head{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13.5px}.polyglot .hw-due{font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:999px;background:var(--agent-tint);color:var(--agent);white-space:nowrap}.polyglot .hw-due.urgent{background:rgba(255,110,120,.16);color:var(--red)}.polyglot .hw-body{font-size:13px;color:var(--text-dim);margin:8px 0;line-height:1.45}.polyglot .hw-actions{display:flex;gap:8px;flex-wrap:wrap}.polyglot .hw-list{display:flex;flex-direction:column;gap:12px;max-width:720px}.polyglot .hw-form textarea{width:100%;background:var(--surface);border:1px solid var(--outline);border-radius:12px;padding:12px;color:var(--text);font-size:14px;outline:none;resize:vertical;min-height:90px;font-family:inherit;line-height:1.5}.polyglot .hw-form textarea:focus{border-color:var(--agent-strong);box-shadow:0 0 0 3px var(--agent-tint)}.polyglot .pg-progress{max-width:820px;display:flex;flex-direction:column;gap:14px}.polyglot .lang-progress-row{border:1px solid var(--outline);border-radius:14px;background:var(--surface);padding:16px 18px}.polyglot .lpr-head{display:flex;align-items:center;gap:10px}.polyglot .lpr-flag{font-size:26px}.polyglot .lpr-name{font-weight:700;font-size:15px}.polyglot .lpr-cefr{font-size:11px;font-weight:700;color:var(--agent);background:var(--agent-tint);border:1px solid var(--agent-mid);padding:2px 9px;border-radius:999px}.polyglot .lpr-meta{margin-left:auto;font-size:12px;color:var(--text-muted);display:flex;gap:12px;flex-wrap:wrap}.polyglot .lpr-bar{height:6px;border-radius:999px;background:hsla(0,0%,100%,.06);overflow:hidden;margin-top:12px}.polyglot .lpr-bar>span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--agent),var(--agent-2))}.polyglot .progress-week{display:flex;gap:6px;margin-top:14px}.polyglot .pw-day{flex:1;text-align:center;font-size:10.5px;color:var(--text-muted)}.polyglot .pw-day .dot{display:block;width:100%;height:28px;border-radius:8px;background:var(--surface-hi);margin-bottom:4px}.polyglot .pw-day.done .dot{background:linear-gradient(135deg,var(--agent),var(--agent-2))}.polyglot .pw-day.now .dot{background:var(--agent-tint);border:1px solid var(--agent)}.polyglot .weak-topics{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.polyglot .weak-chip{font-size:11.5px;padding:4px 10px;border-radius:999px;border:1px solid rgba(255,110,120,.3);background:rgba(255,110,120,.08);color:var(--text-dim)}.polyglot .srs-wrap{display:flex;flex-direction:column;min-height:calc(100vh - var(--header-h) - 60px)}.polyglot .srs-top{display:flex;align-items:center;gap:14px;padding-bottom:12px;flex-wrap:wrap}.polyglot .srs-top .lang-pill{background:var(--agent-soft);border:1px solid var(--agent-mid);color:var(--agent);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700}.polyglot .srs-top .title{font-weight:700;font-size:15px}.polyglot .srs-top .sub{font-size:11.5px;color:var(--text-muted);font-family:var(--font-mono),monospace}.polyglot .srs-top .counter{margin-left:auto;font-family:var(--font-mono),monospace;font-size:13.5px;color:var(--text-dim);font-weight:700}.polyglot .srs-top .counter strong{color:var(--text)}.polyglot .srs-progress{height:4px;background:var(--outline);border-radius:999px;overflow:hidden}.polyglot .srs-progress .fill{height:100%;background:linear-gradient(90deg,var(--agent),var(--agent-2));transition:width .3s ease}.polyglot .srs-stage{flex:1;justify-content:center;padding:32px 8px}.polyglot .srs-pane,.polyglot .srs-stage{display:flex;flex-direction:column;align-items:center;gap:24px}.polyglot .srs-pane{width:100%;max-width:540px}.polyglot .srs-card{width:100%;background:var(--surface);border:1px solid var(--outline);border-radius:18px;padding:36px 28px;text-align:center;box-shadow:0 20px 60px -20px rgba(0,0,0,.4)}.polyglot .srs-card .level{font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--agent);margin-bottom:14px}.polyglot .srs-card .target{font-size:28px;font-weight:700;letter-spacing:-.01em;line-height:1.25;color:var(--text);margin-bottom:6px}.polyglot .srs-card .translit{font-family:var(--font-mono),monospace;font-size:13px;color:var(--agent);margin-bottom:22px}.polyglot .srs-card .listen{display:inline-flex;align-items:center;gap:8px;background:var(--agent-soft);color:var(--agent);border:1px solid var(--agent-mid);padding:9px 18px;border-radius:999px;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:40px}.polyglot .srs-card .listen:disabled{opacity:.5;cursor:not-allowed}.polyglot .srs-card .ru{font-size:22px;font-weight:700;color:var(--text);margin-top:14px;letter-spacing:-.01em}.polyglot .srs-card .answer{font-size:16px;color:var(--text);margin:14px 0 10px;line-height:1.4}.polyglot .srs-card .answer strong{color:var(--agent)}.polyglot .srs-card .reveal{display:inline-flex;align-items:center;gap:8px;margin-top:28px;background:linear-gradient(135deg,var(--agent),var(--agent-2));color:#0b0418;border:0;cursor:pointer;padding:14px 28px;border-radius:12px;font-family:inherit;font-size:14.5px;font-weight:700;box-shadow:0 10px 24px -8px rgba(192,132,252,.55);min-height:48px}.polyglot .srs-card .reveal:hover{filter:brightness(1.06)}.polyglot .srs-divider{margin-top:14px;padding-top:14px;border-top:1px dashed var(--outline)}.polyglot .srs-grade-title{font-size:11px;color:var(--text-muted);font-weight:700;text-transform:uppercase;letter-spacing:.08em;text-align:center}.polyglot .srs-grades{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:100%}@media (max-width:600px){.polyglot .srs-grades{grid-template-columns:repeat(2,1fr)}}.polyglot .srs-grade{background:var(--surface);border:1px solid var(--outline);border-radius:12px;padding:14px 12px;cursor:pointer;font-family:inherit;text-align:center;display:flex;flex-direction:column;gap:4px;min-height:56px;transition:border-color .15s,background .15s,transform .08s}.polyglot .srs-grade:hover{border-color:var(--outline-strong);transform:translateY(-2px)}.polyglot .srs-grade .lbl{font-size:14px;font-weight:700;color:var(--text)}.polyglot .srs-grade .iv{font-family:var(--font-mono),monospace;font-size:11px;color:var(--text-muted);font-weight:600}.polyglot .srs-grade.forgot:hover{border-color:rgba(239,68,68,.55);background:rgba(239,68,68,.06)}.polyglot .srs-grade.hard:hover{border-color:rgba(234,179,8,.55);background:rgba(234,179,8,.06)}.polyglot .srs-grade.ok:hover{border-color:rgba(129,140,248,.55);background:var(--agent-soft)}.polyglot .srs-grade.easy:hover{border-color:rgba(34,197,94,.55);background:rgba(34,197,94,.06)}.polyglot .srs-grade.forgot .iv{color:#ef4444}.polyglot .srs-grade.hard .iv{color:#eab308}.polyglot .srs-grade.ok .iv{color:var(--agent)}.polyglot .srs-grade.easy .iv{color:#22c55e}.polyglot .srs-foot{padding:14px 4px;border-top:1px solid var(--outline);display:flex;align-items:center;gap:14px;font-size:11.5px;color:var(--text-muted);flex-wrap:wrap}.polyglot .srs-foot kbd{background:var(--surface-hi);border:1px solid var(--outline);border-radius:5px;padding:1px 6px;font-size:10.5px;font-family:var(--font-mono),monospace}.polyglot .srs-foot .skip{margin-left:auto;background:transparent;border:0;color:var(--text-muted);cursor:pointer;font-family:inherit;font-size:12px}.polyglot .srs-foot .skip:hover{color:var(--text)}.polyglot .srs-finish{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.polyglot .srs-finish .check{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:30px;background:linear-gradient(135deg,var(--agent),var(--agent-2));color:#0b0418}.polyglot .srs-finish .sum{font-size:14px;color:var(--text-dim);max-width:380px}.polyglot .srs-finish .sum strong{color:var(--text)}.polyglot .srs-finish .streak{font-size:12px;font-weight:700;color:var(--agent);background:var(--agent-tint);padding:4px 12px;border-radius:999px}.polyglot .srs-finish .stats{display:flex;gap:24px;margin:10px 0}.polyglot .srs-finish .stat .num{font-size:24px;font-weight:800}.polyglot .srs-finish .stat .lbl{font-size:11px;color:var(--text-muted)}.polyglot .srs-finish .actions{display:flex;gap:10px;flex-wrap:wrap}.polyglot .pg-modal-backdrop{position:fixed;inset:0;z-index:120;background:rgba(8,10,22,.6);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px}.polyglot .pg-modal{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--outline-strong);border-radius:18px;padding:22px;box-shadow:var(--shadow-modal)}.polyglot .pg-modal h3{font-size:18px;margin-bottom:6px}.polyglot .pg-modal p{font-size:13px;color:var(--text-dim);margin-bottom:14px}.polyglot .stars{display:flex;gap:6px;margin:12px 0}.polyglot .star{background:transparent;border:0;font-size:28px;cursor:pointer;line-height:1;filter:grayscale(1);opacity:.5;min-width:44px;min-height:44px}.polyglot .star.lit,.polyglot .star[aria-pressed=true]{filter:none;opacity:1}.polyglot .reminder-row{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:13px;color:var(--text-dim)}.polyglot .modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.polyglot .wizard-steps{display:flex;gap:6px;margin-bottom:16px}.polyglot .wizard-step-dot{flex:1;height:4px;border-radius:999px;background:var(--outline)}.polyglot .wizard-step-dot.active{background:var(--agent)}.polyglot .wizard-options{display:flex;flex-direction:column;gap:8px;margin:8px 0 4px}.polyglot .wizard-opt{text-align:left;padding:12px 14px;border:1px solid var(--outline);border-radius:12px;background:var(--surface-up);color:var(--text);font-size:13.5px;font-weight:600;cursor:pointer;font-family:inherit;min-height:44px}.polyglot .wizard-opt:hover{border-color:var(--agent-mid)}.polyglot .wizard-opt.selected{border-color:var(--agent);background:var(--agent-soft)}.polyglot .mobile-pane-list{display:flex;flex-direction:column;gap:8px}@media (prefers-reduced-motion:reduce){.polyglot .srs-grade:hover{transform:none}.polyglot .lpr-bar>span,.polyglot .srs-progress .fill{transition:none}}.asst-page{max-width:1080px;margin:0 auto;padding:24px 28px 40px}.asst-hero{position:relative;overflow:hidden;border:1px solid var(--outline);border-radius:var(--radius-lg);padding:24px 26px;background:radial-gradient(800px 280px at 0 0,rgba(var(--purple-rgb),.16),transparent 60%),radial-gradient(600px 240px at 100% 100%,rgba(var(--secondary-rgb),.1),transparent 60%),var(--surface);margin-bottom:22px}.asst-hero h1{font-size:24px;line-height:1.15;font-family:var(--font-display)}.asst-hero p{margin-top:8px;max-width:640px;font-size:14px;color:var(--text-dim);line-height:1.5}.asst-filter{display:flex;align-items:center;gap:8px;margin-bottom:18px;flex-wrap:wrap}.asst-chips{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--outline);border-radius:14px;background:var(--surface);overflow-x:auto;max-width:100%}.asst-chip{white-space:nowrap;background:transparent;border:0;color:var(--text-dim);font-size:12.5px;font-weight:600;padding:6px 12px;border-radius:10px;cursor:pointer;font-family:inherit}.asst-chip:hover{color:var(--text)}.asst-chip.active{background:var(--surface-hi);color:var(--text)}.asst-search{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--outline);border-radius:12px;background:var(--surface);min-width:200px}.asst-search input{background:transparent;border:0;outline:none;color:var(--text);font-size:13px;width:100%;font-family:inherit}.asst-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}@media (max-width:1100px){.asst-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.asst-grid{grid-template-columns:1fr}}.asst-card{--acc-rgb:var(--primary-rgb);display:flex;flex-direction:column;gap:10px;text-align:left;padding:18px;min-height:150px;border:1px solid var(--outline);border-radius:var(--radius);background:var(--surface);color:var(--text);cursor:pointer;font-family:inherit;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.asst-card:hover{transform:translateY(-2px);border-color:rgba(var(--acc-rgb),.4);box-shadow:0 0 0 1px rgba(var(--acc-rgb),.22),0 12px 32px -12px rgba(var(--acc-rgb),.32)}.asst-card:disabled{opacity:.6;cursor:wait;transform:none}.asst-card.custom{border-style:dashed;background:transparent}.asst-card .head{display:flex;align-items:center;gap:14px}.asst-card .ava{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-size:26px;flex:none;background:linear-gradient(135deg,rgba(var(--acc-rgb),.22),rgba(var(--acc-rgb),.08));border:1px solid rgba(var(--acc-rgb),.3)}.asst-card .name{font-size:15.5px;font-weight:700;line-height:1.2}.asst-card .role{font-size:12px;color:var(--text-muted);margin-top:2px}.asst-card .desc{flex:1;font-size:13px;color:var(--text-dim);line-height:1.45}.asst-card .foot{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--text-muted)}.asst-card .foot .model{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;border:1px solid var(--outline);background:var(--bg)}.asst-card .foot .price{color:var(--tertiary);font-weight:700}.asst-card .foot .go{margin-left:auto;color:rgba(var(--acc-rgb),1);font-weight:700}.asst-empty{grid-column:1/-1;text-align:center;color:var(--text-muted);padding:40px 0;font-size:13.5px}.asst-card.acc-cyan{--acc-rgb:var(--primary-rgb)}.asst-card.acc-orange{--acc-rgb:var(--secondary-rgb)}.asst-card.acc-gold{--acc-rgb:var(--tertiary-rgb)}.asst-card.acc-purple{--acc-rgb:var(--purple-rgb)}.asst-card.acc-pink{--acc-rgb:var(--pink-rgb)}.asst-card.acc-green{--acc-rgb:var(--green-rgb)}.asst-card.acc-indigo{--acc-rgb:129,140,248}:root[data-theme=light] .asst-card.acc-indigo{--acc-rgb:79,70,229}.products-page{padding:22px 28px 28px;min-width:0;max-width:100%;overflow-x:hidden}@media (max-width:700px){.products-page{padding:16px 14px calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom))}}.products-page .topbar{margin-bottom:18px}.products-page .topbar h1{font-family:var(--font-display);font-size:24px;font-weight:700;letter-spacing:-.01em;margin:0}.products-page .topbar .sub{font-size:13.5px;color:var(--text-muted);margin-top:6px;max-width:640px}.prod-grid{display:grid;grid-template-columns:1.4fr .85fr;gap:22px;align-items:start}@media (max-width:1100px){.prod-grid{grid-template-columns:1fr}}.wiz{padding:0;overflow:hidden}.wiz-rail{display:flex;align-items:center;padding:14px 16px;border-bottom:1px solid var(--outline);overflow-x:auto;scrollbar-width:none}.wiz-rail::-webkit-scrollbar{display:none}.wiz-rail .r{display:flex;align-items:center;gap:8px;flex:none;cursor:pointer;color:var(--text-muted);font-size:12px;font-weight:700;background:none;border:0;font-family:inherit;padding:0}.wiz-rail .r .n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--surface-hi);font-size:12px;font-family:var(--font-display);transition:background .15s,color .15s}.wiz-rail .r.active{color:var(--text)}.wiz-rail .r.active .n{background:var(--prod);color:#1a0500}.wiz-rail .r.done .n{background:var(--prod-soft);color:var(--prod);border:1px solid var(--prod-mid)}.wiz-rail .sep{flex:1;min-width:12px;height:1px;background:var(--outline);margin:0 6px}@media (max-width:560px){.wiz-rail .r .lbl{display:none}.wiz-rail .sep{min-width:8px}}.wiz-steps{padding:18px}.wiz-step{display:none}.wiz-step.active{display:flex;flex-direction:column;gap:22px}.wiz-step .step-title{font-size:17px;font-family:var(--font-display);font-weight:700;letter-spacing:-.01em}.wiz-step .step-title small{display:block;font-family:var(--font-body);font-size:12.5px;font-weight:500;color:var(--text-muted);margin-top:2px}.wiz-foot{display:flex;align-items:center;gap:12px;padding:14px 18px;border-top:1px solid var(--prod-mid);background:linear-gradient(170deg,var(--prod-soft),transparent)}.wiz-foot .total-inline{font-family:var(--font-display);font-weight:700;font-size:18px;line-height:1.1}.wiz-foot .total-inline small{display:block;font-family:var(--font-body);font-weight:500;font-size:11px;color:var(--text-dim);margin-top:2px}.wiz-foot .spacer{flex:1}@media (max-width:560px){.wiz-foot .total-inline{font-size:15px}}.step{flex-direction:column}.step,.step-h{display:flex;gap:10px}.step-h{align-items:center;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.step-h,.step-h .opt{color:var(--text-muted)}.step-h .opt{margin-left:auto;text-transform:none;letter-spacing:0;font-weight:500}.pc-drop{border:1.5px dashed var(--outline-strong);border-radius:14px;padding:4px;transition:border-color .15s}.uploaded-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.uploaded-strip .thumb{width:56px;height:56px;border-radius:10px;background-size:cover;background-position:50%;border:1px solid var(--outline);position:relative;flex:none}.uploaded-strip .thumb .x{position:absolute;top:-4px;right:-4px;width:18px;height:18px;border-radius:50%;background:var(--surface-hi);border:1px solid var(--outline);color:var(--text-dim);font-size:12px;line-height:16px;text-align:center;cursor:pointer}.mp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}@media (max-width:540px){.mp-grid{grid-template-columns:1fr}}.mp-card{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--outline);background:var(--surface);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s;text-align:left}.mp-card:hover{border-color:var(--outline-strong)}.mp-card.active{border-color:var(--prod-strong);background:var(--prod-soft)}.mp-card .logo{width:38px;height:38px;border-radius:9px;flex:none;display:grid;place-items:center;font-weight:700;font-size:13px;font-family:var(--font-display);color:#1a0f00}.mp-card .logo.wb{background:linear-gradient(135deg,#c87eff,#7a3aff);color:#fff}.mp-card .logo.ozon{background:linear-gradient(135deg,#66eaff,#2b7fff);color:#00121f}.mp-card .logo.yandex{background:linear-gradient(135deg,#ffd94e,#f94)}.mp-card .logo.avito{background:linear-gradient(135deg,#55f0bb,#1fb37a);color:#00211a}.mp-card .body{min-width:0}.mp-card .body .ttl{font-size:13px;font-weight:700}.mp-card .body .spec{font-size:11px;color:var(--text-muted);margin-top:2px}.op-chips{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}@media (max-width:540px){.op-chips{grid-template-columns:1fr}}.op-chip{position:relative;display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid var(--outline);background:var(--surface);border-radius:12px;cursor:pointer;text-align:left;color:var(--text);font-family:inherit;transition:border-color .15s,background .15s}.op-chip:hover{border-color:var(--outline-strong)}.op-chip.selected{border-color:var(--prod-strong);background:var(--prod-soft)}.op-chip.selected:before{content:"✓";position:absolute;top:8px;right:8px;width:18px;height:18px;border-radius:50%;background:var(--prod);color:var(--bg-deep);font-size:11px;line-height:18px;text-align:center;font-weight:800}.op-chip.dimmed{opacity:.45}.op-chip .em{font-size:20px;flex:none;line-height:1.1}.op-chip .body{flex:1;min-width:0;padding-right:22px}.op-chip .ttl{display:block;font-size:13px;font-weight:700}.op-chip .desc{display:block;font-size:11.5px;color:var(--text-muted);margin-top:2px;line-height:1.3}.op-chip .price{display:inline-block;margin-top:6px;font-size:11px;font-weight:700;color:var(--tertiary);background:rgba(var(--tertiary-rgb),.12);padding:1px 8px;border-radius:999px}.color-row{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-end;margin-top:4px}.color-field{display:flex;flex-direction:column;gap:6px}.color-field .clbl{font-size:11px;color:var(--text-muted);font-weight:600}.color-pick{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--outline);border-radius:10px;padding:6px 10px 6px 6px}.color-pick input[type=color]{width:30px;height:30px;border:none;border-radius:7px;padding:0;background:none;cursor:pointer}.color-pick input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-pick input[type=color]::-webkit-color-swatch{border:1px solid var(--outline);border-radius:7px}.color-pick .hex{width:86px;background:transparent;border:0;color:var(--text);font-family:var(--font-mono);font-size:12px;text-transform:uppercase;outline:none}.swatches{display:flex;gap:6px}.swatches .sw{width:22px;height:22px;border-radius:6px;cursor:pointer;border:1px solid var(--outline-strong)}.ref-tabs{display:flex;gap:4px;padding:3px;background:var(--surface);border:1px solid var(--outline);border-radius:10px;margin-bottom:12px}.ref-tabs button{flex:1;background:transparent;border:0;color:var(--text-muted);padding:7px 10px;border-radius:7px;font-weight:700;font-size:12px;cursor:pointer;font-family:inherit}.ref-tabs button.active{background:var(--surface-hi);color:var(--text)}.ref-pane{display:none}.ref-pane.active{display:block}.ref-note{font-size:11px;color:var(--text-muted);margin-top:10px;line-height:1.4;border-left:2px solid var(--prod-mid);padding-left:10px}.ref-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:4px}@media (max-width:700px){.ref-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:480px){.ref-grid{grid-template-columns:repeat(2,1fr)}}.ref-tile{aspect-ratio:3/4;border-radius:10px;position:relative;cursor:pointer;background-size:cover;background-position:50%;background-color:var(--surface-hi);border:1px solid var(--outline);overflow:hidden;transition:transform .12s,border-color .15s}.ref-tile:hover{transform:translateY(-2px);border-color:var(--prod-strong)}.ref-tile.selected{border-color:var(--prod);box-shadow:0 0 0 2px var(--prod)}.ref-tile .src{position:absolute;left:5px;top:5px;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:700;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);color:#fff}.range-wrap{padding:2px 2px 0}.range-head{display:flex;justify-content:space-between;font-size:11px;color:var(--text-muted);margin-bottom:8px}.range-head .val{color:var(--prod);font-weight:700;font-family:var(--font-display)}input[type=range].crea{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--prod),var(--prod-2));outline:none;cursor:pointer}input[type=range].crea::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid var(--prod);box-shadow:0 2px 8px rgba(0,0,0,.4);cursor:pointer}input[type=range].crea::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid var(--prod);cursor:pointer}.range-ticks{justify-content:space-between;font-size:10.5px;margin-top:6px}.custom-prompt-toggle,.range-ticks{display:flex;color:var(--text-muted)}.custom-prompt-toggle{align-items:center;gap:8px;padding:0;background:transparent;border:0;font-size:12.5px;cursor:pointer;font-family:inherit}.custom-prompt-toggle:hover{color:var(--text)}.custom-prompt-toggle .chevron{transition:transform .2s}.custom-prompt.open .custom-prompt-toggle .chevron{transform:rotate(180deg)}.custom-prompt-body{display:none;padding-top:10px}.custom-prompt.open .custom-prompt-body{display:block}.tf-list{flex-direction:column}.tf-list,.tf-row{display:flex;gap:8px}.tf-row{align-items:center}.tf-row .tf-tag{flex:none;width:96px;font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.tf-row .input{flex:1}.tf-row .del{flex:none;width:30px;height:30px;border-radius:8px;cursor:pointer;background:var(--surface-up);border:1px solid var(--outline);color:var(--text-muted);font-size:14px}.tf-row .del:hover{color:var(--red);border-color:var(--prod-strong)}.btn.prod{background:linear-gradient(135deg,var(--secondary),var(--prod-2));color:#1a0f00;border-color:transparent;box-shadow:0 6px 24px -8px rgba(var(--secondary-rgb),.55),0 0 18px -3px var(--prod-strong)}.btn.prod:hover{filter:brightness(1.06)}.state-empty{text-align:center;padding:40px 22px;border:1.5px dashed var(--outline-strong);border-radius:var(--radius-lg);background:rgba(var(--text-rgb),.02)}.state-empty .big{font-size:56px}.state-empty h3{font-size:18px;margin-top:8px}.state-empty p{font-size:13.5px;max-width:360px;margin:8px auto 0;color:var(--text-dim)}.state-processing{border:1px solid var(--outline);border-radius:var(--radius-lg);background:var(--surface);padding:22px}.progress-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.progress-row{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:8px 12px;border-radius:10px;background:rgba(var(--text-rgb),.02);border:1px solid var(--outline)}.progress-row .thumb{width:48px;height:48px;border-radius:8px;background-size:cover;background-position:50%;border:1px solid var(--outline);background-color:var(--surface-hi)}.progress-row .name{font-size:12.5px;font-weight:600}.progress-row .stage{font-size:11px;color:var(--text-muted);margin-top:3px}.progress-row.done{border-color:var(--prod-mid);background:var(--prod-soft)}.progress-row.now{border-color:var(--prod-strong);background:var(--prod-soft)}.progress-row .status{font-size:11px;font-weight:700}.progress-row.done .status,.progress-row.now .status{color:var(--prod)}.progress-row.error .status{color:var(--red)}.progress-row.queued .status{color:var(--text-muted)}.bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;margin-bottom:14px;background:var(--prod-soft);border:1px solid var(--prod-mid)}.bulk-bar .ttl{font-weight:700;font-size:13px;color:var(--prod)}.bulk-bar .actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}@media (max-width:540px){.photo-grid{grid-template-columns:1fr}}.photo-tile{border:1px solid var(--outline);border-radius:14px;overflow:hidden;background:var(--surface)}.photo-tile .result{position:relative;aspect-ratio:3/4;background-size:cover;background-position:50%;background-color:var(--surface-hi)}.photo-tile .type-label{left:8px;background:rgba(0,0,0,.6);backdrop-filter:blur(6px);color:#fff}.photo-tile .ovl-badge,.photo-tile .type-label{position:absolute;top:8px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700}.photo-tile .ovl-badge{right:8px;background:var(--prod);color:#1a0500}.photo-tile .ph-meta{display:flex;align-items:center;gap:8px;padding:10px 12px}.photo-tile .ph-meta strong{font-size:12px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-tile .ph-meta .actions{display:flex;gap:4px}.photo-tile .ph-meta .actions button{width:28px;height:28px;border-radius:8px;background:var(--surface-up);border:1px solid var(--outline);color:var(--text-dim);font-size:13px;cursor:pointer}.photo-tile .ph-meta .actions button:hover{color:var(--text);border-color:var(--prod-strong)}.photo-tile .infogr-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:8px;border:0;border-top:1px solid var(--outline);background:var(--prod-soft);color:var(--prod);font-weight:700;font-size:12px;cursor:pointer;font-family:inherit}.photo-tile .infogr-btn:hover{background:var(--prod-tint)}.ovl-modal{position:fixed;inset:0;z-index:200;display:none}.ovl-modal.open{display:block}.ovl-modal .backdrop{position:absolute;inset:0;background:rgba(8,10,22,.66);backdrop-filter:blur(4px)}.ovl-modal .dialog{position:absolute;inset:0;margin:auto;width:min(880px,94vw);height:min(620px,92vh);background:var(--surface);border:1px solid var(--outline);border-radius:var(--radius-lg);box-shadow:var(--shadow-modal);display:grid;grid-template-rows:auto 1fr auto}.ovl-modal .dlg-h{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--outline)}.ovl-modal .dlg-h h3{flex:1}.ovl-modal .dlg-h .x{width:32px;height:32px;border-radius:9px;border:1px solid var(--outline);background:var(--surface-up);color:var(--text-dim);cursor:pointer}.ovl-body{display:grid;grid-template-columns:1.2fr .8fr;gap:0;min-height:0}@media (max-width:700px){.ovl-body{grid-template-columns:1fr}}.ovl-canvas-wrap{padding:18px;display:grid;place-items:center;background:var(--bg-deep);min-height:0}.ovl-canvas{position:relative;aspect-ratio:3/4;height:100%;max-height:520px;background-size:cover;background-position:50%;border-radius:12px;overflow:hidden;border:1px solid var(--outline);background-color:var(--surface-hi)}.ovl-block{position:absolute;font-weight:700;cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:var(--font-display)}.ovl-block.badge{padding:6px 12px;border-radius:999px;font-size:13px}.ovl-block.callout{padding:8px 12px;border-radius:10px;font-size:12px;max-width:160px;line-height:1.25}.ovl-side{padding:16px;border-left:1px solid var(--outline);overflow-y:auto;display:flex;flex-direction:column;gap:12px}@media (max-width:700px){.ovl-side{border-left:0;border-top:1px solid var(--outline)}}.ovl-tmpl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ovl-tmpl .t{aspect-ratio:3/4;border-radius:8px;border:1px solid var(--outline);background:var(--surface-up);cursor:pointer;font-size:10px;color:var(--text-muted);display:grid;place-items:center;text-align:center}.ovl-tmpl .t.active{border-color:var(--prod-strong);color:var(--prod);background:var(--prod-soft)}.ovl-blocks-list{display:flex;flex-direction:column;gap:6px}.ovl-block-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--outline);border-radius:9px;background:var(--surface)}.ovl-block-item input{flex:1;background:transparent;border:0;color:var(--text);font-size:12px;outline:none}.ovl-block-item .dot{width:14px;height:14px;border-radius:4px;flex:none}.ovl-block-item .rm{background:transparent;border:0;color:var(--text-muted);cursor:pointer;font-size:14px}.ovl-modal .dlg-f{display:flex;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid var(--outline)}@media (max-width:700px){.wiz-foot .btn.lg{padding:11px 14px;font-size:13px}}.app-root{display:contents}.mobile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:var(--bg);border-bottom:1px solid var(--outline);min-height:56px;flex-shrink:0}.mobile-header__brand{display:inline-flex;align-items:center;gap:8px;color:var(--text);text-decoration:none;min-width:0}.mobile-header__mascot{width:32px;height:32px;-o-object-fit:contain;object-fit:contain;flex-shrink:0}.mobile-header__name{font-family:var(--font-display);font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--text)}.mobile-header__balance{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid var(--outline);background:var(--surface);font-size:13px;line-height:1;color:var(--text);flex-shrink:0}.mobile-header__balance:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 6px rgba(var(--green-rgb),.55);flex-shrink:0}@media (max-width:900px){body.webapp-app-section,html:has(body.webapp-app-section){height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}@supports not (height:100dvh){body.webapp-app-section,html:has(body.webapp-app-section){height:100vh}}body.webapp-app-section .app-root{display:flex;flex-direction:column;height:100dvh;overflow:hidden}@supports not (height:100dvh){body.webapp-app-section .app-root{height:100vh}}body.webapp-app-section .app-root>.app-shell{flex:1!important;min-height:0!important;overflow:hidden;display:flex!important;flex-direction:column!important}body.webapp-app-section .app-root .main{flex:1!important;min-height:0!important;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:0!important}body.webapp-app-section .app-root>.tabbar,body.webapp-app-section .tabbar{position:static!important;flex:none!important;width:auto!important;z-index:auto!important;background:var(--bg)!important;background-clip:padding-box!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;filter:none!important;outline:none!important;margin:0!important}body.webapp-app-section .chat-main{height:100%!important;max-height:100%!important}body.webapp-app-section.realtor-section,body.webapp-app-section.realtor-section .main{overflow-x:clip}body.webapp-app-section .composer input,body.webapp-app-section .composer textarea,body.webapp-app-section input[type=email],body.webapp-app-section input[type=number],body.webapp-app-section input[type=password],body.webapp-app-section input[type=search],body.webapp-app-section input[type=tel],body.webapp-app-section input[type=text],body.webapp-app-section input[type=url],body.webapp-app-section textarea{font-size:16px!important}}.ob-backdrop{position:fixed;inset:0;background:radial-gradient(900px 600px at 20% 0,rgba(var(--primary-rgb),.12),transparent 60%),radial-gradient(700px 500px at 100% 100%,rgba(var(--purple-rgb),.1),transparent 60%),rgba(8,10,22,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:100;overflow-y:auto}.ob-modal{width:100%;max-width:760px;background:var(--surface);border:1px solid var(--outline);border-radius:24px;box-shadow:0 32px 80px -20px rgba(0,0,0,.75),0 0 0 1px rgba(var(--primary-rgb),.1),inset 0 1px 0 hsla(0,0%,100%,.03);overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 48px)}.ob-head{display:flex;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid var(--outline);flex:none}.ob-head .brand{display:inline-flex;align-items:center;gap:8px;font-family:Manrope,sans-serif;font-weight:700;font-size:14px;color:var(--text);letter-spacing:-.01em}.ob-head .brand img{width:24px;height:24px;border-radius:6px}.ob-head .steps{display:flex;gap:6px;flex:1;justify-content:center}.ob-head .steps .dot{width:36px;height:4px;border-radius:999px;background:var(--surface-up);transition:background .3s,width .3s}.ob-head .steps .dot.active{background:var(--primary);width:48px}.ob-head .steps .dot.done{background:rgba(var(--primary-rgb),.4)}.ob-head .skip{background:transparent;border:0;color:var(--text-muted);font-size:12.5px;font-family:inherit;cursor:pointer;font-weight:600;padding:6px 4px}.ob-head .skip:hover{color:var(--text-dim)}.ob-body{padding:32px 36px;overflow-y:auto;flex:1}.ob-pane{animation:paneIn .35s ease-out}@keyframes paneIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.ob-foot{display:flex;align-items:center;gap:10px;padding:16px 24px;border-top:1px solid var(--outline);background:rgba(0,0,0,.18);flex:none}.ob-foot .spacer{flex:1}.ob-foot .stepnum{font-size:12px;color:var(--text-muted);font-family:JetBrains Mono,monospace;letter-spacing:.04em}.ob-foot .btn{padding:10px 18px;font-size:14px;font-weight:700}.ob-foot .btn.lg{padding:12px 24px}.ob-welcome{text-align:center;padding:12px 0 4px}.ob-welcome .mascot{width:140px;height:140px;border-radius:50%;margin:0 auto 22px;background:radial-gradient(closest-side at 50% 40%,rgba(var(--primary-rgb),.2),transparent 70%),var(--surface-hi);display:grid;place-items:center;position:relative;border:1px solid var(--outline)}.ob-welcome .mascot:after{content:"";position:absolute;inset:-20px;border-radius:50%;box-shadow:0 0 60px -10px rgba(var(--primary-rgb),.25),0 0 100px -10px rgba(var(--purple-rgb),.18);pointer-events:none}.ob-welcome .mascot img{width:110px;height:110px;-o-object-fit:contain;object-fit:contain}.ob-welcome h2{font-family:Manrope,sans-serif;font-size:32px;font-weight:800;line-height:1.15;letter-spacing:-.025em;color:var(--text);margin:0 0 12px}.ob-welcome h2 em{font-style:normal;background:linear-gradient(90deg,var(--primary),var(--purple));-webkit-background-clip:text;background-clip:text;color:transparent}.ob-welcome .lede{font-size:16px;color:var(--text-dim);line-height:1.55;max-width:480px;margin:0 auto 28px;font-weight:500}.ob-bonus{display:inline-flex;align-items:center;gap:14px;padding:16px 24px;border-radius:16px;background:linear-gradient(135deg,rgba(var(--tertiary-rgb),.1),rgba(var(--secondary-rgb),.06));border:1px solid rgba(var(--tertiary-rgb),.32);margin-top:4px}.ob-bonus .gift{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,var(--tertiary),var(--secondary));display:grid;place-items:center;font-size:28px;box-shadow:0 8px 22px -8px rgba(var(--tertiary-rgb),.5)}.ob-bonus .info{text-align:left}.ob-bonus .info .amt{font-family:Manrope,sans-serif;font-size:22px;font-weight:800;color:var(--text);letter-spacing:-.02em}.ob-bonus .info .amt em{font-style:normal;color:var(--tertiary)}.ob-bonus .info .l{font-size:12.5px;color:var(--text-dim);margin-top:2px;font-weight:500}.ob-overview h2{font-family:Manrope,sans-serif;font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0 0 8px;color:var(--text)}.ob-overview .lede{font-size:14.5px;color:var(--text-dim);line-height:1.55;margin:0 0 24px;font-weight:500}.ob-cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ob-cat{padding:18px;border-radius:14px;border:1px solid var(--outline);background:var(--surface-up);position:relative}.ob-cat .em{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;font-size:22px;margin-bottom:12px}.ob-cat.t-cyan{border-color:rgba(var(--primary-rgb),.25)}.ob-cat.t-cyan .em{background:rgba(var(--primary-rgb),.14);color:var(--primary)}.ob-cat.t-orange{border-color:rgba(var(--secondary-rgb),.22)}.ob-cat.t-orange .em{background:rgba(var(--secondary-rgb),.14);color:var(--secondary)}.ob-cat.t-pink{border-color:rgba(var(--pink-rgb),.25)}.ob-cat.t-pink .em{background:rgba(var(--pink-rgb),.14);color:var(--pink)}.ob-cat.t-purple{border-color:rgba(var(--purple-rgb),.25)}.ob-cat.t-purple .em{background:rgba(var(--purple-rgb),.14);color:var(--purple)}.ob-cat .ttl{font-family:Manrope,sans-serif;font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--text);margin-bottom:4px;display:flex;align-items:center;gap:8px}.ob-cat .ttl .badge{padding:2px 8px;border-radius:999px;font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ob-cat .ttl .badge.pro{background:rgba(var(--purple-rgb),.14);color:var(--purple)}.ob-cat .ttl .badge.new{background:rgba(var(--secondary-rgb),.14);color:var(--secondary)}.ob-cat .desc{font-size:13px;color:var(--text-dim);line-height:1.5;font-weight:500}.ob-quick h2{font-family:Manrope,sans-serif;font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0 0 8px;color:var(--text)}.ob-quick .lede{font-size:14.5px;color:var(--text-dim);line-height:1.55;margin:0 0 24px;font-weight:500}.ob-quick .qs-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}@media (max-width:700px){.ob-quick .qs-grid{grid-template-columns:1fr}}.qs-card{position:relative;padding:16px;border-radius:14px;border:1.5px solid var(--outline);background:var(--surface-up);cursor:pointer;font-family:inherit;text-align:left;display:flex;flex-direction:column;gap:12px;transition:border-color .15s,transform .15s;color:var(--text)}.qs-card:hover{transform:translateY(-2px);border-color:var(--outline-strong)}.qs-card.selected{border-color:rgba(var(--primary-rgb),.55);box-shadow:0 0 0 1px rgba(var(--primary-rgb),.55),0 12px 32px -12px rgba(var(--primary-rgb),.35)}.qs-card.selected:after{content:"✓";position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;background:var(--primary);color:var(--ink-on-cta,#0a1a2e);display:grid;place-items:center;font-size:14px;font-weight:800}.qs-card .preview{aspect-ratio:4/3;border-radius:10px;background:var(--surface);display:grid;place-items:center;overflow:hidden;position:relative}.qs-card .preview.social{background:linear-gradient(135deg,rgba(var(--purple-rgb),.25),rgba(var(--secondary-rgb),.2));display:flex;gap:4px;padding:12px;align-items:flex-end}.qs-card .preview.social .bar{background:hsla(0,0%,100%,.8);border-radius:3px;flex:1}.qs-card .meta .em-row{display:flex;align-items:center;gap:8px}.qs-card .meta .em-row .em{font-size:20px}.qs-card .meta .em-row .ttl{font-size:14px;font-weight:700;color:var(--text);letter-spacing:-.01em;flex:1}.qs-card .meta .em-row .badge{padding:2px 7px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:rgba(var(--secondary-rgb),.14);color:var(--secondary)}.qs-card .meta .em-row .badge.pro{background:rgba(var(--purple-rgb),.14);color:var(--purple)}.qs-card .meta .desc{font-size:12.5px;color:var(--text-dim);line-height:1.45;font-weight:500;margin-top:4px}.ob-final{text-align:center;padding:4px 0}.ob-final .mascot{width:110px;height:110px;border-radius:50%;margin:0 auto 22px;background:var(--surface-hi);display:grid;place-items:center;border:1px solid var(--outline)}.ob-final .mascot img{width:95px;height:95px;-o-object-fit:contain;object-fit:contain}.ob-final h2{font-family:Manrope,sans-serif;font-size:28px;font-weight:800;line-height:1.2;letter-spacing:-.025em;color:var(--text);margin:0 0 10px}.ob-final .lede{font-size:15px;color:var(--text-dim);line-height:1.55;max-width:480px;margin:0 auto 28px;font-weight:500}.tg-pair{display:grid;grid-template-columns:52px 1fr auto;gap:16px;padding:16px;border-radius:14px;background:linear-gradient(135deg,rgba(42,171,238,.08),var(--surface-up) 70%);border:1px solid rgba(42,171,238,.32);text-align:left;max-width:500px;margin:0 auto 22px;align-items:center}.tg-pair .logo{width:52px;height:52px;border-radius:13px;background:linear-gradient(135deg,#2aabee,#229ed9);display:grid;place-items:center;color:#fff;font-size:26px}.tg-pair .body .ttl{font-size:14.5px;font-weight:700;color:var(--text);letter-spacing:-.01em}.tg-pair .body .desc{font-size:12.5px;color:var(--text-dim);margin-top:3px;line-height:1.45;font-weight:500}.tg-pair .cta{display:flex;align-items:center;justify-content:flex-end}.tg-pair .cta a.btn-primary{display:inline-flex;align-items:center;gap:6px;background:var(--primary);color:var(--ink-on-cta);border-radius:10px;padding:8px 14px;font-weight:700;font-size:13px;text-decoration:none;border:0}.tg-pair .cta a.btn-primary:hover{filter:brightness(1.05)}.ob-confirm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:110;padding:24px}.ob-confirm-card{background:var(--surface);border:1px solid var(--outline);border-radius:16px;padding:24px;max-width:380px;width:100%;box-shadow:0 24px 64px -16px rgba(0,0,0,.6)}.ob-confirm-card h3{font-family:Manrope,sans-serif;font-size:18px;font-weight:700;color:var(--text);margin:0 0 8px}.ob-confirm-card p{font-size:14px;color:var(--text-dim);line-height:1.5;margin:0 0 20px}.ob-confirm-card .actions{display:flex;gap:8px;justify-content:flex-end}.ob-input{text-align:left;padding:4px 0}.ob-input h2{font-family:Manrope,sans-serif;font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0 0 8px;color:var(--text)}.ob-input .lede{font-size:14.5px;color:var(--text-dim);line-height:1.55;margin:0 0 22px;font-weight:500}.ob-input-field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.ob-input-label{font-size:13px;font-weight:600;color:var(--text);letter-spacing:.01em}.ob-input-label span{color:var(--tertiary)}.ob-input-select,.ob-input-text,.ob-input-textarea{width:100%;font-size:15px}.ob-input-textarea{min-height:96px;resize:vertical}.ob-input-error{font-size:13px;color:var(--danger,#ef4444);margin-top:2px}.ob-input-actions{display:flex;align-items:center;gap:16px}.ob-input-skip{background:none;border:0;padding:6px 4px;color:var(--text-muted);font-size:13.5px;font-weight:500;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.ob-input-skip:hover{color:var(--text-dim)}.ob-input-skip:disabled{opacity:.5;cursor:not-allowed}@media (max-width:720px){.ob-backdrop{padding:0}.ob-modal{max-width:100%;max-height:100vh;border-radius:0;border-left:0;border-right:0}.ob-body{padding:24px 20px}.ob-welcome .mascot{width:100px;height:100px}.ob-welcome .mascot img{width:80px;height:80px;-o-object-fit:contain;object-fit:contain}.ob-welcome h2{font-size:26px}.ob-cat-grid{grid-template-columns:1fr}.tg-pair{grid-template-columns:52px 1fr;grid-template-areas:"logo body" "cta cta";row-gap:12px}.tg-pair .logo{grid-area:logo}.tg-pair .body{grid-area:body}.tg-pair .cta{grid-area:cta;justify-content:stretch}.ob-input h2{font-size:24px}.ob-input-actions{flex-direction:column-reverse;align-items:stretch}.ob-input-skip{text-align:center}}.ob-secondary-cta{display:block;background:transparent;border:none;color:var(--primary);font:inherit;font-size:13.5px;font-weight:600;padding:8px 12px;margin:12px auto 0;cursor:pointer;border-radius:8px;transition:background-color .15s ease}.ob-secondary-cta:hover{background:rgba(var(--primary-rgb),.1)}.ob-secondary-cta:focus-visible{outline:2px solid rgba(var(--primary-rgb),.55);outline-offset:2px}.tour-overlay{position:fixed;inset:0;z-index:200;pointer-events:none}.tour-mask{position:absolute;inset:0;background:rgba(var(--bg-rgb),.65);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.tour-cutout{position:absolute;background:transparent;border-radius:12px;box-shadow:0 0 0 9999px rgba(var(--bg-rgb),.65),0 0 0 2px var(--primary),0 0 22px 4px rgba(var(--primary-rgb),.55);animation:tour-pulse 1.8s ease-in-out infinite}@keyframes tour-pulse{0%,to{box-shadow:0 0 0 9999px rgba(var(--bg-rgb),.65),0 0 0 2px var(--primary),0 0 22px 4px rgba(var(--primary-rgb),.55)}50%{box-shadow:0 0 0 9999px rgba(var(--bg-rgb),.65),0 0 0 2px var(--primary),0 0 30px 6px rgba(var(--primary-rgb),.75)}}.tour-overlay .tooltip{position:absolute;width:320px;background:var(--surface);border:1px solid var(--outline);border-radius:var(--radius);box-shadow:0 20px 48px -16px rgba(0,0,0,.65),0 0 0 1px rgba(var(--primary-rgb),.18);pointer-events:auto;padding:16px 18px;animation:tip-pop .22s cubic-bezier(.2,.8,.3,1.2);color:var(--text);font-family:inherit}[data-theme=light] .tour-overlay .tooltip{box-shadow:0 18px 40px -14px rgba(31,26,20,.22),0 0 0 1px rgba(var(--primary-rgb),.18)}@keyframes tip-pop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.tour-overlay .tooltip .head{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.tour-overlay .tooltip .step-chip{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--primary);background:rgba(var(--primary-rgb),.12);padding:3px 8px;border-radius:999px;white-space:nowrap;flex-shrink:0}.tour-overlay .tooltip h3{flex:1;margin:0;font-family:Manrope,sans-serif;font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--text);line-height:1.3}.tour-overlay .tooltip .x{background:transparent;border:0;color:var(--text-muted);cursor:pointer;padding:2px 6px;border-radius:6px;font-size:14px;line-height:1;margin:-2px -4px 0 0;flex-shrink:0}.tour-overlay .tooltip .x:hover{background:rgba(var(--text-rgb),.06);color:var(--text)}.tour-overlay .tooltip .body{font-size:13.5px;color:var(--text-dim);line-height:1.5;margin-bottom:14px}.tour-overlay .tooltip .body strong{color:var(--text);font-weight:600}.tour-overlay .tooltip .body a{color:var(--primary);text-decoration:underline}.tour-overlay .tooltip .body p{margin:0 0 8px}.tour-overlay .tooltip .body p:last-child{margin-bottom:0}.tour-overlay .tooltip .actions{display:flex;align-items:center;gap:8px;border-top:1px solid var(--outline);padding-top:12px}.tour-overlay .tooltip .progress{font-size:11px;color:var(--text-muted);font-family:JetBrains Mono,monospace;margin-right:auto}.tour-overlay .tooltip .btn{font-family:inherit;font-size:13px;font-weight:600;padding:7px 13px;border-radius:8px;cursor:pointer;border:1px solid transparent}.tour-overlay .tooltip .btn.skip{background:transparent;border-color:var(--outline);color:var(--text-dim)}.tour-overlay .tooltip .btn.skip:hover{border-color:var(--outline-strong);color:var(--text)}.tour-overlay .tooltip .btn.primary{background:var(--primary);color:var(--ink-on-cta);border-color:var(--primary)}.tour-overlay .tooltip .btn.primary:hover{background:var(--primary-d);border-color:var(--primary-d)}.tour-overlay .tooltip:before{content:"";position:absolute;width:14px;height:14px;background:var(--surface);border:1px solid var(--outline);transform:rotate(45deg)}.tour-overlay .tooltip[data-side=right]:before{left:-8px;top:28px;border-right:0;border-top:0}.tour-overlay .tooltip[data-side=left]:before{right:-8px;top:28px;border-left:0;border-bottom:0}.tour-overlay .tooltip[data-side=bottom]:before{left:28px;top:-8px;border-right:0;border-bottom:0}.tour-overlay .tooltip[data-side=top]:before{left:28px;bottom:-8px;border-left:0;border-top:0}@media (max-width:540px){.tour-overlay .tooltip{position:fixed;left:12px!important;right:12px!important;top:auto!important;bottom:12px;width:auto}.tour-overlay .tooltip:before{display:none}}