/* Moment OS: the same light palette, denser project management and a quiet chat toolbar. */
.home-greeting{margin-bottom:24px}.home-greeting h1{font-size:clamp(24px,3vw,31px)}
.released-site-row{padding:10px 13px;margin-bottom:5px;gap:11px;border-radius:10px;min-height:61px}.released-site-icon{width:36px;height:36px;border-radius:9px;background-image:none;background-color:var(--accent)}.released-site-text strong{font-size:14px}.released-site-text small{margin-top:2px;font-size:11px}.released-site-members{font-size:11px;white-space:nowrap}.admin-connections>h2{margin-bottom:10px}
.site-actions .button{white-space:nowrap}.account-site-row{flex-wrap:wrap}.account-site-row>div{min-width:100px}.subscription-focus{outline:2px solid var(--blue);outline-offset:3px}
.project-components{display:flex;gap:10px;flex-wrap:wrap;padding:0;border:0;margin:0 0 22px}.project-components legend{font-size:13px;font-weight:700;margin-bottom:10px}.project-components label{display:flex;align-items:center;gap:7px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-weight:600;background:#fff;font-size:13px}.project-components label:has(input:checked){border-color:#159fea;background:#edf8ff;color:#087db5}.project-components input{width:17px;height:17px;margin:0;accent-color:#159fea}
.project-workspace-head{display:flex;align-items:center;gap:12px;margin-bottom:24px}.project-workspace-head h1{font-size:25px;margin:0}.project-workspace-head p{font-size:13px;color:var(--muted);margin:5px 0 0}.project-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.project-workspace .form-card{min-width:0;max-width:none;margin:0;padding:23px}.project-workspace h2{font-size:17px;margin:0 0 17px}.project-workspace .project-components{margin-bottom:10px}.project-workspace .project-components label{font-size:12px}.project-workspace textarea{resize:vertical;min-height:85px}.project-workspace input,.project-workspace textarea{width:100%;min-width:0}.project-workspace button{max-width:100%}.project-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.project-actions .button{min-width:0}.project-runtime-status{display:flex;gap:8px;align-items:center;padding:11px 0;font-size:13px}.project-status-dot{width:8px;height:8px;border-radius:50%;background:#b6c7d2}.project-status-dot.running{background:#29ad83}.project-secret{display:block;padding:13px;background:#f1f7fa;border-radius:10px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px}.project-note{font-size:12px;color:#6c859a;line-height:1.6}.project-note a{color:#087db5}.project-error{font-size:13px;color:#b63d4b;line-height:1.5}.project-error:empty{display:none}.project-span{grid-column:1/-1}.project-token-field{font-family:inherit}.project-creation-status{font-size:12px;padding:10px 0;color:#6c859a}.project-sticky-actions{margin-top:18px;display:flex;gap:8px}
.assistant-layout{display:flex;flex-direction:column;gap:10px;max-width:1100px}.assistant-rail{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:visible;flex:none;border:0;padding:0}.assistant-rail>button{width:auto;margin:0;white-space:nowrap}.assistant-tools{display:flex;align-items:center;gap:7px;min-width:0}.assistant-history-toggle{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#48677d;padding:10px 7px;font:inherit;font-size:13px;cursor:pointer}.assistant-history-toggle svg{width:16px;height:16px;flex:none}.assistant-telegram{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #dce9f2;border-radius:11px;color:#159fea;background:#fff}.assistant-telegram svg{width:20px;height:20px}.assistant-threads{position:absolute;z-index:15;right:43px;top:calc(100% + 8px);width:min(300px,calc(100vw - 50px));max-height:min(420px,55dvh);overflow:auto;background:#fff;padding:6px;border:1px solid #dce9f2;border-radius:13px;box-shadow:0 10px 28px #19354d18;display:grid;gap:3px}.assistant-threads[hidden]{display:none!important}.assistant-thread{width:100%;font-size:13px;padding:11px;text-align:left}.assistant-chat{flex:1;min-height:0}.assistant-empty h2{margin-top:0}.assistant-messages{padding-top:16px}.assistant-history-toggle:focus-visible,.assistant-telegram:focus-visible{outline:3px solid #8ed7ff;outline-offset:2px}
@media(max-width:760px){.project-workspace{grid-template-columns:minmax(0,1fr);gap:14px}.project-workspace .form-card{padding:19px 16px}.project-workspace-head h1{font-size:22px}.project-components{gap:6px}.project-components label{padding:9px}.project-workspace .project-components label{flex:1;justify-content:center;padding:9px 7px}.released-site-row{padding:10px 11px;gap:9px}.released-site-members{font-size:10px;max-width:78px;white-space:normal}.assistant-rail{gap:6px}.assistant-rail>.button{padding:10px 12px;font-size:12px}.assistant-history-toggle{font-size:12px;padding:9px 3px;gap:3px}.assistant-telegram{width:34px;height:34px;border-radius:10px}.assistant-tools{gap:5px}.assistant-threads{right:0}.site-actions{gap:7px}.site-actions .button{font-size:11px;padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.released-site-row,.subscription-focus{transition:none;animation:none}}
.project-workspace .project-components input{width:17px;flex:none}
