:root{--red:#d51920;--red-dark:#b71017;--ink:#20222a;--muted:#787e8b;--line:#e9eaf0;--surface:#f5f6f8;--green:#27865f;--shadow:0 10px 35px #242a3610;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:14px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--surface)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #df555b;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #d5192030;border-color:var(--red)}button{border:0;background:transparent;color:inherit}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.25;font-weight:650;letter-spacing:-.7px}h2{font-size:20px;font-weight:650;letter-spacing:-.3px}h3{font-size:16px}p{line-height:1.6}svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.6px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:9px;white-space:nowrap;font-weight:600;line-height:20px}.primary{background:var(--red);color:white;box-shadow:0 3px 8px #d5192012}.primary:hover{background:var(--red-dark)}.secondary{background:white;border:1px solid #dce0e7}.secondary:hover{background:#fafafb}.quiet{color:var(--muted);padding:8px}.quiet:hover{color:var(--ink);background:#eef0f4}.text-btn{color:var(--red);font-size:13px;font-weight:600;padding:5px 0;display:inline-flex;gap:6px;align-items:center}.text-btn svg{width:15px;height:15px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;background:white;width:37px;height:37px}.pill{font-size:11px;border-radius:6px;padding:5px 8px;white-space:nowrap;font-weight:600;background:#f0f1f5;color:#677184;display:inline-flex;align-items:center;gap:5px}.pill:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.pill.new{color:#5065af;background:#edf0fe}.pill.in_progress{color:#b47517;background:#fff4df}.pill.waiting{color:#8a5ea0;background:#f4edfa}.pill.resolved{color:#25805b;background:#eaf6ef}.urgent{color:#c4232c}.high{color:#b37816}.label{display:block;font-size:12px;font-weight:600;color:#4d5361;margin:0 0 7px}input,textarea,select{width:100%;border:1px solid #dce0e7;background:white;border-radius:8px;padding:11px 12px;color:var(--ink)}textarea{resize:vertical;line-height:1.6;min-height:110px}input::placeholder,textarea::placeholder{color:#a0a4af}.field{margin-bottom:17px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.error{padding:11px 13px;background:#fff0f0;color:#b9272d;border-radius:8px;margin:12px 0;font-size:13px}.check{display:flex;align-items:center;gap:9px;font-size:12px;color:#737986}.check input{width:16px;height:16px;accent-color:var(--red)}.divider{height:1px;background:var(--line);margin:20px 0}.starting{padding:80px;color:var(--muted)}
.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:228px;display:flex;flex-direction:column;padding:30px 19px 20px;z-index:2}.brand{width:130px;height:auto;display:block;margin:0 13px 10px}.brand-caption{font-size:10px;letter-spacing:2px;color:#a0a4af;margin:0 13px 33px;text-transform:uppercase}.workspace{border:1px solid var(--line);padding:11px;border-radius:10px;margin-bottom:27px;display:flex;align-items:center;gap:10px}.workspace-icon{background:#f2f3f6;color:#838995;width:32px;height:32px;display:grid;place-items:center;border-radius:7px}.workspace strong{font-size:12px;display:block;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace span{font-size:10px;color:var(--muted)}.nav-label{font-size:10px;font-weight:600;color:#a3a8b3;letter-spacing:1.4px;margin:0 12px 10px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;padding:12px;border-radius:8px;text-align:left;color:#737986;font-size:13px;margin-bottom:4px}.nav-item:hover{background:#f7f8fa}.nav-item.active{color:var(--red);background:#fff0f0;font-weight:600}.count{margin-left:auto;font-size:10px;min-width:19px;height:19px;border-radius:5px;background:#f1f2f5;color:#8b909d;display:grid;place-items:center}.active .count{background:#fadbdc;color:var(--red)}.sidebar-bottom{margin-top:auto;padding-top:30px}.help-box{border:1px solid var(--line);padding:15px 12px;border-radius:10px;background:#fafbfc;margin-bottom:14px}.help-box strong{font-size:12px;display:block;margin:8px 0 5px}.help-box p{font-size:11px;color:var(--muted)}.sidebar-bottom .nav-item{font-size:12px}.sidebar-version{font-size:10px;color:#adb1ba;padding:10px 12px}.main{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffce;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#9b9fac;display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:500;color:#545b6b}.connection{font-size:11px;display:flex;gap:6px;align-items:center;color:#728278}.connection:before{content:'';width:6px;height:6px;border-radius:50%;background:#3c9c70}.connection.demo:before{background:#b8862e}.avatar{width:33px;height:33px;background:#fff0f0;color:var(--red);border:1px solid #f5e0e1;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700}.top-name{font-size:12px;line-height:1.4}.top-name span{font-size:10px;color:var(--muted);display:block}.content{max-width:1380px;padding:32px 38px 40px;margin:auto}.demo-banner{font-size:11px;color:#8b743f;background:#faf4e8;border-bottom:1px solid #f1e9d7;padding:8px 38px;display:flex;justify-content:space-between;align-items:center}.demo-banner button{font-size:11px;text-decoration:underline}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.page-head p{color:var(--muted);font-size:13px;margin-top:8px}.date{color:#9399a5;font-size:12px}.hero{border-radius:14px;background:#23252e;color:white;padding:29px 31px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero:after{content:'+';position:absolute;right:32px;top:-42px;font-size:260px;line-height:1;font-weight:200;color:#ffffff04;transform:rotate(12deg);pointer-events:none}.hero .eyebrow{color:#e99a9d;margin-bottom:13px}.hero h2{font-size:26px;letter-spacing:-.5px;font-weight:600}.hero p{font-size:12px;color:#b1b5c2;margin:10px 0 22px}.hero-input{display:flex;gap:10px;position:relative;z-index:1}.hero-input input{background:white;border:none;padding:15px 16px;box-shadow:0 3px 6px #00000010}.hero-input .btn{padding:13px 19px}.quick-actions{display:flex;gap:9px;margin-top:15px;flex-wrap:wrap}.quick-actions button{display:flex;align-items:center;gap:7px;font-size:11px;padding:7px 11px;border:1px solid #ffffff18;border-radius:6px;color:#c3c7d3}.quick-actions button:hover{background:#ffffff12}.quick-actions svg{width:14px;height:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 28px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 20px;display:flex;gap:15px;align-items:center}.stat-icon{width:39px;height:39px;border-radius:10px;background:#f2f4fb;color:#7c8bb9;display:grid;place-items:center}.stat-icon.red{background:#fff0ef;color:#c86a6d}.stat-icon.green{background:#edf6f0;color:#699c7c}.stat-value{font-size:22px;font-weight:650;letter-spacing:-.5px;margin:1px 0 4px}.stat .small{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(230px,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between}.card-head h2{font-size:16px}.ticket-row{padding:18px 22px;border-top:1px solid #f0f1f5;display:flex;align-items:flex-start;gap:13px;width:100%;text-align:left}.ticket-row:hover{background:#fcfcfe}.ticket-icon{width:31px;height:31px;display:grid;place-items:center;background:#f6f7fa;border:1px solid #eceef2;border-radius:7px;color:#8891a4}.ticket-icon svg{width:16px;height:16px}.ticket-body{flex:1;min-width:0}.ticket-title{font-size:13px;font-weight:600;line-height:1.55;display:block}.ticket-sub{display:flex;align-items:center;gap:7px;font-size:10px;color:#9aa0ad;margin-top:7px}.ticket-sub .dot{width:3px;height:3px;border-radius:50%;background:#a3a8b3}.ticket-row .pill{font-size:10px;margin-top:3px}.article-row{display:flex;gap:10px;padding:13px 22px;border-top:1px solid #f2f3f6;text-align:left;width:100%;align-items:center;font-size:12px;line-height:1.5}.article-row>svg{color:#a4aaba;width:16px}.article-row:hover{background:#fcfcfe}.article-row .arrow{margin-left:auto}.tip{margin-top:20px;background:#f0f2f5;border:1px solid #e8ebf0;padding:18px 20px;border-radius:11px}.tip h3{font-size:12px;display:flex;align-items:center;gap:8px}.tip p{font-size:11px;color:#8a90a0;margin-top:8px}.footer-note{margin-top:27px;display:flex;align-items:center;justify-content:space-between;color:#a2a7b0;font-size:10px}.toolbar{display:flex;gap:11px;margin-bottom:20px}.toolbar input{flex:1}.toolbar select{width:190px}.empty{padding:50px 25px;text-align:center;color:var(--muted)}.empty svg{width:35px;height:35px;margin-bottom:12px;color:#bbc0cc}.empty h3{color:#606a7d;margin-bottom:10px}.empty p{font-size:12px;margin-bottom:18px}.ticket-table{width:100%;border-collapse:collapse}.ticket-table th{font-size:10px;color:#8c93a2;font-weight:500;text-align:left;padding:13px 20px;background:#fafbfc;border-bottom:1px solid var(--line)}.ticket-table td{padding:18px 20px;font-size:12px;border-bottom:1px solid #f0f1f5;vertical-align:middle}.ticket-table tbody tr{cursor:pointer}.ticket-table tbody tr:hover{background:#fdfbfb}.ticket-table td:nth-child(1){max-width:360px}.ticket-table .ticket-sub{font-size:10px}.knowledge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.knowledge-card{padding:24px;text-align:left;min-height:180px}.knowledge-card>svg{color:var(--red);margin-bottom:20px}.knowledge-card h3{font-size:14px;line-height:1.5;margin-bottom:10px}.knowledge-card p{font-size:12px;color:var(--muted)}.knowledge-card:hover{border-color:#dfaaac;box-shadow:var(--shadow)}.article-steps{padding-left:23px;color:#5e6675;line-height:1.75;font-size:13px}.article-steps li{padding:7px 0 7px 6px}.article-lead{font-size:14px;color:#727a8c;margin:15px 0}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:21px}.detail-info{padding:22px}.detail-info .label{font-size:10px;color:#969cab}.detail-info .value{margin:0 0 20px;line-height:1.5;font-size:12px}.ticket-description{padding:22px;border-bottom:1px solid var(--line);white-space:pre-wrap;font-size:13px;line-height:1.75}.message-list{max-height:470px;overflow:auto;padding:22px;display:grid;gap:22px}.message{display:flex;gap:12px}.message-avatar{width:30px;height:30px;background:#f0f3f8;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:11px;font-weight:600;color:#8895ad}.message.engineer .message-avatar{background:#fae9e9;color:var(--red)}.message-title{font-size:11px;font-weight:600;display:flex;align-items:center;gap:10px}.message-title time{font-size:10px;color:#a2a9b5;font-weight:400}.message-text{font-size:13px;line-height:1.75;white-space:pre-wrap;margin-top:7px;color:#596274}.message.internal{background:#fffaee;padding:12px;border-radius:9px}.reply-form{border-top:1px solid var(--line);padding:18px 22px}.reply-form textarea{min-height:82px;background:#fafbfc}.reply-actions{margin-top:10px;display:flex;justify-content:space-between;align-items:center}.file-chip{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-top:9px;background:#f7f8fa;border:1px solid var(--line);border-radius:7px;font-size:12px}.file-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chip .small{margin-left:auto;color:var(--muted)}.diagnostic{font-size:12px;display:grid;gap:0;margin-top:10px}.diagnostic>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.diagnostic span{color:var(--muted)}.diagnostic strong{text-align:right;font-weight:500}.device-hero{padding:28px;display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:center}.device-big{width:85px;height:85px;background:#f4f5f8;border-radius:20px;display:grid;place-items:center;color:#8c97ab}.device-big svg{width:44px;height:44px}.device-hero h2{margin-bottom:8px}.device-hero p{font-size:13px;color:var(--muted);margin-bottom:17px}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.settings-card{padding:26px}.settings-card p{font-size:12px;color:var(--muted);margin:12px 0 22px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:22px}.assistant-chat{min-height:530px;display:flex;flex-direction:column}.assistant-messages{padding:25px;display:grid;gap:25px;max-height:540px;overflow:auto;flex:1}.assistant-bubble{display:flex;gap:12px}.assistant-mark{background:var(--red);border-radius:10px;width:31px;height:31px;color:white;display:grid;place-items:center;flex-shrink:0}.assistant-mark svg{width:18px}.assistant-bubble.user .assistant-mark{background:#eceef3;color:#8490a8}.assistant-bubble p{font-size:13px;line-height:1.8;white-space:pre-wrap;color:#5e6677}.assistant-bubble strong{font-size:12px;display:block;margin-bottom:9px}.source{display:block;font-size:10px;color:#a0a6b1;margin:10px 0}.assistant-form{padding:17px 22px;border-top:1px solid var(--line)}.assistant-form .row input{flex:1}.assistant-form .check{margin-top:10px}.chat-side{padding:22px}.chat-side p{font-size:12px;color:var(--muted);margin:10px 0 15px}.chat-side .btn{width:100%}.chat-topics{display:grid;gap:9px;margin-top:20px}.chat-topics button{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:8px;text-align:left;font-size:12px;padding:12px;color:#747c8a}.chat-topics svg{width:16px;height:16px}.chat-topics button:hover{border-color:#d99d9f;color:var(--red)}
dialog{border:1px solid #e7e9ee;border-radius:16px;padding:0;max-width:620px;width:calc(100% - 60px);box-shadow:0 25px 100px #1a203440;color:var(--ink)}dialog::backdrop{background:#1d263d66;backdrop-filter:blur(3px)}.modal-head{padding:24px 27px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px}.modal-body{padding:24px 27px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.modal-info{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.6}.modal-body .check{margin:13px 0}.new-files{margin-top:10px}.new-files .file-chip{margin-bottom:10px}.hidden{display:none!important}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;max-width:650px;padding:13px 20px;border-radius:10px;box-shadow:var(--shadow);background:#242834;color:white;font-size:13px;opacity:0;pointer-events:none;transition:opacity .15s}#toast.visible{opacity:1}.login-screen{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:white}.login-story{padding:55px 60px;background:#24262f;color:white;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-brand{background:white;width:150px;border-radius:6px;padding:13px 15px;display:block}.login-brand img{width:120px;display:block}.login-story .eyebrow{color:#e29a9d;margin-top:100px}.login-story h1{font-size:45px;line-height:1.2;margin:21px 0;font-weight:600;letter-spacing:-1.5px;position:relative;z-index:1}.login-story p{color:#b2b8c5;max-width:350px;font-size:14px;line-height:1.8}.login-features{display:grid;gap:22px;margin-top:45px;font-size:13px;color:#c4c8d1}.login-features .row svg{color:#e37b7e}.login-foot{margin-top:auto;padding-top:75px;font-size:11px;color:#70798c}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{max-width:370px;width:100%}.login-form h2{font-size:29px;margin-bottom:12px}.login-form>p{font-size:13px;color:var(--muted);margin-bottom:30px}.login-form .btn.primary{width:100%;margin-top:18px}.demo-choice{display:flex;gap:10px;margin-top:12px}.demo-choice .btn{flex:1;font-size:12px}.demo-caption{font-size:11px;color:#959baa;margin-top:12px;line-height:1.6}.soft-label{font-size:10px;color:#9da3b0;text-transform:uppercase;letter-spacing:1px}.field-note{font-size:10px;color:#959ba7;margin-top:6px}.badge-line{display:flex;align-items:center;gap:9px;margin-top:12px}.badge-line .pill{font-size:10px}.heading-back{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;margin-bottom:15px}.heading-back svg{width:14px;height:14px}.history{font-size:11px;line-height:1.7;color:#969ead;display:grid;gap:12px}.history strong{color:#727b8c;font-weight:500;display:block}.new-flag{font-size:11px;color:var(--red)}
@media(max-width:1150px){.sidebar{width:205px;padding-left:13px;padding-right:13px}.shell{grid-template-columns:205px 1fr}.content{padding:26px}.topbar{padding:0 26px}.dashboard-grid{grid-template-columns:1.6fr 1fr}.ticket-row{padding:17px}.ticket-row .pill{font-size:9px}.chat-layout{grid-template-columns:minmax(0,1fr) 220px}.hero{padding:25px}.login-story{padding:45px}.login-story h1{font-size:39px}.detail-grid{grid-template-columns:minmax(0,1fr) 240px}.knowledge-grid{grid-template-columns:1fr 1fr}}

#app-updates [hidden] { display: none !important; }

.crm-card{margin-top:20px}.crm-note{padding:0 22px 20px}.crm-body{display:flex;flex-direction:column;flex:1;min-width:0}.crm-title{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-row .ticket-sub{margin-top:4px}.crm-late{color:var(--red);font-weight:600}
