*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}:root{--bg:#080711;--panel:#100d19;--panel2:#171020;--pink:#ef4f9a;--pink2:#ff8ac4;--purple:#a85bd6;--text:#faf5fb;--muted:#b7a9bb;--line:rgba(255,132,196,.22);--mint:#a9efd2;--orange:#ff9a70}body{min-height:100vh;background:radial-gradient(circle at 65% 10%,rgba(234,65,147,.16),transparent 27%),radial-gradient(circle at 95% 80%,rgba(132,50,168,.13),transparent 30%),var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif}.page-glow{position:fixed;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 30%,rgba(255,80,161,.035),transparent 70%)}.sidebar{position:fixed;inset:0 auto 0 0;width:322px;padding:28px 26px 20px;background:linear-gradient(180deg,rgba(11,8,18,.98),rgba(8,7,16,.96));border-right:1px solid rgba(255,105,178,.12);overflow:hidden;z-index:3}.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:82px;height:82px;filter:drop-shadow(0 0 18px rgba(255,75,160,.38))}.brand-name{font-size:31px;font-weight:850;font-style:italic;letter-spacing:-1.5px;color:#ff77b5}.brand-tagline{margin-top:5px;color:#c9a8bf;font-size:12px;line-height:1.5}.nav{display:flex;flex-direction:column;gap:7px;margin-top:40px}.nav-item{display:flex;align-items:center;gap:16px;padding:15px 17px;border-radius:13px;color:#eee3ef;text-decoration:none;font-size:15px;transition:.2s}.nav-item:hover{background:rgba(255,90,165,.08);transform:translateX(2px)}.nav-item.active{background:linear-gradient(90deg,rgba(239,79,154,.68),rgba(169,65,122,.28));box-shadow:0 0 24px rgba(239,79,154,.14)}.nav-icon{width:25px;text-align:center;font-size:22px;color:#ff9dcc}.quote{margin:46px 14px 0;padding:28px 10px 16px;border-top:1px solid rgba(255,130,195,.2);color:#a98fa6;text-align:center;font-size:13px;line-height:1.65}.quote-line{margin-top:12px;color:#ef5eaa}.sidebar-art{position:absolute;left:-12px;bottom:55px;width:320px;height:390px;background:none center bottom/cover no-repeat;opacity:.48;mask-image:linear-gradient(to top,black 60%,transparent)}.system-status{position:absolute;bottom:18px;left:38px;color:#eee;font-size:12px;z-index:2}.system-status i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ef4f9a;box-shadow:0 0 12px #ef4f9a;margin-right:8px}.main{margin-left:322px;width:calc(100% - 322px);padding:30px 28px 60px;max-width:1500px}.hero{position:relative;min-height:185px;border:1px solid rgba(255,130,195,.28);border-radius:20px;overflow:hidden;background:#130d19;box-shadow:0 18px 60px rgba(0,0,0,.25)}.hero-art{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,6,14,.95) 0%,rgba(12,8,19,.72) 40%,rgba(11,8,18,.2)),none center/cover;opacity:.95}.hero-content{position:relative;padding:31px 34px;z-index:1}.eyebrow{color:#d7b5cf;font-size:12px;text-transform:uppercase;letter-spacing:1.5px}.hero h1{margin-top:7px;font-size:30px;line-height:1.1}.hero h1 b{font-size:45px;color:#f45aa2}.hero p{margin-top:8px;color:#d7bfd2;font-size:14px}.hero-actions{position:absolute;right:22px;top:24px;display:flex;align-items:center;gap:12px;z-index:2}.search{width:285px;padding:13px 18px;border-radius:28px;background:rgba(49,20,43,.72);border:1px solid rgba(255,150,208,.13);color:#ff9ac7}.search span{margin-left:9px;color:#c2a9bd;font-size:13px}.circle-btn,.avatar{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,140,201,.22);background:rgba(42,17,37,.8);color:#fff}.avatar{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ef5aa6,#773f91);font-weight:800}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 265px;gap:14px;margin:17px 0 34px}.stat{min-height:106px;display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(38,24,43,.92),rgba(16,12,23,.9));box-shadow:0 12px 30px rgba(0,0,0,.16)}.stat-symbol{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:23px;color:#fff}.stat-symbol.pink{background:#e9549d;box-shadow:0 0 22px rgba(239,79,154,.4)}.stat-symbol.orange{background:#ff8c64}.stat-symbol.mint{background:#a8dfc8;color:#18251f}.stat span{display:block;color:#d0bfd0;font-size:12px}.stat strong{display:block;margin-top:5px;font-size:27px}.new-task{display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:13px;background:linear-gradient(135deg,#ef4f9a,#d73581);color:#fff;text-decoration:none;font-size:14px;font-weight:750;box-shadow:0 12px 30px rgba(239,79,154,.24);transition:.2s}.new-task:hover{transform:translateY(-2px);box-shadow:0 16px 35px rgba(239,79,154,.32)}.new-task b{font-size:23px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.section-head h2{font-size:24px}.section-head h2 span{color:#ff83bd;margin-right:8px}.section-head p{margin-top:5px;color:#aa9aac;font-size:13px}.filters{display:flex;gap:8px}.filter{border:1px solid rgba(255,150,210,.12);background:rgba(255,255,255,.025);color:#cbb8c9;border-radius:20px;padding:9px 15px;font-size:11px}.filter.active{background:#ef4f9a;color:#fff;box-shadow:0 0 20px rgba(239,79,154,.24)}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.task-card,.create-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:linear-gradient(145deg,rgba(30,20,35,.95),rgba(13,11,20,.98));min-height:280px}.task-card{transition:.22s}.task-card:hover{transform:translateY(-4px);border-color:rgba(255,120,188,.45);box-shadow:0 16px 35px rgba(0,0,0,.25)}.task-image{display:block;height:110px;background-position:center;background-size:cover;position:relative}.task-image:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(15,10,20,.65),transparent 70%)}.task-body{padding:13px 16px 15px}.badges{display:flex;justify-content:space-between;gap:8px;margin-bottom:11px}.badge{display:inline-flex;padding:6px 10px;border-radius:16px;font-size:10px;font-weight:700}.status-planned{background:#f4a5c8;color:#351226}.status-in_progress{background:#bcd6f6;color:#192d4a}.status-completed{background:#b8e7d2;color:#183b2e}.priority-low{border:1px solid #7bbca5;color:#a9efd2}.priority-medium{border:1px solid #f38a55;color:#ffad85}.priority-high{border:1px solid #ef4f9a;color:#ff7fbb}.task-body h3{font-size:15px;margin-bottom:7px}.task-body p{color:#b7a9bb;font-size:12px;line-height:1.55;min-height:38px}.task-meta{display:flex;justify-content:space-between;margin-top:12px;color:#9e8d9d;font-size:10px}.task-meta a{color:#f184b8;text-decoration:none}.create-card{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:#fff;border-style:dashed;border-color:#e65399;background:linear-gradient(145deg,rgba(42,21,42,.58),rgba(14,11,20,.7))}.create-card .plus{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(239,79,154,.2);color:#ff82ba;font-size:31px;margin-bottom:16px}.create-card h3{font-size:14px}.create-card p{margin-top:7px;color:#ad9aad;font-size:11px}.form-page,.task-page{max-width:1050px;margin:0 auto;padding:45px 25px}.back{display:inline-block;color:#c99abb;text-decoration:none;margin-bottom:22px;font-size:13px}.form-head h1,.task-page h1{font-size:36px;margin-top:7px}.form-head p{color:#ad9aad;margin-top:8px}.task-form{margin-top:28px;padding:28px;border:1px solid var(--line);border-radius:20px;background:rgba(18,12,24,.88);box-shadow:0 20px 60px rgba(0,0,0,.25)}.task-form label{display:block;color:#d9c5d7;font-size:12px;margin-bottom:20px}.task-form input,.task-form textarea,.task-form select{width:100%;margin-top:8px;padding:14px;border:1px solid rgba(255,150,210,.14);border-radius:11px;background:#0c0912;color:#fff;outline:none;font:inherit}.task-form textarea{min-height:260px;resize:vertical;line-height:1.6}.task-form input:focus,.task-form textarea:focus,.task-form select:focus{border-color:#ef4f9a;box-shadow:0 0 0 3px rgba(239,79,154,.08)}.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.form-actions{display:flex;justify-content:flex-end;gap:10px}.cancel{display:flex;align-items:center;padding:0 17px;color:#bca9ba;text-decoration:none}.error{padding:14px;border:1px solid #d84d78;background:rgba(216,77,120,.1);color:#ff9bbb;border-radius:11px}.document{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:rgba(16,12,22,.94)}.document-cover{height:280px;background:center/cover}.document-inner{padding:32px}.document h1{margin:16px 0 8px}.document-meta{color:#9e8c9e;font-size:11px}.document-text{margin-top:28px;color:#ddd0dc;line-height:1.8;font-size:15px;white-space:normal}.task-page{max-width:1000px}
.editor-label{color:#d9c5d7;font-size:12px;margin:4px 0 8px}.editor-shell{border:1px solid rgba(255,150,210,.14);border-radius:14px;overflow:hidden;background:#0b0810}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-bottom:1px solid rgba(255,150,210,.12);background:linear-gradient(90deg,rgba(239,79,154,.08),rgba(135,67,168,.06))}.editor-toolbar button{border:1px solid rgba(255,150,210,.13);background:rgba(255,255,255,.035);color:#e8dce8;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:12px}.editor-toolbar button:hover{background:rgba(239,79,154,.17);border-color:rgba(255,150,210,.32)}.toolbar-divider{width:1px;background:rgba(255,255,255,.1);margin:2px 3px}.rich-editor{min-height:390px;padding:22px;color:#eee3ed;outline:none;font-size:15px;line-height:1.75}.rich-editor:empty:before{content:attr(data-placeholder);white-space:pre-line;color:#796c78}.rich-editor h1,.rich-content h1{font-size:34px;line-height:1.2;margin:22px 0 10px;color:#fff;font-weight:800}
.rich-editor h2,.rich-content h2{font-size:25px;margin:20px 0 8px;color:#fff}.rich-editor h3,.rich-content h3{font-size:19px;margin:18px 0 7px;color:#fff}.rich-editor p,.rich-content p{margin:0 0 12px}.rich-editor ul,.rich-editor ol,.rich-content ul,.rich-content ol{padding-left:25px;margin:10px 0 16px}.rich-editor blockquote,.rich-content blockquote{margin:18px 0;padding:13px 17px;border-left:3px solid #ef4f9a;background:rgba(239,79,154,.06);color:#cbb9c9;border-radius:0 10px 10px 0}.editor-image,.rich-content img{display:block;max-width:100%;height:auto;max-height:600px;object-fit:contain;border-radius:12px;margin:18px auto;box-shadow:0 12px 35px rgba(0,0,0,.35)}.rich-content a{color:#ff82ba}.editor-hint{margin-top:10px;color:#8f7f8e;font-size:11px}.document-topline{display:flex;justify-content:space-between;align-items:center;gap:20px}.document-actions{display:flex;gap:8px}.document-actions a{padding:8px 12px;border:1px solid rgba(255,150,210,.13);border-radius:9px;color:#e4c8dd;text-decoration:none;font-size:11px;background:rgba(255,255,255,.025)}.document-actions a:hover{border-color:#ef4f9a;background:rgba(239,79,154,.08)}.document-actions .danger-link{color:#ff8eab}.empty-doc{color:#8f7f8e}.document-text{font-size:15px}.document-text p:last-child{margin-bottom:0}
@media(max-width:1100px){.stats{grid-template-columns:1fr 1fr}.new-task{min-height:70px}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-actions{display:none}}@media(max-width:760px){.sidebar{position:relative;width:100%;height:auto;min-height:0;padding:18px}.brand-logo{width:62px;height:62px}.nav{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}.quote,.sidebar-art,.system-status{display:none}.main{margin-left:0;width:100%;padding:18px}.hero{min-height:220px}.hero-content{padding:25px}.hero h1{font-size:25px}.hero h1 b{font-size:36px}.stats,.task-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.filters{overflow:auto;max-width:100%}.section-head{align-items:flex-start;flex-direction:column;gap:14px}}

.auth-card{max-width:480px;margin:70px auto;padding:35px;background:#17111d;border:1px solid #3b263f;border-radius:20px;color:#fff}.auth-form label{display:block;margin:15px 0}.auth-form input,.auth-form textarea,.task-form input,.task-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:13px;background:#0d0912;color:#fff;border:1px solid #493049;border-radius:10px}.auth-form button{margin-top:15px}.topic-list{display:grid;gap:12px;margin-top:25px}.topic-row{display:block;padding:20px;border:1px solid #3b263f;border-radius:15px;color:inherit;text-decoration:none;background:#17111d}.topic-row:hover{border-color:#e85b9e}.post-card{padding:18px;margin:12px 0;background:#17111d;border:1px solid #3b263f;border-radius:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat-card{padding:22px;background:#17111d;border:1px solid #3b263f;border-radius:15px}.stat-card span,.stat-card b{display:block}.stat-card b{font-size:32px;margin-top:10px}.community-links{position:fixed;right:25px;top:20px;z-index:5}.error{padding:12px;background:#5d203e;border-radius:10px;color:#ffd4e7;margin:15px 0}

/* ===== Exilion authentication ===== */
.auth-page{min-height:100vh;overflow-x:hidden;background:#080711;color:#faf5fb}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(440px,1fr) minmax(500px,650px);position:relative;z-index:1}
.auth-visual{position:relative;min-height:100vh;padding:42px 52px;overflow:hidden;background:radial-gradient(circle at 70% 25%,rgba(239,79,154,.16),transparent 34%),linear-gradient(145deg,#100914 0%,#080711 72%);border-right:1px solid rgba(255,132,196,.12)}
.auth-visual:before{content:"";position:absolute;width:520px;height:520px;right:-180px;top:80px;border:1px solid rgba(255,112,181,.12);border-radius:50%;box-shadow:0 0 100px rgba(239,79,154,.07)}
.auth-visual:after{content:"";position:absolute;width:310px;height:310px;right:35px;top:185px;border:1px solid rgba(181,92,214,.12);border-radius:50%}
.auth-brand{position:relative;z-index:4;display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;width:max-content}
.auth-brand img{width:64px;height:64px;filter:drop-shadow(0 0 18px rgba(255,75,160,.38))}.auth-brand strong{display:block;font-size:27px;color:#ff77b5;font-style:italic;letter-spacing:-1px}.auth-brand small{display:block;margin-top:3px;color:#9d8a9b;font-size:10px}
.auth-visual-content{position:relative;z-index:3;max-width:590px;margin-top:19vh}.auth-kicker{font-size:11px;letter-spacing:3px;color:#d68eb4;font-weight:800}.auth-visual h1{margin-top:15px;font-size:clamp(42px,4vw,68px);line-height:.98;letter-spacing:-2.5px}.auth-visual h1 b{color:#f35ba5}.auth-visual-content>p{max-width:480px;margin-top:22px;color:#ad9cad;font-size:15px;line-height:1.7}.auth-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}.auth-pills span{padding:10px 14px;border:1px solid rgba(255,140,201,.13);border-radius:30px;background:rgba(255,255,255,.025);color:#cdb8ca;font-size:11px}.auth-art{position:absolute;z-index:2;left:0;right:0;bottom:-30px;height:43%;background:none left bottom/cover no-repeat;opacity:.26;mask-image:linear-gradient(to top,#000,transparent 92%)}
.auth-panel{display:flex;align-items:center;justify-content:center;padding:50px 60px;background:rgba(10,8,15,.72)}.auth-box{width:min(100%,455px)}.register-box{width:min(100%,570px)}
.auth-heading>span{display:inline-block;color:#ed6eaa;font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.auth-heading h2{margin-top:8px;font-size:35px;letter-spacing:-1px}.auth-heading p{margin-top:8px;color:#968798;font-size:13px;line-height:1.5}.auth-form-modern{margin-top:29px}.auth-form-modern label{display:block;margin:0 0 18px;color:#d9c7d7;font-size:11px;font-weight:650}.auth-form-modern label>span{display:block;margin-bottom:8px}.input-wrap{position:relative}.input-wrap i{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-style:normal;color:#c95a91;font-size:13px;z-index:1}.auth-form-modern input{height:51px!important;margin:0!important;padding:0 15px 0 42px!important;border:1px solid rgba(255,150,210,.13)!important;border-radius:12px!important;background:rgba(17,12,23,.88)!important;color:#fff!important;outline:none;font-size:13px;transition:.2s}.auth-form-modern input::placeholder{color:#625766}.auth-form-modern input:focus{border-color:#ef4f9a!important;box-shadow:0 0 0 3px rgba(239,79,154,.08),0 10px 28px rgba(0,0,0,.16)}.auth-form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.auth-submit{width:100%;height:52px;margin-top:4px;border:0;border-radius:12px;background:linear-gradient(135deg,#f0539f,#c9347d);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;cursor:pointer;box-shadow:0 13px 30px rgba(239,79,154,.2);transition:.2s}.auth-submit b{font-size:20px;font-weight:500}.auth-submit:hover{transform:translateY(-2px);box-shadow:0 17px 34px rgba(239,79,154,.3)}.auth-error{display:flex;flex-direction:column;gap:4px;margin-top:22px;padding:13px 15px;border:1px solid rgba(255,84,126,.35);border-radius:12px;background:rgba(118,30,58,.16);color:#ffb4ca;font-size:11px;line-height:1.45}.auth-error b{color:#ff82ae;font-size:12px}.auth-divider{display:flex;align-items:center;gap:12px;margin:23px 0 17px;color:#6f6270;font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.07)}.auth-switch{text-align:center;color:#8f8290;font-size:12px}.auth-switch a{color:#f27ab5;text-decoration:none;font-weight:750}.auth-switch a:hover{text-decoration:underline}.auth-back{display:block;width:max-content;margin:22px auto 0;color:#756875;text-decoration:none;font-size:10px}.auth-back:hover{color:#bd9bb2}.auth-mobile-brand{display:none}.auth-bg{position:fixed;inset:0;pointer-events:none;overflow:hidden}.auth-bg span{position:absolute;border-radius:50%;border:1px solid rgba(255,108,179,.07);box-shadow:0 0 55px rgba(239,79,154,.05);animation:authFloat 8s ease-in-out infinite}.auth-bg span:nth-child(1){width:240px;height:240px;left:7%;top:8%}.auth-bg span:nth-child(2){width:90px;height:90px;left:42%;bottom:12%;animation-delay:1s}.auth-bg span:nth-child(3){width:180px;height:180px;right:8%;top:10%;animation-delay:2s}.auth-bg span:nth-child(4){width:55px;height:55px;right:28%;bottom:9%;animation-delay:3s}@keyframes authFloat{50%{transform:translateY(-13px);opacity:.65}}
@media(max-width:1050px){.auth-layout{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:35px 22px}.auth-mobile-brand{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:38px}.auth-mobile-brand img{width:42px;height:42px}.auth-mobile-brand b{font-size:24px;color:#ff77b5;font-style:italic}.auth-box{width:min(100%,480px)}.register-box{width:min(100%,570px)}}
@media(max-width:560px){.auth-panel{padding:25px 16px}.auth-heading h2{font-size:29px}.auth-form-row{grid-template-columns:1fr;gap:0}.auth-form-modern input{height:49px!important}.auth-pills{display:none}}

/* ===== Exilion unified community/profile/admin ===== */
body{background:#080711;color:#f6edf5}
.topbar{position:fixed;top:0;left:0;right:0;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:rgba(8,7,17,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,150,210,.09);z-index:20}.top-brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none}.top-brand img{width:38px;height:38px}.top-brand b{color:#f476b2;font-style:italic;font-size:20px}.top-actions{display:flex;gap:8px;align-items:center}.top-actions a,.small-action{color:#bdaebe;text-decoration:none;font-size:11px;padding:8px 11px;border:1px solid rgba(255,150,210,.11);border-radius:9px;background:rgba(255,255,255,.025)}.top-actions a:hover,.small-action:hover{color:#fff;border-color:rgba(239,79,154,.4)}.top-actions em{font-style:normal;background:#ef4f9a;color:#fff;border-radius:20px;padding:2px 6px;margin-left:3px}.content-page{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:110px 0 60px}.page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head h1{font-size:42px;margin:8px 0}.page-head p{color:#968798}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.category-card,.panel{background:linear-gradient(145deg,rgba(24,16,29,.92),rgba(12,9,18,.95));border:1px solid rgba(255,150,210,.11);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.2)}.category-card{padding:18px;display:flex;gap:13px}.category-card>span{font-size:24px}.category-card h3{margin:0 0 5px;font-size:14px}.category-card p{margin:0 0 8px;color:#8f8190;font-size:11px;line-height:1.5}.category-card small,.admin-user small,.log-row small{color:#716573;font-size:10px}.panel{padding:24px;margin-bottom:16px}.panel h2{margin:0 0 18px}.topic-row{display:block;text-decoration:none;color:inherit;padding:17px 4px;border-top:1px solid rgba(255,255,255,.06)}.topic-row:first-of-type{border-top:0}.topic-title{font-weight:800;color:#f5dce9}.topic-row p{color:#8f8290;font-size:12px;margin:7px 0}.topic-row small{color:#6f6270;font-size:10px}.mini-badge{display:inline-block;padding:4px 7px;border-radius:20px;background:rgba(239,79,154,.1);color:#e98bb5;font-size:9px}.empty-state{padding:28px;text-align:center;color:#7e707e}.topic-head{display:flex;justify-content:space-between;gap:20px}.topic-head h1{font-size:30px;margin:12px 0 8px}.topic-head small{color:#786a78}.topic-content{margin-top:25px;color:#d6c7d4;line-height:1.8;white-space:normal}.reply-card{padding:18px}.reply-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.reply-head small{color:#746775}.reply-head span{margin-left:auto;font-size:10px}.reply-card>div:last-child{color:#cdbdca;line-height:1.7}.profile-hero{display:flex;align-items:center;gap:25px;padding:30px;border:1px solid rgba(255,150,210,.11);border-radius:22px;background:radial-gradient(circle at 0 0,rgba(239,79,154,.1),transparent 40%),#120d17}.profile-hero h1{font-size:38px;margin:5px 0}.profile-hero p{color:#a996a7}.profile-hero small{color:#756777}.profile-avatar{width:110px;height:110px;border-radius:28px;display:grid;place-items:center;font-size:40px;font-weight:800;color:#fff;background:linear-gradient(135deg,#f15ba5,#743e91);overflow:hidden;box-shadow:0 15px 40px rgba(239,79,154,.2)}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-stats{display:flex;gap:12px;margin:15px 0}.profile-stats>div{padding:17px 28px;border:1px solid rgba(255,150,210,.1);border-radius:14px;background:#110c16}.profile-stats b{display:block;font-size:25px}.profile-stats span{color:#817282;font-size:10px}.success{padding:12px;border-radius:10px;background:rgba(73,185,132,.1);border:1px solid rgba(73,185,132,.25);color:#8fe2bb;margin-bottom:15px}.notification-list{display:grid;gap:10px}.notification{display:flex;gap:13px;padding:17px 18px;border:1px solid rgba(255,150,210,.09);border-radius:14px;background:#100c15;text-decoration:none;color:inherit}.notification.unread{border-color:rgba(239,79,154,.25);background:rgba(239,79,154,.045)}.notification-dot{width:8px;height:8px;border-radius:50%;background:#6b5b68;margin-top:6px;flex:none}.notification.unread .notification-dot{background:#ef4f9a;box-shadow:0 0 12px #ef4f9a}.notification b{font-size:12px}.notification p{margin:5px 0;color:#9c8c9b;font-size:11px}.notification small{color:#655a66;font-size:9px}.admin-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:16px}.admin-table{display:grid}.admin-user{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid rgba(255,255,255,.06)}.admin-user small{display:block;margin-top:4px}.admin-user form{display:flex;gap:6px;flex-wrap:wrap;justify-content:end}.danger-btn{color:#ff9ab5!important}.log-row{display:grid;grid-template-columns:170px 180px 1fr;gap:12px;padding:11px 0;border-top:1px solid rgba(255,255,255,.06);font-size:11px}.log-row span{color:#9c8c9b}.form-page{width:min(850px,calc(100% - 32px));margin:0 auto;padding:100px 0 50px}.form-page h1{font-size:38px}.form-head{margin:25px 0}.task-form label{color:#b9a9b7;font-size:11px}.task-form input,.task-form textarea,.task-form select{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:13px;background:#0d0912;color:#fff;border:1px solid rgba(255,150,210,.13);border-radius:10px;outline:none}.task-form textarea{resize:vertical}.task-form input:focus,.task-form textarea:focus,.task-form select:focus{border-color:#ef4f9a;box-shadow:0 0 0 3px rgba(239,79,154,.07)}.task-form .form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:13px;margin:15px 0}.task-form .form-row label{display:block}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px}.cancel,.back{color:#88798a;text-decoration:none;font-size:11px}.cancel:hover,.back:hover{color:#f18ab8}.rich-form{background:#100b15;padding:24px;border:1px solid rgba(255,150,210,.1);border-radius:18px}.editor-shell{margin-top:12px;border:1px solid rgba(255,150,210,.13);border-radius:13px;overflow:hidden;background:#0b0810}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-bottom:1px solid rgba(255,150,210,.1)}.editor-toolbar button{border:1px solid rgba(255,150,210,.12);background:#15101b;color:#d9c5d6;border-radius:7px;padding:7px 9px;cursor:pointer}.rich-editor{min-height:330px;padding:18px;outline:none;line-height:1.7}.rich-editor:empty:before{content:attr(data-placeholder);color:#675a67}.editor-image{max-width:100%;border-radius:10px;margin:10px auto;display:block}.document-actions a{color:#d7bdcf}.danger-link{color:#ff8eab!important}.document{overflow:hidden}.topbar+.page-glow{display:none}
@media(max-width:900px){.category-grid,.admin-stats{grid-template-columns:1fr 1fr}.top-actions a:nth-child(-n+2){display:none}.admin-user{grid-template-columns:1fr}.log-row{grid-template-columns:1fr}.task-form .form-row{grid-template-columns:1fr}}
@media(max-width:560px){.content-page{width:calc(100% - 24px);padding-top:90px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:32px}.category-grid,.admin-stats{grid-template-columns:1fr}.profile-hero{align-items:flex-start;flex-direction:column}.profile-avatar{width:82px;height:82px}.topbar{padding:0 12px}.top-actions a{display:none}}
/* Community avatars and polished discussion UI */
.avatar-photo{overflow:hidden;position:relative;text-decoration:none}.avatar-photo img{width:100%;height:100%;display:block;object-fit:cover}.avatar-photo span{display:none}.avatar-photo.avatar-broken span{display:flex}.community-main{padding-top:28px}.community-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px 32px;margin-bottom:18px;border:1px solid rgba(255,130,195,.24);border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(239,79,154,.15),transparent 35%),linear-gradient(145deg,rgba(29,18,35,.96),rgba(12,9,18,.98));box-shadow:0 18px 55px rgba(0,0,0,.22)}.community-hero h1{font-size:38px;margin:7px 0}.community-hero p{color:#a996a8;font-size:13px;max-width:650px;line-height:1.6}.community-actions{display:flex;align-items:center;gap:13px}.community-user-avatar{flex:none}.community-actions .new-task{min-width:150px;padding:13px 18px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.category-link{text-decoration:none;color:inherit;transition:.2s}.category-link:hover{transform:translateY(-3px);border-color:rgba(255,120,188,.35);box-shadow:0 12px 30px rgba(0,0,0,.2)}.category-icon{width:45px;height:45px;display:grid;place-items:center;flex:none;border-radius:14px;font-size:20px;font-weight:800;color:#fff;background:linear-gradient(135deg,#ef4f9a,#7b4192);box-shadow:0 8px 22px rgba(239,79,154,.18)}.cat-help{background:linear-gradient(135deg,#ef4f9a,#9d4f9d)}.cat-idea{background:linear-gradient(135deg,#a85bd6,#ef4f9a)}.cat-news{background:linear-gradient(135deg,#6e75d9,#a85bd6)}.community-panel-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:3px}.community-panel-head h2{margin:5px 0 0}.topic-count{font-size:10px;color:#7e6f7d;padding:8px 11px;border:1px solid rgba(255,150,210,.1);border-radius:20px}.topic-row-avatar{display:flex;align-items:center;gap:14px;padding:16px 4px}.topic-row-avatar:hover{background:rgba(255,100,175,.025);border-radius:12px}.topic-row-main{min-width:0;flex:1}.topic-author-avatar{width:42px;height:42px;border-radius:13px;overflow:hidden;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#ef5aa6,#703d8e);color:#fff;font-weight:800;box-shadow:0 7px 18px rgba(0,0,0,.2)}.topic-author-avatar img{width:100%;height:100%;object-fit:cover;display:block}.topic-author-avatar span{display:block}.topic-author-avatar.avatar-broken img{display:none}.topic-arrow{font-size:25px;color:#624f61;padding:0 8px}.community-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.topic-author-block{display:flex;gap:15px;align-items:flex-start}.topic-author-avatar.large{width:58px;height:58px;border-radius:17px;margin-top:2px}.reply-head{align-items:center}.reply-avatar{width:38px;height:38px;border-radius:12px}.reply-head>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.reply-head b a{color:#f4d9e8;text-decoration:none}.reply-head small{display:block}.reply-actions{margin-left:auto}.reply-content{margin-left:52px}.topic-head h1{max-width:800px}.community-main .panel{background:linear-gradient(145deg,rgba(24,16,29,.94),rgba(11,9,17,.98))}
@media(max-width:1000px){.category-grid{grid-template-columns:1fr 1fr}.community-hero{align-items:flex-start;flex-direction:column}.community-actions{width:100%;justify-content:flex-end}}
@media(max-width:560px){.community-main{padding:78px 12px 40px}.category-grid{grid-template-columns:1fr}.community-hero{padding:22px}.community-hero h1{font-size:31px}.community-actions{justify-content:space-between}.topic-author-block{gap:10px}.topic-author-avatar.large{width:45px;height:45px}.reply-content{margin-left:0}.reply-head{align-items:flex-start}.reply-actions{margin-left:auto}}

/* FINAL AVATAR SIZE SAFETY OVERRIDE */
a.avatar-photo,
a.avatar.avatar-photo,
a.community-user-avatar.avatar-photo {
  display: inline-flex !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
}
a.avatar-photo img,
a.avatar.avatar-photo img,
a.community-user-avatar.avatar-photo img {
  display: block !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  position: absolute !important;
  inset: 0 !important;
}
.topic-author-avatar,
.topic-author-avatar.large,
.reply-avatar {
  overflow: hidden !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}
.topic-author-avatar img,
.topic-author-avatar.large img,
.reply-avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.profile-avatar {
  overflow: hidden !important;
  flex: 0 0 auto !important;
}
.profile-avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
}
img.avatar-photo,
img.avatar,
.avatar img:not(.brand-logo) {
  max-width: 100% !important;
}

/* EXILION 2026 UI: functional topbar, search, notifications and clean hero */
.topbar{position:relative;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:0 2px}.top-search{display:flex;align-items:center;gap:9px;flex:1;max-width:760px;height:48px;padding:0 14px;border:1px solid rgba(255,110,188,.45);border-radius:14px;background:linear-gradient(120deg,rgba(23,13,29,.95),rgba(13,10,20,.94));box-shadow:0 0 25px rgba(239,79,154,.07)}.top-search span{font-size:25px;color:#ff77b5;line-height:1}.top-search input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#fff;font:inherit;font-size:13px}.top-search input::placeholder{color:#89788a}.top-search button{border:0;border-radius:9px;padding:8px 13px;background:rgba(239,79,154,.16);color:#ff9dca;cursor:pointer}.top-search button:hover{background:rgba(239,79,154,.28)}.top-actions{display:flex;align-items:center;gap:10px}.notification-btn{position:relative;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,150,210,.18);border-radius:13px;background:rgba(34,17,35,.82);color:#fff;text-decoration:none;font-size:23px}.notification-btn:hover{border-color:rgba(255,130,195,.45);box-shadow:0 0 22px rgba(239,79,154,.14)}.notification-btn b{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:20px;background:#ef4f9a;color:#fff;font-size:10px;border:2px solid #0b0810}.top-avatar{width:44px!important;height:44px!important;flex-basis:44px!important}.username-link{color:#eadbea;text-decoration:none;font-size:13px;font-weight:700}.overdue-stat .stat-symbol.danger{background:#e74772;box-shadow:0 0 22px rgba(231,71,114,.3)}.search-empty{grid-column:1/-1;min-height:220px;padding:30px}.side-badge{margin-left:auto;min-width:19px;height:19px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:#ef4f9a;color:#fff;font-size:9px}.exilion-toast-stack{position:fixed;right:24px;bottom:24px;z-index:9999;display:flex;flex-direction:column;gap:10px;width:min(390px,calc(100vw - 30px))}.exilion-toast{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border:1px solid rgba(255,105,180,.42);border-radius:15px;background:linear-gradient(145deg,rgba(35,16,38,.98),rgba(12,9,18,.98));box-shadow:0 18px 55px rgba(0,0,0,.5),0 0 30px rgba(239,79,154,.12);color:#fff;text-decoration:none;transform:translateY(16px);opacity:0;transition:.25s}.exilion-toast.show{transform:translateY(0);opacity:1}.exilion-toast .toast-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#ef4f9a,#70409a);font-size:17px;flex:none}.exilion-toast b{display:block;font-size:12px}.exilion-toast small{display:block;margin-top:4px;color:#bcaabc;line-height:1.45;font-size:10px}.exilion-toast button{margin-left:auto;border:0;background:transparent;color:#877485;font-size:18px;cursor:pointer}.broadcast-form{display:grid;gap:12px;margin-top:14px}.broadcast-form label{font-size:11px;color:#bdaebe}.broadcast-form input,.broadcast-form textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid rgba(255,150,210,.12);border-radius:10px;background:#0d0912;color:#fff;outline:0;font:inherit}.broadcast-form textarea{resize:vertical}.panel-note{color:#948394;font-size:11px;line-height:1.6;margin-top:6px}.broadcast-panel .new-task{border:0;padding:13px 18px;cursor:pointer;width:max-content}.info-box{margin:0 0 15px;padding:12px 14px;border:1px solid rgba(239,79,154,.18);border-radius:10px;background:rgba(239,79,154,.06);color:#d3b5ca;font-size:11px}.hero-art{background:linear-gradient(90deg,rgba(8,6,14,.78),rgba(10,8,18,.2) 65%,rgba(9,6,16,.1)),none center/cover!important;opacity:1}.hero{min-height:260px}.hero-content{padding:42px 38px}.hero h1 b{font-size:48px}.hero p{max-width:550px}.main .hero + .stats{margin-top:16px}
@media(max-width:900px){.topbar{align-items:stretch;flex-direction:column}.top-search{max-width:none}.top-actions{justify-content:flex-end}.username-link{display:none}.stats{grid-template-columns:1fr 1fr}.stats .new-task{min-height:70px}.hero{min-height:230px}}
@media(max-width:560px){.top-search button{display:none}.top-search{height:44px}.top-actions{width:100%}.top-actions .top-avatar{margin-left:auto}.hero{min-height:260px}.hero-content{padding:30px 24px}.hero h1{font-size:27px}.hero h1 b{font-size:39px}.stats{grid-template-columns:1fr}.exilion-toast-stack{right:12px;bottom:12px}}
.notification-btn img{width:23px;height:23px;display:block;object-fit:contain}.notification-btn:hover img{filter:drop-shadow(0 0 7px rgba(255,105,180,.55))}

/* PROFILE / ACHIEVEMENTS / INLINE NOTIFICATIONS */
.notification-dock{position:relative;z-index:10000;display:inline-flex}.dock-bell{cursor:pointer}.notification-popover{position:absolute;right:0;top:54px;width:min(410px,calc(100vw - 28px));border:1px solid rgba(255,105,180,.3);border-radius:18px;background:linear-gradient(145deg,rgba(24,13,30,.99),rgba(9,8,16,.99));box-shadow:0 25px 70px rgba(0,0,0,.55),0 0 35px rgba(239,79,154,.1);overflow:hidden}.notification-popover-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid rgba(255,130,195,.12)}.notification-popover-head>div{display:flex;align-items:center;gap:8px}.notification-popover-head strong{font-size:13px}.notification-popover-head span{min-width:20px;padding:3px 7px;border-radius:12px;background:#ef4f9a;color:#fff;text-align:center;font-size:9px}.notification-popover-head button{border:0;background:transparent;color:#ff8fc3;font-size:10px;cursor:pointer}.notification-list{max-height:430px;overflow:auto}.notification-item{display:flex;gap:11px;padding:13px 14px;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,130,195,.08);transition:.18s}.notification-item:hover{background:rgba(239,79,154,.07)}.notification-item-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#ef4f9a,#70409a);font-size:15px}.notification-item-body{min-width:0}.notification-item-body b{display:block;font-size:11px}.notification-item-body small{display:block;margin-top:3px;color:#bdaabd;font-size:10px;line-height:1.4}.notification-item-body em{display:block;margin-top:4px;color:#756578;font-size:9px;font-style:normal}.notification-empty{padding:28px;text-align:center;color:#89788a;font-size:11px}
.profile-main{max-width:1550px}.profile-hero-modern{position:relative;display:flex;align-items:center;gap:24px;padding:28px;border:1px solid rgba(255,130,195,.24);border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(239,79,154,.15),transparent 35%),linear-gradient(145deg,rgba(27,16,34,.97),rgba(10,8,17,.98));box-shadow:0 20px 60px rgba(0,0,0,.25)}.profile-avatar-big{width:118px;height:118px;flex:0 0 118px;border-radius:30px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#ef4f9a,#70409a);border:2px solid rgba(255,150,210,.4);box-shadow:0 0 35px rgba(239,79,154,.2);font-size:45px;font-weight:850}.profile-avatar-big img{width:100%;height:100%;object-fit:cover;display:block}.profile-identity h1{font-size:35px;margin:5px 0}.profile-identity p{max-width:700px;color:#bbaabd;font-size:13px;line-height:1.6}.profile-identity small{display:block;margin-top:9px;color:#756879;font-size:10px}.role-pill{display:inline-block;vertical-align:middle;padding:5px 8px;border-radius:8px;background:rgba(239,79,154,.14);border:1px solid rgba(239,79,154,.3);color:#ff91c4;font-size:9px;letter-spacing:1px}.profile-actions{margin-left:auto;align-self:flex-start}.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:18px}.profile-left{min-width:0}.profile-right{display:flex;flex-direction:column;gap:18px}.profile-stats-modern{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.profile-stats-modern>div{padding:18px;border:1px solid rgba(255,130,195,.16);border-radius:16px;background:linear-gradient(145deg,rgba(30,20,38,.9),rgba(13,10,20,.95))}.profile-stats-modern b{display:block;font-size:26px}.profile-stats-modern span{display:block;margin-top:5px;color:#968597;font-size:10px}.badges-panel{margin-bottom:18px}.badges-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.achievement-badge{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid rgba(255,150,210,.11);border-radius:15px;background:rgba(255,255,255,.015);transition:.18s}.achievement-badge:hover{transform:translateY(-2px);border-color:rgba(255,150,210,.25)}.achievement-icon{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:14px;font-size:22px;background:linear-gradient(135deg,#ef4f9a,#6e3d8c);box-shadow:0 8px 22px rgba(0,0,0,.2)}.achievement-badge.gold .achievement-icon{background:linear-gradient(135deg,#d69b39,#7d4d20)}.achievement-badge.red .achievement-icon{background:linear-gradient(135deg,#e94b66,#7e203c)}.achievement-badge.orange .achievement-icon{background:linear-gradient(135deg,#f29b4d,#8d4a2d)}.achievement-badge.cyan .achievement-icon{background:linear-gradient(135deg,#38c7d8,#315e9b)}.achievement-badge.mint .achievement-icon{background:linear-gradient(135deg,#53cda7,#226a63)}.achievement-badge.blue .achievement-icon{background:linear-gradient(135deg,#5c9df0,#4856a7)}.achievement-badge.purple .achievement-icon{background:linear-gradient(135deg,#aa6af2,#653f9b)}.achievement-badge b{display:block;font-size:11px}.achievement-badge small{display:block;margin-top:4px;color:#88798a;font-size:9px;line-height:1.4}.mini-profile-card{text-align:center;padding:25px}.mini-avatar{width:86px;height:86px;margin:0 auto 12px;border-radius:25px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#ef4f9a,#70409a);font-size:31px;font-weight:850}.mini-avatar img{width:100%;height:100%;object-fit:cover}.mini-profile-card h3{font-size:17px}.mini-profile-card>small{display:block;color:#8f8091;margin-top:4px}.profile-level{display:flex;justify-content:space-between;margin-top:22px;font-size:10px;color:#99889a}.profile-level b{color:#ff8fc3}.level-track{height:7px;margin-top:8px;border-radius:10px;background:#26182a;overflow:hidden}.level-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7f54df,#ef4f9a);box-shadow:0 0 14px rgba(239,79,154,.4)}.profile-comment{display:flex;gap:11px;padding:15px 0;border-bottom:1px solid rgba(255,130,195,.09)}.comment-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#ef5aa6,#70409a);color:#fff;font-weight:800;text-decoration:none}.comment-avatar img{width:100%;height:100%;object-fit:cover}.comment-body{min-width:0;flex:1}.comment-meta{display:flex;align-items:center;gap:8px}.comment-meta>a{color:#f4d9e8;text-decoration:none;font-size:11px;font-weight:750}.comment-meta small{color:#766779;font-size:9px}.comment-body p{margin-top:7px;color:#c6b4c4;font-size:11px;line-height:1.55}.inline-delete{margin-left:auto}.inline-delete button{border:0;background:transparent;color:#745f70;cursor:pointer;font-size:16px}.comment-form{display:flex;gap:10px;margin-top:15px}.comment-form textarea{flex:1;resize:vertical;min-width:0;padding:12px;border:1px solid rgba(255,150,210,.12);border-radius:12px;background:#0d0912;color:#fff;outline:0;font:inherit}.comment-form .new-task{padding:0 18px;border:0;cursor:pointer}.log-row strong{color:#ff9ac7}.log-row i{color:#806d7d;font-style:normal}
/* Wider hero: preserve proportions, never squash the artwork. */
.hero{min-height:300px!important}.hero-art{background-image:linear-gradient(90deg,rgba(7,5,13,.72) 0%,rgba(9,7,15,.24) 52%,rgba(9,7,15,.08) 100%),none!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}.hero-content{padding:58px 44px!important}.hero h1 b{font-size:52px!important}.hero p{font-size:14px!important}.main .hero + .stats{margin-top:18px}
@media(max-width:1100px){.profile-grid{grid-template-columns:1fr}.profile-right{display:grid;grid-template-columns:1fr 1fr}.profile-stats-modern{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.profile-hero-modern{align-items:flex-start;flex-wrap:wrap}.profile-actions{width:100%;margin-left:0}.badges-grid{grid-template-columns:1fr}.profile-right{display:flex}.comment-form{flex-direction:column}.comment-form .new-task{min-height:44px}.profile-stats-modern{grid-template-columns:1fr 1fr}.profile-avatar-big{width:88px;height:88px;flex-basis:88px;border-radius:22px}.profile-identity h1{font-size:27px}.notification-popover{position:fixed;right:12px;top:72px}.hero{min-height:260px!important}.hero-content{padding:38px 26px!important}}

/* Roles / profile editor / moderation */
.role-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.35px;border:1px solid transparent;white-space:nowrap}.role-admin{color:#ffd1eb;background:rgba(239,79,154,.16);border-color:rgba(239,79,154,.34)}.role-moderator{color:#d8e4ff;background:rgba(91,135,255,.14);border-color:rgba(91,135,255,.32)}.role-elite{color:#ffe2a8;background:rgba(230,166,57,.14);border-color:rgba(230,166,57,.32)}.role-user{color:#c7d4df;background:rgba(120,145,165,.12);border-color:rgba(120,145,165,.25)}
.profile-edit-button{padding:0 18px;min-height:42px}.profile-notice{margin:18px 0}.profile-hero-modern .role-badge{margin-left:8px;vertical-align:middle}.avatar-preview-letter{display:none!important}
.profile-editor-page{padding-top:88px;max-width:1000px;margin:0 auto}.editor-head{margin-bottom:22px}.editor-head h1{font-size:38px;margin-top:6px}.editor-head p{color:#a995a8;margin-top:8px}.profile-editor-form{padding:26px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(27,17,34,.94),rgba(11,9,17,.97));box-shadow:0 24px 70px rgba(0,0,0,.28)}.editor-avatar-card{display:flex;align-items:center;gap:18px;padding:18px;margin-bottom:25px;border:1px solid rgba(255,140,201,.13);border-radius:18px;background:rgba(255,255,255,.018)}.editor-avatar-preview{width:94px;height:94px;flex:none;border-radius:26px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#ef4f9a,#6d3c91);font-size:33px;font-weight:850}.editor-avatar-preview img{width:100%;height:100%;display:block;object-fit:cover}.editor-avatar-card h2{font-size:20px;margin-bottom:8px}.editor-avatar-card p{margin-top:8px;color:#8f7f90;font-size:10px}.form-hint{display:block;color:#766879;font-size:9px;margin-top:6px}.success{padding:14px;border:1px solid rgba(83,205,167,.32);background:rgba(83,205,167,.09);color:#a9efd2;border-radius:11px}.moderation-card h2{margin-top:5px}.moderation-status{margin:13px 0}.moderation-form{display:grid;gap:9px}.moderation-form select,.moderation-form input{width:100%;padding:11px;border-radius:10px;border:1px solid rgba(255,150,210,.12);background:#0d0912;color:#fff}.moderation-form .small-action{cursor:pointer}.danger-state{color:#ff92aa}.warning-state{color:#ffc27d}.ok-state{color:#8de0bf}.badge-source{display:block;margin-top:4px;color:#d08db6;font-size:8px;font-style:normal}.comment-role{font-size:8px;padding:2px 6px;border-radius:999px}.admin-notice{margin-bottom:18px}.role-legend{display:flex;flex-wrap:wrap;gap:8px;margin:-3px 0 17px}.admin-user-expanded{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(360px,auto);grid-template-rows:auto auto;gap:12px 18px!important;align-items:center}.admin-user-main{display:flex;align-items:center;gap:12px}.admin-user-main>div{min-width:0}.admin-avatar{width:42px!important;height:42px!important;flex:none!important}.admin-avatar.avatar-photo{display:block!important}.admin-avatar.avatar-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.admin-user-controls,.admin-badge-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.admin-badge-controls{grid-column:1/-1;justify-content:flex-start;padding-top:3px;border-top:1px solid rgba(255,130,195,.07)}.admin-inline-form{display:flex;gap:6px;align-items:center}.admin-inline-form select{min-width:145px;padding:8px 9px;border:1px solid rgba(255,150,210,.12);border-radius:9px;background:#0c0912;color:#fff;font-size:10px}.admin-inline-form .small-action{cursor:pointer}.admin-table{display:flex;flex-direction:column;gap:10px}.admin-user-expanded{padding:15px;border:1px solid rgba(255,140,200,.1);border-radius:15px;background:rgba(255,255,255,.012)}
@media(max-width:900px){.admin-user-expanded{grid-template-columns:1fr}.admin-user-controls,.admin-badge-controls{justify-content:flex-start}.admin-user-controls{grid-column:1}.admin-badge-controls{grid-column:1}.profile-editor-page{padding-left:18px;padding-right:18px}}
@media(max-width:600px){.editor-avatar-card{align-items:flex-start}.editor-avatar-preview{width:76px;height:76px;border-radius:20px}.editor-head h1{font-size:29px}.admin-inline-form{width:100%}.admin-inline-form select{flex:1}.admin-inline-form .small-action{white-space:nowrap}.profile-hero-modern .role-badge{display:inline-flex;margin:5px 0 0}.profile-actions{width:100%}}

.profile-action-row{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.logout-profile-button{color:#ff9ab5!important;border-color:rgba(255,100,145,.2)!important}.logout-profile-button:hover{border-color:rgba(255,100,145,.45)!important;background:rgba(255,80,130,.07)!important}.hero-art{image-rendering:auto;background-size:cover!important}

/* Hero clarity */
.hero-art{background-image:linear-gradient(90deg,rgba(7,5,13,.58) 0%,rgba(9,7,15,.14) 55%,rgba(9,7,15,.02) 100%),none!important;background-size:cover!important;background-position:center!important;filter:none!important;opacity:1!important;}

.project-news-panel{margin-bottom:18px}.project-news-panel .community-panel-head{align-items:center}.project-news-panel .panel-note{margin-top:5px;color:#8f7f90;font-size:10px}.project-news-panel .topic-row:last-child{border-bottom:0}

/* Shared projects */
.project-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 34px;margin-bottom:24px;border:1px solid rgba(255,130,195,.25);border-radius:22px;overflow:hidden;background:radial-gradient(circle at 82% 20%,rgba(239,79,154,.18),transparent 32%),linear-gradient(145deg,rgba(29,17,38,.96),rgba(10,8,17,.98));box-shadow:0 20px 65px rgba(0,0,0,.24)}
.project-hero:after{content:"";position:absolute;right:-80px;bottom:-120px;width:360px;height:260px;background:radial-gradient(circle,rgba(168,91,214,.22),transparent 65%);pointer-events:none}.project-hero h1{font-size:38px;margin-top:7px}.project-hero p{max-width:760px;margin-top:9px;color:#bba9bb;font-size:13px;line-height:1.6}.project-new-button{position:relative;z-index:1;padding:0 24px;min-height:48px;white-space:nowrap}.project-section{margin-top:24px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{position:relative;min-height:220px;padding:22px;text-decoration:none;color:inherit;border:1px solid rgba(255,132,196,.19);border-radius:18px;overflow:hidden;background:linear-gradient(145deg,rgba(31,20,39,.96),rgba(13,10,20,.98));box-shadow:0 12px 34px rgba(0,0,0,.18);transition:.22s}.project-card:hover{transform:translateY(-4px);border-color:rgba(255,120,188,.45);box-shadow:0 18px 42px rgba(0,0,0,.28)}.project-card-glow{position:absolute;right:-50px;top:-80px;width:180px;height:180px;background:radial-gradient(circle,rgba(239,79,154,.22),transparent 68%);pointer-events:none}.project-card-top{display:flex;align-items:center;justify-content:space-between;position:relative}.project-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#ef4f9a,#6f409a);box-shadow:0 8px 22px rgba(239,79,154,.22)}.project-role{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:#ad96aa;padding:6px 9px;border:1px solid rgba(255,150,210,.11);border-radius:999px}.project-card h3{position:relative;margin-top:25px;font-size:19px}.project-card p{position:relative;margin-top:7px;min-height:42px;color:#a996a9;font-size:11px;line-height:1.5}.project-card-meta{position:relative;display:flex;gap:14px;margin-top:20px;color:#887688;font-size:10px}.project-empty{margin-top:24px;padding:45px 28px;text-align:center}.project-empty .empty-orb{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 18px;border-radius:22px;background:linear-gradient(135deg,#ef4f9a,#70409a);box-shadow:0 0 35px rgba(239,79,154,.2);font-size:27px}.project-empty h2{font-size:24px}.project-empty p{max-width:620px;margin:9px auto 20px;color:#a996a9;line-height:1.6;font-size:12px}.project-empty .new-task{display:inline-flex;padding:0 20px;min-height:44px}.project-form-page{max-width:850px}.project-form textarea{min-height:160px;resize:vertical}.project-info-note{display:flex;gap:12px;align-items:flex-start;padding:15px 16px;margin-top:4px;border:1px solid rgba(239,79,154,.14);border-radius:14px;background:rgba(239,79,154,.045)}.project-info-note>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(239,79,154,.16);color:#ff91c4}.project-info-note b{display:block;font-size:11px}.project-info-note small{display:block;margin-top:4px;color:#877687;font-size:9px;line-height:1.5}.project-detail-main{max-width:1550px}.project-back{display:inline-block;margin:5px 0 16px}.project-detail-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;padding:26px 30px;margin-bottom:18px;border:1px solid rgba(255,132,196,.22);border-radius:20px;background:radial-gradient(circle at 85% 0,rgba(239,79,154,.16),transparent 34%),linear-gradient(145deg,rgba(28,17,35,.96),rgba(11,8,17,.98))}.project-detail-head h1{font-size:34px;margin-top:6px}.project-detail-head p{max-width:850px;margin-top:8px;color:#b8a5b8;font-size:12px;line-height:1.6}.project-detail-head small{display:block;margin-top:10px;color:#786879;font-size:9px}.project-detail-head small b{color:#d5b9cc}.project-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.panel{border:1px solid rgba(255,132,196,.17);border-radius:18px;background:linear-gradient(145deg,rgba(27,18,35,.94),rgba(12,9,18,.98));box-shadow:0 14px 40px rgba(0,0,0,.17)}.project-tasks{padding:22px}.project-task-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}.project-task-row{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid rgba(255,132,196,.09);border-radius:14px;background:rgba(255,255,255,.012);color:inherit;text-decoration:none;transition:.18s}.project-task-row:hover{border-color:rgba(255,132,196,.28);background:rgba(239,79,154,.035);transform:translateX(2px)}.project-task-status{width:8px!important;min-width:8px!important;max-width:8px!important;height:52px!important;min-height:52px!important;max-height:52px!important;flex:0 0 8px!important;box-sizing:border-box;padding:0!important;border:0!important;border-radius:8px;background:#6d6070}.project-task-status.status-planned{background:#ef4f9a;box-shadow:0 0 12px rgba(239,79,154,.25)}.project-task-status.status-in_progress{width:8px!important;height:52px!important;flex:0 0 8px!important;background:#ff9a70;box-shadow:0 0 12px rgba(255,154,112,.22)}.project-task-status.status-completed{background:#7dd7b4;box-shadow:0 0 12px rgba(125,215,180,.2)}.project-task-status.status-deferred{width:8px!important;height:52px!important;flex:0 0 8px!important;background:#a85bd6;box-shadow:0 0 12px rgba(168,91,214,.22)}.project-task-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0;flex:1}.project-task-main>div:first-child{min-width:0}.project-task-description-preview{display:block!important;width:100%;margin-top:4px;white-space:normal;overflow:hidden}.project-task-main h3{font-size:13px}.project-task-main p{display:block;margin-top:4px;color:#8e7c8e;font-size:10px;line-height:1.45;max-width:650px}.project-task-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:190px}.project-task-meta small{color:#746374;font-size:9px}.project-side{display:flex;flex-direction:column;gap:18px}.invite-panel,.members-panel{padding:20px}.invite-panel h2,.members-panel h2,.project-danger-panel h2{font-size:18px;margin-top:5px}.invite-panel>p{margin-top:8px;color:#8e7b8e;font-size:10px;line-height:1.55}.invite-generate{margin-top:15px;cursor:pointer}.invite-copy{display:flex;gap:7px;margin-top:11px}.invite-copy input{min-width:0;flex:1;padding:10px 11px;border:1px solid rgba(255,150,210,.12);border-radius:10px;background:#0c0912;color:#bca8ba;font-size:9px}.invite-copy button{border:1px solid rgba(255,150,210,.18);border-radius:10px;background:rgba(239,79,154,.1);color:#ff9ac7;padding:0 11px;cursor:pointer;font-size:9px}.member-only-note{margin-top:15px;padding:12px;border-radius:11px;background:rgba(255,255,255,.025);color:#766676;font-size:9px}.project-members{display:flex;flex-direction:column;gap:10px;margin-top:14px}.project-member{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,130,195,.06)}.project-member:last-child{border-bottom:0}.project-member .comment-avatar{flex:none}.project-member>div{min-width:0}.project-member b{display:block;font-size:10px}.project-member small{display:block;margin-top:3px;color:#776676;font-size:8px}.project-danger-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px}.project-danger-panel p{margin-top:5px;color:#786879;font-size:9px}.danger-button{padding:9px 13px;border-radius:10px;border:1px solid rgba(255,100,145,.2);background:rgba(255,80,130,.07);color:#ff92aa;cursor:pointer}.project-notice{margin-bottom:18px}.project-task-page{max-width:1050px}.project-task-detail{margin-top:18px;padding:32px;border:1px solid rgba(255,132,196,.2);border-radius:22px;background:linear-gradient(145deg,rgba(28,18,36,.96),rgba(11,8,17,.99));box-shadow:0 24px 70px rgba(0,0,0,.28)}.project-task-badges{margin-top:16px}.project-task-detail>h1{font-size:34px;margin-top:16px}.project-task-author{margin-top:9px;color:#756576;font-size:10px}.project-task-author b{color:#cbb0c2}.project-task-content{margin-top:26px;padding-top:22px;border-top:1px solid rgba(255,130,195,.08);color:#cbb8ca;font-size:13px;line-height:1.8}.project-task-content h2,.project-task-content h3{color:#fff;margin:18px 0 8px}.project-task-content a{color:#ff8fc4}.project-task-content img{max-width:100%;height:auto;border-radius:13px}.project-task-content ul,.project-task-content ol{padding-left:22px}.project-task-detail .form-actions{margin-top:30px}.project-task-detail .new-task{padding:0 18px;min-height:42px}.project-task-detail .small-action{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;text-decoration:none}.danger-link.small-action{color:#ff8fa8}.projects-main .topbar,.project-detail-main .topbar{margin-bottom:2px}
@media(max-width:1050px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-layout{grid-template-columns:1fr}.project-side{display:grid;grid-template-columns:1fr 1fr}.project-danger-panel{grid-column:1/-1}}
@media(max-width:760px){.project-hero,.project-detail-head{align-items:flex-start;flex-direction:column}.project-new-button{width:100%}.project-grid{grid-template-columns:1fr}.project-side{display:flex}.project-task-row{align-items:flex-start!important;gap:10px!important;padding:13px!important}.project-task-main{display:flex!important;grid-template-columns:none!important;align-items:stretch!important;flex-direction:column!important;gap:8px!important;min-width:0!important;width:100%!important}.project-task-main>div:first-child{width:100%!important;min-width:0!important}.project-task-main h3{font-size:13px!important;line-height:1.28!important;overflow-wrap:anywhere}.project-task-meta{width:100%!important;min-width:0!important;justify-content:flex-start!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}.project-task-meta small{width:100%!important;display:block!important;margin-top:1px!important;font-size:8.5px!important;line-height:1.25!important}.project-task-detail{padding:23px}.project-task-detail>h1{font-size:27px}.project-danger-panel{align-items:flex-start;flex-direction:column}.project-danger-panel form,.project-danger-panel button{width:100%}.invite-copy{flex-direction:column}.invite-copy button{min-height:40px}}

/* Profile bio editor */
.bio-editor-label{display:block}
.bio-editor{position:relative;margin-top:9px;border:1px solid rgba(255,132,196,.20);border-radius:17px;background:linear-gradient(145deg,rgba(35,20,41,.92),rgba(12,9,18,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 35px rgba(0,0,0,.18);overflow:visible;transition:.22s;border-top-color:rgba(255,126,190,.38)}
.bio-editor:focus-within{border-color:rgba(255,132,196,.42);box-shadow:0 0 0 3px rgba(239,79,154,.06),0 18px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.03)}
.bio-editor-top{height:43px;display:flex;align-items:center;gap:9px;padding:0 13px;border-bottom:1px solid rgba(255,132,196,.09);background:linear-gradient(90deg,rgba(239,79,154,.07),transparent 60%)}
.bio-editor-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:rgba(239,79,154,.14);color:#ff8fc4;font-size:12px;box-shadow:0 0 15px rgba(239,79,154,.12)}
.bio-editor-caption{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#bda5b8;font-weight:750}
.bio-counter{margin-left:auto;font-size:10px;color:#8f7b8d;font-variant-numeric:tabular-nums;transition:.2s}.bio-counter.near-limit{color:#ffb06e}.bio-counter.at-limit{color:#ff729f;font-weight:750}
.bio-input-wrap{position:relative}.bio-input-wrap textarea{display:block;width:100%;min-height:112px;resize:vertical;padding:15px 50px 15px 16px;border:0;outline:0;background:transparent;color:#f9f0f7;font:inherit;font-size:13px;line-height:1.65}.bio-input-wrap textarea::placeholder{color:#746476}
.emoji-toggle{position:absolute;right:11px;top:11px;width:34px;height:34px;border:1px solid rgba(255,150,210,.13);border-radius:11px;background:rgba(255,255,255,.025);color:#ff9dca;cursor:pointer;font-size:18px;transition:.18s}.emoji-toggle:hover,.emoji-toggle.active{background:rgba(239,79,154,.13);border-color:rgba(255,132,196,.32);box-shadow:0 0 18px rgba(239,79,154,.14);transform:translateY(-1px)}
.emoji-panel{display:none;position:absolute;right:11px;top:86px;z-index:20;width:238px;padding:10px;grid-template-columns:repeat(5,1fr);gap:5px;border:1px solid rgba(255,132,196,.22);border-radius:14px;background:rgba(19,12,25,.98);box-shadow:0 18px 45px rgba(0,0,0,.42),0 0 25px rgba(239,79,154,.08);backdrop-filter:blur(18px)}
.emoji-panel.open{display:grid}.emoji-panel button{height:36px;border:0;border-radius:9px;background:rgba(255,255,255,.025);cursor:pointer;font-size:19px;transition:.15s}.emoji-panel button:hover{background:rgba(239,79,154,.13);transform:scale(1.08)}
.bio-editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px 11px;border-top:1px solid rgba(255,132,196,.07)}.bio-editor-bottom small{color:#796778;font-size:9px}.bio-status{font-size:9px;color:#917d8e;white-space:nowrap}.bio-editor-label>.form-hint{display:none}
@media(max-width:700px){.bio-editor-bottom{align-items:flex-start;flex-direction:column;gap:4px}.bio-status{white-space:normal}.emoji-panel{right:8px;width:225px}}

/* Exilion profile editor polish */
.profile-editor-form>label:not(.bio-editor-label){display:block;margin-bottom:22px;color:#d8c3d5;font-size:12px;font-weight:650;letter-spacing:.1px}
.profile-editor-form>label:not(.bio-editor-label)>input[type=file]{display:block;width:100%;margin-top:9px;padding:9px 11px;border:1px solid rgba(255,132,196,.16);border-radius:13px;background:linear-gradient(145deg,rgba(31,19,38,.9),rgba(13,9,20,.96));color:#cbb8ca;font:inherit;font-size:11px;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 24px rgba(0,0,0,.12);transition:.2s}
.profile-editor-form>label:not(.bio-editor-label)>input[type=file]:hover{border-color:rgba(255,132,196,.32);background:linear-gradient(145deg,rgba(42,22,45,.92),rgba(15,10,22,.98))}
.profile-editor-form>label:not(.bio-editor-label)>input[type=file]:focus{border-color:rgba(239,79,154,.55);box-shadow:0 0 0 3px rgba(239,79,154,.07),0 10px 28px rgba(0,0,0,.16)}
.profile-editor-form>label:not(.bio-editor-label)>input[type=file]::file-selector-button{margin-right:10px;padding:8px 13px;border:1px solid rgba(255,140,201,.28);border-radius:10px;background:linear-gradient(135deg,rgba(239,79,154,.2),rgba(112,64,154,.24));color:#ffd8ec;font:inherit;font-weight:700;cursor:pointer;transition:.18s}
.profile-editor-form>label:not(.bio-editor-label)>input[type=file]::file-selector-button:hover{background:linear-gradient(135deg,rgba(239,79,154,.34),rgba(112,64,154,.32));border-color:rgba(255,140,201,.5);box-shadow:0 0 18px rgba(239,79,154,.12)}
.bio-editor-label{color:#e7d2e2!important;font-size:13px!important;font-weight:750!important;letter-spacing:.15px}
.bio-editor{margin-top:11px;border:1px solid rgba(255,132,196,.24);border-radius:19px;background:radial-gradient(circle at 90% 0,rgba(239,79,154,.10),transparent 28%),linear-gradient(145deg,rgba(29,17,37,.96),rgba(10,8,17,.99));box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 50px rgba(0,0,0,.24),0 0 30px rgba(239,79,154,.035);overflow:visible}
.bio-editor:after{content:'';position:absolute;right:-45px;top:-35px;width:150px;height:110px;background:radial-gradient(circle,rgba(168,91,214,.13),transparent 68%);pointer-events:none;z-index:-1}
.bio-editor-top{height:45px;padding:0 15px;border-bottom:1px solid rgba(255,132,196,.10);background:linear-gradient(90deg,rgba(239,79,154,.08),rgba(168,91,214,.035),transparent 72%);border-radius:19px 19px 0 0}
.bio-editor-icon{width:27px;height:27px;border-radius:9px;background:linear-gradient(135deg,rgba(239,79,154,.22),rgba(168,91,214,.18));border:1px solid rgba(255,132,196,.18);box-shadow:0 0 16px rgba(239,79,154,.12)}
.bio-editor-caption{color:#d7bfd1;font-size:10px;letter-spacing:1.15px}
.bio-counter{padding:6px 9px;border-radius:999px;border:1px solid rgba(255,132,196,.11);background:rgba(255,255,255,.025)}
.bio-input-wrap{margin:0 10px;border:1px solid rgba(255,132,196,.13);border-radius:14px;background:rgba(5,4,10,.28);box-shadow:inset 0 1px 10px rgba(0,0,0,.14);transition:.2s}
.bio-editor:focus-within .bio-input-wrap{border-color:rgba(255,132,196,.27);box-shadow:inset 0 1px 14px rgba(0,0,0,.18),0 0 20px rgba(239,79,154,.045)}
.bio-input-wrap textarea{min-height:126px;padding:17px 54px 17px 17px;color:#fbf3fa;font-size:13px;line-height:1.72;background:transparent}
.bio-input-wrap textarea::selection{background:rgba(239,79,154,.35)}
.emoji-toggle{right:10px;top:10px;width:38px;height:38px;border-radius:12px;border-color:rgba(255,132,196,.18);background:linear-gradient(145deg,rgba(239,79,154,.11),rgba(168,91,214,.10));font-size:19px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.emoji-toggle:hover,.emoji-toggle.active{border-color:rgba(255,132,196,.45);background:linear-gradient(145deg,rgba(239,79,154,.22),rgba(168,91,214,.18));box-shadow:0 0 22px rgba(239,79,154,.17)}
.emoji-panel{right:10px;top:88px;width:268px;padding:12px;border-radius:16px;background:linear-gradient(145deg,rgba(27,15,35,.98),rgba(9,7,15,.99));border-color:rgba(255,132,196,.3);box-shadow:0 24px 55px rgba(0,0,0,.55),0 0 28px rgba(239,79,154,.11)}
.emoji-panel button{height:39px;border:1px solid transparent;background:rgba(255,255,255,.025);font-size:20px}.emoji-panel button:hover{border-color:rgba(255,132,196,.18);background:rgba(239,79,154,.14);box-shadow:0 0 14px rgba(239,79,154,.08)}
.bio-editor-bottom{padding:10px 15px 13px;border-top:1px solid rgba(255,132,196,.07)}
.bio-editor-bottom small{color:#8e7a8d;font-size:9px}.bio-status{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.025);border:1px solid rgba(255,132,196,.08);color:#a78fa2}
.form-hint{display:block;margin-top:7px;color:#7f6d7e;font-size:9px}
@media(max-width:700px){.bio-input-wrap{margin:0 7px}.emoji-panel{right:7px;width:calc(100% - 14px);max-width:268px}}

/* ADMIN USER INSPECTOR / NAV OPTIMIZATION */
.admin-profile-selector{display:flex;align-items:center;gap:8px;margin-left:auto}.admin-profile-selector label{color:#887687;font-size:9px}.admin-profile-selector select{min-width:190px;padding:9px 11px;border:1px solid rgba(255,130,195,.16);border-radius:10px;background:#0d0912;color:#dbc5d7;outline:0;font:inherit;font-size:10px}.admin-profile-hero{display:flex;gap:22px;align-items:center;padding:24px;margin-bottom:18px;background:radial-gradient(circle at 90% 0,rgba(239,79,154,.16),transparent 35%),linear-gradient(145deg,rgba(27,16,34,.97),rgba(10,8,17,.98))}.admin-profile-avatar-inner{width:92px!important;height:92px!important;flex:none}.admin-profile-avatar-inner img{width:100%;height:100%;object-fit:cover}.admin-profile-identity h2{font-size:30px;margin:5px 0}.admin-profile-identity p{margin-top:10px;color:#b9a6b8;line-height:1.6;font-size:11px}.admin-profile-tags{display:flex;gap:7px;align-items:center}.status-chip{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:9px;border:1px solid rgba(255,150,210,.12)}.status-chip.ok{color:#9fe3c5;background:rgba(92,211,163,.07)}.status-chip.danger{color:#ff9aad;background:rgba(255,85,125,.08)}.admin-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.admin-info-card{padding:20px}.admin-info-card h3{margin-top:5px;font-size:16px}.admin-info-card dl{display:grid;grid-template-columns:155px 1fr;gap:0;margin-top:14px}.admin-info-card dt,.admin-info-card dd{padding:9px 0;border-bottom:1px solid rgba(255,130,195,.06);font-size:10px}.admin-info-card dt{color:#7e6d7d}.admin-info-card dd{color:#d7c3d4;word-break:break-word}.admin-history-panel{padding:20px;margin-bottom:18px}.admin-login-table{display:flex;flex-direction:column}.admin-login-row{display:grid;grid-template-columns:170px 150px 1fr;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid rgba(255,130,195,.06)}.admin-login-row b{color:#ff9bc8;font-size:10px}.admin-login-row span{color:#c5b2c3;font-size:9px}.admin-login-row small{color:#756576;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-content-grid>.admin-history-panel:last-child{grid-column:1/-1}.admin-content-row{display:block;padding:11px 0;border-bottom:1px solid rgba(255,130,195,.06);color:inherit;text-decoration:none}.admin-content-row:hover b{color:#ff9bc8}.admin-content-row b{display:block;font-size:10px}.admin-content-row small{display:block;margin-top:4px;color:#756576;font-size:8px}.admin-content-row p{margin-top:5px;color:#a48f9f;font-size:9px;line-height:1.45}.admin-content-subhead{margin:13px 0 5px;color:#ff91c4;font-size:9px;text-transform:uppercase;letter-spacing:1px}.admin-table .admin-user-expanded{transition:.18s}.admin-table .admin-user-expanded:hover{border-color:rgba(255,130,195,.22);background:rgba(239,79,154,.025)}
@media(max-width:850px){.admin-profile-selector{width:100%;margin-left:0}.admin-profile-selector select{flex:1}.admin-info-grid,.admin-content-grid{grid-template-columns:1fr}.admin-content-grid>.admin-history-panel:last-child{grid-column:auto}.admin-login-row{grid-template-columns:1fr}.admin-login-row small{white-space:normal}.admin-profile-hero{align-items:flex-start}.admin-info-card dl{grid-template-columns:125px 1fr}}

/* ============================================================
   EXILION DIRECT MESSAGES — premium glass messenger
   ============================================================ */
.messages-dock{position:relative;z-index:10001;display:inline-flex}.messages-btn svg{width:22px;height:22px;fill:none;stroke:#ff9bc9;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;transition:.2s}.messages-btn:hover svg{filter:drop-shadow(0 0 7px rgba(255,105,180,.65));transform:translateY(-1px)}
.messages-dock .notification-btn{background:linear-gradient(145deg,rgba(41,19,43,.9),rgba(24,13,31,.86))}.messages-dock .notification-btn:after{content:'';position:absolute;inset:-1px;border-radius:13px;background:linear-gradient(135deg,rgba(255,128,195,.16),transparent 50%);pointer-events:none}.messages-dock .notification-btn b{background:linear-gradient(135deg,#ff62a9,#b848d5)}
.message-popover{position:absolute;right:0;top:54px;width:min(430px,calc(100vw - 28px));border:1px solid rgba(255,105,180,.32);border-radius:20px;background:linear-gradient(145deg,rgba(25,14,32,.985),rgba(8,7,15,.995));box-shadow:0 28px 80px rgba(0,0,0,.62),0 0 40px rgba(239,79,154,.12);overflow:hidden;backdrop-filter:blur(22px)}.message-popover:before{content:'';position:absolute;right:18px;top:-7px;width:13px;height:13px;background:#211126;border-left:1px solid rgba(255,105,180,.28);border-top:1px solid rgba(255,105,180,.28);transform:rotate(45deg)}
.message-popover-head{position:relative;display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid rgba(255,130,195,.1);background:radial-gradient(circle at 0 0,rgba(239,79,154,.1),transparent 45%)}.message-popover-head>div{display:flex;align-items:center;gap:10px}.message-head-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,rgba(239,79,154,.2),rgba(168,91,214,.18));border:1px solid rgba(255,132,196,.18);color:#ff9ac7;font-size:15px}.message-popover-head strong{display:block;font-size:13px}.message-popover-head small{display:block;margin-top:3px;color:#786878;font-size:9px}.message-count{min-width:24px;height:22px;display:grid;place-items:center;padding:0 7px;border-radius:999px;background:rgba(239,79,154,.12);border:1px solid rgba(239,79,154,.2);color:#ff9ac7;font-size:9px}.message-popover-list{max-height:460px;overflow:auto}.message-pop-item{position:relative;display:flex;align-items:center;gap:11px;padding:13px 15px;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,130,195,.065);transition:.18s}.message-pop-item:hover{background:rgba(239,79,154,.065)}.message-pop-item.is-unread{background:linear-gradient(90deg,rgba(239,79,154,.07),transparent)}.message-mini-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#ef5aa6,#70409a);color:#fff;font-weight:800;overflow:hidden;position:relative;box-shadow:0 7px 18px rgba(0,0,0,.22)}.message-mini-avatar img{width:100%;height:100%;object-fit:cover;display:block}.message-mini-avatar i{display:none;font-style:normal}.message-mini-avatar.avatar-photo img[src='']{display:none}.message-pop-body{min-width:0;flex:1}.message-pop-body b{display:block;font-size:11px}.message-pop-body small{display:block;margin-top:4px;color:#a997a9;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.message-pop-body em{display:block;margin-top:4px;color:#665768;font-size:9px;font-style:normal}.message-unread-dot{min-width:22px;height:22px;display:grid;place-items:center;padding:0 5px;border-radius:999px;background:#ef4f9a;color:#fff;font-style:normal;font-size:9px;box-shadow:0 0 14px rgba(239,79,154,.2)}.message-pop-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;color:#ff91c4;text-decoration:none;font-size:10px;background:rgba(255,255,255,.018)}.message-pop-footer span{font-size:15px}.message-pop-empty{padding:30px 20px;text-align:center}.message-empty-orb{width:54px;height:54px;margin:0 auto 13px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#ef4f9a,#70409a);box-shadow:0 0 28px rgba(239,79,154,.2);font-size:21px}.message-pop-empty b{display:block;font-size:12px}.message-pop-empty small{display:block;margin:7px auto 16px;color:#837385;font-size:9px;line-height:1.5;max-width:220px}.message-pop-empty .new-task{display:inline-flex;min-height:38px;padding:0 15px;font-size:10px}.message-loading{padding:28px;text-align:center;color:#796a79;font-size:10px}
.messages-main{max-width:1550px}.messages-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:8px 0 18px;padding:6px 2px}.messages-head h1{font-size:38px;margin-top:7px}.messages-head p{margin-top:7px;color:#9e8c9e;font-size:12px}.messages-head .new-task{min-height:44px;padding:0 17px}
.messages-shell{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:650px;border:1px solid rgba(255,132,196,.18);border-radius:22px;overflow:hidden;background:linear-gradient(145deg,rgba(27,17,35,.96),rgba(9,8,16,.99));box-shadow:0 25px 70px rgba(0,0,0,.28)}.conversation-sidebar{border-right:1px solid rgba(255,132,196,.1);background:linear-gradient(180deg,rgba(18,12,25,.88),rgba(10,8,16,.72))}.conversation-sidebar-head{height:72px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,132,196,.09)}.conversation-sidebar-head b{display:block;font-size:12px}.conversation-sidebar-head small{display:block;margin-top:4px;color:#776777;font-size:9px}.conversation-sidebar-head>a{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,132,196,.18);border-radius:11px;background:rgba(239,79,154,.08);color:#ff91c4;text-decoration:none;font-size:18px}.conversation-list{max-height:577px;overflow:auto}.full-conversation{display:flex;align-items:center;gap:11px;padding:14px 15px;color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,130,195,.06);transition:.18s}.full-conversation:hover,.full-conversation.active{background:rgba(239,79,154,.065)}.full-conversation.active{box-shadow:inset 3px 0 #ef4f9a}.full-conversation .message-mini-avatar{width:42px;height:42px;flex-basis:42px}.full-conversation-body{min-width:0;flex:1}.full-conversation-top{display:flex;justify-content:space-between;gap:8px}.full-conversation-top b{font-size:11px}.full-conversation-top time{color:#685868;font-size:8px}.full-conversation-body p{margin-top:5px;color:#837385;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.full-unread{min-width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:#ef4f9a;color:#fff;font-size:8px}.message-stage{position:relative;min-width:0;display:flex;flex-direction:column;background:radial-gradient(circle at 85% 0,rgba(239,79,154,.07),transparent 28%),linear-gradient(180deg,rgba(16,11,23,.6),rgba(7,7,13,.82))}.message-welcome,.new-message-panel{margin:auto;width:min(560px,calc(100% - 48px));text-align:center;padding:40px 20px}.welcome-orb,.new-message-orb{width:82px;height:82px;margin:0 auto 22px;display:grid;place-items:center;border-radius:27px;background:linear-gradient(135deg,#ef4f9a,#70409a);box-shadow:0 0 45px rgba(239,79,154,.2),inset 0 1px 0 rgba(255,255,255,.15);font-size:30px}.message-welcome h2,.new-message-panel h2{margin-top:9px;font-size:31px;line-height:1.12}.message-welcome h2 b{color:#ff72b4}.message-welcome>p,.new-message-panel>p{max-width:500px;margin:12px auto 23px;color:#958495;font-size:11px;line-height:1.7}.message-welcome .new-task{display:inline-flex;min-height:44px;padding:0 19px}.new-message-panel{width:min(650px,calc(100% - 40px))}.recipient-search{display:flex;align-items:center;gap:9px;padding:0 13px;height:48px;border:1px solid rgba(255,132,196,.2);border-radius:14px;background:#0b0811;text-align:left;box-shadow:0 0 25px rgba(239,79,154,.05)}.recipient-search span{color:#ff79b7;font-size:20px}.recipient-search input{width:100%;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-size:11px}.recipient-search input::placeholder{color:#6f6170}.recipient-results{display:grid;gap:7px;margin-top:10px;text-align:left}.recipient-result{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(255,132,196,.08);border-radius:13px;background:rgba(255,255,255,.018);color:#fff;cursor:pointer}.recipient-result:hover{background:rgba(239,79,154,.07);border-color:rgba(255,132,196,.2)}.recipient-result .message-mini-avatar{width:35px;height:35px;flex-basis:35px}.recipient-result b{font-size:10px}.recipient-result small{display:block;margin-top:3px;color:#736475;font-size:8px}.composer-hint{margin-top:16px;color:#706171;font-size:9px}.message-composer{padding:14px 17px;border-top:1px solid rgba(255,132,196,.1);background:linear-gradient(180deg,rgba(21,13,28,.94),rgba(12,9,18,.98))}.message-composer textarea{display:block;width:100%;min-height:76px;max-height:170px;resize:vertical;padding:12px 13px;border:1px solid rgba(255,132,196,.12);border-radius:13px;background:#090710;color:#fff;outline:0;font:inherit;font-size:11px;line-height:1.55}.message-composer textarea:focus{border-color:rgba(239,79,154,.45);box-shadow:0 0 0 3px rgba(239,79,154,.06)}.message-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.message-composer small{color:#675869;font-size:8px}.message-composer button{min-height:37px;padding:0 15px;border:0;cursor:pointer;font-size:10px}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid rgba(255,132,196,.1);background:rgba(22,13,29,.78)}.chat-person{display:flex;align-items:center;gap:11px}.chat-avatar{width:42px!important;height:42px!important;flex-basis:42px!important}.chat-person h2{font-size:14px}.chat-person span{display:flex;align-items:center;gap:6px;margin-top:4px;color:#756576;font-size:8px}.online-dot{width:7px;height:7px;border-radius:50%;background:#665766}.online-dot.is-online{background:#70d7ac;box-shadow:0 0 10px rgba(112,215,172,.6)}.chat-messages{flex:1;overflow:auto;padding:24px 25px;display:flex;flex-direction:column;gap:9px;scroll-behavior:smooth}.chat-row{display:flex;justify-content:flex-start}.chat-row.mine{justify-content:flex-end}.chat-bubble{max-width:min(650px,78%);padding:11px 13px 8px;border:1px solid rgba(255,132,196,.09);border-radius:15px 15px 15px 5px;background:rgba(255,255,255,.025);box-shadow:0 8px 25px rgba(0,0,0,.12)}.chat-row.mine .chat-bubble{border-color:rgba(239,79,154,.22);border-radius:15px 15px 5px 15px;background:linear-gradient(145deg,rgba(239,79,154,.18),rgba(112,64,154,.13))}.chat-bubble p{color:#dbcbd9;font-size:11px;line-height:1.6;word-break:break-word}.chat-bubble time{display:block;margin-top:5px;color:#675868;font-size:8px;text-align:right}.chat-empty{margin:auto;text-align:center}.chat-empty span{display:block;width:52px;height:52px;margin:0 auto 12px;padding-top:14px;border-radius:17px;background:rgba(239,79,154,.1);color:#ff8fc4}.chat-empty b{display:block;font-size:12px}.chat-empty small{display:block;margin-top:6px;color:#766677;font-size:9px}.chat-composer{margin-top:auto}.message-toast .toast-icon{background:linear-gradient(135deg,#ff5eaa,#a74dd3)}
@media(max-width:900px){.messages-shell{grid-template-columns:285px minmax(0,1fr)}.message-pop-body small{max-width:200px}}
@media(max-width:760px){.messages-head{align-items:flex-start;flex-direction:column}.messages-head .new-task{width:100%}.messages-shell{grid-template-columns:1fr;min-height:620px}.conversation-sidebar{border-right:0;border-bottom:1px solid rgba(255,132,196,.1)}.conversation-list{max-height:250px}.message-stage{min-height:470px}.messages-dock .message-popover,.notification-dock .notification-popover{position:fixed;right:12px;top:72px}.message-popover{width:calc(100vw - 24px)}}
@media(max-width:560px){.top-actions{gap:7px}.notification-btn{width:41px;height:41px}.messages-head h1{font-size:31px}.messages-shell{border-radius:18px}.message-welcome,.new-message-panel{width:calc(100% - 26px);padding:30px 10px}.message-welcome h2,.new-message-panel h2{font-size:27px}.chat-messages{padding:18px 13px}.chat-bubble{max-width:88%}.chat-header{padding:13px}.message-composer{padding:11px}.message-composer>div{align-items:flex-end}.message-composer small{display:none}}

/* EXILION DIRECT V10 */
.messages-head-actions{display:flex;align-items:center;gap:8px}.soft-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border:1px solid rgba(255,132,196,.13);border-radius:13px;background:rgba(255,255,255,.025);color:#cdbdcd;text-decoration:none;font-size:10px;transition:.18s}.soft-action:hover{border-color:rgba(239,79,154,.35);color:#ff91c4;background:rgba(239,79,154,.06)}
.chat-header-actions{display:flex;align-items:center;gap:7px}.danger-action{color:#bca8b9!important}.danger-action:hover{color:#ff7b9f!important;border-color:rgba(255,90,120,.3)!important}.chat-pin-strip{display:flex;align-items:center;gap:10px;padding:9px 16px;border-bottom:1px solid rgba(255,132,196,.08);background:rgba(239,79,154,.045)}.pin-icon{font-size:15px}.chat-pin-strip div{min-width:0;flex:1}.chat-pin-strip b,.chat-pin-strip span{display:block}.chat-pin-strip b{font-size:9px;color:#ff91c4}.chat-pin-strip span{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9b8b9a;font-size:9px}.chat-pin-strip button{border:0;background:none;color:#ff91c4;cursor:pointer;font-size:9px}.chat-search-bar{display:flex;align-items:center;gap:10px;padding:8px 15px;border-bottom:1px solid rgba(255,132,196,.08);background:rgba(255,255,255,.018)}.chat-search-bar input{flex:1;background:#090710;border:1px solid rgba(255,132,196,.12);border-radius:10px;padding:8px 10px;color:#fff;outline:0;font:inherit;font-size:10px}.chat-search-bar span{font-size:8px;color:#796a79}.search-hit .chat-bubble{box-shadow:0 0 0 2px rgba(239,79,154,.45),0 10px 28px rgba(239,79,154,.12)}
.chat-message-wrap{position:relative;max-width:min(720px,78%)}.chat-row.mine .chat-message-wrap{display:flex;flex-direction:column;align-items:flex-end}.bubble-meta{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:5px}.bubble-meta time{margin:0}.read-status{font-size:9px;color:#8d7a8e}.chat-row.mine .read-status{color:#ff8fc4}.deleted-message{opacity:.55;font-style:italic}.message-hover-tools{position:absolute;top:-13px;right:5px;display:flex;gap:4px;opacity:0;transform:translateY(3px);transition:.16s}.chat-message-wrap:hover .message-hover-tools{opacity:1;transform:none}.message-hover-tools button{width:26px;height:26px;border:1px solid rgba(255,132,196,.15);border-radius:9px;background:#17101d;color:#e3d1e1;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.25)}.message-menu{position:absolute;z-index:20;right:0;top:18px;min-width:175px;padding:5px;border:1px solid rgba(255,132,196,.14);border-radius:13px;background:rgba(19,12,25,.98);box-shadow:0 18px 50px rgba(0,0,0,.4);backdrop-filter:blur(18px)}.message-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:none;color:#d6c6d4;text-align:left;font:inherit;font-size:9px;cursor:pointer}.message-menu button:hover{background:rgba(239,79,154,.08);color:#ff91c4}.message-reactions{display:flex;gap:4px;margin-top:5px}.reaction-pill{padding:3px 7px;border:1px solid rgba(255,132,196,.12);border-radius:999px;background:rgba(255,255,255,.025);color:#cdbbcb;cursor:pointer;font-size:9px}.reaction-pill.mine{border-color:rgba(239,79,154,.35);background:rgba(239,79,154,.1);color:#ff91c4}.reaction-pill b{font-weight:600}.composer-tools{height:20px;display:flex!important;justify-content:flex-start!important;align-items:center!important;margin:0 0 3px!important}.composer-tool{width:27px;height:27px;border:1px solid rgba(255,132,196,.12);border-radius:8px;background:rgba(255,255,255,.02);color:#ff91c4;cursor:pointer}.composer-tools span{margin-left:7px;color:#887788;font-size:9px}.chat-emoji-pop{position:fixed;z-index:100;display:flex;flex-wrap:wrap;width:220px;padding:8px;border:1px solid rgba(255,132,196,.15);border-radius:14px;background:rgba(20,12,26,.98);box-shadow:0 18px 50px rgba(0,0,0,.4);backdrop-filter:blur(18px)}.chat-emoji-pop button{width:38px;height:34px;border:0;background:none;border-radius:8px;cursor:pointer;font-size:18px}.chat-emoji-pop button:hover{background:rgba(239,79,154,.08)}.mini-online{display:inline-block;width:6px;height:6px;margin-left:4px;border-radius:50%;background:#70d7ac;box-shadow:0 0 8px rgba(112,215,172,.6)}
.settings-main{min-height:100vh;display:grid;place-items:center;padding:30px}.settings-card{width:min(650px,100%);padding:35px;border:1px solid rgba(255,132,196,.15);border-radius:24px;background:linear-gradient(145deg,rgba(25,16,33,.96),rgba(10,8,16,.98));box-shadow:0 30px 80px rgba(0,0,0,.3)}.settings-card h1{margin-top:8px;font-size:30px}.settings-lead{margin-top:8px;color:#958495;font-size:11px;line-height:1.6}.settings-saved{margin-top:17px;padding:11px 13px;border:1px solid rgba(112,215,172,.2);border-radius:11px;background:rgba(112,215,172,.05);color:#8ee5bd;font-size:10px}.privacy-options{display:grid;gap:9px;margin-top:22px}.privacy-option{display:flex;gap:12px;padding:15px;border:1px solid rgba(255,132,196,.1);border-radius:14px;background:rgba(255,255,255,.018);cursor:pointer}.privacy-option:has(input:checked){border-color:rgba(239,79,154,.3);background:rgba(239,79,154,.06)}.privacy-option input{accent-color:#ef4f9a;margin-top:2px}.privacy-option b,.privacy-option small{display:block}.privacy-option b{font-size:10px}.privacy-option small{margin-top:4px;color:#796b7a;font-size:9px;line-height:1.45}.privacy-options .new-task{justify-self:start;margin-top:5px;border:0}.settings-back{display:inline-block;margin-top:18px;color:#9f8d9f;text-decoration:none;font-size:10px}.settings-back:hover{color:#ff91c4}
@media(max-width:760px){.messages-head-actions{width:100%}.messages-head-actions>*{flex:1}.chat-header-actions .danger-action{display:none}.chat-message-wrap{max-width:90%}.message-hover-tools{opacity:1;position:static;justify-content:flex-end;margin-top:4px}.message-menu{right:0;top:auto;bottom:34px}.settings-card{padding:25px 19px}}

/* ============================================================
   EXILION DIRECT — V11 POLISH / INTERACTIONS
   ============================================================ */
.soft-action{position:relative;overflow:hidden;min-width:128px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(239,79,154,.035))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 22px rgba(0,0,0,.12)}
.soft-action:before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent,rgba(255,142,198,.08),transparent);transform:translateX(-110%);transition:.45s}.soft-action:hover:before{transform:translateX(110%)}
.chat-message-wrap{overflow:visible}.chat-bubble{position:relative;overflow:visible}.bubble-topline{height:0;position:relative}.bubble-more{position:absolute;right:-5px;top:-17px;width:28px;height:28px;border:1px solid rgba(255,132,196,.15);border-radius:9px;background:rgba(20,12,27,.94);color:#bca8bb;cursor:pointer;display:grid;place-items:center;font-size:10px;line-height:1;box-shadow:0 7px 20px rgba(0,0,0,.25);opacity:.7;transition:.18s;z-index:4}.chat-row:not(.mine) .bubble-more{right:-5px}.bubble-more:hover{opacity:1;color:#ff9ac8;border-color:rgba(255,132,196,.32);background:#211226;box-shadow:0 0 18px rgba(239,79,154,.14)}
.bubble-pin{position:absolute;left:-2px;top:-16px;display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border:1px solid rgba(239,79,154,.18);border-radius:999px;background:rgba(24,13,31,.95);color:#ff9ac8;font-size:7px;line-height:1;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.message-hover-tools{top:auto;bottom:-9px;right:9px;gap:4px;opacity:0;transform:translateY(4px);padding:3px;border:1px solid rgba(255,132,196,.13);border-radius:11px;background:rgba(19,11,25,.96);backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(0,0,0,.28);z-index:5}.chat-message-wrap:hover .message-hover-tools,.chat-message-wrap:focus-within .message-hover-tools{opacity:1;transform:none}.message-hover-tools button{width:28px!important;height:28px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#cbb8ca!important;box-shadow:none!important;font-size:12px!important;padding:0!important}.message-hover-tools button:hover{background:rgba(239,79,154,.1)!important;color:#ff91c4!important}
.message-menu{min-width:205px;padding:7px;border-radius:16px;background:linear-gradient(145deg,rgba(31,18,40,.99),rgba(10,8,16,.99));border-color:rgba(255,132,196,.2);box-shadow:0 22px 65px rgba(0,0,0,.58),0 0 30px rgba(239,79,154,.08);backdrop-filter:blur(22px)}.message-menu-title{padding:7px 9px 8px;color:#725f72;font-size:7px;text-transform:uppercase;letter-spacing:1.2px}.message-menu button{display:flex;align-items:center;gap:8px;min-height:34px;padding:8px 9px;border-radius:10px;font-size:9px}.message-menu button:hover{background:linear-gradient(90deg,rgba(239,79,154,.1),rgba(112,64,154,.06));color:#ff9bc8}.message-menu .menu-danger{color:#d09baa}.message-menu .menu-danger:hover{background:rgba(255,70,120,.08);color:#ff8da7}
.chat-pin-strip{display:block;padding:9px 13px;background:linear-gradient(90deg,rgba(239,79,154,.07),rgba(112,64,154,.035));border-bottom:1px solid rgba(255,132,196,.1)}.pin-strip-head{display:flex;align-items:center;gap:7px;margin-bottom:7px}.pin-strip-head span{font-size:12px}.pin-strip-head b{color:#ff9bc8;font-size:8px;text-transform:uppercase;letter-spacing:1px}.pin-strip-head small{margin-left:auto;color:#675768;font-size:8px}.pin-strip-items{display:flex;gap:7px;overflow:auto}.pin-card{min-width:180px;max-width:280px;display:flex;align-items:center;gap:8px;padding:8px 9px;border:1px solid rgba(255,132,196,.11);border-radius:11px;background:rgba(255,255,255,.018);color:#aa98a9;cursor:pointer;text-align:left;transition:.18s}.pin-card:hover{border-color:rgba(239,79,154,.28);background:rgba(239,79,154,.06);color:#e6d4e4}.pin-card span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.pin-card i{font-style:normal;color:#ff91c4;font-size:11px}
.composer-tools{height:32px!important;position:relative;margin:0 0 5px!important}.composer-tool{width:38px!important;height:30px!important;min-height:30px!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,132,196,.16)!important;border-radius:10px!important;background:linear-gradient(145deg,rgba(239,79,154,.12),rgba(112,64,154,.09))!important;color:#ff9ac8!important;box-shadow:0 6px 18px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.04)!important;font-size:17px!important;padding:0!important}.composer-tool span{display:block!important;line-height:1!important}.composer-tool:hover{border-color:rgba(255,132,196,.34)!important;background:linear-gradient(145deg,rgba(239,79,154,.2),rgba(112,64,154,.14))!important;box-shadow:0 0 22px rgba(239,79,154,.12)!important}.composer-tools #typingLabel{margin-left:8px!important;color:#8c798a!important;font-size:8px!important}
.chat-emoji-pop{width:318px!important;max-height:430px;overflow:auto;display:block!important;padding:0!important;border-radius:18px!important;border:1px solid rgba(255,132,196,.2)!important;background:linear-gradient(145deg,rgba(29,17,38,.985),rgba(9,7,15,.995))!important;box-shadow:0 26px 80px rgba(0,0,0,.62),0 0 38px rgba(239,79,154,.11)!important;backdrop-filter:blur(24px)!important}.emoji-pop-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 11px;border-bottom:1px solid rgba(255,132,196,.09);background:radial-gradient(circle at 0 0,rgba(239,79,154,.1),transparent 50%)}.emoji-pop-head b{display:block;font-size:11px}.emoji-pop-head small{display:block;margin-top:3px;color:#776677;font-size:8px}.emoji-pop-close{width:27px;height:27px;border:1px solid rgba(255,132,196,.1);border-radius:8px;background:rgba(255,255,255,.025);color:#bba9ba;cursor:pointer;font-size:15px}.emoji-pop-close:hover{color:#ff91c4;border-color:rgba(255,132,196,.25)}.emoji-pop-search{display:block;width:calc(100% - 22px);height:34px;margin:10px 11px 4px;padding:0 10px;border:1px solid rgba(255,132,196,.1);border-radius:9px;background:#090710;color:#fff;outline:0;font:inherit;font-size:9px}.emoji-pop-search:focus{border-color:rgba(239,79,154,.32);box-shadow:0 0 0 3px rgba(239,79,154,.05)}.emoji-group{padding:7px 10px 5px}.emoji-group>span{display:block;margin:3px 2px 6px;color:#756475;font-size:7px;text-transform:uppercase;letter-spacing:1.1px}.emoji-group>div{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}.emoji-group button{width:100%!important;height:31px!important;min-height:31px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#fff!important;cursor:pointer;font-size:18px!important;box-shadow:none!important}.emoji-group button:hover{background:rgba(239,79,154,.1)!important;transform:translateY(-1px)}
.direct-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;opacity:0;transition:.18s}.direct-modal.is-open{opacity:1}.direct-modal-backdrop{position:absolute;inset:0;background:rgba(4,3,8,.72);backdrop-filter:blur(9px)}.direct-modal-card{position:relative;width:min(500px,100%);padding:25px;border:1px solid rgba(255,132,196,.2);border-radius:22px;background:linear-gradient(145deg,rgba(31,18,40,.985),rgba(9,7,15,.995));box-shadow:0 35px 100px rgba(0,0,0,.7),0 0 50px rgba(239,79,154,.09);transform:translateY(12px) scale(.985);transition:.2s}.direct-modal.is-open .direct-modal-card{transform:none}.direct-modal-close{position:absolute;right:13px;top:13px;width:31px;height:31px;border:1px solid rgba(255,132,196,.1);border-radius:10px;background:rgba(255,255,255,.025);color:#8f7c8e;cursor:pointer;font-size:18px}.direct-modal-close:hover{color:#ff91c4;border-color:rgba(255,132,196,.25)}.direct-modal-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:13px;border-radius:15px;background:linear-gradient(135deg,rgba(239,79,154,.2),rgba(112,64,154,.16));border:1px solid rgba(255,132,196,.15);color:#ff9ac8;font-size:19px}.direct-modal-card h3{margin-top:6px;font-size:20px}.direct-modal-subtitle{margin-top:7px;color:#8d7b8d;font-size:10px;line-height:1.55}.direct-modal-content{margin-top:17px}.direct-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.modal-secondary,.modal-primary,.modal-danger{min-height:39px!important;padding:0 14px!important;border-radius:10px!important;cursor:pointer!important;font:inherit!important;font-size:9px!important}.modal-secondary{border:1px solid rgba(255,132,196,.12);background:rgba(255,255,255,.025);color:#c3b1c1}.modal-secondary:hover{border-color:rgba(255,132,196,.25);color:#ff91c4}.modal-danger{background:linear-gradient(135deg,#e74c86,#9b3f8e)!important;box-shadow:0 9px 25px rgba(231,76,134,.2)!important}.report-reasons{display:grid;gap:7px}.report-reasons label{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,132,196,.09);border-radius:11px;background:rgba(255,255,255,.018);cursor:pointer}.report-reasons label:has(input:checked){border-color:rgba(239,79,154,.3);background:rgba(239,79,154,.055)}.report-reasons input{accent-color:#ef4f9a}.report-reasons b,.report-reasons small{display:block}.report-reasons b{font-size:9px}.report-reasons small{margin-top:3px;color:#756576;font-size:7px}.modal-textarea{display:block;width:100%;min-height:82px;margin-top:9px;padding:11px 12px;border:1px solid rgba(255,132,196,.1);border-radius:11px;background:#090710;color:#fff;outline:0;resize:vertical;font:inherit;font-size:10px;line-height:1.5}.modal-textarea:focus{border-color:rgba(239,79,154,.35);box-shadow:0 0 0 3px rgba(239,79,154,.05)}.edit-textarea{min-height:125px}.delete-warning{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid rgba(255,90,125,.14);border-radius:12px;background:rgba(255,70,120,.045);color:#ff9bae;font-size:18px}.delete-warning span{color:#a891a2;font-size:9px;line-height:1.5}
.exilion-toast.message-toast{cursor:default}.exilion-toast.message-toast .toast-icon{display:grid;place-items:center;font-weight:800}.exilion-toast.message-toast:has(.toast-icon){border-color:rgba(255,132,196,.2)}
.settings-card-premium{position:relative;overflow:hidden}.settings-card-premium:before{content:'';position:absolute;left:-100px;top:-140px;width:330px;height:330px;border-radius:50%;background:rgba(239,79,154,.1);filter:blur(65px);pointer-events:none}.settings-close{position:absolute;right:20px;top:20px;width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,132,196,.1);border-radius:11px;background:rgba(255,255,255,.025);color:#9d8a9d;text-decoration:none;font-size:20px;z-index:2}.settings-close:hover{color:#ff91c4;border-color:rgba(255,132,196,.26);background:rgba(239,79,154,.06)}.settings-hero{position:relative;display:flex;align-items:center;gap:15px;padding-right:42px}.settings-hero-orb{width:58px;height:58px;display:grid;place-items:center;flex:none;border-radius:18px;background:linear-gradient(135deg,#ef4f9a,#70409a);color:#fff;font-size:23px;box-shadow:0 0 35px rgba(239,79,154,.2)}.settings-hero h1{margin-top:6px;font-size:28px}.settings-hero p{margin-top:5px;color:#8e7c8e;font-size:10px;line-height:1.5}.settings-saved{display:flex;align-items:center;gap:10px;margin-top:20px;padding:12px 14px;border:1px solid rgba(112,215,172,.2);border-radius:12px;background:linear-gradient(90deg,rgba(112,215,172,.07),rgba(112,215,172,.02));color:#8ee5bd}.settings-saved>span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(112,215,172,.1)}.settings-saved b,.settings-saved small{display:block}.settings-saved b{font-size:9px}.settings-saved small{margin-top:3px;color:#6fa98e;font-size:7px}.premium-privacy{margin-top:23px}.premium-option{position:relative;align-items:flex-start!important;gap:11px!important;padding:15px 15px 15px 13px!important;min-height:84px;border-color:rgba(255,132,196,.09)!important;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.012))!important;transition:.18s}.premium-option:hover{border-color:rgba(255,132,196,.2)!important;transform:translateY(-1px)}.premium-option.is-selected{border-color:rgba(239,79,154,.35)!important;background:linear-gradient(90deg,rgba(239,79,154,.08),rgba(112,64,154,.045))!important;box-shadow:0 10px 30px rgba(239,79,154,.06)}.premium-option input{position:absolute;opacity:0;pointer-events:none}.privacy-option-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;border:1px solid rgba(255,132,196,.11);border-radius:12px;background:rgba(255,255,255,.025);color:#d9b9d1;font-size:16px}.premium-option.is-selected .privacy-option-icon{background:linear-gradient(135deg,rgba(239,79,154,.2),rgba(112,64,154,.16));border-color:rgba(239,79,154,.25);color:#ff91c4}.privacy-option-copy{min-width:0;flex:1;padding-top:1px}.privacy-option-copy b{font-size:10px}.privacy-option-copy small{display:block;margin-top:5px;color:#7d6c7d;font-size:8px;line-height:1.45}.privacy-option-copy em{display:inline-flex;margin-top:7px;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.025);color:#665768;font-size:6px;font-style:normal}.privacy-check{width:21px;height:21px;display:grid;place-items:center;flex:none;margin-top:2px;border:1px solid rgba(255,132,196,.12);border-radius:50%;color:transparent;font-size:10px}.premium-option.is-selected .privacy-check{border-color:#ef4f9a;background:#ef4f9a;color:#fff;box-shadow:0 0 14px rgba(239,79,154,.28)}.settings-actions{display:flex;align-items:center;gap:12px;margin-top:15px}.settings-save{display:flex!important;align-items:center;gap:15px;justify-content:center;min-height:43px!important;padding:0 17px!important}.settings-back{margin-top:0!important}.settings-note{display:flex;align-items:flex-start;gap:10px;margin-top:19px;padding:11px 12px;border-top:1px solid rgba(255,132,196,.07);color:#675868}.settings-note>span{color:#ff91c4}.settings-note p{font-size:8px;line-height:1.55}.settings-note b{color:#9e8b9e}
@media(max-width:760px){.direct-modal{padding:12px}.direct-modal-card{padding:20px;border-radius:18px}.message-hover-tools{opacity:1;transform:none;position:static;align-self:flex-end;margin-top:3px}.bubble-more{opacity:.82}.settings-hero{align-items:flex-start}.settings-hero h1{font-size:24px}.settings-actions{align-items:stretch;flex-direction:column}.settings-actions .settings-back{text-align:center;padding:7px}.chat-emoji-pop{width:min(318px,calc(100vw - 24px))!important}.emoji-group>div{grid-template-columns:repeat(7,1fr)}}
@media(max-width:480px){.settings-main{padding:12px}.settings-card{padding:24px 15px!important;border-radius:19px}.settings-close{right:14px;top:14px}.settings-hero-orb{width:48px;height:48px;border-radius:15px}.settings-hero{gap:10px}.settings-hero h1{font-size:21px}.premium-option{padding:12px!important}.privacy-option-copy small{font-size:7px}.direct-modal-actions{flex-direction:column-reverse}.direct-modal-actions>*{width:100%}.message-menu{min-width:190px}.pin-card{min-width:155px}}

/* ============================================================
   EXILION DIRECT — V13 STABILITY / CLEAN CHAT LAYOUT
   ============================================================ */
.messages-shell,.message-stage,.chat-messages{min-width:0}
.chat-messages{overflow-x:hidden!important;overflow-y:auto!important;width:100%}
.chat-row{width:100%;min-width:0}
.chat-message-wrap{width:fit-content;max-width:78%;min-width:0}
.chat-row.mine .chat-message-wrap{max-width:78%;min-width:0}
.chat-bubble{max-width:100%;min-width:0}
.chat-bubble p{overflow-wrap:anywhere;word-break:break-word}
.message-hover-tools{max-width:calc(100vw - 40px)}
.message-menu-floating{position:fixed!important;z-index:100500!important;display:block!important;margin:0!important;max-width:min(260px,calc(100vw - 20px));max-height:min(420px,calc(100vh - 20px));overflow:auto;overscroll-behavior:contain}
.message-menu-floating[hidden]{display:none!important}
.message-menu-floating .message-menu-title{position:sticky;top:0;background:linear-gradient(145deg,rgba(31,18,40,.99),rgba(10,8,16,.99));z-index:1}
.chat-pin-strip{max-height:88px;overflow:hidden}
.pin-strip-items{min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding-bottom:2px}
.pin-card{min-width:0;width:min(280px,38vw);flex:0 1 280px}
.bubble-more{z-index:12}
.chat-emoji-pop{position:fixed!important;z-index:100400!important;max-width:calc(100vw - 24px);max-height:min(440px,calc(100vh - 24px));overflow:auto;overscroll-behavior:contain}
.chat-emoji-pop[hidden]{display:none!important}
.emoji-pop-search{box-sizing:border-box}
.emoji-group[hidden]{display:none!important}
.emoji-group button[hidden]{display:none!important}
@media(max-width:760px){
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:88%}
  .message-menu-floating{max-width:calc(100vw - 24px)}
  .chat-pin-strip{max-height:82px}
  .pin-card{width:220px;flex-basis:220px}
}
@media(max-width:480px){
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:92%}
  .message-hover-tools{right:0}
  .chat-emoji-pop{width:calc(100vw - 24px)!important;left:12px!important}
}

/* ============================================================
   EXILION DIRECT — V14 CHAT GEOMETRY / SEND STABILITY
   ============================================================ */
.messages-shell{min-width:0;min-height:650px}
.message-stage{min-width:0;min-height:0;overflow:hidden}
.chat-messages{min-width:0;min-height:0;flex:1 1 auto;overflow-x:hidden!important;overflow-y:auto!important;align-items:stretch;position:relative}
.chat-row{display:flex!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;align-items:flex-start!important;position:relative!important}
.chat-row:not(.mine){justify-content:flex-start!important}
.chat-row.mine{justify-content:flex-end!important}
.chat-message-wrap,.chat-row.mine .chat-message-wrap{position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:auto!important;max-width:min(78%,720px)!important;min-width:0!important;margin:0!important;align-self:flex-start}
.chat-row.mine .chat-message-wrap{align-items:flex-end}
.chat-row:not(.mine) .chat-message-wrap{align-items:flex-start}
.chat-bubble{position:relative;display:block;width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;overflow:visible}
.chat-bubble p{display:block;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.chat-composer{flex:0 0 auto!important;min-width:0}
.chat-composer textarea{box-sizing:border-box;max-width:100%}
.message-hover-tools{max-width:100%;box-sizing:border-box}
@media(max-width:760px){
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:88%!important}
}
@media(max-width:480px){
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:92%!important}
}

/* ============================================================
   EXILION DIRECT — V15 HARD CHAT CONTAINER
   ============================================================ */
html:has(.messages-main),
body:has(.messages-main){height:100%;min-height:100%;overflow:hidden}
.messages-main{height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;padding-bottom:22px}
.messages-shell{height:calc(100dvh - 196px);min-height:0;max-height:calc(100dvh - 196px);overflow:hidden;display:grid;grid-template-columns:340px minmax(0,1fr)}
.conversation-sidebar{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.conversation-list{min-height:0;max-height:none;flex:1 1 auto;overflow-y:auto;overflow-x:hidden}
.message-stage{height:100%;min-height:0;max-height:100%;overflow:hidden;display:flex;flex-direction:column}
.chat-header{flex:0 0 auto;min-width:0}
.chat-pin-strip,.chat-search-bar{flex:0 0 auto;min-width:0}
.chat-messages{display:block!important;position:relative;flex:1 1 auto!important;height:0;min-height:0!important;width:100%!important;max-width:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:22px 24px 18px!important;box-sizing:border-box;scrollbar-gutter:stable;contain:layout paint}
.chat-row{display:flex!important;position:relative!important;align-items:flex-start!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 9px!important;padding:0!important;box-sizing:border-box;clear:both}
.chat-row:last-child{margin-bottom:0!important}
.chat-row:not(.mine){justify-content:flex-start!important}
.chat-row.mine{justify-content:flex-end!important}
.chat-message-wrap,.chat-row.mine .chat-message-wrap{position:relative!important;display:flex!important;flex:0 1 auto!important;flex-direction:column!important;width:fit-content!important;max-width:min(76%,720px)!important;min-width:0!important;margin:0!important;box-sizing:border-box}
.chat-row:not(.mine) .chat-message-wrap{align-items:flex-start!important}
.chat-row.mine .chat-message-wrap{align-items:flex-end!important}
.chat-bubble{display:block!important;position:relative!important;width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:visible!important}
.chat-bubble p{display:block!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-wrap:anywhere!important;word-break:break-word!important;white-space:pre-wrap!important}
.message-hover-tools{position:absolute!important;top:-14px!important;right:4px!important;z-index:15!important}
.chat-row:not(.mine) .message-hover-tools{right:auto!important;left:4px!important}
.chat-composer{flex:0 0 auto!important;min-width:0!important;margin:0!important;box-sizing:border-box}
.chat-composer textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.chat-emoji-pop{position:fixed!important;z-index:100000!important;display:block!important;box-sizing:border-box!important;overflow:hidden!important}
.chat-emoji-pop .emoji-pop-groups{max-height:330px;overflow-y:auto;overflow-x:hidden;padding-right:2px}
.chat-emoji-pop .emoji-group{display:block!important}
.chat-emoji-pop .emoji-group>div{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:3px!important}
.chat-emoji-pop .emoji-choice{width:auto!important;height:36px!important;display:grid!important;place-items:center!important;padding:0!important;font-size:18px!important}
.chat-emoji-pop .emoji-choice[hidden]{display:none!important}
.chat-emoji-pop .emoji-group[hidden]{display:none!important}

@media(max-width:900px){
  .messages-shell{grid-template-columns:285px minmax(0,1fr)}
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:82%!important}
}
@media(max-width:760px){
  .messages-main{padding:14px 14px 16px;height:100dvh;max-height:100dvh}
  .messages-shell{height:calc(100dvh - 205px);max-height:calc(100dvh - 205px);min-height:0;grid-template-columns:1fr}
  .conversation-sidebar{height:190px;min-height:190px;flex:none;border-right:0;border-bottom:1px solid rgba(255,132,196,.1)}
  .conversation-list{max-height:none}
  .message-stage{height:calc(100% - 190px);min-height:0}
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:88%!important}
  .chat-messages{padding:17px 13px 14px!important}
}
@media(max-width:560px){
  .messages-shell{height:calc(100dvh - 180px);max-height:calc(100dvh - 180px)}
  .conversation-sidebar{height:160px;min-height:160px}
  .message-stage{height:calc(100% - 160px)}
  .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:92%!important}
  .chat-header{padding:12px}
  .chat-header-actions{gap:4px}
  .chat-header-actions .small-action{padding:7px 8px;font-size:8px}
  .chat-emoji-pop{width:calc(100vw - 24px)!important;left:12px!important}
}

/* ============================================================
   EXILION DIRECT v16 — DEFINITIVE CHAT LAYOUT
   The message screen is a fixed application surface. Only the
   conversation viewport scrolls; the page itself never grows.
   ============================================================ */
html:has(.messages-main),
body:has(.messages-main){height:100%;min-height:0;overflow:hidden}
body:has(.messages-main){overflow:hidden!important}
.messages-main{height:100dvh!important;max-height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important}
.messages-main>.topbar{flex:0 0 auto!important}
.messages-head{flex:0 0 auto!important}
.messages-shell{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;display:grid!important;grid-template-columns:340px minmax(0,1fr)!important}
.conversation-sidebar{grid-column:1;grid-row:1;min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.conversation-list{min-height:0!important;max-height:none!important;height:auto!important;flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important}
.message-stage{grid-column:2;grid-row:1;min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.chat-header{flex:0 0 auto!important;min-width:0!important}
.chat-pin-strip,.chat-search-bar{flex:0 0 auto!important;min-width:0!important}
.chat-messages{flex:1 1 auto!important;min-width:0!important;min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:9px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:22px 24px 18px!important;box-sizing:border-box!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important}
.chat-row,.chat-row.mine,.chat-row:not(.mine){display:flex!important;flex:0 0 auto!important;position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;padding:0!important;clear:none!important;align-items:flex-start!important;justify-content:flex-start!important}
.chat-row .chat-message-wrap,.chat-row.mine .chat-message-wrap,.chat-row:not(.mine) .chat-message-wrap{position:relative!important;display:flex!important;flex:0 1 auto!important;flex-direction:column!important;width:max-content!important;max-width:min(76%,720px)!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;align-self:flex-start!important}
.chat-row:not(.mine) .chat-message-wrap{margin-right:auto!important;margin-left:0!important;align-items:flex-start!important}
.chat-row.mine .chat-message-wrap{margin-left:auto!important;margin-right:0!important;align-items:flex-end!important}
.chat-bubble{display:block!important;position:relative!important;width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:visible!important}
.chat-bubble p{display:block!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-wrap:anywhere!important;word-break:break-word!important;white-space:pre-wrap!important}
.chat-composer{flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
.chat-composer textarea{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.chat-composer .composer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:9px!important}
.chat-composer .composer-tools{flex:0 0 auto!important}
.chat-loading-state{margin:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;color:#766677!important}
.chat-loading-state .loading-orb{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(239,79,154,.1);border:1px solid rgba(239,79,154,.15);color:#ff8fc4}
.chat-loading-state small{font-size:9px}
.message-hover-tools{position:absolute!important;top:-12px!important;right:5px!important;left:auto!important;z-index:30!important}
.chat-row:not(.mine) .message-hover-tools{left:5px!important;right:auto!important}
.message-menu-floating{position:fixed!important;z-index:100500!important}
.chat-emoji-pop{position:fixed!important;z-index:100400!important;box-sizing:border-box!important}

@media(max-width:900px){
  .messages-shell{grid-template-columns:285px minmax(0,1fr)!important}
  .chat-row .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:82%!important}
}
@media(max-width:760px){
  .messages-main{height:100dvh!important;max-height:100dvh!important;padding:14px!important}
  .messages-head{margin-bottom:12px!important}
  .messages-shell{grid-template-columns:1fr!important}
  .conversation-sidebar{grid-column:1;grid-row:1;height:150px!important;min-height:150px!important;border-right:0!important;border-bottom:1px solid rgba(255,132,196,.1)}
  .message-stage{grid-column:1;grid-row:2;height:auto!important;min-height:0!important}
  .messages-shell{grid-template-rows:150px minmax(0,1fr)!important}
  .chat-row .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:88%!important}
  .chat-messages{padding:16px 13px 13px!important}
}
@media(max-width:560px){
  .messages-shell{grid-template-rows:132px minmax(0,1fr)!important}
  .conversation-sidebar{height:132px!important;min-height:132px!important}
  .chat-row .chat-message-wrap,.chat-row.mine .chat-message-wrap{max-width:92%!important}
}

/* ============================================================
   EXILION DIRECT v17 — INTERACTION LAYER
   One fixed menu + one fixed emoji picker. They never participate
   in chat layout calculations.
   ============================================================ */
.message-menu-source{display:none!important}
.chat-message-wrap{position:relative!important;overflow:visible!important}
.chat-bubble{position:relative!important;overflow:visible!important}
.bubble-more{position:absolute!important;right:-9px!important;top:-11px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid rgba(255,132,196,.18)!important;border-radius:10px!important;background:rgba(20,12,27,.96)!important;color:#cbb8ca!important;cursor:pointer!important;opacity:.86!important;z-index:50!important;box-shadow:0 8px 22px rgba(0,0,0,.32)!important;line-height:1!important}
.chat-row:not(.mine) .bubble-more{right:-9px!important;left:auto!important}
.bubble-more:hover,.bubble-more:focus-visible{opacity:1!important;color:#ff9ac8!important;border-color:rgba(239,79,154,.42)!important;box-shadow:0 0 22px rgba(239,79,154,.15)!important;outline:none!important}
.message-menu-floating{position:fixed!important;z-index:2147483000!important;display:block!important;width:230px!important;max-width:calc(100vw - 24px)!important;max-height:min(420px,calc(100vh - 24px))!important;overflow:auto!important;padding:7px!important;margin:0!important;border:1px solid rgba(255,132,196,.22)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(31,18,40,.995),rgba(10,8,16,.995))!important;box-shadow:0 26px 80px rgba(0,0,0,.7),0 0 36px rgba(239,79,154,.1)!important;backdrop-filter:blur(24px)!important;box-sizing:border-box!important}
.message-menu-floating .message-menu-title{padding:8px 9px 9px!important;color:#765f74!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:1.2px!important;border-bottom:1px solid rgba(255,132,196,.07)!important;margin-bottom:4px!important}
.message-menu-floating button{display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:38px!important;padding:8px 10px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#dfd0de!important;text-align:left!important;font:inherit!important;font-size:10px!important;cursor:pointer!important;box-sizing:border-box!important}
.message-menu-floating button span{flex:1!important}
.message-menu-floating button:hover,.message-menu-floating button:focus-visible{background:linear-gradient(90deg,rgba(239,79,154,.12),rgba(112,64,154,.08))!important;color:#ff9bc8!important;outline:none!important}
.message-menu-floating .menu-danger{color:#d5a0ad!important}
.message-menu-floating .menu-danger:hover{background:rgba(255,70,120,.09)!important;color:#ff8da7!important}

.chat-emoji-pop{position:fixed!important;z-index:2147482000!important;display:block!important;box-sizing:border-box!important;width:320px!important;max-width:calc(100vw - 24px)!important;max-height:min(450px,calc(100vh - 24px))!important;overflow:hidden!important;padding:0!important;margin:0!important;border:1px solid rgba(255,132,196,.22)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(29,17,38,.995),rgba(9,7,15,.995))!important;box-shadow:0 26px 80px rgba(0,0,0,.7),0 0 40px rgba(239,79,154,.12)!important;backdrop-filter:blur(24px)!important}
.chat-emoji-pop .emoji-pop-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:13px 14px 11px!important;border-bottom:1px solid rgba(255,132,196,.09)!important}
.chat-emoji-pop .emoji-pop-head b{display:block!important;font-size:11px!important;color:#fff!important}
.chat-emoji-pop .emoji-pop-head small{display:block!important;margin-top:3px!important;color:#776677!important;font-size:8px!important}
.chat-emoji-pop .emoji-pop-close{width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,132,196,.13)!important;border-radius:9px!important;background:rgba(255,255,255,.025)!important;color:#bba7ba!important;font-size:18px!important;cursor:pointer!important}
.chat-emoji-pop .emoji-pop-close:hover{color:#ff9ac8!important;background:rgba(239,79,154,.1)!important}
.chat-emoji-pop .emoji-pop-search{display:block!important;width:calc(100% - 20px)!important;height:36px!important;margin:10px!important;padding:0 11px!important;border:1px solid rgba(255,132,196,.12)!important;border-radius:10px!important;background:#090710!important;color:#fff!important;outline:none!important;font:inherit!important;font-size:10px!important;box-sizing:border-box!important}
.chat-emoji-pop .emoji-pop-search:focus{border-color:rgba(239,79,154,.4)!important;box-shadow:0 0 0 3px rgba(239,79,154,.06)!important}
.chat-emoji-pop .emoji-pop-groups{max-height:340px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 10px 12px!important;box-sizing:border-box!important}
.chat-emoji-pop .emoji-group{display:block!important;margin:0 0 10px!important}
.chat-emoji-pop .emoji-group>span{display:block!important;margin:7px 2px!important;color:#806c7e!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:1px!important}
.chat-emoji-pop .emoji-group>div{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:3px!important}
.chat-emoji-pop .emoji-choice{width:100%!important;height:36px!important;min-height:36px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#fff!important;font-size:19px!important;line-height:1!important;cursor:pointer!important}
.chat-emoji-pop .emoji-choice:hover,.chat-emoji-pop .emoji-choice:focus-visible{border-color:rgba(239,79,154,.2)!important;background:rgba(239,79,154,.1)!important;transform:translateY(-1px)!important;outline:none!important}
.chat-emoji-pop .emoji-choice[hidden],.chat-emoji-pop .emoji-group[hidden]{display:none!important}

/* Keep the actual application viewport independent from the document. */
html:has(.messages-main),body:has(.messages-main){height:100%!important;min-height:0!important;overflow:hidden!important}
body:has(.messages-main){margin:0!important}
.messages-main{height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow:hidden!important}
.messages-shell{min-height:0!important;overflow:hidden!important}
.message-stage{min-height:0!important;overflow:hidden!important}
.chat-messages{min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}

@media(max-width:760px){
  .message-menu-floating{width:min(230px,calc(100vw - 24px))!important}
  .chat-emoji-pop{width:calc(100vw - 24px)!important}
  .chat-emoji-pop .emoji-group>div{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}


/* EXILION v19 — SECURITY / DASHBOARD / DISCOVERY POLISH */
.inline-delete{display:inline-flex;margin:0;padding:0}.inline-delete .danger-link{background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}.community-filter-panel{margin:0 0 18px}.community-filter-form{display:grid;grid-template-columns:1fr 220px auto auto;gap:10px;align-items:center}.community-search{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid rgba(255,112,184,.18);border-radius:14px;background:rgba(255,255,255,.025)}.community-search input{width:100%;border:0!important;background:transparent!important;box-shadow:none!important}.community-filter-form select{min-height:46px}.notification-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.notification-filters a{padding:10px 14px;border:1px solid rgba(255,112,184,.16);border-radius:999px;color:#aaa2b8;text-decoration:none;background:rgba(255,255,255,.025)}.notification-filters a.active{color:#fff;border-color:rgba(255,79,154,.5);background:rgba(239,79,154,.12);box-shadow:0 0 24px rgba(239,79,154,.08)}.notification-full-list{padding:0;overflow:hidden}.notification-full-item{display:flex;gap:14px;align-items:center;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.055);text-decoration:none;color:inherit;position:relative}.notification-full-item:last-child{border-bottom:0}.notification-full-item:hover{background:rgba(239,79,154,.045)}.notification-full-item.is-read{opacity:.72}.notification-full-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(239,79,154,.12);color:#ff80bd}.notification-full-item>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.notification-full-item b{font-size:14px}.notification-full-item small{color:#aaa2b8}.notification-full-item em{font-style:normal;font-size:11px;color:#6f6879}.unread-dot{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#ff4f9a;box-shadow:0 0 14px #ff4f9a}.home-activity{margin:0 0 24px}.activity-feed,.project-activity-list{display:flex;flex-direction:column}.activity-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.045)}.activity-row:last-child{border-bottom:0}.activity-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(239,79,154,.09);color:#ff86c0;flex:none}.activity-row>div{display:flex;flex-direction:column;gap:3px;min-width:0}.activity-row small{color:#746d7e;font-size:11px}.project-activity-panel{margin-top:18px}.project-activity-list{padding:0 4px}.project-member{display:flex;align-items:center;gap:10px}.project-member>div{flex:1;min-width:0}.member-remove{border:1px solid rgba(255,90,130,.18);background:rgba(255,90,130,.06);color:#ff9ebc;width:30px;height:30px;border-radius:10px;cursor:pointer}.invite-confirm-card{max-width:700px;margin:40px auto;text-align:center;padding:42px}.invite-confirm-card .form-actions{justify-content:center}.message-popover,.notification-popover{z-index:1000}.messages-dock,.notification-dock{position:relative;z-index:1001}.community-topics .topic-row:hover{transform:translateY(-1px)}
@media(max-width:850px){.community-filter-form{grid-template-columns:1fr}.community-filter-form .small-action{width:100%}.notification-full-item{padding:15px}.invite-confirm-card{margin:20px 0;padding:28px 20px}.profile-stats-modern{grid-template-columns:repeat(2,1fr)!important}}
/* v19 dashboard/profile stat layout */
.profile-stats-modern{grid-template-columns:repeat(6,minmax(0,1fr))}
.stats{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
.stats .new-task{grid-column:span 2;min-height:106px;padding:0 18px}
@media(max-width:1200px){.profile-stats-modern{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats .new-task{grid-column:span 1}}
@media(max-width:700px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .new-task{grid-column:1/-1}.profile-stats-modern{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ============================================================
   EXILION / MODERN OFFICIAL DESIGN SYSTEM — v20
   ============================================================ */
:root{
  --bg:#07070c;--bg-soft:#0b0a11;--panel:#101017;--panel-2:#14131c;--panel-3:#181620;
  --pink:#e84a93;--pink2:#ff82bd;--purple:#8b55b8;--text:#f4f1f5;--muted:#9d98a4;--muted-2:#746f7c;
  --line:rgba(255,255,255,.09);--line-strong:rgba(232,74,147,.28);--success:#72d3ac;--warning:#e9a15e;--danger:#e55d78;
  --radius:14px;--shadow:0 18px 50px rgba(0,0,0,.28)
}
html{background:var(--bg)}
body{background:radial-gradient(700px 420px at 82% -10%,rgba(232,74,147,.075),transparent 65%),radial-gradient(620px 420px at 100% 100%,rgba(139,85,184,.055),transparent 65%),linear-gradient(180deg,#08080d 0%,#07070c 100%);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 85%);z-index:0}
.page-glow{display:none}
.sidebar{width:268px;padding:26px 20px 20px;background:rgba(9,9,14,.96);border-right:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px);box-shadow:14px 0 45px rgba(0,0,0,.18)}
.brand{gap:11px}.brand-logo{width:54px;height:54px;filter:none}.brand-name{font-size:22px;font-style:normal;font-weight:750;letter-spacing:-.6px;color:#f4edf3}.brand-tagline{margin-top:4px;color:#8f8995;font-size:10px;line-height:1.4}
.nav{gap:4px;margin-top:32px}.nav-item{gap:12px;padding:12px 13px;border-radius:10px;color:#b9b3bd;font-size:13px;border:1px solid transparent;transition:.18s}.nav-item:hover{background:rgba(255,255,255,.035);transform:none;color:#eee9ef;border-color:rgba(255,255,255,.055)}.nav-item.active{background:linear-gradient(90deg,rgba(232,74,147,.12),rgba(139,85,184,.055));border-color:rgba(232,74,147,.18);box-shadow:none;color:#fff}.nav-item.active:before{content:"";width:3px;height:18px;border-radius:3px;background:var(--pink);margin-left:-13px;box-shadow:0 0 14px rgba(232,74,147,.35)}
.quote{margin:34px 8px 0;padding:18px 0 0;border-top:1px solid rgba(255,255,255,.07);color:#6f6a75;font-size:10px;line-height:1.6;text-align:left}.quote-line{color:#c778a0}.sidebar-art{display:none}.system-status{left:28px;color:#77717c;font-size:10px}.system-status i{width:6px;height:6px;background:var(--success);box-shadow:0 0 10px rgba(114,211,172,.45)}
.main{position:relative;z-index:1;margin-left:268px;width:calc(100% - 268px);padding:28px 34px 54px;max-width:none}
.hero{min-height:210px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,#121118,#0e0d14);box-shadow:var(--shadow)}
.hero-art{background:radial-gradient(420px 180px at 78% 45%,rgba(232,74,147,.15),transparent 68%),linear-gradient(120deg,transparent 0 42%,rgba(139,85,184,.07) 70%,transparent 100%)!important;opacity:1}.hero-art:after{content:"";position:absolute;right:8%;top:20%;width:260px;height:150px;border:1px solid rgba(232,74,147,.16);transform:skewX(-24deg);box-shadow:0 0 70px rgba(232,74,147,.06)}
.hero-content{padding:38px 40px}.eyebrow{color:#a89fa9;font-size:10px;letter-spacing:1.8px}.hero h1{font-size:32px;letter-spacing:-.8px}.hero h1 b{font-size:44px;color:var(--pink2)}.hero p{color:#8f8994;font-size:13px}.hero-actions{right:24px;top:22px}.search{background:#0c0b11;border-color:rgba(255,255,255,.08);box-shadow:none}.circle-btn,.avatar{border-color:rgba(255,255,255,.1);background:#111017}.avatar{background:linear-gradient(135deg,#ef4f9a,#7e4ca4)}
.stats{gap:12px;margin:15px 0 30px}.stat{min-height:92px;padding:17px;border-radius:13px;background:linear-gradient(145deg,#121119,#0e0d14);border-color:rgba(255,255,255,.08);box-shadow:none}.stat-symbol{width:42px;height:42px;border-radius:11px;font-size:17px}.stat-symbol.pink{background:rgba(232,74,147,.12);color:#ff8abd;box-shadow:none}.stat-symbol.orange{background:rgba(233,161,94,.11);color:#e9a15e}.stat-symbol.mint{background:rgba(114,211,172,.1);color:#72d3ac}.stat span{color:#85808a;font-size:10px}.stat strong{font-size:23px;margin-top:3px}.new-task{border-radius:11px;background:var(--pink);box-shadow:0 10px 28px rgba(232,74,147,.16);font-size:12px}.new-task:hover{transform:translateY(-1px);box-shadow:0 12px 32px rgba(232,74,147,.22)}
.section-head{margin-bottom:14px}.section-head h2{font-size:21px;letter-spacing:-.35px}.section-head h2 span{color:var(--pink2)}.section-head p{color:#77717c;font-size:11px}.filters{gap:6px}.filter{border-color:rgba(255,255,255,.08);background:#0d0c12;color:#918b96;border-radius:9px;padding:8px 12px}.filter.active{background:rgba(232,74,147,.13);border-color:rgba(232,74,147,.25);color:#ff8abd;box-shadow:none}
.task-grid{gap:14px}.task-card,.create-card{min-height:250px;border-radius:13px;background:linear-gradient(145deg,#121119,#0d0c12);border-color:rgba(255,255,255,.08);box-shadow:none}.task-card:hover{transform:translateY(-2px);border-color:rgba(232,74,147,.28);box-shadow:0 15px 34px rgba(0,0,0,.22)}
.task-image{height:88px;background:#15141b!important;position:relative;overflow:hidden}.task-image:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(232,74,147,.18),transparent 42%,rgba(139,85,184,.14));}.task-image:after{background:linear-gradient(to top,rgba(9,8,13,.55),transparent 70%)}
.task-image-default{background:linear-gradient(120deg,#19131b,#101017)!important}.task-image-default:before{background:linear-gradient(115deg,rgba(232,74,147,.22),transparent 36%,rgba(139,85,184,.18) 78%,transparent);}.task-image-default:after{content:"";position:absolute;inset:18px 24px auto auto;width:82px;height:52px;border:1px solid rgba(255,255,255,.08);transform:skewX(-24deg);background:transparent}
.task-body{padding:13px 15px 14px}.badge{border-radius:7px;padding:5px 8px;font-size:9px}.status-planned{background:rgba(232,74,147,.1);color:#ff9bc7}.status-in_progress{background:rgba(139,85,184,.11);color:#c6a9de}.status-completed{background:rgba(114,211,172,.1);color:#8ee0bc}.priority-low{border-color:rgba(114,211,172,.25);color:#8ee0bc}.priority-medium{border-color:rgba(233,161,94,.28);color:#efb27a}.priority-high{border-color:rgba(232,74,147,.28);color:#ff8abd}.task-body h3{font-size:14px}.task-body p{color:#8b8590;font-size:11px}.task-meta{color:#6f6974}.task-meta a{color:#c6789d}.create-card{border-style:dashed;border-color:rgba(232,74,147,.22);background:linear-gradient(145deg,rgba(232,74,147,.035),rgba(14,13,19,.9))}.create-card .plus{width:50px;height:50px;border-radius:12px;background:rgba(232,74,147,.08);color:#ff8abd;font-size:26px}.create-card h3{font-size:13px}.create-card p{color:#77717c}
.form-page,.task-page{max-width:1100px;padding:40px 28px}.form-head h1,.task-page h1{font-size:34px;letter-spacing:-.8px}.form-head p{color:#89838e}.task-form{padding:25px;border-radius:15px;background:#0f0e15;border-color:rgba(255,255,255,.08);box-shadow:var(--shadow)}.task-form input,.task-form textarea,.task-form select{background:#09090e;border-color:rgba(255,255,255,.08);border-radius:9px}.task-form input:focus,.task-form textarea:focus,.task-form select:focus{border-color:rgba(232,74,147,.45);box-shadow:0 0 0 3px rgba(232,74,147,.06)}
.document{border-radius:16px;background:#0f0e15;border-color:rgba(255,255,255,.08)}.document-cover{height:230px;background-image:linear-gradient(120deg,rgba(232,74,147,.16),rgba(139,85,184,.08))!important}.document-inner{padding:28px}.document-text{color:#c9c4ca;font-size:14px}
.panel,.project-card,.community-panel,.profile-card,.admin-card{border-color:rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#121119,#0e0d14)!important;box-shadow:none!important;border-radius:14px!important}
.empty-state{border-color:rgba(255,255,255,.08)!important;background:#0f0e15!important;color:#8d8792}
.top-search{border-color:rgba(255,255,255,.08);background:#0d0c12;box-shadow:none}.top-search span{color:var(--pink2)}.notification-btn{border-color:rgba(255,255,255,.08);background:#101017;font-size:20px}.notification-btn:hover{border-color:rgba(232,74,147,.3);box-shadow:none}
.exilion-toast{border-color:rgba(255,255,255,.1);background:#121119;box-shadow:0 20px 55px rgba(0,0,0,.45)}.exilion-toast .toast-icon{background:rgba(232,74,147,.12);color:#ff8abd}
/* auth */
.auth-page{background:#08080d!important}.auth-page .auth-art{display:none}.auth-visual{background:radial-gradient(500px 320px at 20% 45%,rgba(232,74,147,.09),transparent 70%),#09090f!important}.auth-visual-content{margin-top:18vh}.auth-visual h1{font-weight:720;letter-spacing:-2px}.auth-visual h1 b{color:var(--pink2)}.auth-pills span{border-radius:8px;background:#101017;border-color:rgba(255,255,255,.08)}
/* messages: official surfaces */
.messages-shell{border-color:rgba(255,255,255,.08)!important;background:#0d0c12!important;border-radius:15px!important;box-shadow:var(--shadow)!important}.message-sidebar,.message-stage{background:#0d0c12!important}.conversation-item{border-color:rgba(255,255,255,.05)!important}.conversation-item.active{background:rgba(232,74,147,.08)!important}.chat-header,.chat-composer,.chat-pin-strip,.chat-search-row{background:#0f0e15!important;border-color:rgba(255,255,255,.07)!important}.chat-bubble{border-color:rgba(255,255,255,.09)!important;box-shadow:none!important}.chat-row.mine .chat-bubble{background:rgba(232,74,147,.12)!important;border-color:rgba(232,74,147,.22)!important}.chat-row:not(.mine) .chat-bubble{background:#15141b!important}.bubble-more{background:#101017!important;border-color:rgba(255,255,255,.08)!important}
/* EXILION / COMMUNITY SEARCH + BRAND POLISH — v21 */
.brand-logo{width:50px;height:50px;flex:none;filter:drop-shadow(0 8px 22px rgba(232,74,147,.12))}
.brand-name{letter-spacing:-.75px}
.community-filter-panel{padding:12px!important;background:linear-gradient(145deg,#111017,#0d0c12)!important}
.community-filter-form{grid-template-columns:minmax(260px,1fr) 210px auto auto;gap:8px}
.community-search{height:46px;min-width:0;padding:0 14px;border:1px solid rgba(255,255,255,.085);border-radius:10px;background:#09090e;box-shadow:inset 0 1px 0 rgba(255,255,255,.02);color:#a39ca8}
.community-search:focus-within{border-color:rgba(232,74,147,.38);box-shadow:0 0 0 3px rgba(232,74,147,.055),inset 0 1px 0 rgba(255,255,255,.02)}
.community-search span{display:grid;place-items:center;width:18px;flex:none;color:#c66b9d;font-size:18px;line-height:1}
.community-search input{height:44px!important;min-width:0!important;margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;background:transparent!important;background-color:transparent!important;color:#f3eff4!important;box-shadow:none!important;outline:0!important;font:inherit!important;font-size:12px!important;appearance:none;-webkit-appearance:none}
.community-search input::placeholder{color:#6f6975;opacity:1}
.community-search input:-webkit-autofill,.community-search input:-webkit-autofill:hover,.community-search input:-webkit-autofill:focus{-webkit-text-fill-color:#f3eff4!important;-webkit-box-shadow:0 0 0 1000px #09090e inset!important;box-shadow:0 0 0 1000px #09090e inset!important;transition:background-color 9999s ease-out 0s}
.community-filter-form select{height:46px!important;min-height:46px!important;margin:0!important;padding:0 38px 0 13px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:10px!important;background:#09090e!important;color:#c9c3cc!important;box-shadow:none!important;outline:0!important;font:inherit!important;font-size:12px!important;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7c7481 50%),linear-gradient(135deg,#7c7481 50%,transparent 50%)!important;background-position:calc(100% - 17px) 20px,calc(100% - 12px) 20px!important;background-size:5px 5px,5px 5px!important;background-repeat:no-repeat!important}
.community-filter-form select:focus{border-color:rgba(232,74,147,.38)!important;box-shadow:0 0 0 3px rgba(232,74,147,.055)!important}
.community-filter-form .small-action{height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px!important;border-radius:10px!important;border:1px solid rgba(232,74,147,.25)!important;background:rgba(232,74,147,.10)!important;color:#ff8abd!important;box-shadow:none!important;text-decoration:none}
.community-filter-form .small-action:hover{background:rgba(232,74,147,.16)!important;border-color:rgba(232,74,147,.38)!important}
@media(max-width:850px){.community-filter-form{grid-template-columns:1fr}.community-filter-form select,.community-filter-form .small-action{width:100%}}

/* remove decorative old art everywhere */
.sidebar-art,.auth-art{display:none!important}

@media(max-width:1100px){.sidebar{width:240px}.main{margin-left:240px;width:calc(100% - 240px)}.stats{grid-template-columns:1fr 1fr}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{width:100%;border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.main{margin-left:0;width:100%;padding:18px}.brand-logo{width:48px;height:48px}.brand-name{font-size:20px}.nav-item.active:before{display:none}.hero{min-height:220px}.hero-content{padding:28px 24px}.hero h1{font-size:27px}.hero h1 b{font-size:38px}.stats,.task-grid{grid-template-columns:1fr}.form-page,.task-page{padding:25px 16px}.topbar{gap:8px}.top-search{max-width:none}.task-image{height:100px}}

/* ============================================================
   EXILION DIRECT v18 — DESKTOP SEND + MOBILE KEYBOARD STABILITY
   ============================================================ */
html:has(.messages-main),body:has(.messages-main){
  --exilion-vh:100dvh;
}
.messages-main{
  min-height:0!important;
  height:var(--exilion-vh,100dvh)!important;
  max-height:var(--exilion-vh,100dvh)!important;
}
.chat-messages{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
}
.chat-composer{
  position:relative!important;
  z-index:20!important;
  flex:0 0 auto!important;
  padding-bottom:max(11px,env(safe-area-inset-bottom))!important;
}
.chat-composer textarea{
  touch-action:manipulation!important;
}
@media(max-width:760px){
  .messages-main{
    height:var(--exilion-vh,100dvh)!important;
    max-height:var(--exilion-vh,100dvh)!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
  .messages-shell{
    height:auto!important;
    max-height:none!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .message-stage{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  .chat-messages{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    padding-bottom:18px!important;
  }
  .chat-composer{
    flex:0 0 auto!important;
    position:sticky!important;
    bottom:0!important;
    margin:0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    background:linear-gradient(180deg,rgba(21,13,28,.97),rgba(12,9,18,.99))!important;
    box-shadow:0 -12px 28px rgba(0,0,0,.22)!important;
  }
  .chat-composer textarea{
    min-height:58px!important;
    max-height:120px!important;
    resize:none!important;
  }
  .chat-composer .composer-bottom{
    padding-bottom:2px!important;
  }
}
@media(max-width:480px){
  .chat-composer textarea{font-size:16px!important;line-height:1.45!important;}
  .chat-composer .composer-bottom button{min-height:40px!important;padding:0 13px!important;}
}

/* EXILION DIRECT v28 — MOBILE PAGE SCROLL REPAIR */
@media (max-width: 760px){
  html:has(.messages-main),
  body:has(.messages-main){
    height:auto!important;
    min-height:100%!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .messages-main{
    display:block!important;
    height:auto!important;
    min-height:100vh!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:110px!important;
  }
  .messages-main>.topbar{position:relative!important;}
  .messages-shell{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .conversation-sidebar{
    display:flex!important;
    flex:0 0 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .conversation-list{
    flex:0 0 auto!important;
    height:auto!important;
    max-height:240px!important;
    overflow-y:auto!important;
  }
  .message-stage{
    display:flex!important;
    flex:0 0 auto!important;
    height:auto!important;
    min-height:520px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .chat-messages{
    flex:0 0 auto!important;
    height:auto!important;
    min-height:180px!important;
    max-height:none!important;
    overflow:visible!important;
    contain:none!important;
    padding-bottom:24px!important;
  }
  .chat-composer{
    position:relative!important;
    bottom:auto!important;
    flex:0 0 auto!important;
    margin-bottom:90px!important;
  }
}

/* ============================================================
   EXILION DIRECT v29 — CLEAN MOBILE DOCUMENT SCROLL
   ============================================================ */
@media (max-width:760px){
  html:has(.messages-main),body:has(.messages-main){display:block!important;width:100%!important;height:auto!important;min-height:100%!important;max-height:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:auto!important;touch-action:pan-y!important}
  .messages-main,body:has(.messages-main) .messages-main{display:block!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:12px 12px 120px!important;overflow:visible!important;box-sizing:border-box!important}
  .messages-main>.topbar,.messages-main>.messages-head,.messages-main>.messages-shell{position:relative!important;height:auto!important;min-height:0!important;max-height:none!important}
  .messages-main>.topbar{display:flex!important}
  .messages-head{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .messages-head-actions{display:flex!important;width:100%!important;gap:8px!important}
  .messages-head-actions>*{flex:1 1 0!important;min-width:0!important}
  .messages-shell{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;gap:10px!important}
  .conversation-sidebar{display:flex!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
  .conversation-list{flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:220px!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
  .message-stage{display:flex!important;flex:0 0 auto!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
  .chat-header,.chat-pin-strip,.chat-search-bar,.chat-composer{flex:0 0 auto!important}
  .chat-messages{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:180px!important;max-height:none!important;overflow:visible!important;contain:none!important;touch-action:auto!important;overscroll-behavior:auto!important;padding:16px 12px 24px!important;box-sizing:border-box!important}
  .chat-row{flex:0 0 auto!important}
  .chat-composer{position:relative!important;width:100%!important;height:auto!important;margin:0 0 24px!important;padding:10px!important;box-sizing:border-box!important}
  .chat-composer textarea{width:100%!important;min-height:56px!important;max-height:140px!important;resize:none!important}
  .messages-main .message-stage,.messages-main .messages-shell,.messages-main .conversation-sidebar,.messages-main .chat-messages,.messages-main .chat-composer{contain:none!important}
}


/* ============================================================
   EXILION DIRECT v30 — MOBILE: PAGE SCROLL + INNER CHAT SCROLL
   The page may scroll, but the actual conversation gets its own
   bounded viewport so messages can be swiped independently.
   ============================================================ */
@media (max-width: 760px){
  html:has(.messages-main),
  body:has(.messages-main){
    height:auto!important;
    min-height:100%!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:auto!important;
  }

  .messages-main{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:120px!important;
  }

  /* Keep the conversation list compact; it should not consume the
     whole phone screen before the chat becomes reachable. */
  .messages-shell{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    gap:10px!important;
  }

  .conversation-sidebar{
    flex:0 0 auto!important;
    width:100%!important;
    min-height:0!important;
    max-height:170px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }

  .message-stage{
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:column!important;
    width:100%!important;
    height:calc(var(--exilion-vh, 100dvh) - 285px)!important;
    min-height:700px!important;
    max-height:none!important;
    overflow:hidden!important;
    border-radius:14px!important;
  }

  .chat-header,
  .chat-pin-strip,
  .chat-search-row,
  .chat-composer{
    flex:0 0 auto!important;
  }

  /* THIS is the important part: only this element scrolls through
     the conversation. The outer page remains independently scrollable. */
  .chat-messages{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    touch-action:pan-y!important;
    contain:layout paint!important;
    padding:14px 12px 18px!important;
    box-sizing:border-box!important;
    scrollbar-gutter:stable!important;
  }

  .chat-composer{
    position:relative!important;
    bottom:auto!important;
    width:100%!important;
    margin:0!important;
    padding:9px 10px max(9px, env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;
  }

  .chat-composer textarea{
    min-height:52px!important;
    max-height:120px!important;
    overflow-y:auto!important;
  }
}

@media (max-width:480px){
  .conversation-sidebar{max-height:145px!important;}
  .message-stage{
    height:calc(var(--exilion-vh, 100dvh) - 255px)!important;
    min-height:330px!important;
    max-height:none!important;
  }
}

/* ============================================================
   EXILION DIRECT v32 — SLIGHTLY LARGER INNER CHAT VIEWPORT ON MOBILE
   The page remains scrollable, while the conversation itself has
   a strict viewport and its own touch scrolling.
   ============================================================ */
@media (max-width:760px){
  .messages-main .message-stage{
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:120svh!important;
    min-height:760px!important;
    max-height:none!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .messages-main .chat-messages{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    width:100%!important;
    min-height:0!important;
    height:0!important;
    max-height:none!important;
    overflow-y:scroll!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    overscroll-behavior-y:contain!important;
    overscroll-behavior-x:none!important;
    contain:strict!important;
    box-sizing:border-box!important;
  }

  .messages-main .chat-composer{
    flex:0 0 auto!important;
    position:relative!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}

@media (max-width:480px){
  .messages-main .message-stage{
    height:110svh!important;
    min-height:700px!important;
    max-height:none!important;
  }
}


/* EXILION DIRECT v34 — mobile header actions / notifications repair */
@media (max-width:760px){
  .messages-main>.topbar{
    position:relative!important;
    z-index:10020!important;
    overflow:visible!important;
  }
  .messages-main>.topbar .top-actions{
    position:relative!important;
    z-index:10030!important;
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    gap:7px!important;
  }
  .messages-main>.topbar .messages-dock,
  .messages-main>.topbar .notification-dock{
    position:relative!important;
    z-index:10040!important;
    display:inline-flex!important;
    flex:0 0 auto!important;
  }
  .messages-main>.topbar .notification-btn{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:0!important;
    cursor:pointer!important;
    pointer-events:auto!important;
  }
  .messages-main>.topbar .message-popover,
  .messages-main>.topbar .notification-popover{
    position:fixed!important;
    z-index:10050!important;
    right:12px!important;
    top:72px!important;
    width:calc(100vw - 24px)!important;
    max-width:430px!important;
    pointer-events:auto!important;
  }
  .messages-main>.topbar .username-link,
  .messages-main>.topbar .top-avatar{
    display:none!important;
  }
  .messages-main>.topbar .top-search{
    min-width:0!important;
    flex:1 1 auto!important;
  }
}

/* EXILION DIRECT v35 — mobile popover visibility / full list */
@media (max-width:760px){
  .messages-main>.topbar,
  .messages-main>.topbar .top-actions,
  .messages-main>.topbar .messages-dock,
  .messages-main>.topbar .notification-dock{
    overflow:visible!important;
  }

  .messages-main>.topbar .message-popover,
  .messages-main>.topbar .notification-popover{
    position:fixed!important;
    top:58px!important;
    right:10px!important;
    left:10px!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:calc(100svh - 70px)!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    display:block!important;
    box-sizing:border-box!important;
    z-index:2147483000!important;
    transform:none!important;
    visibility:visible!important;
  }

  .messages-main>.topbar .message-popover[hidden],
  .messages-main>.topbar .notification-popover[hidden]{
    display:none!important;
  }

  .messages-main>.topbar .message-popover-list,
  .messages-main>.topbar .notification-list{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    max-height:calc(100svh - 135px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    box-sizing:border-box!important;
  }

  .messages-main>.topbar .message-popover-head,
  .messages-main>.topbar .notification-popover-head{
    flex:none!important;
    min-height:54px!important;
    box-sizing:border-box!important;
  }

  .messages-main>.topbar .message-pop-item,
  .messages-main>.topbar .notification-item{
    flex:none!important;
  }
}

/* EXILION DIRECT v36 — mobile popovers must NOT be fixed inside the blurred topbar.
   backdrop-filter on .topbar creates a fixed containing context, which clipped the
   popover to the 64px header. Use absolute positioning inside each dock instead. */
@media (max-width:760px){
  .messages-main>.topbar{
    overflow:visible!important;
    isolation:isolate;
  }

  .messages-main>.topbar .top-actions{
    overflow:visible!important;
  }

  .messages-main>.topbar .messages-dock,
  .messages-main>.topbar .notification-dock{
    position:relative!important;
    overflow:visible!important;
    z-index:2147483001!important;
  }

  .messages-main>.topbar .message-popover,
  .messages-main>.topbar .notification-popover{
    position:absolute!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    left:auto!important;
    width:min(340px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    height:auto!important;
    max-height:min(72vh,620px)!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    transform:none!important;
    visibility:visible!important;
    z-index:2147483002!important;
    border-radius:18px!important;
    box-sizing:border-box!important;
  }

  .messages-main>.topbar .message-popover-list,
  .messages-main>.topbar .notification-list{
    height:auto!important;
    max-height:min(62vh,520px)!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    overscroll-behavior:contain!important;
  }

  .messages-main>.topbar .message-popover[hidden],
  .messages-main>.topbar .notification-popover[hidden]{
    display:none!important;
  }
}

/* ============================================================
   EXILION DIRECT v37 — REAL MOBILE POPOVER PORTAL
   The message/notification popovers are moved to <body> by JS.
   This completely removes them from the topbar/backdrop/filter stacking
   context that Android WebView was clipping to the header height.
   ============================================================ */
.message-popover.exilion-popover-portal,
.notification-popover.exilion-popover-portal{
  position:fixed!important;
  display:block!important;
  z-index:2147483647!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  transform:none!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.message-popover.exilion-popover-portal[hidden],
.notification-popover.exilion-popover-portal[hidden]{display:none!important}
.message-popover.exilion-popover-portal .message-popover-list,
.notification-popover.exilion-popover-portal .notification-list{
  display:block!important;
  min-height:72px!important;
  max-height:520px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  overscroll-behavior:contain!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .message-popover.exilion-popover-portal,
  .notification-popover.exilion-popover-portal{
    border-radius:18px!important;
    max-width:calc(100vw - 20px)!important;
  }
  .message-popover.exilion-popover-portal .message-popover-list,
  .notification-popover.exilion-popover-portal .notification-list{
    max-height:calc(78vh - 58px)!important;
    min-height:90px!important;
  }
}

/* ============================================================
   EXILION UI POLISH — Telegram + Emoji navigation / stats
   ============================================================ */
.nav-item{gap:11px}
.nav-item .nav-icon{width:27px;min-width:27px;font-size:19px;line-height:1;text-align:center;filter:saturate(.92);transition:.2s}
.nav-item:hover .nav-icon,.nav-item.active .nav-icon{transform:scale(1.08)}
.telegram-link{
  display:flex;align-items:center;gap:11px;margin:14px 2px 0;padding:11px 13px;
  border:1px solid rgba(90,170,255,.16);border-radius:13px;
  background:linear-gradient(135deg,rgba(44,157,221,.09),rgba(139,85,184,.07));
  color:#eee;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:.2s;position:relative;overflow:hidden
}
.telegram-link:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(92,190,255,.08),transparent);transform:translateX(-100%);transition:.45s}
.telegram-link:hover{transform:translateY(-1px);border-color:rgba(90,170,255,.32);box-shadow:0 10px 28px rgba(55,139,205,.10)}
.telegram-link:hover:before{transform:translateX(100%)}
.telegram-link-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(61,169,230,.13);font-size:17px}
.telegram-link span:nth-child(2){display:flex;flex-direction:column;min-width:0}
.telegram-link b{font-size:11px;font-weight:750}
.telegram-link small{margin-top:2px;color:#847d8c;font-size:9px}
.telegram-link i{margin-left:auto;color:#7fbde0;font-style:normal;font-size:14px}

.stats .stat{
  position:relative;overflow:hidden;transition:.2s;
  border-color:rgba(255,255,255,.075);
}
.stats .stat:after{
  content:"";position:absolute;right:-35px;bottom:-45px;width:100px;height:100px;border-radius:50%;
  background:radial-gradient(circle,rgba(232,74,147,.09),transparent 68%);pointer-events:none
}
.stats .stat:hover{transform:translateY(-2px);border-color:rgba(232,74,147,.20);box-shadow:0 12px 28px rgba(0,0,0,.20)}
.stats .stat-symbol{font-size:20px;line-height:1;display:grid;place-items:center}
.stats .stat-symbol.orange{background:rgba(233,161,94,.10);color:#e9a15e}
.stats .stat-symbol.mint{background:rgba(114,211,172,.10);color:#72d3ac}
.stats .stat.overdue-stat .stat-symbol{background:rgba(229,93,120,.10);color:#ff879d}
.stats .stat span{font-size:10px}
.stats .stat strong{font-size:23px}
.stats .new-task{gap:8px}
@media(max-width:760px){
  .telegram-link{margin-top:10px}
  .nav-item .nav-icon{font-size:18px}
  .stats .stat{min-height:84px;padding:14px}
  .stats .stat-symbol{width:38px;height:38px;font-size:18px}
}


/* ============================================================
   EXILION v42 — topbar popover exclusivity + no stray dock icons
   Messages and notifications share one visual layer. Opening one closes the other.
   ============================================================ */
.message-popover.exilion-popover-portal,
.notification-popover.exilion-popover-portal{
  z-index:2147483640!important;
}
.message-popover.exilion-popover-portal[hidden],
.notification-popover.exilion-popover-portal[hidden]{
  display:none!important;
}
body > .messages-dock,
body > .notification-dock{
  display:none!important;
}
@media(max-width:760px){
  .message-popover.exilion-popover-portal,
  .notification-popover.exilion-popover-portal{
    left:10px!important;
    right:10px!important;
    width:calc(100vw - 20px)!important;
    max-width:none!important;
  }
}


/* EXILION v34 — richer task editor + larger action controls */
.form-actions .new-task,
.community-actions .new-task,
.profile-actions .new-task,
.small-action {
  min-height: 46px;
}
.form-actions .new-task {
  min-width: 160px;
  padding: 0 24px;
  font-size: 14px;
  border-radius: 12px;
}
.editor-shell { overflow: visible; }
.editor-toolbar {
  position: relative;
  align-items: center;
  gap: 7px;
  padding: 11px 12px;
  min-height: 68px;
}
.editor-toolbar button {
  position: relative;
  width: 48px;
  height: 46px;
  min-width: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #eee7ef;
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.editor-toolbar button:hover {
  background: rgba(255,255,255,.06);
  border-color: transparent;
  transform: translateY(-1px);
}
.editor-toolbar button.is-active {
  background: rgba(255,255,255,.09);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.035);
}
.editor-toolbar button strong { font-size: 29px; }
.editor-toolbar button em { font-size: 30px; font-family: Georgia, serif; }
.editor-toolbar button u { text-underline-offset: 5px; }
.editor-toolbar button s { font-size: 28px; text-decoration-thickness: 2px; }
.editor-toolbar button[data-block="h1"],
.editor-toolbar button[data-block="h2"] { font-size: 22px; font-weight: 750; }
.editor-toolbar button[data-block="p"] { font-size: 25px; font-weight: 500; }
.toolbar-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 42px;
  margin: 0 3px;
  background: rgba(255,255,255,.12);
}
.toolbar-color-button { flex-direction: column; gap: 2px; }
.toolbar-color-letter { font-size: 24px; line-height: 22px; }
.toolbar-color-line { width: 23px; height: 3px; border-radius: 3px; background: #ff78b7; }
.editor-palette {
  position: absolute;
  left: 205px;
  top: calc(100% - 3px);
  z-index: 1200;
  display: grid;
  grid-template-columns: repeat(5, 34px);
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255,150,210,.16);
  border-radius: 14px;
  background: rgba(18,14,24,.98);
  box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 25px rgba(239,79,154,.08);
  backdrop-filter: blur(18px);
}
.editor-palette[hidden] { display: none; }
.editor-palette button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  box-shadow: none;
}
.editor-palette button:hover { background: rgba(255,255,255,.1); transform:none; }
.editor-palette button i {
  display: block;
  width: 19px;
  height: 19px;
  margin: auto;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.32);
  box-shadow: 0 2px 7px rgba(0,0,0,.25);
}
.editor-palette button i.palette-reset {
  border: 0;
  box-shadow: none;
  color: #bcaebe;
  font-style: normal;
  font-size: 22px;
  line-height: 19px;
}
.rich-editor { min-height: 390px; }
@media(max-width:700px){
  .form-actions .new-task { min-width: 145px; min-height: 44px; padding: 0 18px; }
  .editor-toolbar { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
  .editor-toolbar button { flex: 0 0 46px; width: 46px; min-width: 46px; height: 44px; }
  .toolbar-divider { flex: 0 0 1px; }
  .editor-palette { left: 8px; top: calc(100% - 2px); }
}

/* Editor: keep toolbar fully usable even before the first character. */
.rich-editor:has(> p:only-child > br:only-child)::before{display:none}
.rich-editor > p:only-child:has(> br:only-child)::before{content:attr(data-placeholder);color:#675a67;pointer-events:none}
.editor-toolbar button:disabled{opacity:1;cursor:pointer}
.rich-editor > .editor-empty-block:only-child{min-height:1.7em}
.rich-editor > .editor-empty-block:only-child::before{content:attr(data-placeholder);}
.rich-editor > .editor-empty-block:only-child::before{content:'Опиши задачу...';color:#675a67;pointer-events:none}
.rich-editor > .editor-empty-block:only-child > br{display:none}

/* Rich task previews: preserve editor formatting (bold/italic/underline/colors) without letting previews grow the cards. */
.task-description-preview,.project-task-description-preview{color:#b7a9bb;font-size:12px;line-height:1.55;min-height:38px;max-height:58px;overflow:hidden;position:relative;display:block;}
.task-description-preview > *,.project-task-description-preview > *{margin:0!important;}
.task-description-preview h1,.task-description-preview h2,.task-description-preview h3,.project-task-description-preview h1,.project-task-description-preview h2,.project-task-description-preview h3{font-size:12px!important;line-height:1.55!important;font-weight:700;color:inherit;margin:0!important;}
.task-description-preview ul,.task-description-preview ol,.project-task-description-preview ul,.project-task-description-preview ol{padding-left:18px!important;margin:0!important;}
.task-description-preview img,.project-task-description-preview img{display:none!important;}
.task-description-preview a,.project-task-description-preview a{color:inherit;text-decoration:underline;}
.task-description-empty{color:#6f6671;}

.task-description-preview strong,.task-description-preview b,.project-task-description-preview strong,.project-task-description-preview b{font-weight:800}.task-description-preview em,.task-description-preview i,.project-task-description-preview em,.project-task-description-preview i{font-style:italic}.task-description-preview u,.project-task-description-preview u{text-decoration:underline}.task-description-preview s,.task-description-preview s{text-decoration:line-through}.task-description-preview h1{font-size:12px!important;line-height:1.55!important;margin:0!important}

/* Project join requests */
.join-requests-panel{padding:20px;margin-bottom:18px}
.project-join-requests{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.project-join-request{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid rgba(255,130,195,.07)}
.project-join-request:last-child{border-bottom:0}
.project-join-request .comment-avatar{flex:none}
.project-join-request-main{flex:1;min-width:0}
.project-join-request-main b{display:block;font-size:11px}
.project-join-request-main small{display:block;margin-top:3px;color:#776676;font-size:8px}
.project-join-request-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.project-join-request-actions form{margin:0}
.join-accept,.join-reject{min-height:34px;padding:0 11px;border-radius:9px;cursor:pointer;font-size:9px}
.join-accept{border:1px solid rgba(117,223,189,.24);background:rgba(117,223,189,.08);color:#86e6c4}
.join-reject{border:1px solid rgba(255,112,141,.18);background:rgba(255,112,141,.06);color:#ff9aae}
.join-requests-empty{margin-top:13px;padding:12px;border-radius:11px;background:rgba(255,255,255,.025);color:#766676;font-size:9px}
.join-request-status{margin:18px auto 0;max-width:480px;padding:13px 15px;border:1px solid rgba(255,132,196,.12);border-radius:13px;background:rgba(255,255,255,.025)}
.join-request-status b{display:block;font-size:11px;color:#e6d5e1}
.join-request-status span{display:block;margin-top:5px;color:#877687;font-size:9px;line-height:1.5}
@media(max-width:760px){.project-join-request{align-items:flex-start;flex-wrap:wrap}.project-join-request-main{min-width:calc(100% - 55px)}.project-join-request-actions{width:100%;justify-content:flex-start;padding-left:45px}.project-join-request-actions form{flex:1}.project-join-request-actions button{width:100%;min-height:40px}}
.auth-forgot{display:flex;justify-content:flex-end;margin-top:8px}.auth-forgot a{color:#ff82ba;text-decoration:none;font-size:12px}.auth-forgot a:hover{text-decoration:underline}
.account-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.account-setting-section{padding:22px}.account-email-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border:1px solid rgba(255,150,210,.12);border-radius:13px;background:rgba(255,255,255,.025)}.account-email-row b,.account-email-row small{display:block}.account-email-row small{margin-top:5px;color:#a996a7}.settings-form{display:grid;gap:13px;margin-top:17px}.settings-form label{display:grid;gap:7px;color:#d9c5d7;font-size:12px}.settings-form input[type=email],.settings-form input[type=password]{width:100%;padding:13px;border:1px solid rgba(255,150,210,.14);border-radius:11px;background:#0c0912;color:#fff;outline:none}.settings-form input:focus{border-color:#ef4f9a;box-shadow:0 0 0 3px rgba(239,79,154,.08)}.settings-check{display:flex!important;align-items:center;gap:9px;font-size:13px!important}.settings-check input{accent-color:#ef4f9a}.settings-form .new-task{min-height:46px;padding:0 18px}.profile-notice a{color:#ff82ba}.settings-card-premium{max-width:1100px;margin:0 auto}.settings-notice{margin-top:14px}.settings-hero{display:flex;align-items:center;gap:15px}.settings-hero-orb{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:rgba(239,79,154,.12);font-size:25px;color:#ff82ba}.settings-main{max-width:1500px}.settings-close{position:absolute;right:22px;top:18px;color:#a996a7;text-decoration:none;font-size:28px}.settings-card{position:relative}.settings-saved{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin-top:18px;border:1px solid rgba(169,239,210,.2);border-radius:13px;background:rgba(169,239,210,.05)}.settings-saved>span{color:#a9efd2;font-size:18px}.settings-saved b,.settings-saved small{display:block}.settings-saved small{margin-top:3px;color:#bcaabc}.form-hint{color:#8f7f8e;font-size:11px}@media(max-width:850px){.account-settings-grid{grid-template-columns:1fr}.account-email-row{align-items:flex-start;flex-direction:column}}

/* Profile hero actions — premium compact controls */
.profile-action-row-modern{display:flex;flex-direction:column;gap:9px;width:260px}
.profile-action-row-modern .profile-logout-form{margin:0}
.profile-action{position:relative;display:flex;align-items:center;gap:11px;width:100%;min-height:58px;padding:8px 11px;box-sizing:border-box;border:1px solid rgba(255,150,210,.12);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#ead8e6;text-decoration:none;cursor:pointer;text-align:left;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.profile-action:hover{transform:translateY(-2px);border-color:rgba(239,79,154,.35);background:linear-gradient(145deg,rgba(239,79,154,.12),rgba(255,255,255,.025));box-shadow:0 12px 28px rgba(0,0,0,.22)}
.profile-action-primary{border-color:rgba(239,79,154,.3);background:linear-gradient(135deg,rgba(239,79,154,.18),rgba(112,64,154,.11))}
.profile-action-logout{font:inherit;color:#d6c1d0;border-color:rgba(255,112,141,.12);background:rgba(255,255,255,.018)}
.profile-action-logout:hover{border-color:rgba(255,112,141,.3);background:rgba(255,80,130,.07);color:#ffb1c2}
.profile-action-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07)}
.profile-action-primary .profile-action-icon{background:rgba(239,79,154,.16);border-color:rgba(239,79,154,.2)}
.profile-action-logout .profile-action-icon{background:rgba(255,112,141,.07)}
.profile-action-icon svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-action>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}
.profile-action b{font-size:11px;font-weight:800;color:#f4e2ee}
.profile-action small{font-size:8px;color:#857587;white-space:nowrap}
.profile-action i{font-style:normal;color:#756476;font-size:14px;transition:transform .18s ease,color .18s ease}
.profile-action:hover i{transform:translateX(2px);color:#ff8fc3}
@media(max-width:760px){.profile-action-row-modern{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.profile-action-row-modern .profile-logout-form{grid-column:1/-1}.profile-action-row-modern .profile-action{min-height:54px}.profile-action-row-modern .profile-action small{font-size:7px}}
@media(max-width:420px){.profile-action-row-modern{grid-template-columns:1fr}.profile-action-row-modern .profile-logout-form{grid-column:auto}}
/* v48 — profile actions in one symmetric row */
.profile-action-row-modern{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:540px;
  align-items:stretch;
}
.profile-action-row-modern .profile-logout-form{margin:0;display:flex;min-width:0}
.profile-action-row-modern .profile-action{min-width:0;min-height:62px;height:100%;}
.profile-action-row-modern .profile-action-logout{width:100%;}
@media(max-width:1050px){
  .profile-action-row-modern{width:100%;max-width:540px;}
}
@media(max-width:760px){
  .profile-action-row-modern{width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .profile-action-row-modern .profile-action{min-height:58px;padding:7px 8px;gap:7px}
  .profile-action-row-modern .profile-action small{font-size:7px}
  .profile-action-row-modern .profile-action-icon{width:32px;height:32px;flex-basis:32px}
  .profile-action-row-modern .profile-action i{display:none}
}
@media(max-width:520px){
  .profile-action-row-modern{grid-template-columns:1fr}
  .profile-action-row-modern .profile-action{min-height:54px}
}
/* v49 — center profile action buttons vertically in the hero */
.profile-actions{align-self:center}
@media(max-width:760px){.profile-actions{align-self:stretch}}

/* Task sorting */
.section-head .task-sort,.community-panel-head .task-sort{margin-left:auto}
.task-sort label{display:flex;align-items:center;gap:8px;color:var(--muted,#9da0b5);font-size:12px;font-weight:700;white-space:nowrap}
.task-sort select{appearance:none;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);color:#f7f7fb;border-radius:12px;padding:10px 34px 10px 12px;font:inherit;outline:none;cursor:pointer;min-width:210px}
.task-sort select:focus{border-color:rgba(255,120,183,.45);box-shadow:0 0 0 3px rgba(255,120,183,.08)}
.task-sort option{background:#181522;color:#fff}
.project-task-tools{display:flex;align-items:center;gap:12px;margin-left:auto}
.status-deferred{background:rgba(155,125,255,.12)!important;color:#c7a9ff!important;border-color:rgba(155,125,255,.25)!important}
@media(max-width:760px){.section-head .task-sort,.community-panel-head .task-sort{margin:10px 0 0;width:100%}.section-head .task-sort label,.community-panel-head .task-sort label{width:100%}.task-sort select{width:100%;min-width:0}.project-task-tools{width:100%;margin-top:10px;justify-content:space-between}.community-panel-head{flex-wrap:wrap}}

/* v51 — polished task sorting controls */
.task-sort{display:flex;align-items:center;flex:none}
.task-sort label{position:relative;display:flex;align-items:center;gap:9px;padding:5px 6px 5px 9px;border:1px solid rgba(255,132,196,.13);border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 24px rgba(0,0,0,.12);color:#a89daa;font-size:10px;font-weight:700;letter-spacing:.02em}
.task-sort-icon{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:rgba(239,79,154,.11);border:1px solid rgba(255,120,183,.16);color:#ff8abd;font-size:14px;line-height:1;box-shadow:0 0 16px rgba(239,79,154,.08)}
.task-sort-caption{white-space:nowrap}
.task-sort select{appearance:none;-webkit-appearance:none;border:1px solid rgba(255,150,210,.12);background:rgba(10,8,15,.72);color:#f7f2f8;border-radius:10px;padding:9px 34px 9px 12px;font-size:11px;font-weight:650;min-width:215px;cursor:pointer;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);background-image:linear-gradient(45deg,transparent 50%,#ff8abd 50%),linear-gradient(135deg,#ff8abd 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;transition:border-color .2s,box-shadow .2s,background-color .2s}
.task-sort select:hover{border-color:rgba(255,120,183,.32);background-color:rgba(19,13,25,.9)}
.task-sort select:focus{border-color:rgba(255,120,183,.5);box-shadow:0 0 0 3px rgba(255,79,154,.08),0 8px 24px rgba(0,0,0,.12)}
.task-sort option{background:#18131f;color:#fff}
@media(max-width:760px){.task-sort{width:100%}.task-sort label{width:100%;padding:6px}.task-sort select{flex:1;min-width:0}.task-sort-caption{font-size:10px}}


/* v52 — project task statistics */
.project-task-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 18px}
.project-stat-card{position:relative;display:flex;align-items:center;gap:10px;min-height:72px;padding:12px 13px;border:1px solid rgba(255,132,196,.13);border-radius:15px;background:linear-gradient(145deg,rgba(29,17,37,.94),rgba(11,8,17,.98));box-shadow:0 10px 28px rgba(0,0,0,.14);overflow:hidden}
.project-stat-card:after{content:'';position:absolute;right:-30px;top:-35px;width:85px;height:85px;border-radius:50%;background:radial-gradient(circle,rgba(239,79,154,.14),transparent 68%);pointer-events:none}
.project-stat-icon{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:11px;background:rgba(239,79,154,.10);border:1px solid rgba(255,132,196,.14);color:#ff91c4;font-size:14px;font-weight:800}
.project-stat-card small{display:block;color:#8f7d8e;font-size:9px;line-height:1.2}.project-stat-card strong{display:block;margin-top:4px;color:#f7edf5;font-size:20px;line-height:1}
.project-stat-card.progress .project-stat-icon{color:#ffb078;background:rgba(255,157,92,.10)}
.project-stat-card.planned .project-stat-icon{color:#bda7ff;background:rgba(151,120,255,.10)}
.project-stat-card.done .project-stat-icon{color:#8fe0bb;background:rgba(92,211,163,.09)}
.project-stat-card.deferred .project-stat-icon{color:#d7a9ff;background:rgba(168,91,214,.10)}
.project-stat-card.overdue .project-stat-icon{color:#ff879f;background:rgba(255,85,125,.10)}
.task-project-label{margin-top:6px;color:#a98da5;font-size:9px;font-weight:650}
.top-search>span{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0;color:#ff77b5;font-size:22px;line-height:1;transform:translateY(0)}
@media(max-width:1050px){.project-task-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.project-task-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-stat-card{min-height:66px;padding:10px}.project-stat-icon{width:31px;height:31px}.project-stat-card strong{font-size:18px}}

/* v53 polish: search icon centered and primary create-task action enlarged */
.top-search>span{transform:translateY(-2px);line-height:28px} 
.stats .new-task{min-height:116px;min-width:220px;padding:0 28px;font-size:15px;gap:10px} 
.stats .new-task b{font-size:26px}
@media(max-width:1200px){.stats .new-task{min-width:0;padding:0 18px}}
@media(max-width:700px){.stats .new-task{min-height:72px;width:100%;font-size:14px}}

/* v54 — stronger task status distinction + larger primary task actions */
.status-in_progress{
  background:linear-gradient(135deg,#ffd0a2,#f3a66f)!important;
  color:#3b2417!important;
  border:1px solid rgba(255,169,106,.55)!important;
  box-shadow:0 0 14px rgba(255,154,112,.12);
}
.status-in_progress:before{content:'●';margin-right:5px;font-size:8px;line-height:1}
.status-deferred{
  background:linear-gradient(135deg,#b58cf0,#7e5bc4)!important;
  color:#fff!important;
  border:1px solid rgba(196,158,255,.58)!important;
  box-shadow:0 0 16px rgba(139,85,184,.22);
}
.project-task-status.status-deferred{
  background:linear-gradient(180deg,#b58cf0,#7e5bc4)!important;
  box-shadow:0 0 14px rgba(139,85,184,.26);
}

/* Make every prominent "New task" action visibly larger */
.stats .new-task{
  min-height:132px!important;
  min-width:260px!important;
  padding:0 34px!important;
  font-size:17px!important;
  border-radius:15px!important;
  box-shadow:0 16px 38px rgba(232,74,147,.24)!important;
}
.project-new-button,
.project-detail-head > .new-task{
  min-height:60px!important;
  min-width:205px!important;
  padding:0 30px!important;
  font-size:16px!important;
  border-radius:14px!important;
}
.project-empty .new-task{
  min-height:50px!important;
  min-width:190px!important;
  padding:0 26px!important;
  font-size:15px!important;
}
@media(max-width:1200px){
  .stats .new-task{min-width:0!important;padding:0 22px!important;min-height:112px!important}
}
@media(max-width:700px){
  .stats .new-task{min-height:82px!important;width:100%!important;font-size:15px!important}
  .project-new-button,.project-detail-head > .new-task{width:100%;min-width:0!important;min-height:56px!important}
  .project-empty .new-task{width:100%;min-width:0!important}
}

/* v55 — return status badges to the original compact style, keep current palette */
.status-in_progress,
.status-deferred{
  border:0!important;
  border-radius:7px!important;
  padding:5px 8px!important;
  font-size:9px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
.status-in_progress{
  background:rgba(255,154,112,.10)!important;
  color:#ffad85!important;
}
.status-deferred{
  background:rgba(168,91,214,.12)!important;
  color:#d3a8f2!important;
}
.status-in_progress:before,
.status-deferred:before{content:none!important;display:none!important}
.project-task-status.status-in_progress{
  background:rgba(255,154,112,.85)!important;
  box-shadow:0 0 12px rgba(255,154,112,.16)!important;
}
.project-task-status.status-deferred{
  background:rgba(168,91,214,.85)!important;
  box-shadow:0 0 12px rgba(168,91,214,.18)!important;
}
.top-search>span{
  transform:translateY(-4px)!important;
}


/* v57 — restore original project markers and unify status pill styling */
.project-task-status{
  width:8px!important;
  height:52px!important;
  border-radius:8px!important;
}
.status-in_progress,
.status-deferred{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:24px!important;
  height:24px!important;
  padding:5px 8px!important;
  border-radius:7px!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:700!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
}
.status-in_progress{
  background:rgba(255,154,112,.10)!important;
  color:#ffad85!important;
  border-color:rgba(255,154,112,.20)!important;
}
.status-deferred{
  background:rgba(168,91,214,.12)!important;
  color:#d3a8f2!important;
  border-color:rgba(168,91,214,.22)!important;
}
.status-in_progress:before,
.status-deferred:before{
  content:none!important;
  display:none!important;
}

/* v58 — status pills match the original planned-pill dimensions */
.badges .status-in_progress,
.badges .status-deferred,
.project-task-meta .status-in_progress,
.project-task-meta .status-deferred{
  min-height:19px!important;
  height:19px!important;
  padding:5px 8px!important;
  line-height:1!important;
  border-radius:7px!important;
  font-size:9px!important;
  font-weight:700!important;
}

/* v60 — exact same left status marker geometry in project task list */
.project-task-status.status-planned,
.project-task-status.status-in_progress,
.project-task-status.status-completed,
.project-task-status.status-deferred{
  box-sizing:border-box!important;
  width:8px!important;
  min-width:8px!important;
  max-width:8px!important;
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  flex:0 0 8px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
}
.project-task-status.status-planned{background:#ef4f9a!important;box-shadow:0 0 12px rgba(239,79,154,.25)!important}
.project-task-status.status-in_progress{background:#ff9a70!important;box-shadow:0 0 12px rgba(255,154,112,.22)!important}
.project-task-status.status-completed{background:#7dd7b4!important;box-shadow:0 0 12px rgba(125,215,180,.2)!important}
.project-task-status.status-deferred{background:#a85bd6!important;box-shadow:0 0 12px rgba(168,91,214,.22)!important}

/* v61 — unified outline UI icons */
.ui-icon{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.12em;color:currentColor;overflow:visible}
.nav-icon .ui-icon{width:22px;height:22px;vertical-align:middle}
.telegram-link-icon .ui-icon{width:20px;height:20px}
.stat-symbol .ui-icon{width:24px;height:24px}
.project-stat-icon .ui-icon{width:18px;height:18px}
.top-search>span .ui-icon{width:19px;height:19px}
.settings-hero-orb .ui-icon,.bio-editor-icon .ui-icon,.new-message-orb .ui-icon,.loading-orb .ui-icon,.welcome-orb .ui-icon{width:22px;height:22px}
.category-icon .ui-icon{width:24px;height:24px}
.soft-action .ui-icon,.small-action .ui-icon{width:15px;height:15px}
.new-task .ui-icon{width:18px;height:18px}
.privacy-option-icon .ui-icon{width:22px;height:22px}
.settings-saved>span .ui-icon,.settings-notice>span .ui-icon{width:17px;height:17px}
.composer-tool .ui-icon{width:18px;height:18px}
.project-card-meta .ui-icon{width:14px;height:14px}

.stat-symbol,.project-stat-icon,.category-icon,.settings-hero-orb,.bio-editor-icon,.new-message-orb,.loading-orb,.welcome-orb,.privacy-option-icon,.telegram-link-icon,.nav-icon{line-height:0}
/* v61 continued — no typographic symbols as UI decoration */
.bio-editor-label:before{content:none!important;display:none!important}
.activity-icon .ui-icon,.empty-orb .ui-icon,.project-mark .ui-icon,.project-card-meta .ui-icon,.message-head-icon .ui-icon,.notification-full-icon .ui-icon{width:18px;height:18px}
.project-mark .ui-icon{width:18px;height:18px}
.ui-icon{stroke:currentColor}
.toast-icon .ui-icon,.message-empty-orb .ui-icon,.direct-modal-icon .ui-icon,.chat-empty .ui-icon,.bubble-pin .ui-icon,.pin-strip-head .ui-icon,.delete-warning .ui-icon{width:17px;height:17px;vertical-align:-.18em}
/* v61.1 — consistent outline treatment for interface symbols */
.bio-editor-label:before{content:none!important}
.achievement-icon .ui-icon{width:22px;height:22px}
.auth-pills .ui-icon{width:15px;height:15px;margin-right:5px;vertical-align:-.16em}
.project-info-note .ui-icon{width:20px;height:20px}
.notification-full-icon .ui-icon{color:#ff88bf}


/* EXILION v62 — dashboard welcome action and definitive outline icon rendering */
.hero-content{
  min-height:185px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:31px 240px 31px 34px;
}
.hero-new-task{
  position:absolute;
  top:50%;
  right:24px;
  transform:translateY(-50%);
  z-index:3;
  width:156px;
  min-height:46px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,166,214,.24);
  border-radius:12px;
  background:linear-gradient(135deg,#ef4f9a,#d73581);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:750;
  line-height:1;
  box-shadow:0 12px 28px rgba(239,79,154,.22);
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
.hero-new-task:hover{
  transform:translateY(calc(-50% - 2px));
  box-shadow:0 16px 34px rgba(239,79,154,.30);
  border-color:rgba(255,194,226,.4);
}
.hero-new-task .ui-icon{width:17px;height:17px}
.top-search>span{transform:translateY(-6px)!important}
.ui-icon{fill:none!important;stroke:currentColor}

@media(max-width:760px){
  .hero-content{
    min-height:220px;
    justify-content:flex-start;
    padding:25px 25px 82px;
  }
  .hero-new-task{
    top:auto;
    right:18px;
    bottom:18px;
    transform:none;
    width:148px;
    min-height:44px;
    font-size:12px;
  }
  .hero-new-task:hover{transform:translateY(-2px)}
}


/* v63 — profile avatar frame system */
.avatar-frame{position:relative!important;box-sizing:border-box!important;overflow:hidden!important;--frame-main:rgba(255,255,255,.12);--frame-soft:rgba(255,255,255,.04);border:2px solid var(--frame-main)!important;box-shadow:0 0 0 1px rgba(255,255,255,.035),0 10px 28px rgba(0,0,0,.18)!important}
.avatar-frame::after{content:"";position:absolute;inset:3px;border-radius:inherit;border:1px solid var(--frame-soft);box-shadow:inset 0 0 14px var(--frame-soft);pointer-events:none;z-index:3}
.avatar-frame-none{border-color:rgba(255,255,255,.09)!important;box-shadow:0 0 0 1px rgba(255,255,255,.025)!important}
.avatar-frame-none::after{display:none}
.avatar-frame-neon{--frame-main:rgba(255,86,170,.92);--frame-soft:rgba(255,112,191,.42);box-shadow:0 0 0 1px rgba(239,79,154,.24),0 0 18px rgba(239,79,154,.22),0 10px 30px rgba(0,0,0,.2)!important}
.avatar-frame-neon::after{border-color:rgba(255,188,225,.62);box-shadow:inset 0 0 14px rgba(255,84,177,.25),0 0 10px rgba(255,84,177,.24)}
.avatar-frame-aurora{--frame-main:rgba(180,121,255,.9);--frame-soft:rgba(118,91,242,.35);box-shadow:0 0 0 1px rgba(174,101,255,.18),0 0 19px rgba(129,86,225,.2),0 10px 30px rgba(0,0,0,.2)!important}
.avatar-frame-aurora::after{border-color:rgba(225,204,255,.5);box-shadow:inset 0 0 15px rgba(138,92,244,.28),0 0 10px rgba(181,126,255,.2)}
.avatar-frame-orbit{--frame-main:rgba(255,159,211,.9);--frame-soft:rgba(140,104,218,.34);box-shadow:0 0 0 1px rgba(255,150,210,.18),0 0 17px rgba(198,104,223,.18),0 10px 30px rgba(0,0,0,.2)!important}
.avatar-frame-orbit::after{border-style:dashed;border-color:rgba(255,224,242,.44);box-shadow:none}
.avatar-frame-rose{--frame-main:rgba(255,105,145,.9);--frame-soft:rgba(255,131,166,.3);box-shadow:0 0 0 1px rgba(255,105,145,.16),0 0 17px rgba(255,105,145,.15),0 10px 30px rgba(0,0,0,.2)!important}
.avatar-frame-rose::after{border-color:rgba(255,211,221,.46);box-shadow:inset 0 0 11px rgba(255,111,153,.18)}
.avatar-frame-chrome{--frame-main:rgba(222,219,234,.76);--frame-soft:rgba(255,255,255,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 0 0 1px rgba(220,216,232,.12),0 10px 28px rgba(0,0,0,.25)!important}
.avatar-frame-chrome::after{border-color:rgba(255,255,255,.38);box-shadow:inset 0 0 9px rgba(255,255,255,.08)}
.avatar-frame-void{--frame-main:rgba(123,102,178,.96);--frame-soft:rgba(153,121,224,.3);box-shadow:0 0 0 1px rgba(132,103,204,.15),0 0 18px rgba(111,80,174,.18),0 10px 30px rgba(0,0,0,.2)!important}
.avatar-frame-void::after{border-color:rgba(211,195,249,.36);box-shadow:inset 0 0 14px rgba(113,79,183,.22)}
.avatar-frame img{position:relative;z-index:1}
.avatar-frame-picker{margin:25px 0 4px;padding:20px;border:1px solid rgba(255,140,201,.12);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.028),rgba(255,255,255,.012))}
.avatar-frame-picker-head{margin-bottom:14px}.avatar-frame-picker-head h2{margin:5px 0 0;font-size:17px}.avatar-frame-picker-head p{margin-top:6px;color:#8f7f90;font-size:9px;line-height:1.55;max-width:640px}
.avatar-frame-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.avatar-frame-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;padding:13px 9px 11px;border:1px solid rgba(255,150,210,.09);border-radius:14px;background:rgba(255,255,255,.016);cursor:pointer;transition:.18s ease;min-width:0}
.avatar-frame-choice:hover{transform:translateY(-2px);border-color:rgba(255,150,210,.22);background:rgba(239,79,154,.035)}
.avatar-frame-choice.selected{border-color:rgba(239,79,154,.42);background:linear-gradient(145deg,rgba(239,79,154,.09),rgba(112,64,154,.07));box-shadow:0 10px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04)}
.avatar-frame-choice input{position:absolute;opacity:0;pointer-events:none}
.avatar-frame-choice-preview{width:66px;height:66px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#ef4f9a,#70409a);color:#fff;font-size:22px;font-weight:850;overflow:hidden}
.avatar-frame-choice-preview img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-frame-choice-preview>span{position:relative;z-index:1}
.avatar-frame-choice-name{font-size:9px;color:#cbb7ca;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.avatar-frame-choice.selected .avatar-frame-choice-name{color:#ff9bc8}
.editor-avatar-preview.avatar-frame{overflow:hidden}
@media(max-width:800px){.avatar-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.avatar-frame-picker{padding:14px}.avatar-frame-choice-preview{width:58px;height:58px}.avatar-frame-grid{gap:8px}}


/* v66 — polished project task actions */
.project-task-actions{
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  gap:10px;
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid rgba(255,130,195,.08);
}
.project-task-actions .inline-delete{
  display:flex;
  margin:0;
  padding:0;
}
.task-action{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:138px;
  min-height:44px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid rgba(255,150,210,.14);
  background:rgba(255,255,255,.025);
  color:#eadfea;
  text-decoration:none;
  font:inherit;
  font-size:12px;
  font-weight:750;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 22px rgba(0,0,0,.14);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease;
}
.task-action .ui-icon{width:17px;height:17px;opacity:.95}
.task-action-edit{
  border-color:rgba(255,132,196,.20);
  background:linear-gradient(135deg,rgba(239,79,154,.12),rgba(239,79,154,.035));
  color:#ff9dcb;
}
.task-action-edit:hover{
  transform:translateY(-2px);
  border-color:rgba(255,132,196,.42);
  background:linear-gradient(135deg,rgba(239,79,154,.22),rgba(239,79,154,.06));
  box-shadow:0 12px 28px rgba(239,79,154,.12);
}
.task-action-delete{
  border-color:rgba(255,105,145,.18);
  background:linear-gradient(135deg,rgba(255,82,122,.07),rgba(255,82,122,.018));
  color:#ff9aae;
}
.task-action-delete:hover{
  transform:translateY(-2px);
  border-color:rgba(255,105,145,.38);
  background:linear-gradient(135deg,rgba(255,82,122,.14),rgba(255,82,122,.04));
  box-shadow:0 12px 28px rgba(255,82,122,.10);
}
.task-action-back{
  min-width:150px;
  border-color:rgba(255,132,196,.20);
  background:linear-gradient(135deg,#ef4f9a,#d73581);
  color:#fff;
  box-shadow:0 12px 28px rgba(239,79,154,.20);
}
.task-action-back:hover{
  transform:translateY(-2px);
  border-color:rgba(255,165,215,.40);
  box-shadow:0 16px 34px rgba(239,79,154,.28);
}
.task-action:focus-visible{
  outline:none;
  border-color:#ff8fc4;
  box-shadow:0 0 0 3px rgba(239,79,154,.10),0 10px 26px rgba(0,0,0,.16);
}
@media(max-width:700px){
  .project-task-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .project-task-actions .task-action-back{
    grid-column:1 / -1;
    min-width:0;
  }
  .project-task-actions .task-action,
  .project-task-actions .inline-delete{
    width:100%;
  }
}
@media(max-width:430px){
  .project-task-actions{grid-template-columns:1fr;}
  .project-task-actions .task-action-back{grid-column:auto;}
}

/* v67 — community category & sorting controls */
.community-filter-panel{
  position:relative;
  overflow:visible;
  padding:16px;
  background:linear-gradient(145deg,rgba(24,16,29,.96),rgba(10,8,15,.98));
  border-color:rgba(255,150,210,.13);
}
.community-filter-form{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(190px,220px) minmax(190px,220px) auto auto;
  gap:10px;
  align-items:stretch;
}
.community-search{
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 15px;
  border:1px solid rgba(255,130,195,.15);
  border-radius:14px;
  background:rgba(255,255,255,.024);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.community-search:focus-within{
  border-color:rgba(239,79,154,.45);
  background:rgba(239,79,154,.028);
  box-shadow:0 0 0 3px rgba(239,79,154,.07),0 10px 26px rgba(0,0,0,.12);
}
.community-search>span{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  color:#ff8fc5;
  flex:none;
}
.community-search .ui-icon{width:18px;height:18px}
.community-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;color:#f8f3f7;outline:0;font-size:13px}
.community-search input::placeholder{color:#756a78}
.community-control{
  position:relative;
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid rgba(255,130,195,.15);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.026),rgba(255,255,255,.012));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;
}
.community-control:hover{border-color:rgba(255,150,210,.27);background:linear-gradient(145deg,rgba(239,79,154,.035),rgba(255,255,255,.014));}
.community-control:focus-within{border-color:rgba(239,79,154,.44);box-shadow:0 0 0 3px rgba(239,79,154,.07),0 10px 26px rgba(0,0,0,.14)}
.community-control-icon{
  width:22px;height:22px;display:grid;place-items:center;flex:none;color:#e88bbb;
}
.community-control-icon .ui-icon{width:17px;height:17px}
.community-control-label{
  position:absolute;
  left:14px;
  top:7px;
  color:#756978;
  font-size:8px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:1px;
  pointer-events:none;
}
.community-control select{
  width:100%;
  min-width:0;
  min-height:50px;
  padding:13px 28px 4px 0;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#ece5ed;
  font:inherit;
  font-size:12px;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.community-control::after{
  content:"";
  position:absolute;
  right:13px;
  top:50%;
  width:7px;
  height:7px;
  border-right:1px solid #b990ad;
  border-bottom:1px solid #b990ad;
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}
.community-filter-submit,.community-filter-reset{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 15px!important;
  border-radius:13px!important;
  white-space:nowrap;
}
.community-filter-submit{
  min-width:82px;
  border-color:rgba(255,150,210,.20)!important;
  background:linear-gradient(135deg,rgba(239,79,154,.18),rgba(136,72,172,.12))!important;
  color:#ffadd2!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.035);
}
.community-filter-submit:hover{border-color:rgba(239,79,154,.48)!important;background:linear-gradient(135deg,rgba(239,79,154,.25),rgba(136,72,172,.17))!important;color:#fff!important}
.community-filter-reset{min-width:86px}
@media(max-width:1050px){
  .community-filter-form{grid-template-columns:1fr 1fr;}
  .community-search{grid-column:1/-1}
  .community-filter-submit,.community-filter-reset{width:100%}
}
@media(max-width:700px){
  .community-filter-form{grid-template-columns:1fr}
  .community-search,.community-control,.community-filter-submit,.community-filter-reset{grid-column:auto;width:100%}
  .community-filter-panel{padding:13px}
}

/* Exilion custom dropdowns for community filters — replaces native white/black menus. */
.community-select{overflow:visible!important;z-index:5}
.community-select.is-open{z-index:40;border-color:rgba(239,79,154,.46);box-shadow:0 0 0 3px rgba(239,79,154,.07),0 16px 34px rgba(0,0,0,.22)}
.community-select-trigger{position:relative;width:100%;min-width:0;min-height:50px;padding:13px 30px 4px 0;border:0;background:transparent;color:#ece5ed;font:inherit;font-size:12px;text-align:left;cursor:pointer;outline:none;display:flex;align-items:flex-end}
.community-select-trigger:focus-visible{border-radius:8px;box-shadow:0 0 0 2px rgba(239,79,154,.18)}
.community-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-select-chevron{position:absolute;right:1px;bottom:12px;width:8px;height:8px;border-right:1px solid #c694b4;border-bottom:1px solid #c694b4;transform:rotate(45deg);transition:transform .18s ease,border-color .18s ease}
.community-select.is-open .community-select-chevron{transform:rotate(225deg) translate(-1px,-1px);border-color:#ff86bd}
.community-select-menu{position:absolute;left:-1px;right:-1px;top:calc(100% + 7px);padding:7px;border:1px solid rgba(255,130,195,.22);border-radius:14px;background:linear-gradient(155deg,rgba(27,18,36,.985),rgba(12,9,18,.995));box-shadow:0 18px 44px rgba(0,0,0,.45),0 0 30px rgba(239,79,154,.08);opacity:0;visibility:hidden;transform:translateY(-5px) scale(.985);transform-origin:top center;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:80;max-height:270px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(239,79,154,.35) transparent}
.community-select.is-open .community-select-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.community-select-option{position:relative;display:flex;align-items:center;width:100%;min-height:40px;padding:0 30px 0 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#cdbdcb;font:inherit;font-size:12px;text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}
.community-select-option:hover,.community-select-option:focus-visible{outline:none;background:linear-gradient(90deg,rgba(239,79,154,.12),rgba(136,72,172,.08));color:#fff;border-color:rgba(239,79,154,.18)}
.community-select-option.is-selected{background:rgba(239,79,154,.11);color:#ffaad2;border-color:rgba(239,79,154,.18)}
.community-select-option.is-selected::after{content:'✓';position:absolute;right:11px;color:#ff78b7;font-size:11px}
.community-select-menu::-webkit-scrollbar{width:6px}
.community-select-menu::-webkit-scrollbar-track{background:transparent}
.community-select-menu::-webkit-scrollbar-thumb{background:rgba(239,79,154,.28);border-radius:999px}
@media(max-width:1050px){.community-select-menu{max-height:240px}}
@media(max-width:700px){.community-select-menu{left:0;right:0;max-height:260px}.community-select-trigger{min-height:50px}}

/* v69 — community text alignment + project sorting matches community controls */
.community-select-trigger{align-items:center!important;padding-top:9px!important;padding-bottom:0!important}
.community-select-value{line-height:1.2!important}
.project-task-sort{display:flex!important;align-items:center!important}
.project-sort-select{min-width:215px!important;min-height:52px!important}
.project-sort-select .community-select-trigger{min-height:50px!important}
.project-sort-select .community-select-menu{min-width:100%!important}
@media(max-width:760px){.project-task-sort{width:100%!important}.project-sort-select{width:100%!important;min-width:0!important}.project-sort-select .community-select-menu{min-width:0!important}}

/* v70 — community rows: align content with avatar and keep framed avatars safely inside cards */
.topic-row-avatar{
  align-items:center!important;
  overflow:hidden!important;
  padding:16px 10px!important;
  border-radius:12px!important;
}
.topic-row-avatar .topic-row-main{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-self:stretch!important;
  min-height:42px;
}
.topic-row-avatar .topic-title,
.topic-row-avatar .topic-row-main>p,
.topic-row-avatar .topic-row-main>small{
  position:relative;
}
.topic-row-avatar .topic-title{line-height:1.25!important}
.topic-row-avatar .topic-row-main>p{line-height:1.45!important;margin:6px 0!important}
.topic-row-avatar .topic-author-avatar{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
  margin:0!important;
}
.topic-row-avatar .topic-author-avatar.avatar-frame{
  box-shadow:0 0 0 1px rgba(255,255,255,.035),0 5px 14px rgba(0,0,0,.18)!important;
}
.topic-row-avatar .topic-arrow{align-self:center!important}

/* Keep the filter control value centered against its icon and vertically balanced. */
.community-control{align-items:center!important}
.community-control-icon{align-self:center!important}
.community-select-trigger{align-items:center!important;line-height:1.2!important;padding-top:10px!important;padding-bottom:0!important}
@media(max-width:700px){
  .topic-row-avatar{padding:14px 9px!important}
  .topic-row-avatar .topic-author-avatar{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important}
}

/* v71 — community filter controls: exact icon/text alignment + single chevron */
.community-select::after{display:none!important;content:none!important}
.community-control.community-select{position:relative}
.community-control.community-select .community-control-icon{
  position:relative;
  z-index:2;
  flex:0 0 22px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  align-self:center!important;
  margin-top:5px;
}
.community-control.community-select .community-control-icon .ui-icon{
  display:block;
  width:17px;
  height:17px;
}
.community-control.community-select .community-control-label{
  top:7px!important;
  left:14px!important;
  line-height:1!important;
}
.community-control.community-select .community-select-trigger{
  flex:1 1 auto;
  align-self:stretch;
  min-height:50px!important;
  height:50px!important;
  padding:10px 28px 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start;
  line-height:1!important;
  transform:translateY(3px);
}
.community-control.community-select .community-select-value{
  display:block;
  line-height:1.2!important;
  transform:translateY(0);
}
.community-control.community-select .community-select-chevron{
  right:13px!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-65%) rotate(45deg)!important;
}
.community-control.community-select.is-open .community-select-chevron{
  transform:translateY(-35%) rotate(225deg)!important;
}
@media(max-width:700px){
  .community-control.community-select .community-select-trigger{
    min-height:50px!important;
    height:50px!important;
  }
}


/* v72 — search icon, community activity avatars and discussion actions */
.top-search{align-items:center!important}
.top-search>span,
.top-search>span .ui-icon{position:relative!important;top:0!important;transform:translateY(0)!important}
.top-search>span{height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important}

/* Project: recent activity uses the same real avatar component as members/replies. */
.project-activity-list .project-activity-row{
  min-height:58px;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 2px!important;
}
.project-activity-row .activity-avatar{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  flex:0 0 40px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  text-decoration:none!important;
}
.project-activity-row .activity-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.project-activity-row .activity-avatar.avatar-photo.avatar-broken span{display:flex!important}
.project-activity-row .activity-row-content{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:4px!important}
.project-activity-row .activity-row-content>div{min-width:0!important;color:#cfc1ce;font-size:11px;line-height:1.45}
.project-activity-row .activity-row-content b{color:#f3dceb}
.project-activity-row .activity-row-content small{color:#756778;font-size:9px}
.project-activity-row .activity-type-icon{width:31px;height:31px;min-width:31px;display:grid;place-items:center;border-radius:10px;background:rgba(239,79,154,.08);border:1px solid rgba(255,132,196,.10);color:#ff86c0}
.project-activity-row .activity-type-icon .ui-icon{width:15px;height:15px}

/* Discussion actions — same compact Exilion control language everywhere. */
.community-topic-actions{display:flex;align-items:center;gap:8px;flex:none}
.community-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:38px!important;
  padding:0 13px!important;
  border:1px solid rgba(255,150,210,.14)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.028)!important;
  color:#d9c7d7!important;
  text-decoration:none!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  transition:background .18s,border-color .18s,transform .18s,box-shadow .18s,color .18s!important;
}
.community-action .ui-icon{width:15px!important;height:15px!important}
.community-action:hover{transform:translateY(-1px)!important;border-color:rgba(239,79,154,.34)!important;background:rgba(239,79,154,.075)!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,0,0,.14)!important}
.community-action-edit{color:#f0bfd9!important}
.community-action-delete{color:#ff9bad!important;border-color:rgba(255,105,145,.15)!important;background:rgba(255,80,125,.035)!important}
.community-action-delete:hover{border-color:rgba(255,105,145,.35)!important;background:rgba(255,80,125,.08)!important;color:#ffb2c0!important}
.reply-actions-modern{margin-left:auto;display:flex;align-items:center;gap:6px}
.community-action.compact{min-height:30px!important;padding:0 9px!important;border-radius:9px!important;font-size:9px!important;gap:5px!important}
.community-action.compact .ui-icon{width:13px!important;height:13px!important}
.community-reply-form{margin-top:18px!important}
.community-reply-submit{min-height:46px!important;padding:0 18px!important;font-size:11px!important;gap:8px!important}
.community-reply-submit .ui-icon{width:16px!important;height:16px!important}
.community-reply-form .task-form{}
@media(max-width:700px){
  .community-topic-actions{width:100%;margin-top:10px}
  .topic-head{flex-direction:column!important}
  .community-topic-actions .community-action{flex:1}
  .reply-actions-modern{width:100%;margin:8px 0 0!important;justify-content:flex-end}
  .reply-head{flex-wrap:wrap}
  .community-reply-submit{width:100%}
}

/* EXILION v74 — exact symmetric chat actions */
.chat-header-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:8px!important;
  width:min(100%,380px)!important;
  min-width:0!important;
}
.chat-header-actions .small-action,
.chat-header-actions .danger-action{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1!important;
  white-space:nowrap!important;
  border-radius:10px!important;
}
.chat-header-actions .small-action .ui-icon,
.chat-header-actions .danger-action .ui-icon{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
  display:block!important;
}
@media(max-width:760px){
  .chat-header-actions{
    width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
  }
  .chat-header-actions .small-action,
  .chat-header-actions .danger-action{
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 7px!important;
    font-size:8px!important;
  }
  .chat-header-actions .small-action .ui-icon,
  .chat-header-actions .danger-action .ui-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }
}


/* v76 — Exilion scrollbar + polished pagination */
html{scrollbar-width:thin;scrollbar-color:rgba(239,79,154,.65) rgba(15,10,21,.92)}
body{scrollbar-width:thin;scrollbar-color:rgba(239,79,154,.65) rgba(15,10,21,.92)}
*::-webkit-scrollbar{width:9px;height:9px}
*::-webkit-scrollbar-track{background:rgba(11,8,16,.78);border-radius:999px}
*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(255,125,190,.82),rgba(117,74,173,.82));border:2px solid rgba(11,8,16,.78);border-radius:999px;box-shadow:0 0 10px rgba(239,79,154,.16)}
*::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,rgba(255,150,205,.96),rgba(137,93,198,.96))}
*::-webkit-scrollbar-corner{background:rgba(11,8,16,.78)}
.community-select-menu{scrollbar-color:rgba(239,79,154,.55) transparent!important}
.community-select-menu::-webkit-scrollbar{width:8px}
.community-select-menu::-webkit-scrollbar-track{background:transparent}
.community-select-menu::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(255,125,190,.72),rgba(117,74,173,.72));border:2px solid transparent;background-clip:padding-box;border-radius:999px}
.pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin:22px 0 4px;flex-wrap:wrap}
.page-btn{min-width:38px;height:38px;padding:0 11px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,150,210,.12);border-radius:11px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#cdb9ca;text-decoration:none;font-size:11px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 18px rgba(0,0,0,.12);transition:transform .18s,border-color .18s,background .18s,color .18s,box-shadow .18s}
.page-btn:hover{transform:translateY(-2px);border-color:rgba(239,79,154,.34);background:linear-gradient(145deg,rgba(239,79,154,.12),rgba(112,64,154,.08));color:#fff;box-shadow:0 10px 24px rgba(239,79,154,.10)}
.page-btn.active{border-color:rgba(239,79,154,.42);background:linear-gradient(135deg,#ef4f9a,#7b4aa3);color:#fff;box-shadow:0 10px 26px rgba(239,79,154,.20)}
.page-arrow{font-size:15px}
.page-dots{min-width:24px;text-align:center;color:#7f7080;font-size:13px}
.project-pagination{margin-top:18px}
.project-list-pagination{margin:18px 0 2px}
@media(max-width:600px){.pagination{gap:5px;margin-top:18px}.page-btn{min-width:34px;height:34px;border-radius:10px;font-size:10px}.page-arrow{font-size:14px}}


/* v77 — Exilion image upload controls */
.profile-editor-form input[type="file"],
.task-form input[type="file"],
.auth-form input[type="file"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:block!important;
  width:100%!important;
  min-height:48px!important;
  padding:6px 8px!important;
  margin-top:9px!important;
  border:1px solid rgba(255,132,196,.16)!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 88% 50%,rgba(168,91,214,.10),transparent 30%),
    linear-gradient(145deg,rgba(31,19,38,.94),rgba(10,8,17,.98))!important;
  color:#a998a8!important;
  font:inherit!important;
  font-size:11px!important;
  line-height:34px!important;
  outline:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 24px rgba(0,0,0,.12)!important;
  transition:border-color .2s,box-shadow .2s,background .2s!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
.profile-editor-form input[type="file"]::file-selector-button,
.task-form input[type="file"]::file-selector-button,
.auth-form input[type="file"]::file-selector-button{
  appearance:none;
  -webkit-appearance:none;
  margin-right:12px;
  padding:9px 15px;
  min-height:34px;
  border:1px solid rgba(255,140,201,.27);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(239,79,154,.20),rgba(112,64,154,.23));
  color:#ffd8ec;
  font:inherit;
  font-size:11px;
  font-weight:750;
  line-height:1;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 5px 16px rgba(239,79,154,.08);
  transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;
}
.profile-editor-form input[type="file"]:hover,
.task-form input[type="file"]:hover,
.auth-form input[type="file"]:hover{
  border-color:rgba(255,132,196,.34)!important;
  background:
    radial-gradient(circle at 88% 50%,rgba(168,91,214,.13),transparent 32%),
    linear-gradient(145deg,rgba(40,22,45,.96),rgba(12,9,20,.99))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 10px 28px rgba(0,0,0,.16)!important;
}
.profile-editor-form input[type="file"]::file-selector-button:hover,
.task-form input[type="file"]::file-selector-button:hover,
.auth-form input[type="file"]::file-selector-button:hover{
  background:linear-gradient(135deg,rgba(239,79,154,.34),rgba(112,64,154,.34));
  border-color:rgba(255,140,201,.48);
  box-shadow:0 0 18px rgba(239,79,154,.13);
  transform:translateY(-1px);
}
.profile-editor-form input[type="file"]:focus,
.task-form input[type="file"]:focus,
.auth-form input[type="file"]:focus{
  border-color:rgba(239,79,154,.55)!important;
  box-shadow:0 0 0 3px rgba(239,79,154,.07),0 10px 28px rgba(0,0,0,.16)!important;
}
@media(max-width:700px){
  .profile-editor-form input[type="file"],
  .task-form input[type="file"],
  .auth-form input[type="file"]{min-height:52px!important;padding:7px 8px!important}
}

/* ============================================================
   EXILION MOBILE NAVIGATION v81 — clean mobile shell
   One mobile navigation system, no desktop header conflicts.
   ============================================================ */
.mobile-utility-bar,
.mobile-bottom-nav{display:none}

@media (max-width:760px){
  :root{
    --mobile-bg:rgba(10,7,16,.96);
    --mobile-panel:rgba(18,11,27,.94);
    --mobile-line:rgba(255,132,196,.16);
    --mobile-pink:#ef4f9a;
    --mobile-pink-soft:#ff9ac8;
    --mobile-purple:#a85bd6;
  }

  html,body{
    width:100%!important;
    max-width:100%!important;
    min-height:100%;
    overflow-x:hidden!important;
  }

  body:has(.mobile-bottom-nav){
    padding:0 0 max(88px,calc(88px + env(safe-area-inset-bottom)))!important;
  }

  /* Hide all desktop navigation/header chrome. Keep widget buttons alive. */
  .sidebar{display:none!important}
  .main>.topbar,
  .messages-main>.topbar{
    display:contents!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    background:none!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    overflow:visible!important;
    pointer-events:none!important;
    position:static!important;
    isolation:auto!important;
  }
  .topbar .top-search,
  .topbar .top-avatar,
  .topbar .username-link{display:none!important}
  .topbar .top-actions{display:contents!important}

  /* Compact utility strip. */
  .mobile-utility-bar{
    position:fixed!important;
    top:max(8px,env(safe-area-inset-top))!important;
    left:12px!important;
    right:12px!important;
    height:48px!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    padding:5px!important;
    border:1px solid var(--mobile-line)!important;
    border-radius:17px!important;
    background:
      radial-gradient(circle at 12% 0,rgba(239,79,154,.12),transparent 32%),
      radial-gradient(circle at 90% 100%,rgba(168,91,214,.10),transparent 35%),
      linear-gradient(145deg,rgba(20,12,29,.985),rgba(9,7,15,.985))!important;
    box-shadow:0 14px 38px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035)!important;
    backdrop-filter:blur(20px)!important;
    -webkit-backdrop-filter:blur(20px)!important;
    z-index:10050!important;
  }
  .mobile-utility-link{
    height:36px!important;
    min-height:36px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:0 13px!important;
    border:1px solid transparent!important;
    border-radius:11px!important;
    color:#c9bdcc!important;
    background:transparent!important;
    text-decoration:none!important;
    font-size:10px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .mobile-utility-link:active,
  .mobile-utility-link:hover{
    color:#fff!important;
    background:rgba(239,79,154,.10)!important;
    border-color:rgba(239,79,154,.20)!important;
  }
  .mobile-utility-telegram{color:#d2c5d2!important}
  .mobile-utility-telegram .mobile-utility-icon{color:#75c8f4!important}
  .mobile-utility-admin{margin-left:auto!important;color:#d6c7dc!important}
  .mobile-utility-admin .mobile-utility-icon{color:#bd96ef!important}
  .mobile-utility-icon{width:17px!important;height:17px!important;display:grid!important;place-items:center!important;line-height:0!important;flex:0 0 17px!important}
  .mobile-utility-icon .ui-icon{width:17px!important;height:17px!important}

  /* Main content sits below utility bar and above bottom dock. */
  .main,
  .community-main,
  .projects-main,
  .project-detail-main,
  .profile-main,
  .content-page,
  .form-page,
  .task-page,
  .project-task-page{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:14px!important;
    padding-right:14px!important;
    padding-top:70px!important;
    padding-bottom:112px!important;
  }
  .hero,.project-hero,.project-detail-head,.document,.messages-head,.community-panel,
  .task-form,.profile-card,.settings-card,.panel{max-width:100%!important}

  /* Notifications and messages sit as a clean right-side pair above the dock. */
  .main>.topbar .messages-dock,
  .main>.topbar .notification-dock,
  .messages-main>.topbar .messages-dock,
  .messages-main>.topbar .notification-dock{
    display:block!important;
    position:fixed!important;
    right:max(12px,env(safe-area-inset-right))!important;
    left:auto!important;
    width:46px!important;
    height:46px!important;
    margin:0!important;
    pointer-events:auto!important;
    z-index:10070!important;
  }
  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock{bottom:146px!important}
  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{bottom:94px!important}
  .messages-dock .notification-btn,
  .notification-dock .notification-btn{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:15px!important;
    border:1px solid rgba(255,132,196,.20)!important;
    background:
      radial-gradient(circle at 28% 18%,rgba(255,126,187,.14),transparent 38%),
      linear-gradient(145deg,rgba(27,16,37,.98),rgba(10,7,15,.98))!important;
    box-shadow:0 14px 34px rgba(0,0,0,.46),0 0 22px rgba(239,79,154,.07),inset 0 1px 0 rgba(255,255,255,.035)!important;
  }
  .messages-dock .notification-btn svg{width:21px!important;height:21px!important}
  .notification-dock .notification-btn img{width:21px!important;height:21px!important;display:block!important}
  .messages-dock .notification-btn b,
  .notification-dock .notification-btn b{
    right:-5px!important;
    top:-5px!important;
    min-width:18px!important;
    height:18px!important;
    padding:0 4px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:999px!important;
    border:2px solid #0b0810!important;
    background:linear-gradient(135deg,#ef4f9a,#a85bd6)!important;
    color:#fff!important;
    font-size:9px!important;
    line-height:1!important;
  }
  .messages-dock .message-popover,
  .notification-dock .notification-popover{
    position:fixed!important;
    right:12px!important;
    left:auto!important;
    bottom:202px!important;
    top:auto!important;
    width:min(350px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    max-height:min(70svh,580px)!important;
    border-radius:18px!important;
    z-index:10080!important;
  }
  .notification-dock .notification-popover{bottom:150px!important}

  /* One balanced bottom navigation. */
  .mobile-bottom-nav{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:max(9px,env(safe-area-inset-bottom))!important;
    height:76px!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    padding:6px!important;
    border:1px solid rgba(255,132,196,.17)!important;
    border-radius:22px!important;
    background:
      radial-gradient(circle at 12% 0,rgba(239,79,154,.09),transparent 31%),
      radial-gradient(circle at 88% 100%,rgba(168,91,214,.09),transparent 34%),
      linear-gradient(145deg,rgba(17,10,24,.985),rgba(8,7,14,.985))!important;
    box-shadow:0 20px 58px rgba(0,0,0,.50),0 0 30px rgba(239,79,154,.055),inset 0 1px 0 rgba(255,255,255,.04)!important;
    backdrop-filter:blur(24px)!important;
    -webkit-backdrop-filter:blur(24px)!important;
    z-index:10060!important;
    isolation:isolate!important;
  }
  .mobile-bottom-item{
    position:relative!important;
    min-width:0!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:4px 2px!important;
    border:1px solid transparent!important;
    border-radius:15px!important;
    color:#847887!important;
    background:transparent!important;
    text-decoration:none!important;
    font-size:8.5px!important;
    font-weight:800!important;
    line-height:1!important;
    letter-spacing:.05px!important;
    overflow:visible!important;
  }
  .mobile-bottom-item.active{
    color:#ff9bc9!important;
    background:linear-gradient(145deg,rgba(239,79,154,.12),rgba(168,91,214,.075))!important;
    border-color:rgba(239,79,154,.14)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 0 20px rgba(239,79,154,.055)!important;
  }
  .mobile-bottom-item.active:before{
    content:''!important;
    position:absolute!important;
    top:4px!important;
    left:50%!important;
    width:26px!important;
    height:2px!important;
    transform:translateX(-50%)!important;
    border-radius:99px!important;
    background:linear-gradient(90deg,var(--mobile-pink),var(--mobile-purple))!important;
    box-shadow:0 0 10px rgba(239,79,154,.34)!important;
  }
  .mobile-bottom-icon{
    width:27px!important;
    height:27px!important;
    display:grid!important;
    place-items:center!important;
    line-height:0!important;
    color:currentColor!important;
  }
  .mobile-bottom-icon .ui-icon{width:21px!important;height:21px!important;stroke-width:1.7!important}
  .mobile-bottom-avatar-wrap{width:27px!important;height:27px!important;display:grid!important;place-items:center!important;overflow:visible!important;flex:none!important}
  .mobile-bottom-avatar{
    position:relative!important;
    width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;
    display:grid!important;place-items:center!important;
    border-radius:50%!important;
    overflow:hidden!important;
    background:linear-gradient(135deg,#ef5aa6,#704092)!important;
    color:#fff!important;
    font-size:8px!important;font-weight:850!important;line-height:1!important;
    box-sizing:border-box!important;
  }
  .mobile-bottom-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;position:relative!important;z-index:1!important}
  .mobile-bottom-avatar.avatar-frame{border-width:2px!important}
  .mobile-bottom-avatar:after{inset:2px!important;z-index:4!important}

  /* Mobile messages page: stable document layout, no hidden desktop header. */
  html:has(.messages-main),body:has(.messages-main){overflow-x:hidden!important;overflow-y:auto!important}
  .messages-main{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding-top:68px!important;
    padding-bottom:112px!important;
  }
  .messages-main .messages-head{display:flex!important;flex-direction:column!important;gap:14px!important}
  .messages-main .messages-head-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .messages-main .messages-head-actions>*{min-width:0!important;width:100%!important}
  .messages-main .messages-shell{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;gap:10px!important;overflow:visible!important}
  .messages-main .conversation-sidebar{width:100%!important;max-height:180px!important;overflow:hidden!important}
  .messages-main .conversation-list{max-height:130px!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  .messages-main .message-stage{width:100%!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:visible!important}
  .messages-main .chat-messages{width:100%!important;min-height:220px!important;max-height:52svh!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;contain:layout paint!important}
  .messages-main .chat-composer{width:100%!important;margin:0 0 8px!important}
}

@media (max-width:430px){
  .mobile-utility-bar{left:8px!important;right:8px!important;height:46px!important;border-radius:16px!important}
  .mobile-utility-link{height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:9px!important}
  .main,.community-main,.projects-main,.project-detail-main,.profile-main,.content-page,.form-page,.task-page,.project-task-page{padding-left:10px!important;padding-right:10px!important}
  .messages-dock,.notification-dock{right:12px!important}
  .main>.topbar .messages-dock,.messages-main>.topbar .messages-dock{bottom:143px!important}
  .main>.topbar .notification-dock,.messages-main>.topbar .notification-dock{bottom:92px!important}
  .mobile-bottom-nav{left:8px!important;right:8px!important;height:74px!important;border-radius:21px!important}
  .mobile-bottom-item{font-size:7.5px!important}
}

@media (min-width:761px){
  .mobile-utility-bar,.mobile-bottom-nav{display:none!important}
}

/* EXILION MOBILE NAV v82 — edge anchored layout */
@media (max-width:760px){
  .mobile-utility-bar{
    position:fixed!important;
    top:env(safe-area-inset-top)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    margin:0!important;
    padding:7px 9px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transform:none!important;
    z-index:10090!important;
    pointer-events:none!important;
  }
  .mobile-utility-link{
    pointer-events:auto!important;
    flex:0 0 auto!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 13px!important;
    border:1px solid rgba(255,132,196,.20)!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,rgba(23,14,32,.97),rgba(10,7,15,.97))!important;
    box-shadow:0 10px 26px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.035)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .mobile-utility-telegram{margin-left:0!important}
  .mobile-utility-admin{margin-left:auto!important;margin-right:0!important}

  .mobile-bottom-nav{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:env(safe-area-inset-bottom)!important;
    width:auto!important;
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
    margin:0!important;
    padding:6px!important;
    transform:none!important;
    border-radius:21px!important;
    z-index:10080!important;
  }
  .mobile-bottom-item{
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
  }

  /* Reserve space exactly for the edge-anchored bars. */
  body:has(.mobile-bottom-nav){
    padding-bottom:calc(94px + env(safe-area-inset-bottom))!important;
  }
  .main,.community-main,.projects-main,.project-detail-main,.profile-main,.content-page,.form-page,.task-page,.project-task-page{
    padding-top:74px!important;
    padding-bottom:114px!important;
  }
  .messages-main{
    padding-top:70px!important;
    padding-bottom:114px!important;
  }
}

@media (max-width:430px){
  .mobile-utility-bar{height:54px!important;min-height:54px!important;max-height:54px!important;padding:6px 7px!important}
  .mobile-utility-link{height:38px!important;min-height:38px!important;padding:0 10px!important;border-radius:13px!important;font-size:9px!important}
  .mobile-bottom-nav{left:7px!important;right:7px!important;height:76px!important;min-height:76px!important;max-height:76px!important;border-radius:20px!important}
}

/* ============================================================
   EXILION MOBILE NAVIGATION v83 — exact edge placement
   Top-left: messages + notifications
   Top-right: Telegram + Admin
   Bottom: primary navigation dock
   ============================================================ */
@media (max-width:760px){
  .mobile-utility-bar{
    top:max(6px,env(safe-area-inset-top))!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    padding:5px 8px!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:6px!important;
    pointer-events:none!important;
    z-index:10090!important;
  }
  .mobile-utility-link{
    pointer-events:auto!important;
    flex:0 0 auto!important;
    height:38px!important;
    min-height:38px!important;
    width:auto!important;
    padding:0 11px!important;
    border-radius:13px!important;
    box-sizing:border-box!important;
  }
  .mobile-utility-telegram{margin-left:0!important}
  .mobile-utility-admin{margin-left:0!important;margin-right:0!important}

  /* Fixed top-left pair. The old bottom positioning is intentionally overridden. */
  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock,
  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{
    position:fixed!important;
    top:max(7px,env(safe-area-inset-top))!important;
    bottom:auto!important;
    left:auto!important;
    right:auto!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    margin:0!important;
    display:block!important;
    pointer-events:auto!important;
    z-index:10095!important;
  }
  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock{left:max(8px,env(safe-area-inset-left))!important}
  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{left:56px!important}

  .messages-dock .notification-btn,
  .notification-dock .notification-btn{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    border-radius:13px!important;
    box-sizing:border-box!important;
  }
  .messages-dock .notification-btn svg,
  .notification-dock .notification-btn img{
    width:19px!important;
    height:19px!important;
  }
  .messages-dock .notification-btn b,
  .notification-dock .notification-btn b{
    right:-4px!important;
    top:-4px!important;
  }

  /* Popovers open directly below the left-side controls. */
  .messages-dock .message-popover,
  .notification-dock .notification-popover{
    position:fixed!important;
    top:58px!important;
    bottom:auto!important;
    left:8px!important;
    right:auto!important;
    width:min(350px,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;
  }
  .notification-dock .notification-popover{left:8px!important}

  /* Give the page enough top clearance for the corner controls without moving them inward. */
  .main,.community-main,.projects-main,.project-detail-main,.profile-main,.content-page,.form-page,.task-page,.project-task-page{
    padding-top:72px!important;
  }
  .messages-main{padding-top:68px!important}
}

@media (max-width:430px){
  .mobile-utility-bar{
    top:max(5px,env(safe-area-inset-top))!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding:4px 7px!important;
    gap:5px!important;
  }
  .mobile-utility-link{
    height:36px!important;
    min-height:36px!important;
    padding:0 9px!important;
    border-radius:12px!important;
    font-size:9px!important;
  }
  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock,
  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{
    top:max(5px,env(safe-area-inset-top))!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
  }
  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock{left:max(7px,env(safe-area-inset-left))!important}
  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{left:52px!important}
  .messages-dock .notification-btn,
  .notification-dock .notification-btn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  .main,.community-main,.projects-main,.project-detail-main,.profile-main,.content-page,.form-page,.task-page,.project-task-page{padding-top:67px!important}
  .messages-main{padding-top:64px!important}
}

/* EXILION ANDROID FALLBACK — direct marker is injected by mobile_navigation.php */
html.exilion-android-app body>.sidebar,
html.exilion-android-app body>.mobile-utility-bar,
html.exilion-android-app body>.mobile-bottom-nav,
html.exilion-android-app body>.main>.topbar,
html.exilion-android-app body>.messages-main>.topbar{display:none!important}

/* ============================================================
   EXILION ANDROID APP SHELL
   The Android WebView identifies itself as ExilionPlannerAndroid/*.
   In this mode the site's browser navigation is hidden completely and
   this compact app shell becomes the only navigation chrome.
   ============================================================ */
body:has(.exilion-app-shell-nav) .sidebar,
body:has(.exilion-app-shell-nav) > .mobile-utility-bar,
body:has(.exilion-app-shell-nav) > .mobile-bottom-nav,
body:has(.exilion-app-shell-nav) .main > .topbar,
body:has(.exilion-app-shell-nav) .messages-main > .topbar {
  display:none!important;
}

body:has(.exilion-app-shell-nav) {
  min-height:100dvh!important;
  padding:0!important;
  overflow-x:hidden!important;
  background:var(--bg,#0b0712)!important;
}
body:has(.exilion-app-shell-nav) .main,
body:has(.exilion-app-shell-nav) .community-main,
body:has(.exilion-app-shell-nav) .projects-main,
body:has(.exilion-app-shell-nav) .project-detail-main,
body:has(.exilion-app-shell-nav) .profile-main,
body:has(.exilion-app-shell-nav) .content-page,
body:has(.exilion-app-shell-nav) .form-page,
body:has(.exilion-app-shell-nav) .task-page,
body:has(.exilion-app-shell-nav) .project-task-page,
body:has(.exilion-app-shell-nav) .messages-main {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-top:76px!important;
  padding-left:14px!important;
  padding-right:14px!important;
  padding-bottom:104px!important;
}

.exilion-app-shell-nav{display:none}
@media(max-width:900px){
  .exilion-app-shell-nav{display:block;position:relative;z-index:2147483000;pointer-events:none}
  .exilion-app-shell-top{position:fixed;top:max(9px,env(safe-area-inset-top));left:max(9px,env(safe-area-inset-left));right:max(9px,env(safe-area-inset-right));height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
  .exilion-app-shell-group{display:flex;align-items:center;gap:7px;pointer-events:auto}
  .exilion-app-shell-left{justify-content:flex-start}
  .exilion-app-shell-right{justify-content:flex-end;margin-left:auto}
  .exilion-app-icon-btn,.exilion-app-text-btn{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,132,196,.17);background:linear-gradient(145deg,rgba(25,15,36,.96),rgba(10,7,15,.96));color:#ddd1df;text-decoration:none;box-shadow:0 9px 24px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:.18s ease}
  .exilion-app-icon-btn{width:42px;min-width:42px;border-radius:13px;position:relative}
  .exilion-app-text-btn{padding:0 12px;border-radius:13px;font-size:10px;font-weight:800;white-space:nowrap}
  .exilion-app-text-btn svg,.exilion-app-icon-btn svg{width:18px;height:18px;stroke-width:1.8}
  .exilion-app-text-btn:first-child svg{color:#75c8f4}
  .exilion-app-text-btn.app-admin-btn svg{color:#bd96ef}
  .exilion-app-icon-btn:first-child svg{color:#ff9ac8}
  .exilion-app-icon-btn:nth-child(2) svg{color:#d69cff}
  .exilion-app-icon-btn:active,.exilion-app-text-btn:active{transform:scale(.96);background:linear-gradient(145deg,rgba(40,20,47,.98),rgba(14,8,20,.98));border-color:rgba(255,132,196,.28)}
  .exilion-app-badge{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;display:grid;place-items:center;background:#ef4f9a;color:#fff;border:2px solid #0b0712;font-size:8px;font-weight:900}

  .exilion-app-shell-bottom{position:fixed;left:max(9px,env(safe-area-inset-left));right:max(9px,env(safe-area-inset-right));bottom:max(9px,env(safe-area-inset-bottom));height:72px;padding:6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;pointer-events:auto;border:1px solid rgba(255,132,196,.17);border-radius:21px;background:linear-gradient(145deg,rgba(22,13,32,.97),rgba(8,6,13,.97));box-shadow:0 18px 42px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
  .exilion-app-nav-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:15px;color:#a99cab;text-decoration:none;font-size:9px;font-weight:800;line-height:1;transition:.18s ease;position:relative}
  .exilion-app-nav-item.active{color:#ffd4e9;background:linear-gradient(145deg,rgba(239,79,154,.13),rgba(168,91,214,.10));box-shadow:inset 0 0 0 1px rgba(255,132,196,.14),0 6px 22px rgba(239,79,154,.05)}
  .exilion-app-nav-item.active:before{content:"";position:absolute;left:24%;right:24%;top:5px;height:2px;border-radius:2px;background:linear-gradient(90deg,#ef4f9a,#a85bd6);box-shadow:0 0 11px rgba(239,79,154,.55)}
  .exilion-app-nav-icon{width:23px;height:23px;display:grid;place-items:center}
  .exilion-app-nav-icon svg{width:21px;height:21px;stroke-width:1.75}
  .exilion-app-nav-item.active .exilion-app-nav-icon svg{color:#ff9ac8}
  .exilion-app-nav-avatar{width:25px;height:25px;display:grid;place-items:center;overflow:visible}
  .exilion-app-nav-avatar > .avatar-frame{width:25px!important;height:25px!important;border-radius:50%;font-size:9px;overflow:visible}
  .exilion-app-nav-avatar img{width:100%!important;height:100%!important;object-fit:cover;border-radius:50%;display:block;position:relative;z-index:1}
  body:has(.exilion-app-shell-nav) .page-glow{display:block;opacity:.65}
}
@media(min-width:901px){
  body:has(.exilion-app-shell-nav) .exilion-app-shell-nav{display:block}
  body:has(.exilion-app-shell-nav) .sidebar,
  body:has(.exilion-app-shell-nav) .main > .topbar{display:none!important}
}

/* Rich editor: inline heading sizes can coexist inside the same paragraph/line. */
.rich-editor span[style*="font-size"] { line-height: 1.25; }
.rich-content span[style*="font-size"] { line-height: 1.25; }

/* v91 — task editor dropdowns use the same custom selector language as sorting. */
.task-form .task-select{position:relative;min-width:0;width:100%;height:50px;overflow:visible!important;z-index:5;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.025);}
.task-form .task-select.is-open{z-index:40;border-color:rgba(239,79,154,.46);box-shadow:0 0 0 3px rgba(239,79,154,.07),0 16px 34px rgba(0,0,0,.22)}
.task-form .task-native-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.task-form .task-select-trigger{position:relative;width:100%;height:50px;min-width:0;padding:10px 36px 0 14px;border:0;border-radius:12px;background:transparent;color:#ece5ed;font:inherit;font-size:12px;line-height:1.2;text-align:left;cursor:pointer;outline:none;display:flex;align-items:center;justify-content:flex-start}
.task-form .task-select-trigger:focus-visible{box-shadow:0 0 0 2px rgba(239,79,154,.18)}
.task-form .task-select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-form .task-select-chevron{position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:1px solid #c694b4;border-bottom:1px solid #c694b4;transform:translateY(-65%) rotate(45deg);transition:transform .18s ease,border-color .18s ease}
.task-form .task-select.is-open .task-select-chevron{transform:translateY(-35%) rotate(225deg);border-color:#ff86bd}
.task-form .task-select-menu{position:absolute;left:-1px;right:-1px;top:calc(100% + 7px);padding:7px;border:1px solid rgba(255,130,195,.22);border-radius:14px;background:linear-gradient(155deg,rgba(27,18,36,.985),rgba(12,9,18,.995));box-shadow:0 18px 44px rgba(0,0,0,.45),0 0 30px rgba(239,79,154,.08);opacity:0;visibility:hidden;transform:translateY(-5px) scale(.985);transform-origin:top center;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:80;max-height:270px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(239,79,154,.35) transparent}
.task-form .task-select.is-open .task-select-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.task-form .task-select-option{position:relative;display:flex;align-items:center;width:100%;min-height:40px;padding:0 30px 0 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#cdbdcb;font:inherit;font-size:12px;text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}
.task-form .task-select-option:hover,.task-form .task-select-option:focus-visible{outline:none;background:linear-gradient(90deg,rgba(239,79,154,.12),rgba(136,72,172,.08));color:#fff;border-color:rgba(239,79,154,.18)}
.task-form .task-select-option.is-selected{background:rgba(239,79,154,.11);color:#ffaad2;border-color:rgba(239,79,154,.18)}
.task-form .task-select-option.is-selected::after{content:'✓';position:absolute;right:11px;color:#ff78b7;font-size:11px}
.task-form .task-select-menu::-webkit-scrollbar{width:8px}
.task-form .task-select-menu::-webkit-scrollbar-track{background:transparent}
.task-form .task-select-menu::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(255,125,190,.72),rgba(117,74,173,.72));border:2px solid transparent;background-clip:padding-box;border-radius:999px}
@media(max-width:760px){.task-form .task-select{width:100%}}

/* v92 — deadline field uses the same Exilion pill/card language as custom selects. */
.task-form .task-date{position:relative;min-width:0;width:100%;height:50px;box-sizing:border-box;margin-top:0;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.025);display:flex;align-items:center;padding:0 38px 0 14px;color:#8e7e8d;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.task-form .task-date.has-value{color:#ece5ed}
.task-form .task-date:hover{border-color:rgba(255,132,196,.24);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.02))}
.task-form .task-date.is-focus{border-color:rgba(239,79,154,.46);box-shadow:0 0 0 3px rgba(239,79,154,.07),0 12px 30px rgba(0,0,0,.16)}
.task-form .task-date-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2}
.task-form .task-date-icon{position:absolute;left:14px;top:50%;transform:translateY(-52%);font-size:15px;color:#b982a3;pointer-events:none;line-height:1}
.task-form .task-date.has-value .task-date-icon{color:#ff86bd}
.task-form .task-date-value{padding-left:24px}
.task-form .task-date-chevron{position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:1px solid #c694b4;border-bottom:1px solid #c694b4;transform:translateY(-65%) rotate(45deg);pointer-events:none}
.task-form .task-native-date{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;opacity:0!important;cursor:pointer!important;z-index:2!important;border:0!important;border-radius:12px!important}
.task-form .task-native-date:focus{outline:none!important;box-shadow:none!important}
@media(max-width:760px){.task-form .task-date{width:100%}}


/* v94 — mobile project task cards: keep title, badges and deadline in a vertical flow */
@media(max-width:760px){
  .project-task-row{align-items:flex-start!important;}
  .project-task-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;}
  .project-task-main>div:first-child{width:100%!important;min-width:0!important;}
  .project-task-meta{position:static!important;width:100%!important;min-width:0!important;justify-content:flex-start!important;}
  .project-task-meta small{width:100%!important;display:block!important;}
  .project-task-row>.topic-arrow{flex:0 0 auto!important;margin-top:7px!important;}
}


/* ============================================================
   EXILION v95 — global long/unbroken text overflow hardening
   Fixes task cards, project task rows, task details and rich text
   when titles/URLs/descriptions contain very long strings without spaces.
   ============================================================ */

/* Any flex/grid child containing user text must be allowed to shrink. */
.task-card,
.task-body,
.task-body > *,
.project-task-row,
.project-task-main,
.project-task-main > div,
.project-task-meta,
.project-task-detail,
.project-task-content,
.document,
.document-inner,
.document-text,
.rich-content,
.task-description-preview,
.project-task-description-preview {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Break pathological unbroken strings instead of expanding the layout. */
.task-body h3,
.task-body p,
.task-project-label,
.task-description-preview,
.project-task-main h3,
.project-task-main p,
.project-task-description-preview,
.project-task-meta small,
.project-task-detail > h1,
.project-task-author,
.project-task-content,
.document h1,
.document-meta,
.document-text,
.rich-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Project task list: the text column may shrink while metadata stays inside. */
.project-task-main {
  grid-template-columns: minmax(0, 1fr) auto;
}

.project-task-main > div:first-child {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project-task-meta {
  flex: 0 0 auto;
}

/* Rich HTML can contain links, tables and other wide elements. */
.rich-content a,
.document-text a,
.project-task-content a,
.task-description-preview a,
.project-task-description-preview a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rich-content img,
.document-text img,
.project-task-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rich-content iframe,
.document-text iframe,
.project-task-content iframe,
.rich-content video,
.document-text video,
.project-task-content video {
  max-width: 100%;
}

.rich-content table,
.document-text table,
.project-task-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.rich-content pre,
.document-text pre,
.project-task-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}

.rich-content code,
.document-text code,
.project-task-content code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Task cards must never let their content determine the grid width. */
.task-card {
  overflow: hidden;
}

.task-body h3 {
  max-width: 100%;
}

.task-description-preview,
.project-task-description-preview {
  white-space: normal;
  overflow: hidden;
}

/* Detail pages: long title/description stays inside the framed card. */
.project-task-detail,
.document {
  overflow: hidden;
}

.project-task-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 760px) {
  .project-task-row {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .project-task-main {
    width: 100%;
    max-width: 100%;
  }

  .project-task-meta {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-task-detail > h1 {
    max-width: 100%;
  }

  .project-task-content,
  .document-text {
    max-width: 100%;
  }
}


/* ============================================================
   EXILION APP INSTALL CTA v95 — web-only Android install entry
   ============================================================ */
.install-app-cta{
  display:flex;
  align-items:center;
  gap:11px;
  margin:12px 2px 0;
  padding:11px 12px;
  min-width:0;
  border:1px solid rgba(239,79,154,.20);
  border-radius:14px;
  background:
    radial-gradient(circle at 0 0,rgba(239,79,154,.14),transparent 48%),
    linear-gradient(145deg,rgba(39,19,47,.88),rgba(18,12,25,.92));
  color:#f5eaf3;
  text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 26px rgba(0,0,0,.12);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
  overflow:hidden;
  position:relative;
}
.install-app-cta:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.055) 48%,transparent 72%);
  transform:translateX(-110%);
  transition:transform .55s ease;
  pointer-events:none;
}
.install-app-cta:hover{
  transform:translateY(-1px);
  border-color:rgba(239,79,154,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 30px rgba(0,0,0,.20),0 0 28px rgba(239,79,154,.07);
}
.install-app-cta:hover:before{transform:translateX(110%)}
.install-app-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#ff9ac8;
  background:rgba(239,79,154,.12);
  border:1px solid rgba(239,79,154,.13);
}
.install-app-icon .ui-icon{width:18px;height:18px}
.install-app-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  flex:1;
}
.install-app-copy b{
  font-size:11px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.01em;
}
.install-app-copy small{
  margin-top:3px;
  color:#8f8292;
  font-size:9px;
  line-height:1.2;
}
.install-app-arrow{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:#d98bb2;
}
.install-app-arrow .ui-icon{width:15px;height:15px}

/* In the compact mobile utility strip the same CTA becomes a lightweight pill. */
@media(max-width:760px){
  .mobile-utility-bar .install-app-cta{
    order:2;
    margin:0!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 12px!important;
    gap:7px!important;
    border-radius:14px!important;
    border:1px solid rgba(239,79,154,.20)!important;
    background:linear-gradient(145deg,rgba(23,14,32,.97),rgba(10,7,15,.97))!important;
    box-shadow:0 10px 26px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.035)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .mobile-utility-bar .install-app-copy small,
  .mobile-utility-bar .install-app-arrow{display:none!important}
  .mobile-utility-bar .install-app-copy b{font-size:9px!important}
  .mobile-utility-bar .install-app-icon{width:17px!important;height:17px!important;flex:0 0 17px!important;border:0!important;background:none!important}
  .mobile-utility-bar .install-app-icon .ui-icon{width:17px!important;height:17px!important}
  .mobile-utility-bar .install-app-cta:hover{transform:none!important}
}

@media(max-width:430px){
  .mobile-utility-bar .install-app-cta{padding:0 9px!important;gap:5px!important}
  .mobile-utility-bar .install-app-copy b{font-size:8px!important}
}

/* ============================================================
   EXILION v99 — clean mobile header layout
   ============================================================ */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 760px) {
  /* The mobile header is a normal flow container, never an overlay. */
  header,
  .site-header,
  .mobile-header,
  .top-header,
  .header {
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Main mobile action area: Telegram + Admin on row 2,
     Install on its own row. */
  .mobile-actions,
  .header-actions,
  .mobile-header-actions,
  .quick-actions,
  .header-buttons {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 10px 16px 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* Every primary quick action gets its own shrinkable box. */
  .mobile-actions > *,
  .header-actions > *,
  .mobile-header-actions > *,
  .quick-actions > *,
  .header-buttons > * {
    position: static !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 0 !important;
    width: auto !important;
    height: 52px !important;
    margin: 0 !important;
  }

  /* Install is always a full-width second-row action. */
  .mobile-actions > .install-phone-button,
  .mobile-actions > .install-app-button,
  .mobile-actions > a[href="/app"],
  .header-actions > .install-phone-button,
  .header-actions > .install-app-button,
  .header-actions > a[href="/app"],
  .mobile-header-actions > .install-phone-button,
  .mobile-header-actions > .install-app-button,
  .quick-actions > .install-phone-button,
  .quick-actions > .install-app-button,
  .header-buttons > .install-phone-button,
  .header-buttons > .install-app-button {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    order: 30 !important;
  }

  /* Prevent SVG/icon duplication or absolute positioning. */
  .install-phone-button svg,
  .install-app-button svg {
    position: static !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }

  .install-phone-button,
  .install-app-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  /* Main page starts after the complete action area. */
  main,
  .page-content,
  .content,
  .main-content {
    min-width: 0;
    max-width: 100%;
  }

  /* Fixed bottom navigation never covers page content. */
  .mobile-bottom-nav,
  .bottom-nav,
  .mobile-nav,
  nav.mobile-nav {
    z-index: 100 !important;
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 430px) {
  .mobile-actions,
  .header-actions,
  .mobile-header-actions,
  .quick-actions,
  .header-buttons {
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    gap: 7px !important;
  }

  .mobile-actions > *,
  .header-actions > *,
  .mobile-header-actions > *,
  .quick-actions > *,
  .header-buttons > * {
    height: 48px !important;
  }

  .install-phone-button,
  .install-app-button {
    font-size: 14px !important;
  }
}

@media (max-width: 350px) {
  .mobile-actions,
  .header-actions,
  .mobile-header-actions,
  .quick-actions,
  .header-buttons {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .mobile-actions > *,
  .header-actions > *,
  .mobile-header-actions > *,
  .quick-actions > *,
  .header-buttons > * {
    height: 46px !important;
  }

  .install-phone-button,
  .install-app-button {
    font-size: 13px !important;
  }
}

/* ============================================================
   EXILION v100 — MOBILE NAV REBUILT
   Exact selectors used by mobile_navigation.php.
   Notifications/messages stay in the top header.
   Utility actions live underneath and can never overlap them.
   ============================================================ */

@media (max-width:760px){

  /* The two header utility layers occupy separate vertical zones. */
  body>.mobile-utility-bar{
    position:fixed!important;
    top:calc(max(64px, env(safe-area-inset-top) + 56px))!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:8px 12px 10px!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:44px 44px!important;
    gap:7px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    pointer-events:none!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transform:none!important;
    z-index:10070!important;
  }

  body>.mobile-utility-bar .mobile-utility-link,
  body>.mobile-utility-bar .install-app-cta{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
    padding:0 11px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    pointer-events:auto!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }

  /* Explicit order: Telegram + Admin on first row. */
  body>.mobile-utility-bar .mobile-utility-telegram{
    grid-column:1!important;
    grid-row:1!important;
  }

  body>.mobile-utility-bar .mobile-utility-admin{
    grid-column:2!important;
    grid-row:1!important;
  }

  /* Install is always a separate full-width row. */
  body>.mobile-utility-bar .install-app-cta{
    grid-column:1 / -1!important;
    grid-row:2!important;
    border-radius:14px!important;
  }

  body>.mobile-utility-bar .install-app-copy{
    min-width:0!important;
    flex:0 1 auto!important;
    overflow:hidden!important;
  }

  body>.mobile-utility-bar .install-app-copy b{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1!important;
  }

  body>.mobile-utility-bar .install-app-copy small,
  body>.mobile-utility-bar .install-app-arrow{
    display:none!important;
  }

  body>.mobile-utility-bar .install-app-icon{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    flex:0 0 20px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }

  body>.mobile-utility-bar .install-app-icon img{
    display:block!important;
    width:20px!important;
    height:20px!important;
    object-fit:contain!important;
  }

  body>.mobile-utility-bar .mobile-utility-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
    flex:0 0 19px!important;
  }

  body>.mobile-utility-bar .mobile-utility-icon .ui-icon{
    width:18px!important;
    height:18px!important;
  }

  /* Messages + notifications: top header only, never inside utility strip. */
  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock,
  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{
    top:max(7px,env(safe-area-inset-top))!important;
    bottom:auto!important;
    z-index:10095!important;
  }

  .main>.topbar .messages-dock,
  .messages-main>.topbar .messages-dock{
    left:max(10px,env(safe-area-inset-left))!important;
    right:auto!important;
  }

  .main>.topbar .notification-dock,
  .messages-main>.topbar .notification-dock{
    left:60px!important;
    right:auto!important;
  }

  /* Keep the utility rows clear of the fixed top controls. */
  .main,
  .community-main,
  .projects-main,
  .project-detail-main,
  .profile-main,
  .content-page,
  .form-page,
  .task-page,
  .project-task-page{
    padding-top:178px!important;
  }

  .messages-main{
    padding-top:178px!important;
  }

  /* Bottom dock clearance. */
  body:has(.mobile-bottom-nav){
    padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;
  }
}

@media (max-width:430px){
  body>.mobile-utility-bar{
    top:calc(max(62px, env(safe-area-inset-top) + 54px))!important;
    padding:7px 9px 9px!important;
    grid-template-rows:42px 42px!important;
    gap:6px!important;
  }

  body>.mobile-utility-bar .mobile-utility-link,
  body>.mobile-utility-bar .install-app-cta{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    border-radius:13px!important;
    padding:0 9px!important;
  }

  body>.mobile-utility-bar .mobile-utility-link{
    font-size:10px!important;
  }

  .main,
  .community-main,
  .projects-main,
  .project-detail-main,
  .profile-main,
  .content-page,
  .form-page,
  .task-page,
  .project-task-page,
  .messages-main{
    padding-top:166px!important;
  }
}

@media (max-width:350px){
  body>.mobile-utility-bar{
    padding-left:7px!important;
    padding-right:7px!important;
  }

  body>.mobile-utility-bar .mobile-utility-link,
  body>.mobile-utility-bar .install-app-cta{
    padding-left:7px!important;
    padding-right:7px!important;
  }

  body>.mobile-utility-bar .mobile-utility-icon{
    width:17px!important;
    min-width:17px!important;
  }

  body>.mobile-utility-bar .mobile-utility-icon .ui-icon{
    width:16px!important;
    height:16px!important;
  }
}



/* ============================================================
   EXILION v101 — FINAL MOBILE HEADER OVERRIDE
   Cache-busted and scoped to the real mobile_navigation.php DOM.
   ============================================================ */
@media (max-width:760px){
  html,body{overflow-x:hidden!important;width:100%!important;}

  /* Fixed utility strip BELOW the 64px site topbar. */
  body > .mobile-utility-bar{
    position:fixed!important;
    top:calc(64px + env(safe-area-inset-top))!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:101px!important;
    min-height:101px!important;
    max-height:101px!important;
    padding:8px 12px!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:42px 42px!important;
    gap:7px!important;
    box-sizing:border-box!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    overflow:visible!important;
    pointer-events:none!important;
    z-index:10090!important;
    background:rgba(8,7,17,.92)!important;
    border-bottom:1px solid rgba(255,150,210,.08)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }

  body > .mobile-utility-bar > .mobile-utility-link{
    position:static!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    margin:0!important;
    padding:0 8px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    pointer-events:auto!important;
  }

  body > .mobile-utility-bar > .mobile-utility-telegram{
    grid-column:1!important;
  }

  body > .mobile-utility-bar > .mobile-utility-admin{
    grid-column:2!important;
  }

  body > .mobile-utility-bar > .install-app-cta{
    position:static!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    margin:0!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    pointer-events:auto!important;
  }

  body > .mobile-utility-bar .mobile-utility-icon{
    position:static!important;
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
    min-height:18px!important;
    flex:0 0 18px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  body > .mobile-utility-bar .mobile-utility-icon .ui-icon{
    width:18px!important;height:18px!important;
  }

  body > .mobile-utility-bar .install-app-icon{
    position:static!important;
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    min-height:20px!important;
    flex:0 0 20px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
  }

  body > .mobile-utility-bar .install-app-icon img{
    display:block!important;
    width:20px!important;height:20px!important;
    max-width:20px!important;max-height:20px!important;
    object-fit:contain!important;
  }

  body > .mobile-utility-bar .install-app-copy{
    display:block!important;
    min-width:0!important;
    max-width:calc(100% - 50px)!important;
    flex:0 1 auto!important;
    overflow:hidden!important;
  }

  body > .mobile-utility-bar .install-app-copy b{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11px!important;
    line-height:1.1!important;
  }

  body > .mobile-utility-bar .install-app-copy small,
  body > .mobile-utility-bar .install-app-arrow{
    display:none!important;
  }

  /* Messages + notifications belong ONLY to the site topbar.
     They are deliberately outside the utility strip. */
  .main > .topbar .messages-dock,
  .main > .topbar .notification-dock,
  .messages-main > .topbar .messages-dock,
  .messages-main > .topbar .notification-dock{
    position:fixed!important;
    top:calc(10px + env(safe-area-inset-top))!important;
    bottom:auto!important;
    left:auto!important;
    right:auto!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    margin:0!important;
    transform:none!important;
    z-index:10120!important;
  }

  .main > .topbar .messages-dock,
  .messages-main > .topbar .messages-dock{
    left:max(10px,env(safe-area-inset-left))!important;
  }

  .main > .topbar .notification-dock,
  .messages-main > .topbar .notification-dock{
    left:max(60px,calc(50px + env(safe-area-inset-left)))!important;
  }

  .main > .topbar .messages-dock .notification-btn,
  .main > .topbar .notification-dock .notification-btn,
  .messages-main > .topbar .messages-dock .notification-btn,
  .messages-main > .topbar .notification-dock .notification-btn{
    width:42px!important;height:42px!important;
    min-width:42px!important;min-height:42px!important;
    margin:0!important;
  }

  /* Page starts below BOTH the site topbar and the utility strip. */
  .main,
  .community-main,
  .projects-main,
  .project-detail-main,
  .profile-main,
  .content-page,
  .form-page,
  .task-page,
  .project-task-page,
  .messages-main{
    padding-top:181px!important;
  }

  body:has(.mobile-bottom-nav){
    padding-bottom:calc(102px + env(safe-area-inset-bottom))!important;
  }
}

@media (max-width:430px){
  body > .mobile-utility-bar{
    top:calc(62px + env(safe-area-inset-top))!important;
    height:97px!important;
    min-height:97px!important;
    max-height:97px!important;
    padding:7px 9px!important;
    grid-template-rows:40px 40px!important;
    gap:6px!important;
  }

  body > .mobile-utility-bar > .mobile-utility-link,
  body > .mobile-utility-bar > .install-app-cta{
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
  }

  .main,.community-main,.projects-main,.project-detail-main,.profile-main,
  .content-page,.form-page,.task-page,.project-task-page,.messages-main{
    padding-top:173px!important;
  }
}

@media (max-width:350px){
  body > .mobile-utility-bar{
    padding-left:7px!important;padding-right:7px!important;
  }
  body > .mobile-utility-bar > .mobile-utility-link,
  body > .mobile-utility-bar > .install-app-cta{
    padding-left:7px!important;padding-right:7px!important;
  }
}

