/* Local account and document styling only; existing palette and motion retained. */
.head-actions button[data-dialog=account]{min-height:46px;padding:7px 17px 7px 8px;font-size:15px;gap:9px}.head-actions .header-avatar{width:30px;height:30px;font-size:14px}.head-actions .pill.primary{min-height:46px;padding:11px 20px}.profile-actions{display:flex;gap:9px;flex-wrap:wrap}
.browser-logo{display:block;width:23px;height:23px;object-fit:contain}.browser-buttons .pill{gap:10px}
.site-footer{display:block;max-width:1440px;margin:auto;padding:65px 5% 25px;border-top:1px solid var(--rim);color:var(--muted)}.footer-grid{display:grid;grid-template-columns:1.55fr 1fr 1fr 1fr;gap:36px;align-items:start}.footer-about .brand{font-size:25px;color:var(--ink)}.footer-about p{font-size:14px;margin:17px 0;line-height:1.65}.footer-about .footer-disclaimer{font-size:13px;max-width:370px}.footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.footer-col h3{font-size:13px;font-weight:650;letter-spacing:1.1px;text-transform:uppercase;margin:4px 0 6px;color:var(--ink)}.footer-col a,.footer-col button{border:0;background:none;padding:0;text-align:left;font-size:14px;color:var(--muted);transition:color .4s var(--motion)}.footer-col a:hover,.footer-col button:hover{color:var(--ink)}.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--rim);margin-top:35px;padding-top:21px;font-size:12px}
.text-link{display:inline;border:0;background:none;padding:0;color:#7291ff;font:inherit;cursor:pointer;text-align:left}.text-link:hover{text-decoration:underline}.modal:has(.register-view){max-width:min(455px,calc(100vw - 28px));padding:30px}.register-view h2{font-size:24px;letter-spacing:-.4px;margin:0 0 9px}.reg-description{font-size:15px;line-height:1.55;margin:0 0 23px!important}.telegram-card{display:flex;gap:12px;align-items:center;border:1px solid var(--rim);background:#ffffff06;border-radius:16px;padding:16px;margin:18px 0 14px}.telegram-card>svg{width:34px;height:34px;color:#8aa5ff;flex:none}.telegram-card b,.telegram-card small{display:block}.telegram-card b{font-size:15px;color:var(--ink);font-weight:650}.telegram-card small{font-size:12px;color:var(--muted);margin-top:3px}.reg-explain{font-size:14px;line-height:1.6}.reg-note{display:flex;align-items:flex-start;gap:9px;font-size:13px;margin:22px 0 18px;color:var(--muted);line-height:1.5}.reg-note input{appearance:none;width:16px;height:16px;flex:none;margin:2px 0 0;border-radius:4px;border:1px solid #ffffff24;background:#ffffff07;cursor:pointer}.reg-note input:checked{background:var(--accent);border-color:var(--accent)}.reg-note input:checked::after{content:'✓';color:white;display:block;font-size:12px;text-align:center;line-height:14px;font-weight:bold}.reg-continue{width:100%;min-height:45px;gap:9px}.reg-continue svg{width:19px;height:19px;flex:none}.reg-continue:disabled{opacity:.48;cursor:not-allowed;transform:none!important;box-shadow:none}.reg-status{font-size:12px;line-height:1.5;color:var(--muted);margin:12px 0 17px!important}.reg-bottom{border-top:1px solid var(--rim);padding-top:16px;font-size:13px;color:var(--muted)}.modal:has(.doc-view){max-width:min(720px,calc(100vw - 28px));max-height:84vh;overflow:auto;scrollbar-width:thin}.doc-view h2{padding-right:27px}.doc-intro{padding:12px;border-radius:12px;border:1px solid var(--rim);background:#ffffff04;font-size:14px;margin-bottom:20px!important}.doc-view section{padding:15px 0;border-bottom:1px solid var(--rim)}.doc-view section h3{font-size:17px;font-weight:650;margin-bottom:6px}.doc-view section p{font-size:15px;line-height:1.65;margin:0}.doc-back{margin-top:20px}
@media(max-width:820px){.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-about{grid-column:1/-1}.site-footer{padding:40px 22px 20px}.head-actions button[data-dialog=account]{min-height:43px;font-size:13px;padding:6px 12px 6px 6px}.head-actions .header-avatar{width:27px;height:27px}.footer-col{gap:11px}}
@media(max-width:460px){.footer-grid{grid-template-columns:1fr 1fr;gap:24px 18px}.footer-col a,.footer-col button{font-size:13px}.modal:has(.register-view){padding:25px}.reg-explain{font-size:13px}}
