:root{--bg: #f6f5f1;--surface: #ffffff;--surface-2: #f1efe9;--text: #1c2321;--muted: #5b6663;--line: #e2ded5;--brand: #0f5e5a;--brand-strong: #0a4542;--brand-soft: #e3f0ee;--accent: #f2a541;--ok: #2f7d4f;--ok-soft: #e4f3e9;--wait: #8a5a00;--wait-soft: #fbf0d9;--bad: #b3261e;--bad-soft: #fbe6e4;--chat-bg: #ece7dd;--bubble: #dcefe9;--radius: 12px;--shadow: 0 6px 24px rgba(20, 30, 28, .08);color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #101514;--surface: #182120;--surface-2: #1d2827;--text: #e8ecea;--muted: #a3b0ac;--line: #2b3533;--brand: #4fb3a9;--brand-strong: #7fd0c7;--brand-soft: #1d3330;--ok: #6cc08e;--ok-soft: #1c3326;--wait: #e0a656;--wait-soft: #3a2e17;--bad: #f08a80;--bad-soft: #3d1f1c;--chat-bg: #151b1a;--bubble: #1f3d38;--shadow: 0 6px 24px rgba(0, 0, 0, .35);color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:var(--brand)}h1{font-size:1.6rem;margin:0 0 4px;letter-spacing:-.01em}h2{font-size:1.15rem;margin:0 0 8px}h3{font-size:1rem;margin:0 0 6px}p{margin:0 0 10px}.muted{color:var(--muted)}.small{font-size:.86rem}code,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em}.shell{display:grid;grid-template-columns:232px 1fr;min-height:100%}.side{background:var(--surface);border-right:1px solid var(--line);padding:20px 14px;display:flex;flex-direction:column;gap:4px}.side .brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.1rem;padding:0 8px 18px;color:var(--text);text-decoration:none}.side nav{display:flex;flex-direction:column;gap:2px}.side nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--muted);text-decoration:none;font-weight:500}.side nav a:hover{background:var(--surface-2);color:var(--text)}.side nav a.active{background:var(--brand-soft);color:var(--brand)}.side .foot{margin-top:auto;padding:12px 10px 0;border-top:1px solid var(--line);font-size:.85rem}.side .foot button{margin-top:6px}.main{padding:32px 36px 64px;max-width:1100px;width:100%}.page-head{margin-bottom:24px}.page-head p{color:var(--muted);max-width:680px}@media (max-width: 820px){.shell{grid-template-columns:1fr}.side{flex-direction:row;align-items:center;padding:10px 12px;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.side .brand{padding:0 8px 0 0}.side .brand span{display:none}.side nav{flex-direction:row}.side nav a{white-space:nowrap;padding:7px 9px}.side .foot{display:none}.main{padding:20px 16px 48px}}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px}.card+.card{margin-top:16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stack{display:flex;flex-direction:column;gap:12px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spacer{flex:1}@media (max-width: 820px){.grid2{grid-template-columns:1fr}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:999px;border:1px solid var(--brand);background:var(--brand);color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}.btn:hover{background:var(--brand-strong)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.ghost{background:transparent;color:var(--brand)}.btn.ghost:hover{background:var(--brand-soft)}.btn.danger{background:transparent;color:var(--bad);border-color:var(--bad)}.btn.small{padding:6px 12px;font-size:.86rem}.btn.big{padding:14px 26px;font-size:1.05rem}.linkbtn{background:none;border:0;padding:0;color:var(--brand);font:inherit;cursor:pointer;text-decoration:underline}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .btn:not(.ghost):not(.danger){color:#0c1413}}label.field{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:.9rem}label.field .hint{font-weight:400;color:var(--muted);font-size:.84rem}input,textarea,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:9px 11px;width:100%}textarea{resize:vertical;min-height:120px;line-height:1.5}input:focus,textarea:focus,select:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 10px;border-radius:999px;font-size:.8rem;font-weight:600;white-space:nowrap}.badge.ok{background:var(--ok-soft);color:var(--ok)}.badge.wait{background:var(--wait-soft);color:var(--wait)}.badge.bad{background:var(--bad-soft);color:var(--bad)}.badge.neutral{background:var(--surface-2);color:var(--muted)}.alert{border-radius:10px;padding:12px 14px;font-size:.92rem}.alert.bad{background:var(--bad-soft);color:var(--bad)}.alert.ok{background:var(--ok-soft);color:var(--ok)}.alert.info{background:var(--brand-soft);color:var(--text)}.alert.wait{background:var(--wait-soft);color:var(--wait)}.errors{margin:0;padding-left:18px;color:var(--bad);font-size:.88rem}.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.step{display:grid;grid-template-columns:40px 1fr auto;gap:14px;align-items:center}.step .num{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--surface-2);color:var(--muted)}.step.done .num{background:var(--ok-soft);color:var(--ok)}.step.current{border-color:var(--brand);box-shadow:var(--shadow)}.step.current .num{background:var(--brand);color:#fff}.progress{height:8px;background:var(--surface-2);border-radius:999px;overflow:hidden}.progress>div{height:100%;background:var(--brand);transition:width .3s}@media (max-width: 820px){.step{grid-template-columns:36px 1fr}.step .btn{grid-column:2;justify-self:start}}.phone{background:var(--chat-bg);border-radius:18px;padding:18px 14px;min-height:220px;border:1px solid var(--line)}.phone .bubble{background:var(--bubble);border-radius:10px 3px 10px 10px;padding:9px 12px;margin-left:auto;max-width:92%;white-space:pre-wrap;box-shadow:0 1px 1px #0000000f}.phone .bubble .h{font-weight:700;margin-bottom:4px}.phone .bubble .f{color:var(--muted);font-size:.82rem;margin-top:6px}.phone .btns{display:flex;flex-direction:column;gap:4px;margin:6px 0 0 auto;max-width:92%}.phone .btns span{background:var(--surface);border-radius:8px;padding:7px;text-align:center;color:#2a7fc4;font-weight:600;font-size:.9rem}.phone .var{background:#f2a5414d;border-radius:4px;padding:0 2px}.list{display:flex;flex-direction:column}.list .item{display:grid;gap:4px 14px;padding:12px 0;border-bottom:1px solid var(--line)}.list .item:last-child{border-bottom:0}.msg-item{grid-template-columns:130px 1fr auto}@media (max-width: 820px){.msg-item{grid-template-columns:1fr}}.copy{display:flex;gap:8px;align-items:stretch}.copy input{font-family:ui-monospace,Menlo,monospace;font-size:.85rem}pre.code{background:#10201e;color:#d9efe9;border-radius:10px;padding:14px;overflow-x:auto;font-size:.82rem;line-height:1.5;margin:0}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:14px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:8px 12px;font:inherit;color:var(--muted);cursor:pointer}.tabs button.on{color:var(--brand);border-color:var(--brand);font-weight:600}.auth{min-height:100%;display:grid;place-items:center;padding:24px 16px}.auth .card{width:100%;max-width:420px;padding:28px}.auth .google-button{display:flex;justify-content:center;min-height:44px;color-scheme:light}.auth .divider{display:flex;align-items:center;gap:12px}.auth .divider:before,.auth .divider:after{content:"";flex:1;border-top:1px solid var(--line)}button.link{background:none;border:0;padding:0;font:inherit;color:var(--brand);text-decoration:underline;cursor:pointer}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.gallery button{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;color:var(--text);cursor:pointer}.gallery button:hover{border-color:var(--brand)}.empty{text-align:center;padding:36px 16px;color:var(--muted)}details.help{background:var(--surface-2);border-radius:10px;padding:10px 14px}details.help summary{cursor:pointer;font-weight:600}
