:root{color-scheme:dark;--bg:#000;--surface:#0a0a0a;--surface-2:#111;--surface-3:#171717;--line:#222;--line-soft:#1a1a1a;--text:#f7f7f7;--muted:#a0a0a0;--quiet:#747474;--blue:#1d9bf0;--blue-hover:#1489d8;--blue-soft:rgba(29,155,240,.14);--green:#30d158;--red:#ff5d62;--radius:14px;--font:Inter,"Noto Sans Thai",system-ui,-apple-system,"Segoe UI",sans-serif;font-family:var(--font);font-size:15px;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.5}button,input,textarea,select{font:inherit}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,label:focus-within{outline:2px solid var(--blue);outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;font-size:30px;line-height:1.2;margin-bottom:8px}h2{font-size:17px;letter-spacing:-.01em;margin:0}small,.small{font-size:13px}.muted{color:var(--muted)}.quiet{color:var(--quiet)}.eyebrow{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#858585;font-weight:700;margin:0 0 8px}.brand-lockup{display:inline-flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--blue);color:#fff;border-radius:12px;font-size:25px;font-weight:800;line-height:1;letter-spacing:-.08em}.brand-word{font-size:19px;letter-spacing:-.045em;font-weight:800}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:10px 18px;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease,border-color .15s ease;min-height:42px}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--blue);color:white}.button-primary:hover{background:var(--blue-hover)}.button-secondary{background:var(--surface-2);border-color:var(--line);color:var(--text)}.button-secondary:hover{background:var(--surface-3);border-color:#343434}.button-sm{min-height:36px;padding:7px 13px;font-size:13px}.button-wide{width:100%;min-height:48px}.icon-button{position:relative;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:42px;height:42px;background:transparent;color:#d5d5d5;font-size:21px;cursor:pointer;transition:background .15s,border .15s}.icon-button:hover{background:var(--surface-3);border-color:#3a3a3a}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.avatar{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;object-fit:cover;background:#102c42;color:#bde4ff;font-weight:700;font-size:16px}.avatar-sm{width:34px;height:34px;font-size:13px}.avatar-lg{width:48px;height:48px}.avatar-xl{width:82px;height:82px;font-size:28px;border:4px solid var(--surface)}.avatar-fallback{background:hsl(var(--avatar-hue,204) 48% 24%);color:hsl(var(--avatar-hue,204) 86% 88%)}.online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(48,209,88,.11);font-style:normal;vertical-align:middle}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:22px;padding:0 7px;border:1px solid #2c2c2c;border-radius:999px;background:#151515;color:#c4c4c4;font-size:11px;font-weight:700}.nav-badge{margin-left:auto;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--blue);font-size:11px;font-weight:800;color:#fff}.nav-badge[hidden],.mobile-badge[hidden]{display:none}.app-layout{min-height:100vh;margin:0 auto;display:grid;grid-template-columns:244px minmax(420px,640px) 280px;gap:28px;max-width:1260px;padding:0 28px}.left-sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:26px 4px 20px 0;border-right:1px solid var(--line-soft)}.sidebar-brand{margin:0 0 32px 8px}.sidebar-user{display:flex;align-items:center;gap:11px;padding:0 10px 19px;border-bottom:1px solid var(--line-soft)}.sidebar-user>[data-user-avatar]{display:flex}.user-copy{min-width:0;display:flex;flex-direction:column;line-height:1.35}.user-copy strong{font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-copy small{margin-top:4px;color:var(--muted);font-size:12px}.user-copy .online-dot{width:6px;height:6px;margin-right:5px}.primary-nav{display:grid;gap:5px;margin:16px 0}.nav-link{position:relative;display:flex;align-items:center;gap:14px;min-height:47px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#c8c8c8;text-align:left;font-size:14px;font-weight:550;cursor:pointer;transition:background .16s,color .16s}.nav-link:hover{background:#121212;color:#fff}.nav-link.active{background:#111;color:#fff;font-weight:700}.nav-link.active::before{position:absolute;left:-4px;width:3px;height:21px;content:"";border-radius:0 3px 3px 0;background:var(--blue)}.nav-icon{display:grid;place-items:center;width:20px;height:22px;color:#8d8d8d;line-height:1}.nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.search-icon{display:grid;place-items:center;width:20px;height:20px}.nav-link.active .nav-icon{color:var(--blue)}.sidebar-presence{padding:14px 10px 0;border-top:1px solid var(--line-soft);min-height:88px;overflow:hidden}.section-label{display:flex;align-items:center;justify-content:space-between;color:#909090;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:11px}.online-list{display:grid;gap:10px;max-height:25vh;overflow:auto}.person-row{display:flex;align-items:center;gap:9px;min-width:0}.person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c8c8c8;font-size:13px;flex:1}.person-row .online-dot{width:6px;height:6px;box-shadow:none}.sidebar-logout{display:flex;align-items:center;gap:12px;margin-top:auto;padding:12px;border:0;background:none;color:#9b9b9b;text-align:left;font-size:14px;cursor:pointer;border-radius:8px}.sidebar-logout:hover{background:#141414;color:#fff}.sidebar-logout span{font-size:19px}.sidebar-logout .ui-icon{width:18px;height:18px;flex:none}.action-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.note-icon svg{width:15px;height:15px;fill:currentColor;stroke:none}.tool-button .ui-icon{width:17px;height:17px;flex:none}.panel-heading .ui-icon{width:16px;height:16px}.empty-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.feed-main{min-width:0;padding:27px 0 64px}.feed-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 18px}.feed-heading h1{margin:0;font-size:26px}.search-wrap{display:flex;align-items:center;gap:11px;height:46px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#0a0a0a;margin-bottom:17px}.search-wrap:focus-within{border-color:#1d6595;box-shadow:0 0 0 3px rgba(29,155,240,.1)}.search-icon{color:#858585;font-size:22px;line-height:1}.search-wrap input{width:100%;min-width:0;border:0;outline:0!important;background:transparent;color:var(--text);font-size:14px}.search-wrap input::placeholder{color:#777}.search-wrap kbd{flex:none;padding:2px 6px;border:1px solid #292929;border-radius:5px;color:#777;font-size:10px}.composer{padding:18px 18px 14px;margin-bottom:23px}.composer-row{display:flex;gap:12px}.composer-input-wrap{position:relative;width:100%;min-width:0}.composer textarea{width:100%;resize:vertical;min-height:78px;border:0;outline:0!important;background:transparent;color:#f5f5f5;font-size:15px;line-height:1.6}.composer textarea::placeholder{color:#858585}.composer-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft)}.compose-tools{display:flex;align-items:center;gap:13px}.tool-button{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:13px;font-weight:700;cursor:pointer;padding:6px 8px;border-radius:7px}.tool-button:hover{background:var(--blue-soft)}.tool-button:first-letter{font-size:18px}.image-preview{position:relative;margin:8px 0 4px 54px;max-width:300px}.image-preview img{display:block;width:100%;max-height:210px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.image-preview button{position:absolute;top:7px;right:7px;width:30px;height:30px;border:0;border-radius:50%;background:#000b;cursor:pointer}.mention-menu{position:absolute;z-index:12;left:0;top:calc(100% - 2px);width:min(300px,100%);padding:6px;border:1px solid #303030;border-radius:10px;background:#141414;box-shadow:0 12px 34px #000b}.mention-option{display:flex;align-items:center;gap:9px;width:100%;padding:8px;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer}.mention-option:hover,.mention-option:focus{background:#222}.feed-toolbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line)}.feed-toolbar h2{font-size:14px;color:#e7e7e7}.post-list{display:grid}.post-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:18px 1px 16px;border-bottom:1px solid var(--line-soft);animation:post-in .32s ease both}.post-avatar{padding-top:1px}.post-content{min-width:0}.post-topline{display:flex;align-items:center;gap:7px;min-width:0;line-height:1.35}.post-author{font-size:14px;font-weight:700;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-handle,.post-time,.post-separator{font-size:12px;color:#858585;white-space:nowrap}.post-top-actions{margin-left:auto;display:flex;align-items:center;gap:2px}.more-button,.delete-post,.delete-comment{border:0;background:transparent;color:#797979;cursor:pointer;width:34px;height:34px;border-radius:50%;font-size:18px}.more-button:hover,.delete-post:hover,.delete-comment:hover{color:var(--red);background:rgba(255,93,98,.1)}.delete-post svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.post-text{margin:6px 0 12px;color:#ededed;font-size:14px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.mention{color:var(--blue);font-weight:600}.post-image{display:block;width:100%;max-height:470px;object-fit:cover;border:1px solid var(--line);border-radius:12px;margin:8px 0 12px}.post-edited{color:#777;font-size:11px;margin-left:4px}.reaction-row{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 8px}.reaction-chip{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:3px 9px;border:1px solid #242424;border-radius:999px;background:#0e0e0e;color:#bdbdbd;font-size:12px;cursor:pointer;transition:transform .14s,border-color .14s,background .14s}.reaction-chip:hover{transform:translateY(-1px);border-color:#444;background:#161616}.reaction-chip.reaction-pop{animation:reaction-pop .36s ease}.reaction-chip.selected{border-color:#1c5c88;background:var(--blue-soft);color:#8bcfff}.reaction-chip .emoji{font-size:15px}.post-actions{display:flex;align-items:center;gap:20px}.post-action{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 4px;border:0;background:transparent;color:#858585;font-size:12px;cursor:pointer}.post-action:hover{color:var(--blue)}.post-action .action-icon{font-size:17px}.comments-box{margin-top:10px;padding:12px;border:1px solid var(--line-soft);border-radius:10px;background:#080808}.comment-list{display:grid;gap:11px}.comment-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px}.comment-row .avatar{width:30px;height:30px;font-size:12px}.comment-body{min-width:0;padding:8px 10px;border-radius:10px;background:#111}.comment-meta{display:flex;align-items:center;gap:7px}.comment-meta strong{font-size:12px}.comment-meta time{font-size:11px;color:#777}.comment-meta .delete-comment{margin-left:auto;width:24px;height:24px;font-size:15px}.comment-text{margin:3px 0 0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#dedede}.comment-form{display:flex;gap:8px;margin-top:12px}.comment-form .comment-input-wrap{position:relative;flex:1;min-width:0}.comment-form textarea{width:100%;min-height:39px;max-height:110px;resize:vertical;padding:9px 10px;border:1px solid #252525;border-radius:9px;background:#0e0e0e;color:#eee;font-size:13px}.comment-form .button{min-height:39px;padding:7px 13px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:58px 20px;color:#ddd}.empty-state.compact{padding:38px 14px}.empty-icon{display:grid;place-items:center;width:49px;height:49px;border:1px solid #252525;border-radius:50%;color:#8c8c8c;font-size:23px;margin-bottom:14px}.empty-state strong{font-size:15px}.empty-state p{margin:7px 0 0;color:#888;font-size:13px}.loading-card{display:flex;align-items:center;gap:12px;padding:45px 10px;color:#999;font-size:13px}.spinner{display:inline-block;width:19px;height:19px;border:2px solid #2a2a2a;border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite}.right-sidebar{position:sticky;top:0;align-self:start;padding:29px 0 18px}.side-card{padding:16px 15px 14px;border:1px solid var(--line);border-radius:13px;background:#090909}.side-card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.side-card-title h2{font-size:14px}.team-list{display:grid;gap:11px}.team-member{display:flex;align-items:center;gap:9px;min-width:0}.team-member .avatar{width:32px;height:32px;font-size:12px}.team-member-copy{min-width:0;flex:1}.team-member-copy strong{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.team-member-copy small{color:#888;font-size:11px}.team-member .online-dot{width:6px;height:6px;box-shadow:none}.side-note{margin-top:14px;padding:17px;border:1px solid #1a2630;border-radius:12px;background:linear-gradient(140deg,rgba(29,155,240,.10),rgba(7,11,16,.65) 70%)}.note-icon{display:grid;place-items:center;width:28px;height:28px;margin-bottom:12px;border-radius:8px;color:#73c4ff;background:rgba(29,155,240,.16)}.side-note strong{font-size:13px}.side-note p{font-size:12px;line-height:1.6;color:#969696;margin:6px 0 0}.footer-meta{margin:18px 6px;color:#6c6c6c;font-size:11px}.footer-meta span{margin:0 5px}.mobile-topbar,.mobile-nav{display:none}.panel-overlay{position:fixed;z-index:50;inset:0;display:flex;justify-content:flex-end;background:rgba(0,0,0,.64);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}.panel-overlay.open{opacity:1;visibility:visible}.notification-drawer{width:min(420px,100vw);height:100%;padding:21px 20px;background:#090909;border-left:1px solid var(--line);transform:translateX(22px);transition:transform .22s;overflow-y:auto}.panel-overlay.open .notification-drawer{transform:translateX(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;border-bottom:1px solid var(--line)}.drawer-header h2{font-size:20px}.text-button{margin:12px 0;padding:4px 0;border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:700;cursor:pointer}.notification-list{display:grid}.notification-item{display:flex;align-items:center;gap:10px;width:100%;padding:13px 9px;border:0;border-bottom:1px solid var(--line-soft);background:transparent;text-align:left;cursor:pointer}.notification-item:hover{background:#101010}.notification-item.unread{background:#0d1720}.notification-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;font-size:13px;line-height:1.45}.notification-copy small{font-size:11px;color:#898989}.unread-dot{width:7px;height:7px;border-radius:50%;background:var(--blue)}.mobile-badge{position:absolute;top:0;right:-2px;min-width:9px;height:9px;border-radius:9px;background:var(--blue);font-size:0}.toast-stack{position:fixed;z-index:100;right:22px;bottom:22px;display:grid;gap:8px}.toast{max-width:min(400px,calc(100vw - 32px));padding:12px 15px;border:1px solid #303030;border-radius:10px;background:#171717;color:#eee;box-shadow:0 8px 30px #000a;font-size:13px;opacity:0;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast-success{border-color:#235b37}.toast-error{border-color:#653334}
/* Login */
.login-page{display:grid;place-items:center;min-height:100vh;background:radial-gradient(ellipse at 50% 45%,rgba(13,25,35,.35),transparent 54%),#000}.login-wrap{width:min(100% - 32px,440px);padding:28px 0}.login-card{padding:38px 38px 27px;border:1px solid #222;border-radius:16px;background:#101010;box-shadow:0 24px 90px #000}.login-card .brand-lockup{margin-bottom:30px}.login-card .brand-mark{width:42px;height:42px;font-size:29px;border-radius:13px}.login-card h1{font-size:25px}.login-intro{margin:0 0 28px;font-size:14px}.form-stack{display:flex;flex-direction:column;gap:10px}.form-stack label,.profile-form>label,.filter-row label{color:#c3c3c3;font-size:13px;font-weight:650}.form-stack input,.profile-form input:not([type=file]),.filter-row input,.filter-row select,.customer-tools input{width:100%;height:46px;padding:0 13px;border:1px solid #292929;border-radius:9px;background:#080808;color:#f4f4f4;font-size:14px}.form-stack input:focus,.profile-form input:focus{border-color:#1d6595}.form-stack label:not(:first-child){margin-top:7px}.form-message{min-height:19px;margin:1px 0;color:#ff8185;font-size:12px}.login-footnote{padding-top:18px;margin:14px 0 0;border-top:1px solid #222;color:#777;text-align:center;font-size:12px}.login-side-note{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:19px;color:#777;font-size:12px}.pulse-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px #30d15822}.setup-card{width:min(540px,calc(100% - 32px));margin:12vh auto;padding:32px;border:1px solid #252525;border-radius:14px;background:#0d0d0d}.setup-card h1{font-size:24px}.setup-card p:not(.eyebrow){color:#aaa;line-height:1.8}.setup-card code{padding:2px 5px;border-radius:4px;background:#181818;color:#b5dcf5}.setup-card .button{margin-top:12px}
/* Profile and admin */
.single-layout{grid-template-columns:244px minmax(0,880px);max-width:1220px;gap:42px}.page-main{min-width:0;padding:41px 0 80px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.page-heading h1{margin-bottom:7px}.page-heading p:last-child{margin-bottom:0}.profile-card{overflow:hidden;max-width:760px}.profile-cover{position:relative;height:140px;overflow:hidden;background:linear-gradient(115deg,#071724 0%,#0c2740 50%,#102b3f 100%)}.cover-orbit{position:absolute;border:1px solid #4c8bb333;border-radius:50%;transform:rotate(-20deg)}.orbit-one{width:580px;height:250px;top:-135px;left:160px}.orbit-two{width:670px;height:290px;top:-176px;left:110px}.cover-label{position:absolute;right:20px;bottom:17px;color:#95bad3;font-size:10px;letter-spacing:.18em;font-weight:700}.profile-form{padding:0 30px 27px}.profile-avatar-row{display:flex;align-items:center;gap:17px;margin-top:-42px;margin-bottom:23px;position:relative}.profile-avatar-row h2{font-size:18px;margin:31px 0 2px}.profile-avatar-row p{margin:0;font-size:12px}.avatar-upload{position:relative;display:block;cursor:pointer}.avatar-upload:hover .avatar-edit{background:var(--blue)}.avatar-edit{position:absolute;right:2px;bottom:4px;display:grid;place-items:center;width:24px;height:24px;border:2px solid #0a0a0a;border-radius:50%;background:#252525;font-size:15px}.profile-form>label{display:block;margin:8px 0}.profile-form input:not([type=file]){max-width:520px}.profile-meta{display:flex;justify-content:space-between;max-width:520px;padding:14px 0;border-bottom:1px solid var(--line-soft);font-size:13px;color:#9a9a9a}.profile-meta strong{font-weight:550;color:#e4e4e4}.profile-actions{display:flex;justify-content:flex-end;max-width:520px;margin-top:19px}.admin-main{max-width:930px}.admin-heading{align-items:center}.admin-chip{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #214766;border-radius:7px;background:#0b1922;color:#99d3ff;font-size:10px;font-weight:800;letter-spacing:.12em}.admin-chip i{width:6px;height:6px;border-radius:50%;background:var(--blue)}.admin-tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow-x:auto}.admin-tab{display:flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap;border:0;border-bottom:2px solid transparent;background:transparent;color:#999;font-size:13px;font-weight:650;cursor:pointer}.admin-tab:hover{color:#ddd}.admin-tab.active{color:#fff;border-bottom-color:var(--blue)}.tab-count{font-size:10px;color:#858585}.admin-panel{display:none;min-width:0}.admin-panel.active{display:block;animation:fade-in .2s ease}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:12px;margin:5px 0 0}.table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#080808}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{padding:11px 13px;background:#101010;color:#919191;font-size:11px;font-weight:700;letter-spacing:.035em}td{padding:12px 13px;border-top:1px solid #1c1c1c;color:#dedede;font-size:12px}tr:hover td{background:#0c0c0c}.table-empty{text-align:center;color:#858585;padding:30px}.member-cell{display:flex;align-items:center;gap:9px;min-width:165px}.member-cell .avatar{width:32px;height:32px;font-size:12px}.member-cell strong{font-size:12px}.role-select{min-height:32px;padding:4px 8px;border:1px solid #292929;border-radius:7px;background:#121212;color:#ddd;font-size:11px}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border-radius:99px;background:#102017;color:#88dda3;font-size:10px}.status-badge.offline{background:#171717;color:#aaa}.status-badge.disabled{background:#271315;color:#ff999c}.status-badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.table-action{min-height:31px;padding:5px 9px;border:1px solid #333;border-radius:7px;background:#141414;color:#ddd;font-size:11px;cursor:pointer}.table-action:hover{border-color:#777}.table-action.danger{color:#ff999c}.filter-row{display:flex;align-items:flex-end;gap:10px;margin:16px 0}.filter-row label{display:grid;gap:6px;min-width:130px}.filter-row input,.filter-row select{height:38px;font-size:12px}.filter-row .button{height:38px;min-height:38px}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:13px}.pagination>div{display:flex;gap:7px}.customer-tools{display:flex;align-items:center;gap:14px;margin:15px 0 12px}.compact-search{max-width:390px;height:40px;margin:0}.compact-search input{height:auto;padding:0;border:0;background:transparent;font-size:13px}.customer-row-actions{display:flex;gap:7px}.modal-backdrop{position:fixed;z-index:70;inset:0;display:grid;place-items:center;padding:18px;background:#000b}.modal-backdrop[hidden]{display:none}.modal-card{width:min(460px,100%);padding:22px;border:1px solid #303030;border-radius:14px;background:#101010;box-shadow:0 20px 80px #000}.modal-card>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-card h2{font-size:20px}.modal-card .form-stack{gap:8px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
/* FortiSIEM frame */
.template-page{height:100vh;overflow:hidden}.template-shell{display:flex;flex-direction:column;height:100vh;padding:0 28px}.template-topbar{display:flex;align-items:center;gap:28px;min-height:79px;border-bottom:1px solid var(--line);flex:none}.back-link{display:flex;align-items:center;gap:8px;color:#a4a4a4;font-size:13px}.back-link:hover{color:#fff}.template-title{display:flex;align-items:center;gap:11px;margin-right:auto}.template-title h1{font-size:16px;margin:0;letter-spacing:-.01em}.template-title .eyebrow{margin-bottom:1px;font-size:9px}.template-symbol{display:grid;place-items:center;width:35px;height:35px;border:1px solid #214561;border-radius:10px;background:#0c1a24;color:#7bc7fa;font-size:18px}.template-status{display:flex;align-items:center;gap:8px;color:#aaa;font-size:11px}.template-status i{width:6px;height:6px;border-radius:50%;background:var(--green)}.template-frame-wrap{position:relative;flex:1;min-height:0;margin:14px 0 16px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#05070b}.template-frame-wrap iframe{position:relative;z-index:1;display:block;width:100%;height:100%;border:0}.template-loading{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:11px;background:#05070b;color:#aaa;font-size:13px;transition:opacity .25s}.template-loading.done{opacity:0;pointer-events:none}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes reaction-pop{50%{transform:scale(1.14)}}@keyframes post-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(max-width:1160px){.app-layout{grid-template-columns:220px minmax(0,650px);max-width:930px;gap:25px;padding:0 22px}.right-sidebar{display:none}.single-layout{grid-template-columns:220px minmax(0,1fr);max-width:1050px;gap:30px}.page-main{max-width:850px}.admin-main{max-width:930px}}
@media(max-width:760px){body:has(.mobile-nav){height:100dvh;overflow:hidden}.app-layout,.single-layout{display:flex;flex-direction:column;height:100dvh;min-height:100dvh;overflow:hidden;padding:0 17px}.left-sidebar{display:none}.feed-main,.page-main{flex:1;min-height:0;height:auto;overflow-y:auto;overscroll-behavior:contain;padding:0 0 24px;scrollbar-width:none}.feed-main::-webkit-scrollbar,.page-main::-webkit-scrollbar{display:none}.mobile-topbar{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;height:58px;border-bottom:1px solid var(--line);background:rgba(0,0,0,.92);backdrop-filter:blur(12px)}.mobile-topbar .brand-mark{width:31px;height:31px;border-radius:10px;font-size:22px}.mobile-topbar .brand-word{font-size:17px}.mobile-topbar .icon-button{width:38px;height:38px;border:0;font-size:20px}.feed-heading{margin:19px 0 15px}.feed-heading h1{font-size:23px}.feed-heading .eyebrow{font-size:10px}.search-wrap{height:43px;margin-bottom:13px}.search-wrap kbd{display:none}.composer{padding:14px 13px 12px;margin-bottom:18px}.composer-row{gap:9px}.composer textarea{min-height:71px;font-size:14px}.composer .avatar{width:37px;height:37px}.composer-footer{margin-top:8px;padding-top:8px}.compose-tools .muted{display:none}.feed-toolbar{padding-bottom:10px}.post-card{grid-template-columns:38px minmax(0,1fr);gap:9px;padding:15px 0}.post-avatar .avatar{width:37px;height:37px}.post-author{font-size:13px;max-width:45%}.post-handle,.post-time,.post-separator{font-size:11px}.post-text{font-size:14px;margin-top:7px}.post-actions{gap:16px}.post-image{max-height:380px}.mobile-nav{position:static;z-index:30;bottom:auto;left:auto;right:auto;flex:none;width:auto;margin:0 -17px;display:flex;justify-content:space-around;align-items:center;height:calc(65px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #222;background:rgba(5,5,5,.97);backdrop-filter:blur(16px)}.mobile-nav>a,.mobile-nav>button{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:48px;border:0;background:transparent;color:#828282;cursor:pointer}.mobile-nav>a>span,.mobile-nav>button>span{position:relative;display:grid;place-items:center;height:24px;font-size:19px;line-height:1.3}.mobile-nav .ui-icon{width:19px;height:19px}.mobile-nav small{font-size:10px}.mobile-nav .active{color:#f5f5f5}.mobile-nav .active>span{color:var(--blue)}.mobile-badge{top:0;right:-4px}.page-heading{margin:21px 0 19px}.page-heading h1{font-size:24px}.profile-cover{height:115px}.profile-form{padding:0 18px 21px}.profile-avatar-row{margin-top:-40px;gap:11px}.profile-avatar-row .avatar-xl{width:74px;height:74px}.profile-avatar-row h2{font-size:16px;margin-top:27px}.profile-avatar-row p{font-size:11px}.profile-actions{max-width:none}.profile-form input:not([type=file]),.profile-meta{max-width:none}.admin-heading{margin-bottom:14px}.admin-heading .muted{font-size:12px}.admin-chip{font-size:9px}.admin-tabs{gap:18px;margin-right:-17px;padding-right:17px}.admin-tab{font-size:12px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:11px}.panel-heading .button{padding:8px 12px;font-size:12px}.panel-heading .button span{display:none}.filter-row{flex-wrap:wrap;align-items:flex-end}.filter-row label{min-width:calc(50% - 8px);flex:1}.filter-row .button{flex:1}.table-wrap{border-radius:8px}th,td{padding:10px 11px}.customer-tools{align-items:flex-start;flex-direction:column}.compact-search{max-width:none;width:100%}.template-page{height:100dvh}.template-shell{padding:0 12px}.template-topbar{min-height:65px;gap:13px}.back-link span{display:none}.template-title{gap:8px}.template-title h1{font-size:14px}.template-symbol{width:31px;height:31px}.template-status{font-size:10px}.template-frame-wrap{margin:10px 0;border-radius:9px}.login-card{padding:31px 24px 23px}.login-card h1{font-size:23px}.toast-stack{right:12px;bottom:78px}.setup-card{margin:9vh auto;padding:25px}}
@media(max-width:390px){.app-layout,.single-layout{padding-left:13px;padding-right:13px}.admin-tabs{margin-right:-13px;padding-right:13px}.mobile-nav{height:calc(62px + env(safe-area-inset-bottom));margin-left:-13px;margin-right:-13px}.mobile-nav small{font-size:9px}.post-handle{display:none}.post-topline{gap:5px}.post-author{max-width:58%}.composer .muted{display:none}.admin-chip{display:none}.template-status{display:none}.profile-meta{font-size:12px}}
