body.website{--accent:#282828;--ink:#282828;--muted:#777;--line:#e4e4e4;background:#fff;color:#282828;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.website:not(.website-authenticated) #app-root,.website-authenticated #website-public{display:none}
#website-public{height:100dvh;overflow:auto;background:#fff}.site-landing{border:0;width:100%;height:100%;display:block}.site-wordmark{font-size:20px;font-weight:700;letter-spacing:-.8px;white-space:nowrap}.site-public-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid #eee}.site-public-header a{color:inherit;text-decoration:none}.site-auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;max-width:1120px;margin:60px auto;padding:32px}.site-auth-layout aside h1{font-size:50px;font-weight:500;letter-spacing:-2px;line-height:1.12;margin:24px 0}.site-auth-layout aside small{font-size:10px;letter-spacing:2px}.site-auth-layout p{font-size:14px;line-height:1.7;color:#737373}.site-auth-layout main{min-width:0;max-width:440px}.site-auth-layout h2{font-size:28px;letter-spacing:-.8px;font-weight:550}.site-form{display:grid;gap:18px;margin-top:24px}.site-field{display:grid;gap:8px;font-size:13px}.site-field input,.website .sheet input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){width:100%;min-width:0;padding:13px;border:1px solid #d7d7d7;background:white;border-radius:7px;color:#282828}.site-form button,#site-telegram{min-height:46px;width:100%;border-radius:7px}.site-or{text-align:center;font-size:12px;color:#999;margin:16px 0}.site-auth-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:24px 0;font-size:13px}.site-auth-links a,.site-legal a{color:#555}.site-legal{font-size:11px!important}.site-code{font-size:28px;letter-spacing:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.site-loading{padding:70px 25px;text-align:center}.site-authenticated{overflow:hidden}
.website .oneai.site-shell{display:grid;grid-template-columns:230px minmax(0,1fr) 260px;grid-template-rows:70px minmax(0,1fr);background:white;height:100dvh;width:100%;max-width:none;border:0;border-radius:0;--accent:#282828;--surface:#fff;--soft:#f5f5f5;--ink:#282828;--line:#e4e4e4}.site-shell:not(:has(.site-context)){grid-template-columns:230px minmax(0,1fr)!important}.site-header{grid-column:1/-1;display:flex;align-items:center;gap:28px;border-bottom:1px solid #e4e4e4;padding:0 26px;min-width:0;background:white}.site-header a{color:inherit;text-decoration:none}.site-header>nav{display:flex;gap:12px;align-items:center}.site-header .site-nav{padding:12px 8px;font-size:12px;white-space:nowrap}.site-header-end{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.site-header .site-menu{display:none}.website .sidebar.site-sidebar{grid-column:1;grid-row:2;width:auto;position:relative;inset:auto;background:#f7f7f7;border-right:1px solid #e4e4e4;padding:22px 14px 12px;display:flex;height:100%;min-height:0;transform:none}.site-sidebar .side-new{border:1px solid #dedede;border-radius:7px;background:#fff;color:#333;min-height:44px;text-align:left;justify-content:flex-start}.site-nav{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:7px;background:transparent;color:#666;padding:11px 10px;text-align:left;font-size:13px;line-height:1.35}.site-nav svg{width:17px;height:17px;flex-shrink:0}.site-nav:hover,.site-nav.selected{background:#eee;color:#222}.site-sidebar .side-scroll{padding:12px 0}.site-sidebar .nav-label{font-size:9px;letter-spacing:1.2px;font-weight:500;color:#999;margin:25px 10px 9px;text-transform:uppercase}.site-sidebar .side-link{font-size:12px;min-height:40px}.site-sidebar .side-footer{border-top:1px solid #e4e4e4;padding-top:10px}.site-profile{display:flex;gap:10px;padding:12px 8px;align-items:center;text-align:left;width:100%}.site-profile b{font-size:12px;font-weight:550}.site-profile small{display:block;font-size:10px;color:#999;margin-top:5px}.site-profile .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e8e8e8;color:#444}.site-shell>.workspace{grid-column:2;grid-row:2;min-height:0;min-width:0;width:auto;border:0;display:flex;flex-direction:column;overflow:hidden}.site-shell .app-header{min-height:64px;height:64px;padding:0 30px;border-bottom:1px solid #eee;flex-shrink:0}.site-shell .headline strong{font-size:14px;font-weight:500}.site-shell .headline small{font-size:10px}.site-shell .app-header .mobile-menu{display:none}.site-shell .page-scroll{padding:32px;max-width:none}.site-shell .content-zone{flex:1;min-height:0;display:flex}.site-shell .conversation{width:100%;max-width:900px;margin:0 auto;min-height:0;display:flex;flex-direction:column}.site-shell .message-list{padding:30px 36px;flex:1;min-height:0}.site-shell .v1-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:0;color:#262626}.site-shell .v1-empty h1{font-size:37px;font-weight:500;letter-spacing:-1.5px;margin:0 0 16px}.site-shell .v1-empty p{font-size:13px;color:#999;font-weight:400}.site-shell .composer-zone{padding:12px 28px 22px}.site-shell .composer{border:1px solid #dcdcdc;border-radius:12px;box-shadow:0 6px 24px #00000005;padding:16px}.site-shell .composer textarea{min-height:64px;font-size:14px}.site-shell .model-trigger{border:1px solid #e3e3e3;background:#f7f7f7;border-radius:30px;padding:7px 12px}.site-shell .send{background:#303030;color:white}.site-shell .message-user{background:#f5f5f5;border-radius:14px;padding:16px 20px}.site-shell .message-answer{font-size:15px;line-height:1.8}.site-context{grid-column:3;grid-row:2;border-left:1px solid #e7e7e7;background:#fafafa;overflow:auto;padding:28px 22px}.site-context h2{font-size:17px;font-weight:550;margin:0 0 10px}.site-context p{font-size:11px;color:#888;line-height:1.8}.site-context section{border-top:1px solid #e5e5e5;padding:22px 0}.site-context small{display:block;font-size:9px;letter-spacing:1px;color:#999;margin-bottom:12px}.site-context-link{display:flex;gap:9px;align-items:center;padding:10px 0;font-size:12px;line-height:1.5;width:100%;text-align:left;overflow-wrap:anywhere}.site-context-link img{width:23px;height:23px}.site-context-link svg,.site-material svg{width:17px;height:17px;flex-shrink:0}.site-material{display:flex;gap:9px;align-items:center;font-size:11px;overflow-wrap:anywhere;margin:12px 0}.site-profile-tabs{display:flex;gap:18px;flex-wrap:wrap;border-bottom:1px solid #ddd;margin-bottom:28px}.site-profile-tabs button{font-size:13px;padding:12px 0;border-bottom:2px solid transparent}.site-profile-tabs button.selected{border-color:#333}.website .sheet-backdrop{z-index:100}.website .sheet{max-width:620px}.website .primary{background:#292929;color:white}.website button:focus-visible,.website a:focus-visible,.website input:focus-visible{outline:3px solid #779fd8;outline-offset:3px}.website button:disabled{opacity:.6}
@media(max-width:1250px){.site-context{display:none}.website .oneai.site-shell{grid-template-columns:220px minmax(0,1fr)}.site-header{gap:18px;padding:0 18px}.site-header>nav{gap:0}.site-header .site-nav{font-size:11px}.site-wordmark{font-size:18px}}
@media(max-width:760px){.site-auth-layout{display:block;margin:20px auto;padding:24px}.site-auth-layout aside{display:none}.site-auth-layout main{margin:auto}.site-public-header{height:64px;padding:0 22px}.website .oneai.site-shell,.site-shell:not(:has(.site-context)){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:60px minmax(0,1fr)}.site-header{grid-column:1;padding:0 12px;gap:10px}.site-header>nav{display:none}.site-header .site-menu{display:flex;min-height:44px;min-width:44px}.site-header-end{gap:4px}.site-header-end .wallet-pill{font-size:11px}.site-shell>.workspace{grid-column:1}.website .sidebar.site-sidebar{position:fixed;top:60px;bottom:0;left:0;width:280px;max-width:85vw;height:auto;z-index:70;transform:translateX(-100%)}.website .menu-open .sidebar.site-sidebar{transform:none}.website .menu-open .side-backdrop{display:block;position:fixed;inset:60px 0 0;background:#0004;z-index:69}.site-shell .app-header{padding:0 18px;height:56px;min-height:56px}.site-shell .page-scroll{padding:24px 18px}.site-shell .message-list{padding:24px 18px}.site-shell .composer-zone{padding:8px 12px 16px}.site-shell .composer{padding:12px}.site-shell .v1-empty h1{font-size:30px}.site-shell .model-trigger{max-width:200px;font-size:11px;padding:6px 8px}.site-profile-tabs{gap:16px}.site-profile-tabs button{min-height:44px}.site-context{display:none!important}}
.website .sidebar.site-sidebar{gap:10px}.website .site-sidebar>.side-new{flex:0 0 44px;height:44px;min-height:44px;max-height:44px}.website .site-sidebar>.site-nav{flex:0 0 auto}.website .site-sidebar .side-scroll{flex:1;min-height:0;overflow:auto}.site-wordmark{display:inline-flex;align-items:center;gap:10px}.site-wordmark img{width:28px;height:28px}.site-tool-statuses{display:flex;gap:7px;font-size:10px;color:#777}.site-tool-statuses span{display:flex;align-items:center;gap:4px}.site-tool-statuses svg{width:13px;height:13px}
@media(max-width:760px){.site-tool-statuses{position:absolute;bottom:-22px;left:6px}.site-shell .composer{position:relative}.site-shell .composer-caption{margin-top:20px}.site-wordmark{font-size:16px}.site-wordmark img{width:24px;height:24px}}
/* Profile navigation must end before content. The missing closing nav made
   every profile card a flex item in one horizontal row. */
.site-profile-page{width:100%;max-width:1000px;margin:0 auto;min-width:0}
.site-profile-content{display:block;min-width:0}
.site-profile-content>h2{margin-bottom:20px}
.site-profile-tabs{flex-wrap:nowrap;overflow-x:auto;align-items:center;gap:24px}
.site-profile-tabs button{flex:0 0 auto;min-height:44px;white-space:nowrap}
.oneai-sync{max-width:680px;display:flex;flex-direction:column;gap:20px;min-width:0}
.oneai-sync .setting-group{margin:0}.oneai-sync .nav-row{padding:18px 20px}
.oneai-sync .nav-row strong,.oneai-sync .nav-row small{display:block}
.oneai-sync .nav-row small{margin-top:6px;overflow-wrap:anywhere;color:var(--muted)}
.oneai-sync form label{display:flex;flex-direction:column;gap:8px}
.oneai-sync input{width:100%;box-sizing:border-box;min-height:46px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font:inherit}
.oneai-sync a.primary{align-self:flex-start;text-decoration:none;padding:12px 20px;border-radius:8px}

/* Matched actions on the synchronization completion page. */
.site-auth-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.website .site-auth-actions>a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:12px 18px;border:1px solid #d7d7d7;border-radius:8px;font-size:14px;font-weight:550;line-height:1.4;text-align:center;text-decoration:none;white-space:normal}
.website .site-auth-actions>a.primary{background:#282828;border-color:#282828;color:#fff}
.website .site-auth-actions>a.secondary{background:#fff;color:#282828}
.website .site-auth-actions>a.primary:hover{background:#404040;border-color:#404040}
.website .site-auth-actions>a.secondary:hover{background:#f5f5f5}
@media(max-width:480px){.site-auth-actions{grid-template-columns:1fr}}

/* Approved template 5 «Линия · сборка»: web account, not MiniApp cards. */
.website .site-profile-page{max-width:1080px}
.website .site-profile-page>.page-title{margin-bottom:24px}
.website .site-profile-tabs{gap:28px;margin-bottom:28px}
.website .site-profile-tabs button{color:#858585;border-radius:0;min-height:47px;padding:10px 0 12px}
.website .site-profile-tabs button.selected{color:#282828;font-weight:600;border-color:#282828}
.website .site-account-identity{display:flex;align-items:center;gap:16px;padding-bottom:27px;margin-bottom:28px;border-bottom:1px solid #e8e8e8}
.website .site-account-avatar{width:52px;height:52px;border-radius:12px;background:#f0f0f0;display:grid;place-items:center;flex:0 0 52px;font-size:21px}
.website .site-account-identity>div{min-width:0;flex:1}
.website .site-account-identity h2{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:0 0 4px}
.website .site-account-identity p{font-size:12px;line-height:1.6;color:#747474;overflow-wrap:anywhere}
.website .site-account-id{display:flex;align-items:center;gap:6px;font-size:11px!important}
.website .site-account-id .icon{width:28px;height:28px;min-height:28px}
.website .site-account-identity>.secondary{font-size:12px;flex-shrink:0}
.website .site-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:34px}
.website .site-resource{border:1px solid #e4e4e4;padding:25px 27px;border-radius:8px;min-width:0;display:flex;flex-direction:column}
.website .site-resource h2{font-size:14px;font-weight:550;color:#747474;margin:0 0 17px;letter-spacing:0}
.website .site-resource-value{display:flex;align-items:baseline;gap:10px;font-size:38px;line-height:1.2;letter-spacing:-1.3px;font-weight:550;flex-wrap:wrap;overflow-wrap:anywhere}
.website .site-resource-value>span{font-size:12px;letter-spacing:0;color:#7e7e7e;font-weight:400}
.website .site-resource-meta{font-size:11px;color:#929292;line-height:1.6;margin:13px 0 18px}
.website .site-resource progress{width:100%;height:5px;margin:22px 0 25px;accent-color:#3c3c3c;appearance:none;border:0;background:#ececec;border-radius:4px;overflow:hidden}
.website .site-resource progress::-webkit-progress-bar{background:#ececec}.website .site-resource progress::-webkit-progress-value{background:#3c3c3c}
.website .site-resource-actions{margin-top:auto;display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}
.website .site-resource-actions .primary,.website .site-resource-actions .secondary{min-height:44px;font-size:12px;padding:10px 17px;border-radius:7px}
.website .site-text-link{font-size:11px;min-height:40px;display:inline-flex;align-items:center;text-align:left;background:none;padding:0;white-space:normal}
.website .site-resource-links{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #eee;margin-top:14px;padding-top:6px}
.website .site-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:14px}
.website .site-section-heading h2{font-size:15px;font-weight:550;letter-spacing:-.2px}.website .site-section-heading>span{font-size:10px;color:#939393}
.website .site-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e6e6e6;column-gap:32px}
.website .site-account-quick{width:100%;display:flex;align-items:center;gap:13px;padding:19px 0;min-height:74px;text-align:left;border-bottom:1px solid #e8e8e8;color:#282828;background:none;border-radius:0;white-space:normal}
.website .site-account-quick:hover{background:#fafafa}.website .site-account-quick>span:nth-child(2){flex:1;min-width:0}
.website .site-account-quick b{display:block;font-size:12px;font-weight:550;line-height:1.4}.website .site-account-quick small{display:block;font-size:11px;color:#858585;margin-top:5px;line-height:1.5}
.website .site-quick-icon{width:34px;height:34px;background:#f4f4f4;display:grid;place-items:center;border:1px solid #ececec;border-radius:7px;flex:0 0 34px}
.website .site-quick-icon svg{width:16px;height:16px;color:#767676}.website .site-account-quick>svg{width:15px;height:15px;color:#949494;flex-shrink:0}
.website .site-preferences>.stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;margin-bottom:24px}
.website .site-preferences .card{margin:0;min-width:0;border-radius:8px}.website .site-account-admin{margin-top:24px}
@media(max-width:900px){.website .site-resource-value{font-size:33px}.website .site-section-heading{display:block}.website .site-section-heading>span{display:block;margin-top:5px}.website .site-quick-grid{column-gap:20px}}
@media(max-width:760px){.website .site-resource-grid,.website .site-quick-grid,.website .site-preferences>.stack{grid-template-columns:1fr;gap:16px}.website .site-quick-grid{gap:0}.website .site-account-identity{flex-wrap:wrap;gap:12px;padding-bottom:22px;margin-bottom:22px}.website .site-account-identity>.secondary{width:100%;min-height:44px}.website .site-resource{padding:21px}.website .site-resource-grid{margin-bottom:27px}.website .site-resource-value{font-size:35px}.website .site-section-heading>span{font-size:11px}.website .site-account-quick b{font-size:13px}.website .site-profile-tabs{gap:22px;margin-bottom:23px}}
/* Link actions use the same geometry as buttons on every website surface. */
.website a.primary,.website a.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;max-width:100%;padding:12px 18px;border:1px solid #d7d7d7;border-radius:8px;font:inherit;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.website a.primary{background:#282828;border-color:#282828;color:#fff}.website a.secondary{background:#fff;color:#282828}
.website .site-auth-layout main>button.primary{margin-top:20px;min-height:46px}
.website .site-balance-actions{order:2}.website .site-resource-links{margin:0 0 12px;padding:0;border:0}
.website .site-shell .page-title h1{overflow-wrap:anywhere}
.website .site-shell .side-link>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.website .site-shell .page-title:has(>button:not(.icon))>div{flex-basis:100%}.website .site-shell .page-title:has(>button:not(.icon)){align-items:flex-start}.website .site-resource-links{gap:14px}.website .site-auth-layout h2{overflow-wrap:anywhere}}
.website .site-preference-shortcuts{margin-bottom:24px}
.website .site-profile>span:last-child{min-width:0;flex:1}.website .site-profile b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
