/* V8 — premium client operating workspace and support messenger */
body.cw-v8{
  --cw8-ink:#111827;--cw8-copy:#5d6b82;--cw8-faint:#8290a6;--cw8-line:#dce4f0;
  --cw8-surface:#fff;--cw8-subtle:#f5f7fb;--cw8-navy:#101932;--cw8-indigo:#6257e8;
  --cw8-blue:#2684f3;--cw8-cyan:#13b9c8;--cw8-mint:#22bd91;
  background:#f3f6fb!important;color:var(--cw8-ink)!important;
}
body.cw-v8::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 76% 3%,rgba(83,119,238,.11),transparent 27%),radial-gradient(circle at 8% 45%,rgba(22,185,200,.07),transparent 24%);z-index:-1}
body.cw-v8 .nav{position:sticky;top:0;z-index:1000;height:76px;background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(199,209,225,.8)!important;box-shadow:0 8px 40px rgba(40,54,86,.05);backdrop-filter:blur(20px) saturate(1.4)}
body.cw-v8 .nav-inner{height:76px;max-width:1510px}
body.cw-v8 .brand-logo.full{max-height:50px}
body.cw-v8 .nav-links{gap:2px}
body.cw-v8 .nav-links a{padding:11px 13px!important;border-radius:11px;color:#202a3e!important;font-size:14px;font-weight:750}
body.cw-v8 .nav-links a:hover{background:#eef2fa;color:#5148cf!important}
body.cw-v8 .nav-actions{gap:8px}
body.cw-v8 .nav-actions .badge,body.cw-v8 .nav-actions .btn{min-height:40px;border:1px solid #dce3ee!important;border-radius:12px!important;background:#fff!important;color:#202a3e!important;box-shadow:none!important}

body.cw-v8 .cw-shell{max-width:none;margin:0;padding:26px 30px 76px;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start}
body.cw-v8 .cw-sidebar{top:102px;height:calc(100vh - 128px);padding:14px;border:0;border-radius:28px;background:linear-gradient(180deg,#17203f,#111a34)!important;box-shadow:0 22px 70px rgba(21,31,61,.19);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#37466e transparent}
body.cw-v8 .cw-brand-card{position:relative;padding:21px 17px 20px;margin:0 0 13px;border:1px solid rgba(255,255,255,.09);border-radius:21px;background:linear-gradient(145deg,rgba(89,104,217,.25),rgba(26,183,198,.09))!important;overflow:hidden}
body.cw-v8 .cw-brand-card::before{content:"";position:absolute;right:-24px;top:-28px;width:100px;height:100px;border-radius:50%;background:rgba(92,111,232,.2)}
body.cw-v8 .cw-brand-card::after{content:"Private client hub";display:inline-flex;margin-top:13px;padding:6px 9px;border-radius:99px;background:rgba(255,255,255,.07);color:#aebbd6;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
body.cw-v8 .cw-brand-card b{position:relative;color:#fff;font-size:1rem;line-height:1.3}
body.cw-v8 .cw-brand-card span{position:relative;display:block;margin-top:4px;color:#9eacc8!important;font-size:.78rem}
body.cw-v8 .cw-nav{gap:3px}
body.cw-v8 .cw-nav a{position:relative;min-height:45px;padding:9px 11px;border:0!important;border-radius:13px;color:#abb6cd!important;font-size:13px;font-weight:720;transition:background .2s,color .2s,transform .2s}
body.cw-v8 .cw-nav a:hover{background:rgba(255,255,255,.06)!important;color:#fff!important;transform:translateX(2px)}
body.cw-v8 .cw-nav a.active{background:linear-gradient(135deg,rgba(101,87,232,.95),rgba(48,119,236,.95))!important;color:#fff!important;box-shadow:0 10px 25px rgba(56,76,202,.26)}
body.cw-v8 .cw-nav a.active::after{content:"";position:absolute;right:10px;width:6px;height:6px;border-radius:50%;background:#58e5c0;box-shadow:0 0 0 5px rgba(88,229,192,.1)}
body.cw-v8 .cw-ico{flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.07)!important;box-shadow:none!important}
body.cw-v8 .cw-ico::before{content:"";width:15px;height:15px;background:currentColor;opacity:.94;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href*="files"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 7h6l2 2h10v10H3zM3 7V5h7l2 2'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href*="tickets"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 5h16v12H8l-4 3zM8 9h8M8 13h5'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href*="billing"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M5 3h14v18l-3-2-4 2-4-2-3 2zM8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href*="milestones"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M5 21V4m0 1h12l-2 4 2 4H5'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href*="activity"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 12h4l2-6 4 12 2-6h6'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href*="password"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M5 10h14v11H5zM8 10V7a4 4 0 0 1 8 0v3M12 14v3'/%3E%3C/svg%3E")}
body.cw-v8 .cw-nav a[href="/"] .cw-ico::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3 3 10v11h18V10zM9 21v-7h6v7'/%3E%3C/svg%3E")}
body.cw-v8 .cw-main{overflow:visible}
body.cw-v8 .cw-hero{min-height:250px;margin-bottom:16px;padding:34px;border:1px solid #d7e1ef;border-radius:27px;background:linear-gradient(116deg,#fff 0%,#f2f6ff 54%,#e8fbf8 100%)!important;box-shadow:0 18px 55px rgba(31,44,77,.07)}
body.cw-v8 .cw-hero::before{inset:auto -90px -150px auto;width:480px;height:480px;background:radial-gradient(circle,rgba(75,104,236,.12),transparent 60%);animation:cw8Drift 9s ease-in-out infinite}
body.cw-v8 .cw-hero::after{content:"";position:absolute;left:38%;top:-70px;width:220px;height:220px;border:1px solid rgba(98,87,232,.12);border-radius:44% 56% 48% 52%;transform:rotate(22deg)}
body.cw-v8 .cw-eyebrow{color:#5968a5!important;font-size:11px;letter-spacing:.15em}
body.cw-v8 .cw-hero h1{max-width:840px;margin:8px 0 15px;color:var(--cw8-ink)!important;font-size:clamp(2.5rem,4.7vw,5rem);line-height:.96;letter-spacing:-.055em}
body.cw-v8 .cw-hero p{color:#66758d!important;font-size:1.02rem;line-height:1.65}
body.cw-v8 .cw-hero-grid{grid-template-columns:minmax(0,1fr) 310px;gap:32px}
body.cw-v8 .cw-health{position:relative;padding:23px;border:1px solid rgba(255,255,255,.9);border-radius:23px;background:rgba(255,255,255,.73)!important;color:var(--cw8-ink)!important;box-shadow:0 14px 45px rgba(53,70,112,.08);backdrop-filter:blur(10px)}
body.cw-v8 .cw-health::before{content:"";position:absolute;right:21px;top:58px;width:68px;height:68px;border-radius:50%;background:conic-gradient(var(--cw8-mint) calc(var(--progress,0)*1%),#e7ebf2 0);mask:radial-gradient(circle,#0000 57%,#000 59%)}
body.cw-v8 .cw-health .score{color:var(--cw8-ink);font-size:2.8rem;letter-spacing:-.04em}
body.cw-v8 .cw-pill{padding:7px 10px;background:#e9fbf4!important;border-color:#b5ebd6!important;color:#167658!important;font-size:.75rem}
body.cw-v8 .cw-dot{background:#21bf8e!important}
body.cw-v8 .cw-btn{min-height:45px;padding:11px 16px;border:1px solid #d9e1ec!important;border-radius:13px;background:#fff!important;color:#1c2639!important;box-shadow:0 5px 16px rgba(35,48,79,.045);transition:transform .2s,box-shadow .2s}
body.cw-v8 .cw-btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(35,48,79,.09)}
body.cw-v8 .cw-btn.primary{border:0!important;background:linear-gradient(135deg,#6558e8,#347ff1)!important;color:#fff!important}
body.cw-v8 .cw-btn.gold{border:0!important;background:#17213c!important;color:#fff!important}
body.cw-v8 .cw-grid{gap:12px}
.cw8-status-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:0;margin:-2px 0 16px;border:1px solid #dce3ee;border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(31,44,77,.045);overflow:hidden}.cw8-status-rail article{display:grid;grid-template-columns:37px 1fr;gap:10px;align-items:center;padding:14px 16px;border-right:1px solid #e5e9f0}.cw8-status-rail article>div{display:grid;min-width:0}.cw8-status-rail small{color:#7a879a;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.cw8-status-rail b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#202a3e;font-size:12px}.cw8-rail-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#efedff;color:#5c50d8;font-size:9px;font-weight:900}.cw8-rail-icon.is-blue{background:#e9f4ff;color:#2678ce}.cw8-rail-icon.is-green{background:#e8faf3;color:#168365}.cw8-status-rail>a{display:flex;align-items:center;gap:14px;padding:0 19px;background:#17213d;color:#fff;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}.cw8-status-rail>a span{color:#70ddc1;font-size:15px}
body.cw-v8 .cw-card{padding:22px;border:1px solid #dce3ee;border-radius:22px;background:#fff!important;color:var(--cw8-ink)!important;box-shadow:0 12px 40px rgba(31,44,77,.055);transition:border-color .2s,transform .2s,box-shadow .2s}
body.cw-v8 .cw-grid>.cw-card:hover{transform:translateY(-3px);border-color:#c9c4fa;box-shadow:0 18px 45px rgba(45,40,110,.09)}
body.cw-v8 .cw-card::after{right:-35px;top:-50px;width:125px;height:125px;background:#edf2fc}
body.cw-v8 .cw-card h2,body.cw-v8 .cw-card h3,body.cw-v8 .cw-row-title{color:var(--cw8-ink)!important;letter-spacing:-.025em}
body.cw-v8 .cw-card small{color:#68768e!important}
body.cw-v8 .cw-stat{position:relative;color:#111827;font-size:2.45rem;line-height:1.1;letter-spacing:-.04em}
body.cw-v8 .cw-trend{position:relative;color:#1a9976;font-weight:750}
body.cw-v8 .cw-muted{color:#6b7890!important;line-height:1.55}
body.cw-v8 .cw-progress{height:9px;background:#e9edf4}
body.cw-v8 .cw-progress span{background:linear-gradient(90deg,#6558e8,#2785ef,#1cbd93);box-shadow:none}
body.cw-v8 .cw-two{grid-template-columns:1.32fr .88fr;gap:14px}
body.cw-v8 .cw-three{gap:12px}
body.cw-v8 .cw-three>div{min-width:0}
body.cw-v8 .cw-mini,body.cw-v8 .cw-col,body.cw-v8 .cw-row{border:1px solid #e2e7ef;background:#f8f9fc!important;color:var(--cw8-ink)!important}
body.cw-v8 .cw-mini{padding:14px;border-radius:14px}
body.cw-v8 .cw-row{padding:14px;border-radius:15px}
body.cw-v8 .cw-command{gap:9px}
body.cw-v8 .cw-command a{position:relative;padding:16px 13px;border:1px solid #dee4ef;border-radius:16px;background:#f8f9fc!important;color:#182235!important}
body.cw-v8 .cw-command a::after{content:"↗";position:absolute;right:11px;top:10px;color:#6558e8;font-weight:900}
body.cw-v8 .cw-command a:hover{border-color:#c4bef8;background:#f3f1ff!important}
body.cw-v8 .cw-badge{padding:6px 9px;border-color:#cbc6fb;background:#f0eeff;color:#5b4ed9;font-size:.7rem;letter-spacing:.02em}
body.cw-v8 .cw-step{grid-template-columns:31px 1fr;padding:5px 0}
body.cw-v8 .cw-step-dot{width:27px;height:27px;background:#edf1f6;border-color:#dce3ed;color:#68768e}
body.cw-v8 .cw-step.done .cw-step-dot{background:linear-gradient(135deg,#1fbf91,#0aa9b8)}
body.cw-v8 .cw-step.work .cw-step-dot{background:linear-gradient(135deg,#6558e8,#3386f0)}
body.cw-v8 .cw-col{padding:15px;border-radius:16px}
body.cw-v8 .cw-form label{color:#364157!important;font-size:.82rem}
body.cw-v8 .cw-form input,body.cw-v8 .cw-form textarea,body.cw-v8 .cw-form select{margin:7px 0 11px;padding:14px;border:1px solid #dce3ee;border-radius:14px;background:#f8f9fc!important;color:#101828!important;box-shadow:none}
body.cw-v8 .cw-form input:focus,body.cw-v8 .cw-form textarea:focus,body.cw-v8 .cw-form select:focus{outline:0;border-color:#7a6eef;box-shadow:0 0 0 4px rgba(101,88,232,.1)}
body.cw-v8 .cw-upload{border-color:#b8c6dc;background:#f5f8fd;border-radius:18px}
body.cw-v8 .cw-row a{color:#5548d4!important}
body.cw-v8 .portal-side-collapse{top:115px!important;left:247px!important;border:1px solid #dce3ee!important;background:#fff!important;color:#1a2438!important;box-shadow:0 9px 25px rgba(30,43,75,.12)!important}
body.cw-v8.portal-collapsed .portal-side-collapse{left:79px!important}
body.cw-v8.portal-collapsed .cw-shell{grid-template-columns:76px minmax(0,1fr)}
body.cw-v8.portal-collapsed .cw-sidebar{width:76px;padding:10px}
body.cw-v8.portal-collapsed .cw-brand-card{height:52px;padding:0;margin-bottom:10px}
body.cw-v8.portal-collapsed .cw-brand-card>* ,body.cw-v8.portal-collapsed .cw-brand-card::after{display:none}
body.cw-v8.portal-collapsed .cw-brand-card::before{display:block;left:13px;top:13px;width:26px;height:26px;background:linear-gradient(135deg,#6558e8,#22b5c2)}
body.cw-v8.portal-collapsed .cw-nav a{padding:8px;justify-content:center;font-size:0}
body.cw-v8.portal-collapsed .cw-nav a.active::after{right:2px}
.cw8-page-hero{min-height:270px!important;display:flex;flex-direction:column;justify-content:center}.cw8-page-hero .cw-btns{margin-top:16px}.cw8-alert{margin:0 0 15px;padding:13px 16px;border:1px solid;border-radius:14px;font-size:12px;font-weight:750}.cw8-alert.is-success{border-color:#b4e7d5;background:#e9faf4;color:#117257}.cw8-alert.is-error{border-color:#f0c2cb;background:#fff1f3;color:#ad3148}
.cw8-support-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.cw8-support-kpis article{display:grid;gap:5px;padding:17px 18px;border:1px solid #dce3ee;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(31,44,77,.04)}.cw8-support-kpis small{color:#78859a;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.cw8-support-kpis b{color:#111827;font-size:1.65rem;line-height:1}.cw8-support-kpis span{color:#738198;font-size:10px}.cw8-support-kpis .is-live b{display:flex;align-items:center;gap:8px;font-size:1rem}.cw8-support-kpis .is-live i{width:9px;height:9px;border-radius:50%;background:#27c294;box-shadow:0 0 0 5px rgba(39,194,148,.12)}
.cw8-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cw8-field-grid label{display:grid}.cw8-sla-card .cw-timeline{margin:18px 0 22px}.cw8-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px}.cw8-section-head h3{margin-bottom:0!important}.cw8-list-search input{width:min(250px,35vw);height:42px;padding:0 13px;border:1px solid #dce3ee;border-radius:12px;background:#f8f9fc;color:#182235;font:inherit;font-size:12px;outline:0}.cw8-list-search input:focus{border-color:#7c70ef;box-shadow:0 0 0 4px rgba(101,88,232,.09)}.cw8-ticket-item{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #e1e6ef;border-radius:15px;background:#f8f9fc}.cw8-ticket-priority{padding:7px 8px;border-radius:9px;background:#e9f3ff;color:#2572c0;font-size:9px;font-weight:850;text-align:center;text-transform:uppercase}.cw8-ticket-priority.is-high,.cw8-ticket-priority.is-critical{background:#fff0f2;color:#b8324a}.cw8-ticket-priority.is-low{background:#e9faf4;color:#15785c}.cw8-empty-list{display:grid;gap:5px;grid-column:1/-1;padding:38px;border:1px dashed #cad4e2;border-radius:16px;background:#f8fafc;color:#718096;text-align:center}.cw8-empty-list b{color:#344157}
.cw8-dropzone{display:grid;justify-items:center;gap:5px;margin:8px 0 14px;padding:30px 18px;border:1px dashed #b8c6db;border-radius:18px;background:#f6f8fc;color:#334057;text-align:center;cursor:pointer;transition:border-color .2s,background .2s}.cw8-dropzone:hover{border-color:#7c70ef;background:#f3f1ff}.cw8-dropzone input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.cw8-dropzone small{color:#7c899b!important;font-weight:500!important}.cw8-drop-icon{width:43px;height:43px;display:grid;place-items:center;margin-bottom:4px;border-radius:13px;background:linear-gradient(135deg,#6558e8,#2d82ef);color:#fff;font-size:19px;font-weight:300;box-shadow:0 9px 22px rgba(75,82,220,.17)}.cw8-upload-footer{display:flex;justify-content:space-between;align-items:center;gap:15px}.cw8-upload-footer>span{color:#7d899b;font-size:9px}.cw8-storage-card{text-align:center}.cw8-storage-ring{width:128px;height:128px;display:grid;place-items:center;align-content:center;margin:22px auto;border-radius:50%;background:radial-gradient(circle,#fff 57%,transparent 59%),conic-gradient(#6558e8 calc(var(--storage)*1%),#e8ecf3 0)}.cw8-storage-ring strong{color:#152039;font-size:1.8rem;line-height:1}.cw8-storage-ring small{color:#7a879a!important}.cw8-storage-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:17px}.cw8-storage-meta span{display:grid;padding:9px;border-radius:11px;background:#f7f8fb;color:#758197;font-size:8px}.cw8-storage-meta b{color:#243047;font-size:13px}.cw8-file-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.cw8-file-card{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;grid-template-rows:auto auto;gap:4px 11px;align-items:center;padding:13px;border:1px solid #e0e6ef;border-radius:15px;background:#f8f9fc;color:#182235!important;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}.cw8-file-card:hover{transform:translateY(-2px);border-color:#c6c0f8;box-shadow:0 10px 24px rgba(53,55,132,.08)}.cw8-file-type{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#ece9ff;color:#5d51d8;font-size:8px;font-weight:900}.cw8-file-card>div{display:grid;min-width:0}.cw8-file-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#233047;font-size:11px}.cw8-file-card small,.cw8-file-card time{color:#7c899c!important;font-size:8px}.cw8-file-card time{grid-column:2/4}.cw8-file-open{grid-column:3;grid-row:1;color:#5b4fd6;font-size:15px;text-align:center}

/* Support messenger */
.cw8-chat{position:fixed;right:22px;bottom:20px;z-index:10020;font-family:inherit;color:#172033}
.cw8-chat [hidden]{display:none!important}
.cw8-chat-panel{display:none;width:min(430px,calc(100vw - 24px));height:min(720px,calc(100vh - 105px));grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #d7e0ec;border-radius:26px;background:#fff;box-shadow:0 34px 100px rgba(18,29,57,.28);transform-origin:bottom right}
.cw8-chat-panel.is-open{display:grid;animation:cw8ChatIn .28s cubic-bezier(.2,.75,.25,1)}
.cw8-chat-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;padding:16px 17px;background:linear-gradient(135deg,#17213d 0%,#253863 100%);color:#fff}
.cw8-support-avatar{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:linear-gradient(135deg,#6558e8,#1baeba);font-size:12px;font-weight:900;letter-spacing:.03em;box-shadow:0 8px 24px rgba(14,19,40,.22)}
.cw8-chat-identity{min-width:0}.cw8-chat-identity strong{display:block;color:#fff;font-size:14px}.cw8-chat-identity span{display:flex;align-items:center;gap:6px;margin-top:3px;color:#bdc9de;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw8-chat-identity i{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#32d99d;box-shadow:0 0 0 4px rgba(50,217,157,.12)}
.cw8-chat-head-actions{display:flex;gap:5px}.cw8-chat-head-actions button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.11);border-radius:11px;background:rgba(255,255,255,.07);color:#fff;cursor:pointer}.cw8-chat-head-actions button:hover{background:rgba(255,255,255,.14)}.cw8-chat-head-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cw8-chat-head-actions .is-muted{opacity:.55}.cw8-chat-head-actions .is-muted::after{content:"";position:absolute;width:18px;height:1px;background:currentColor;transform:rotate(-45deg)}
.cw8-chat-context{display:flex;justify-content:space-between;align-items:center;padding:8px 15px;border-bottom:1px solid #e6ebf2;background:#f8f9fc;color:#6f7c91;font-size:10px}.cw8-chat-context span::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#26b98e}.cw8-chat-context button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#5d55d9;font-size:10px;font-weight:800;cursor:pointer}.cw8-chat-context svg,.cw8-chat-search svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.cw8-chat-search{display:grid;grid-template-columns:18px 1fr 25px;align-items:center;gap:7px;padding:9px 13px;border-bottom:1px solid #e2e7ef;background:#fff;color:#6b7890}.cw8-chat-search input{height:32px;border:0;outline:0;background:transparent;color:#172033;font:inherit;font-size:12px}.cw8-chat-search button{border:0;background:transparent;color:#78869a;font-size:19px;cursor:pointer}
.cw8-chat-body{position:relative;overflow-y:auto;padding:16px 14px 20px;background:linear-gradient(180deg,#f5f8fc,#eef3fa);scrollbar-width:thin;scrollbar-color:#bcc7d8 transparent}
.cw8-chat-loading{display:flex;justify-content:center;gap:5px;padding:30px}.cw8-chat-loading span{width:7px;height:7px;border-radius:50%;background:#7266ea;animation:cw8Typing .9s infinite alternate}.cw8-chat-loading span:nth-child(2){animation-delay:.15s}.cw8-chat-loading span:nth-child(3){animation-delay:.3s}
.cw8-day{display:flex;align-items:center;gap:9px;margin:12px 0;color:#8995a7;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.cw8-day::before,.cw8-day::after{content:"";height:1px;flex:1;background:#dce3ec}
.cw8-message{display:flex;align-items:flex-end;gap:8px;margin:12px 0}.cw8-message.is-mine{flex-direction:row-reverse}.cw8-message-avatar{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#fff;border:1px solid #d8e1ec;color:#48556c;font-size:8px;font-weight:900}.cw8-message.is-support .cw8-message-avatar{background:#17213d;border-color:#17213d;color:#fff}
.cw8-message-stack{max-width:80%;min-width:0}.cw8-message-meta{display:flex;align-items:center;gap:8px;margin:0 3px 4px;color:#77859a;font-size:9px}.cw8-message-meta b{color:#435067;font-size:9px}.cw8-message.is-mine .cw8-message-meta{justify-content:flex-end}
.cw8-message-bubble{padding:10px 12px;border:1px solid #dce3ed;border-radius:7px 17px 17px 17px;background:#fff;color:#273247;box-shadow:0 5px 16px rgba(31,44,77,.045);font-size:13px;line-height:1.5;overflow:hidden}.cw8-message-bubble p{margin:0;color:inherit}.cw8-message.is-mine .cw8-message-bubble{border:0;border-radius:17px 7px 17px 17px;background:linear-gradient(135deg,#6257e8,#397dea);color:#fff;box-shadow:0 8px 20px rgba(73,83,216,.17)}
.cw8-delivery{display:block;margin:4px 4px 0;color:#728096;font-size:8px;text-align:right}
.cw8-message-attachment{display:grid;grid-template-columns:35px minmax(0,1fr);grid-template-rows:auto auto;gap:1px 8px;margin-top:8px;padding:8px;border:1px solid rgba(106,122,151,.22);border-radius:11px;background:rgba(248,250,253,.88);color:#172033!important;text-decoration:none}.cw8-message.is-mine .cw8-message-attachment{background:rgba(255,255,255,.95)}.cw8-message-attachment>span{grid-row:1/3;width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#ece9ff;color:#5b50d8;font-size:8px;font-weight:900}.cw8-message-attachment b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.cw8-message-attachment small{color:#738198;font-size:8px}.cw8-message-attachment.is-image{display:block;padding:5px}.cw8-message-attachment.is-image img{display:block;width:100%;max-height:190px;object-fit:cover;border-radius:8px}.cw8-message-attachment.is-image b,.cw8-message-attachment.is-image small{display:inline-block;margin:6px 4px 3px}
.cw8-chat-empty{max-width:270px;margin:45px auto;text-align:center}.cw8-chat-empty>span{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 13px;border-radius:17px;background:linear-gradient(135deg,#17213d,#6257e8);color:#fff;font-size:13px;font-weight:900;box-shadow:0 10px 25px rgba(56,68,134,.15)}.cw8-chat-empty h3{margin:0 0 6px;color:#182235;font-size:16px}.cw8-chat-empty p{margin:0;color:#6f7c91;font-size:12px;line-height:1.55}
.cw8-new-messages{position:absolute;left:50%;bottom:116px;z-index:4;transform:translateX(-50%);padding:8px 12px;border:0;border-radius:99px;background:#17213d;color:#fff;font-size:10px;font-weight:800;box-shadow:0 8px 22px rgba(16,25,50,.2);cursor:pointer}
.cw8-chat-picker{padding:12px 13px;border-top:1px solid #e2e7ef;background:#fff}.cw8-picker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#3c485d;font-size:11px}.cw8-picker-head button{border:0;background:transparent;color:#738096;font-size:19px;cursor:pointer}.cw8-quick-replies{display:grid;grid-template-columns:1fr 1fr;gap:6px}.cw8-quick-replies button{padding:8px 9px;border:1px solid #dce3ee;border-radius:9px;background:#f7f8fb;color:#48556c;font-size:10px;font-weight:750;text-align:left;cursor:pointer}.cw8-quick-replies button:hover{border-color:#c7c1fa;background:#f1efff;color:#5549d5}.cw8-emoji-row{display:flex;gap:5px;margin-top:8px}.cw8-emoji-row button{width:31px;height:31px;border:1px solid #e1e6ef;border-radius:9px;background:#fff;cursor:pointer}
.cw8-chat-compose{border-top:1px solid #dce3ec;background:#fff}.cw8-file-preview{display:grid;grid-template-columns:36px 1fr 27px;gap:8px;align-items:center;margin:9px 12px 0;padding:8px;border:1px solid #dce3ec;border-radius:12px;background:#f7f9fc}.cw8-file-kind{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#ece9ff;color:#5c50d8;font-size:7px;font-weight:900}.cw8-file-preview>span:nth-child(2){display:grid;min-width:0}.cw8-file-preview b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#253047;font-size:10px}.cw8-file-preview small{color:#7a879a;font-size:8px}.cw8-file-preview button{border:0;background:transparent;color:#78859a;font-size:18px;cursor:pointer}
.cw8-compose-row{display:flex;align-items:flex-end;gap:5px;padding:10px 10px 4px}.cw8-compose-tool{flex:0 0 34px;width:34px;height:38px;display:grid;place-items:center;border:0;border-radius:10px;background:#f2f4f8;color:#5d6980;cursor:pointer}.cw8-compose-tool:hover{background:#ebe9ff;color:#584cd7}.cw8-compose-tool svg,.cw8-send svg,.cw8-launcher-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cw8-message-field{display:grid;flex:1;min-width:0;padding:7px 10px 5px;border:1px solid #dce3ee;border-radius:13px;background:#f8f9fc}.cw8-message-field:focus-within{border-color:#857af0;box-shadow:0 0 0 3px rgba(101,88,232,.08)}.cw8-message-field textarea{width:100%;min-height:20px;max-height:112px;resize:none;overflow-y:auto;border:0;outline:0;background:transparent;color:#182235;font:inherit;font-size:12px;line-height:1.4}.cw8-message-field small{margin-top:2px;color:#9aa4b4;font-size:7px}
.cw8-send{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:12px;background:linear-gradient(135deg,#6558e8,#2b83ef);color:#fff;box-shadow:0 8px 18px rgba(75,82,220,.2);cursor:pointer}.cw8-send:disabled{opacity:.5;cursor:wait}.cw8-compose-status{display:flex;justify-content:space-between;gap:8px;padding:4px 13px 9px;color:#8b97a9;font-size:7px}.cw8-compose-status .is-error{color:#c23b54;font-weight:800}
.cw8-chat-launcher{display:flex;align-items:center;gap:10px;min-width:158px;padding:9px 13px 9px 9px;border:1px solid rgba(255,255,255,.45);border-radius:18px;background:linear-gradient(135deg,#17213d,#283b68);color:#fff;box-shadow:0 16px 42px rgba(27,39,76,.28);cursor:pointer}.cw8-chat-launcher[hidden]{display:none}.cw8-chat-launcher>span:nth-child(2){display:grid;text-align:left}.cw8-chat-launcher b{color:#fff;font-size:12px}.cw8-chat-launcher small{color:#abbad2;font-size:9px}.cw8-launcher-icon{position:relative;width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#6558e8,#19afbd)}.cw8-launcher-icon svg{width:20px;height:20px}.cw8-launcher-icon i{position:absolute;right:-1px;top:-1px;width:8px;height:8px;border:2px solid #24365e;border-radius:50%;background:#33d89c}.cw8-chat-launcher em{min-width:20px;height:20px;display:grid;place-items:center;margin-left:auto;padding:0 5px;border-radius:99px;background:#ef4663;color:#fff;font-size:9px;font-style:normal;font-weight:900}.cw8-chat-launcher em[hidden]{display:none}

@keyframes cw8ChatIn{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}
@keyframes cw8Typing{from{transform:translateY(0);opacity:.45}to{transform:translateY(-5px);opacity:1}}
@keyframes cw8Drift{50%{transform:translate(-18px,12px) rotate(8deg)}}
@media(max-width:1280px){body.cw-v8 .cw-two{grid-template-columns:1fr}body.cw-v8 .cw-hero-grid{grid-template-columns:1fr 280px}}
@media(max-width:1180px){.cw8-status-rail{grid-template-columns:1fr 1fr}.cw8-status-rail article{border-bottom:1px solid #e5e9f0}.cw8-status-rail>a{min-height:62px;justify-content:center}.cw8-support-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:980px){body.cw-v8 .cw-shell{grid-template-columns:1fr;padding:18px 16px 68px}body.cw-v8 .cw-sidebar{position:relative;top:0;height:auto;display:flex;gap:12px;overflow-x:auto;border-radius:20px}body.cw-v8 .cw-brand-card{flex:0 0 210px;margin:0}body.cw-v8 .cw-nav{display:flex;align-items:center;min-width:max-content}body.cw-v8 .cw-nav a{min-width:44px}body.cw-v8 .portal-side-collapse{display:none!important}}
@media(max-width:720px){body.cw-v8 .cw-hero{padding:26px 21px}body.cw-v8 .cw-hero-grid{grid-template-columns:1fr}body.cw-v8 .cw-grid{grid-template-columns:1fr 1fr}body.cw-v8 .cw-health{max-width:none}body.cw-v8 .cw-command{grid-template-columns:1fr 1fr 1fr}.cw8-status-rail{grid-template-columns:1fr}.cw8-status-rail article{border-right:0}.cw8-support-kpis{grid-template-columns:1fr 1fr}.cw8-field-grid,.cw8-file-grid{grid-template-columns:1fr}.cw8-section-head{align-items:stretch;flex-direction:column}.cw8-list-search input{width:100%}.cw8-chat{right:12px;bottom:12px}.cw8-chat-panel{height:calc(100dvh - 24px);border-radius:22px}.cw8-chat-launcher{min-width:144px}}
@media(max-width:520px){body.cw-v8 .nav{height:68px}body.cw-v8 .nav-inner{height:68px}body.cw-v8 .cw-shell{padding:12px 10px 64px}body.cw-v8 .cw-sidebar{padding:9px}body.cw-v8 .cw-brand-card{display:none}body.cw-v8 .cw-grid{grid-template-columns:1fr}body.cw-v8 .cw-three,body.cw-v8 .cw-command{grid-template-columns:1fr}body.cw-v8 .cw-hero h1{font-size:2.45rem}.cw8-support-kpis{grid-template-columns:1fr}.cw8-ticket-item{grid-template-columns:68px minmax(0,1fr)}.cw8-ticket-item>.cw-badge{grid-column:2;width:max-content}.cw8-upload-footer{align-items:stretch;flex-direction:column}.cw8-chat{inset:0;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.cw8-chat>*{pointer-events:auto}.cw8-chat-panel{width:100vw;height:100dvh;border:0;border-radius:0}.cw8-chat-launcher{position:absolute;right:12px;bottom:12px}.cw8-message-stack{max-width:84%}}
@media(prefers-reduced-motion:reduce){.cw8-chat-panel.is-open,body.cw-v8 .cw-hero::before,.cw8-chat-loading span{animation:none!important}}
