@font-face{font-family:Manrope;src:url('/assets/Manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{--ink:#14213d;--muted:#59677e;--line:#dce2ec;--paper:#f5f7fb;--blue:#304ed2;--blue-hover:#233ba8;--green:#d7f57d;--red:#a32c35;--radius:16px;font-family:Manrope,system-ui,sans-serif;color:var(--ink);font-size:16px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7289ff;outline-offset:4px}::selection{background:#d7f57d;color:#14213d}input,textarea{caret-color:var(--blue)}a{text-underline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}p{line-height:1.7}h1,h2,h3,p{margin-top:0}h1,h2,h3{text-wrap:balance}h1{font-size:clamp(2rem,3.6vw,3.3rem);line-height:1.16;font-weight:750;letter-spacing:-.035em;margin-bottom:22px}h2{font-size:1.5rem;line-height:1.35;letter-spacing:-.025em;margin-bottom:14px}h3{font-size:1.15rem;margin-bottom:24px}.shell{display:grid;grid-template-columns:258px minmax(0,1fr);min-height:100dvh}.rail{background:var(--ink);color:#fff;padding:38px 28px;display:flex;flex-direction:column;min-height:100dvh;position:sticky;top:0;height:100dvh}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:inherit;font-size:1.65rem;font-weight:750;letter-spacing:-.05em}.brand-dot{color:var(--green)}.rail-content{margin-top:84px}.rail-title{font-weight:650;font-size:1.2rem;line-height:1.55;letter-spacing:-.02em}.rail-copy{font-size:.875rem;color:#b9c5da;line-height:1.8;margin-top:22px}.rail nav{display:grid;gap:10px;margin-top:44px}.rail nav a{color:#c6d0e2;text-decoration:none;display:flex;align-items:center;gap:12px;min-height:48px;border-radius:10px;padding:11px;font-size:.9375rem}.rail nav a:hover,.rail nav .nav-link{background:#263550;color:white}.rail nav svg{width:21px;height:21px}.rail-bottom{margin-top:auto;padding-top:50px;display:flex;gap:10px;align-items:flex-start}.rail-bottom p{font-size:.8rem;color:#d9e1ef;line-height:1.8;margin:0}.rail-bottom span:not(.rail-mark){color:#aabbd5}.rail-mark{width:6px;height:28px;border-radius:4px;background:var(--green);margin-top:5px}main{padding:0 clamp(24px,4.8vw,80px) 30px;min-width:0;max-width:1600px}.topbar{height:99px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:.875rem;color:var(--muted);gap:16px}.top-actions{display:flex;align-items:center;gap:22px}.text-button{background:none;border:0;color:var(--blue);font-size:.875rem;font-weight:650;min-height:44px;padding:8px 0}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.service-badge{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;color:#41536a;white-space:nowrap}.service-badge i{width:7px;height:7px;background:#8995a8;border-radius:50%}.service-badge.online i{background:#2e8356}.service-badge.offline{color:var(--red)}.service-badge.offline i{background:var(--red)}.access-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,1fr);gap:clamp(32px,5vw,88px);align-items:center;min-height:calc(100dvh - 140px);padding:65px 0}.intro>p{max-width:47ch;color:var(--muted);font-size:1.05rem;line-height:1.85}.intro-steps{padding:0;list-style:none;margin:42px 0;display:grid;gap:18px}.intro-steps li{display:flex;gap:13px;align-items:center;font-size:.9375rem;font-weight:600}.intro-steps span{width:30px;height:30px;background:#e3e9f7;border-radius:50%;display:grid;place-items:center;font-size:.8rem;color:#354d85}.intro .honesty{font-size:.8125rem;color:#5c6b83}.access-form-wrap{background:white;border-radius:var(--radius);padding:38px;box-shadow:0 18px 45px -24px #17223d35}.access-symbol{width:56px;height:56px;background:#eaf0ff;display:grid;place-items:center;border-radius:14px;margin-bottom:28px;color:var(--blue)}.access-symbol svg{width:38px;height:38px;stroke-width:2.6}.access-form-wrap>p{font-size:.9375rem;color:var(--muted);margin-bottom:30px}.access-form-wrap form{display:grid;gap:12px}label{display:block;font-size:.875rem;font-weight:650;margin-bottom:10px}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #c9d2e0;border-radius:10px;background:#fff;color:var(--ink);padding:13px 15px;min-height:50px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#68788f;opacity:1}input:hover,select:hover,textarea:hover{border-color:#96a6bf}textarea{resize:vertical;line-height:1.65;min-height:128px}.primary,.secondary,.danger-button{border:0;border-radius:10px;padding:13px 20px;min-height:50px;font-size:.9375rem;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary{color:white;background:var(--blue)}.primary:hover{background:var(--blue-hover)}.secondary{background:#e9eef8;color:var(--ink)}.secondary:hover{background:#dde5f3}.danger-button{background:#f9e9ec;color:var(--red);width:100%}.danger-button:hover{background:#f3dce1}.access-form-wrap .primary{margin-top:6px}.form-note{font-size:.8125rem!important;color:var(--muted);line-height:1.7;margin-top:20px!important;margin-bottom:0!important}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:44px 0 34px;gap:24px}.page-heading h1{font-size:2rem;margin-bottom:10px}.page-heading p{font-size:.9375rem;color:var(--muted);margin-bottom:0}.account-name{font-size:.8125rem;border:1px solid var(--line);padding:9px 14px;border-radius:99px;white-space:nowrap}.connect-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:44px;background:white;border-radius:var(--radius);padding:40px}.lead{font-size:1rem;color:var(--muted);max-width:46ch}.connection-options{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.privacy{margin-top:32px;max-width:60ch}.privacy summary{cursor:pointer;font-size:.875rem;color:var(--muted);line-height:1.6;min-height:36px}.privacy p{font-size:.875rem;color:var(--muted);margin-top:16px}.login-area{padding-left:36px;border-left:1px solid var(--line);text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:310px}.login-area form{text-align:left}.login-area form button{width:100%;margin-top:16px}.login-idle svg{width:72px;height:72px;color:var(--blue);stroke-width:1.3;margin-bottom:20px}.login-idle p{font-size:1.05rem;font-weight:650;margin-bottom:6px}.login-idle span{font-size:.875rem;color:var(--muted)}#qrImage{width:220px;height:220px;max-width:100%;object-fit:contain}#qrArea p{font-size:.8125rem;color:var(--muted);line-height:1.85}.login-status{font-size:.875rem;color:var(--muted);margin:14px 0 0}.prepare-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.85fr);gap:48px}.configuration{background:#fff;padding:32px;border-radius:var(--radius)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{margin-bottom:0}.section-heading .text-button{white-space:nowrap}.select-wrap{position:relative}.select-wrap:after{content:'';position:absolute;right:18px;top:19px;width:8px;height:8px;border-bottom:2px solid #586a83;border-right:2px solid #586a83;transform:rotate(45deg);pointer-events:none}select{appearance:none;padding-right:40px}.field-note{font-size:.8125rem;color:var(--muted);margin:9px 0 28px}.field-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.75rem;margin:9px 0 27px}.field-meta span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.check-row{display:flex;align-items:center;gap:10px;margin:24px 0;font-size:.875rem;font-weight:500;line-height:1.6;cursor:pointer}.check-row input{width:19px;height:19px;margin:0;accent-color:var(--blue);flex-shrink:0}.prepare-button{width:100%}.prepare-button svg{width:22px;height:22px}.live-state{padding:30px 0 0;display:flex;align-items:flex-start;flex-direction:column}.state-illustration{display:flex;gap:7px;align-items:flex-end;height:50px;margin-bottom:25px}.state-illustration span{display:block;width:12px;border-radius:4px;background:#cdd7f0;height:20px}.state-illustration span:nth-child(2){height:32px;background:#99ade4}.state-illustration span:nth-child(3){height:46px;background:var(--blue)}.live-state.active .state-illustration span{animation:waitPulse 2s ease-in-out infinite}.live-state.active .state-illustration span:nth-child(2){animation-delay:.25s}.live-state.active .state-illustration span:nth-child(3){animation-delay:.5s}.live-state.confirmed .state-illustration span{background:#397d51}.state-title{font-size:1.55rem;font-weight:700;line-height:1.4;letter-spacing:-.025em;margin-bottom:14px}.state-description{font-size:.9375rem;color:var(--muted);max-width:42ch;margin-bottom:18px}.expires{font-size:.8125rem;font-weight:650;color:var(--blue);margin-bottom:22px;font-variant-numeric:tabular-nums}.message-preview{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:10px 0 22px;padding:22px 0;width:100%}.message-preview>span{font-size:.75rem;color:var(--muted)}.message-preview p{font-size:1rem;margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow-y:auto}.state-footnote{font-size:.8125rem;color:var(--muted);line-height:1.8;margin:20px 0}.history-section{margin-top:54px;padding-top:32px;border-top:1px solid var(--line)}.history-section h2{font-size:1.25rem}.empty-history{padding:20px 0 28px}.empty-history p{font-size:.9375rem;margin-bottom:4px}.empty-history span{font-size:.8125rem;color:var(--muted)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:.75rem;color:var(--muted);font-weight:600;padding:13px 14px 13px 0;border-bottom:1px solid var(--line)}td{font-size:.875rem;padding:18px 14px 18px 0;border-bottom:1px solid var(--line);vertical-align:top;font-variant-numeric:tabular-nums}td small{display:block;font-size:.75rem;color:var(--muted);margin-top:5px}td:last-child,th:last-child{text-align:right;white-space:nowrap}.status-tag{font-size:.75rem;background:#e5eaf3;color:#3b4d69;display:inline-block;padding:5px 9px;border-radius:6px}.status-tag.confirmed{background:#e2f1e6;color:#286541}.status-tag.uncertain,.status-tag.failed,.status-tag.interrupted{background:#f8e5e8;color:#962b35}.invite-section{margin-top:38px;border-top:1px solid var(--line);padding-top:24px}.invite-section>summary{font-size:1rem;font-weight:650;cursor:pointer;min-height:44px;padding:8px 0}.invite-section>p{font-size:.875rem;color:var(--muted)}.invite-form{display:flex;gap:16px;align-items:flex-end;max-width:640px;margin-top:24px}.invite-form>div{flex:1}.invite-form button{flex-shrink:0}.invite-result{margin-top:24px;padding:24px;background:white;border-radius:12px}.invite-result>div{display:flex;gap:12px}.invite-result input{min-width:0}.invite-result button{white-space:nowrap}.invite-list{list-style:none;margin:24px 0 0;padding:0}.invite-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.875rem}.invite-list .text-button{color:var(--red)}.member-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);margin-top:40px;padding-top:16px;font-size:.75rem;color:var(--muted)}.notice{margin-top:22px;padding:16px 20px;background:#f9e9ec;color:#902d37;font-size:.9375rem;border-radius:10px;line-height:1.6}.notice.success{background:#e4f0e7;color:#286541}.busy-status{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 20px;background:var(--ink);color:white;border-radius:10px;font-size:.875rem;box-shadow:0 8px 24px #14213d30;max-width:90vw;z-index:3}.skip{position:fixed;top:-100px;left:20px;background:white;color:var(--ink);padding:12px;z-index:10}.skip:focus{top:12px}*{scrollbar-width:thin;scrollbar-color:#b6c2d5 transparent}button[aria-busy=true]{cursor:wait}@keyframes waitPulse{0%,100%{opacity:1}50%{opacity:.45}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1500px){main{width:100%}}@media(max-width:1150px){.shell{grid-template-columns:210px minmax(0,1fr)}.rail{padding:30px 20px}.brand{font-size:1.4rem}.rail-content{margin-top:60px}.access-layout{gap:30px}.access-form-wrap{padding:28px}.prepare-layout{gap:28px}.configuration{padding:26px}.connect-layout{padding:28px;gap:26px}.login-area{padding-left:24px}.section-heading{align-items:flex-start;gap:8px}.section-heading h2{font-size:1.25rem}}
@media(max-width:900px){.shell{grid-template-columns:1fr}.rail{position:static;height:auto;min-height:0;padding:18px 24px;flex-direction:row;align-items:center;justify-content:space-between}.rail-content{margin:0}.rail-content p,.rail-bottom,.rail nav a:not(.nav-link){display:none}.rail nav{margin:0}.rail nav .nav-link{background:none;font-size:.8125rem;padding:6px;min-height:40px}.rail nav .nav-link svg{width:18px}.brand{font-size:1.5rem}.brand img{width:30px;height:30px}.topbar{height:76px}.access-layout{min-height:calc(100dvh - 170px);padding:50px 0;gap:40px}.intro h1{font-size:2.6rem}.intro>p{font-size:1rem}.intro-steps{margin:28px 0}.access-form-wrap{padding:30px}.page-heading{padding-top:32px}.prepare-layout{gap:32px}.configuration{padding:26px}}
@media(max-width:650px){main{padding:0 22px 24px}.rail{padding:16px 22px}.rail nav .nav-link{font-size:0;gap:0}.rail nav .nav-link svg{width:24px;height:24px}.topbar{font-size:.75rem;height:66px}.top-actions{gap:16px}.service-badge{font-size:.6875rem}.service-badge span{max-width:115px;white-space:normal;text-align:right}.topbar .text-button{font-size:.75rem}.access-layout{display:block;padding:32px 0 20px;min-height:0}.intro h1{font-size:2.25rem;margin-bottom:18px}.intro h1 br{display:none}.intro>p{font-size:.9375rem;line-height:1.8}.intro-steps{gap:12px;margin:24px 0}.intro-steps li{font-size:.875rem}.intro .honesty{font-size:.75rem;margin-bottom:30px}.access-form-wrap{padding:26px}.access-symbol{display:none}.access-form-wrap h2{font-size:1.25rem}.page-heading{display:block;padding:30px 0 24px}.page-heading h1{font-size:1.75rem}.page-heading p{font-size:.875rem}.account-name{display:inline-block;margin-top:16px}.connect-layout,.prepare-layout{display:block}.connect-layout{padding:26px}.connect-layout h2{font-size:1.3rem}.lead{font-size:.9375rem}.connection-options{flex-direction:column}.connection-options button{width:100%}.privacy{margin-top:24px}.login-area{margin-top:28px;padding:28px 0 0;border-left:0;border-top:1px solid var(--line);min-height:220px}.configuration{padding:24px}.section-heading{align-items:center;gap:16px}.section-heading h2{font-size:1.2rem}.section-heading .text-button{font-size:.75rem}.field-meta{font-size:.6875rem;line-height:1.65}.live-state{padding:32px 4px 0}.state-illustration{height:36px;margin-bottom:20px}.state-illustration span{height:14px;width:10px}.state-illustration span:nth-child(2){height:24px}.state-illustration span:nth-child(3){height:36px}.state-title{font-size:1.4rem}.state-description{max-width:none}.history-section{margin-top:28px;padding-top:24px}.history-section h2{font-size:1.15rem}td{font-size:.8125rem}.status-tag{font-size:.6875rem}th{font-size:.6875rem}.invite-form{display:block}.invite-form button{margin-top:14px;width:100%}.invite-result{padding:20px}.invite-result>div{display:block}.invite-result button{width:100%;margin-top:12px}.member-footer{align-items:flex-start;font-size:.6875rem}.member-footer .text-button{font-size:.75rem}.busy-status{font-size:.8125rem;width:max-content;text-align:center}}

/* Public registration reuses the established Telegram connection controls. */
.access-form-wrap .connect-layout{display:block;padding:0;background:none;border-radius:0}
.access-form-wrap .connection-options{flex-direction:column;margin:22px 0}
.access-form-wrap .connection-options button{width:100%}
.access-form-wrap .login-area{border-left:0;border-top:1px solid var(--line);padding:24px 0 0;margin-top:24px;min-height:180px}
.access-form-wrap .privacy{margin-top:20px}
.admin-access{margin-top:28px;border-top:1px solid var(--line);padding-top:18px}
.admin-access summary{cursor:pointer;font-size:.8125rem;color:var(--muted);min-height:44px}
.admin-access form{margin-top:14px}
.credit-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px 32px;margin:0 0 32px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.credit-balance{display:flex;flex-direction:column;gap:8px;justify-content:center}
.credit-balance strong{font-size:1.25rem;font-variant-numeric:tabular-nums}
.credit-balance span,.credit-help{font-size:.8125rem;color:var(--muted);line-height:1.7}
.customer-reference>div{display:flex;gap:10px}.customer-reference input{min-width:0;font-size:.75rem}.customer-reference button{white-space:nowrap}
.customer-reference label{font-size:.8125rem;margin-bottom:8px}.credit-help{grid-column:1/-1;margin:0}
.invite-list li>span{overflow-wrap:anywhere;min-width:0}
@media(max-width:650px){.credit-panel{grid-template-columns:1fr;gap:20px;padding:22px 0}.customer-reference>div{flex-wrap:wrap}.customer-reference input{flex:1 1 100%}.customer-reference button{width:100%}.access-form-wrap .login-area{min-height:150px}}

.access-form-wrap .login-area:has(#loginIdle:not([hidden])){display:none}

.password-field{display:flex;gap:8px;align-items:stretch}
.password-field input{min-width:0;flex:1}
.login-area form .password-visibility{width:auto;flex-shrink:0;margin:0;padding:10px 14px;min-height:50px;font-size:.8125rem}
.password-error,.login-status.error{color:#962b35;font-weight:750;text-align:left;line-height:1.6}
.password-error{background:#f9e9ec;padding:12px 14px;border-radius:8px;margin:10px 0 0;font-size:.875rem}
#twoFactor[aria-invalid=true]{border-color:#962b35;border-width:2px}
.prepare-hint{font-size:.8125rem;line-height:1.7;color:var(--muted);margin:0 0 16px}
.prepare-hint.needs-credits{color:#962b35;font-weight:650}
