:root{color-scheme:dark;--bg:#101010;--surface:#181818;--raised:#202020;--line:#363636;--text:#f5f5f5;--muted:#aaa;--dim:#929292;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #fff}button{min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;line-height:1.4}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-underline-offset:4px;overflow-wrap:anywhere}.primary{background:#f4f4f4;color:#111}.primary:hover{background:#ddd}.secondary{color:var(--text);background:var(--raised);border-color:var(--line)}.secondary:hover,.quiet:hover{background:#303030}.quiet{background:none;color:var(--muted);font-weight:400}.danger{border:1px solid #888;background:#eee;color:#101010}.danger:before{content:'! ';font-weight:800}.icon-button{background:none;color:#eee;font-size:24px;width:44px;padding:0}.muted{color:var(--muted);margin:0 0 16px}.fine{font-size:14px;color:var(--dim)}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:600;color:var(--dim);margin:0 0 12px}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:36px;line-height:1.2;letter-spacing:-.04em;margin:0}h2{font-size:21px;letter-spacing:-.025em;line-height:1.35;margin:0}h3{font-size:17px;margin:0 0 8px}label{display:block;color:#ddd;font-size:14px;font-weight:500}input,select,textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #505050;border-radius:8px;background:#141414;color:#f5f5f5;min-height:46px;font-size:16px}textarea{resize:vertical;min-height:110px;line-height:1.5}input::placeholder,textarea::placeholder{color:#929292}input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0;accent-color:#ddd}.check{display:flex;gap:12px;align-items:center;font-weight:400;min-height:44px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(ellipse at 50% 20%,#242424 0%,#101010 65%)}.login-card{width:100%;max-width:440px}.wordmark{font-weight:800;font-size:52px;letter-spacing:-.13em;margin-bottom:48px}.wordmark-dot{color:#aaa}.login-card h1{font-size:44px;margin-bottom:24px}.login-card>.muted{margin-bottom:40px;max-width:330px}.login-card>.primary{width:100%;margin-top:16px;display:flex;justify-content:space-between}.login-card .check{margin-top:12px}.login-card>.fine{margin-top:24px}.error{color:#f0d7d7;white-space:pre-wrap;font-size:14px}.error:not(:empty){border-left:2px solid #ccc;padding-left:12px}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;background:#141414}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:18px;font-weight:700;letter-spacing:.08em;margin-bottom:44px}.brand-icon{font-size:30px;letter-spacing:-.15em;width:44px}.brand small{display:block;font-size:10px;letter-spacing:.2em;font-weight:500;color:#999;margin-top:2px}.context-label{font-size:12px;color:var(--muted);margin-bottom:28px}.context-label select{font-size:14px;padding:10px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:14px;text-align:left;background:transparent;color:#aaa;font-weight:400;width:100%;padding:12px}.nav-item .nav-icon{width:20px;font-size:17px;text-align:center}.nav-item[aria-current=page]{background:#e9e9e9;color:#111;font-weight:600}.nav-item:hover:not([aria-current=page]){background:#232323}.sidebar-foot{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between;color:#999;font-size:12px}.sidebar-foot .quiet{font-size:14px}main{padding:40px 48px;max-width:1600px;width:100%;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:32px;border-bottom:1px solid var(--line)}.topbar-actions{display:flex;align-items:center;gap:16px}.status{display:flex;align-items:center;gap:8px;color:#ccc;font-size:14px;white-space:nowrap}.status:before{content:'';width:6px;height:6px;border:1px solid #aaa;border-radius:50%;background:#ddd}.intro{display:flex;justify-content:space-between;gap:32px;align-items:center;margin:32px 0}.intro .muted{max-width:560px;margin-bottom:6px}.intro .fine{margin:0}.channel-context{min-width:210px;max-width:300px;width:35%;flex-shrink:0;font-size:12px;color:var(--muted)}.channel-context select{font-size:14px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:32px 0 40px}.stat{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:24px}.stat-label{color:var(--muted);font-size:14px}.stat-value{font-size:30px;letter-spacing:-.04em;font-weight:600;margin:16px 0 4px}.stat-note{font-size:12px;color:#999}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:32px 0 20px}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.action-card{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:24px;min-width:0}.action-card p{font-size:14px;color:var(--muted);margin:0 0 20px;flex:1;max-width:48ch}.action-card button{align-self:flex-end}.surface,.response-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:24px}.empty{margin-top:32px}.empty p{color:var(--muted);max-width:65ch}.table-section{margin-top:32px}.table-section .section-heading{margin-top:0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;vertical-align:top;padding:14px 12px;border-bottom:1px solid var(--line);max-width:340px;overflow-wrap:anywhere}th{color:var(--muted);font-weight:400}td{white-space:pre-wrap}tr:last-child td{border-bottom:0}.result-section{margin-top:32px}.response-card{margin-bottom:16px}.response-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;line-height:1.65;font-size:15px}.embed-field{margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}.embed-field strong{display:block;font-size:14px;margin-bottom:4px;color:#aaa}.embed-footer{color:#aaa;font-size:12px;margin-top:20px}.components{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.components label{flex:1 1 220px}.components select[multiple]{min-height:140px}.component-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;width:100%}.component-form label{flex:1}.component-form button{flex-shrink:0}.modal-form{padding:24px;border:1px solid #777;border-radius:10px;background:#202020;margin:16px 0}.modal-form h3{margin-bottom:24px}.modal-form label{margin-bottom:16px}.modal-form .fine{margin-top:16px}#settings-area:not(:empty){margin-bottom:24px}.notice{margin:24px 0;padding:16px;background:#222}footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);margin-top:48px;padding-top:24px;color:#999;font-size:11px;letter-spacing:.08em}footer button{letter-spacing:0}dialog{background:#181818;color:#f5f5f5;border:1px solid #555;border-radius:12px;width:min(620px,calc(100vw - 32px));padding:32px;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:24px}#command-fields label{margin-bottom:20px}#command-fields .fine{margin-top:6px}.dialog-footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.channel-hint{font-size:13px;color:#aaa;margin-top:16px}.result-placeholder{padding:24px;color:#aaa}button,select{transition:background .12s}body.busy{cursor:progress}@media(min-width:1600px){main{padding-right:72px;padding-left:72px}}@media(max-width:1150px){main{padding:32px 24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.intro{align-items:start}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:760px){.app-shell{display:block}.sidebar{height:auto;position:relative;padding:20px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin-bottom:20px}.context-label{margin-bottom:16px}.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nav-item{font-size:13px;gap:6px;justify-content:center;padding:10px 6px}.nav-item .nav-icon{display:none}.sidebar-foot{padding-top:12px}.sidebar-foot .quiet{min-height:36px}main{padding:24px 16px}.topbar{gap:12px;align-items:start;padding-bottom:24px}.topbar h1{font-size:30px}.eyebrow{font-size:10px;letter-spacing:.12em}.topbar-actions{gap:8px;max-width:140px}.status{font-size:12px}.intro{display:block;margin:24px 0}.channel-context{width:100%;max-width:none;margin-top:20px}.stats{gap:12px;margin:24px 0}.stat{padding:16px}.stat-value{font-size:26px}.stat-label{font-size:12px}.action-grid{grid-template-columns:1fr}.action-card{padding:20px}.section-heading h2{font-size:18px}.section-heading>.fine{display:none}.surface,.response-card{padding:20px}.components>button{width:100%}.component-form{display:block}.component-form button{margin-top:12px;width:100%}footer{align-items:start;flex-direction:column;gap:8px}dialog{padding:24px}.dialog-footer{flex-wrap:wrap}.dialog-footer button{flex:1}.login-shell{padding:24px}.login-card h1{font-size:40px}.wordmark{margin-bottom:32px}.login-card>.muted{margin-bottom:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

code{font:13px/1.5 ui-monospace,Consolas,monospace;background:#292929;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}a.secondary{display:inline-block;text-decoration:none;min-height:44px;padding:10px 16px;border-radius:8px}.component-form>label{min-width:180px}

.nav-item .nav-icon{font:12px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.02em}.stat-note{font-size:14px}.channel-context{font-size:14px}.stat-label{font-size:14px}

.section-heading>.secondary{white-space:nowrap}@media(max-width:760px){.section-heading>.secondary{font-size:13px;padding:10px 12px}}

.response-card,.table-scroll{filter:grayscale(1)}

.login-explanation{font-size:16px;line-height:1.6;color:#b8b8b8;margin:0 0 24px;max-width:42ch}.login-card>.fine{line-height:1.6}.login-card .check{margin-top:16px}

/* 2.6 compact action workspace, no global destination and no command popup. */
.intro{margin:20px 0}.stats{gap:10px;margin:20px 0}.stat{padding:14px 16px}.stat-value{font-size:25px;margin:6px 0 0}.stat-note{display:none}.action-grid{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.action-card{display:flex;flex-direction:row;align-items:center;gap:20px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 18px;background:#151515}.action-card:last-child{border-bottom:0}.action-copy{flex:1;min-width:0}.action-card h3{font-size:15px;line-height:1.4;margin:0 0 3px}.action-card p{font-size:14px;line-height:1.4;margin:0;max-width:80ch}.action-card button{flex-shrink:0;align-self:center}.section-heading{margin:24px 0 12px}.action-workspace{padding:24px;border:1px solid #666;border-radius:10px;margin:0 0 20px;background:#181818;scroll-margin-top:16px}.action-workspace .dialog-heading{margin-bottom:12px}.action-workspace .dialog-footer{padding-top:16px;margin-top:16px}.action-workspace h2{font-size:23px}.action-workspace #command-fields>label{margin-bottom:18px}.action-workspace .eyebrow{font-size:11px}.format-toolbar{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.format-button{min-width:44px;padding:8px 12px;background:#252525;color:#eee;border-color:#444;font-size:14px}.format-button[aria-label=Жирный]{font-weight:800}.format-button[aria-label=Курсив]{font-style:italic}.format-button[aria-label=Подчёркнутый]{text-decoration:underline}.format-button[aria-label=Зачёркнутый]{text-decoration:line-through}.message-preview{margin-top:16px;border:1px solid #454545;border-radius:8px;padding:16px;background:#111}.message-preview>.fine{font-size:13px}.markdown-preview{font-weight:400;font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px 0;min-height:70px}.markdown-preview p{margin:0}.markdown-preview blockquote,.response-text blockquote,.embed-field blockquote{border-left:3px solid #888;padding-left:12px;margin:4px 0}.md-heading{display:block;font-size:1.25em}.md-list-item{display:block}.spoiler{border-radius:3px;background:#555;color:transparent;cursor:pointer}.spoiler *{visibility:hidden}.spoiler.revealed{color:inherit;background:#333}.spoiler.revealed *{visibility:visible}.markdown-preview pre,.response-text pre,.embed-field pre{white-space:pre-wrap;padding:12px;background:#252525;border-radius:6px;font-size:14px}.markdown-preview code{font-size:14px}.response-card{padding:16px}.response-card .embed-footer{display:none}.components{gap:8px;padding-top:12px;margin-top:12px}.embed-field{margin-top:10px}.welcome-settings{border:1px solid var(--line);border-radius:8px;padding:14px 18px;margin-bottom:20px;background:#181818}.welcome-settings summary{cursor:pointer;font-size:15px;min-height:30px}.welcome-form{padding-top:16px;max-width:760px}.welcome-form>.check{align-items:flex-start;margin-top:16px;min-height:44px}.welcome-form>.check input{flex-shrink:0;margin-top:2px}.welcome-form>.fine{margin:10px 0 16px}.welcome-settings>button{margin-top:12px}.table-section{padding:18px;margin-top:24px}.dialog-footer{justify-content:flex-start}#result-destination{margin:4px 0 0}#command-error:not(:empty){padding:10px;border:1px solid #777}#command-fields label{font-weight:400}
@media(max-width:760px){.action-card{padding:12px;gap:12px}.action-card h3{font-size:15px}.action-card p{font-size:13px}.action-card button{padding:9px 10px;font-size:13px}.action-workspace{padding:16px}.stat{padding:12px}.stat-value{font-size:22px}.action-workspace h2{font-size:21px}.format-button{padding:8px 10px}.welcome-settings{padding:12px}.topbar h1{font-size:28px}.sidebar{padding:16px}.brand{margin-bottom:12px}.context-label{margin-bottom:10px}.sidebar-foot{padding-top:6px}.intro{margin:16px 0}.table-section{padding:12px}}
table button{overflow-wrap:normal;word-break:normal}.welcome-settings summary{min-height:44px;padding:7px 0}
.attachments-group{border:1px solid var(--border,#383838);border-radius:8px;padding:12px 16px}.attachments-group summary{cursor:pointer;min-height:28px;display:list-item;font-weight:600}.attachments-group label{margin-top:12px}
.poll-date{display:flex;flex-wrap:wrap;gap:2px 6px}.poll-date span{white-space:nowrap}

#event-tools{margin-top:24px}.event-settings{padding:16px 20px;margin-top:16px}.event-settings>summary{min-height:44px;cursor:pointer;font-size:17px;font-weight:700;padding:10px 0}.event-settings form{margin-top:16px}.event-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.event-editor{min-width:0}.event-editor h3{margin:0 0 18px}.event-editor textarea{min-height:140px}.event-settings .message-preview{min-height:160px}.event-settings .check{display:flex;align-items:flex-start;gap:12px}.event-settings .check input{flex:none;width:20px;margin-top:2px}@media(max-width:800px){.event-columns{grid-template-columns:1fr}.event-settings{padding:14px}.event-settings>summary{font-size:16px}}
.event-settings form>label:not(.check),.event-editor>label{display:block;margin-bottom:18px}
