:root{--bg: #eef0f4;--surface: #ffffff;--surface-2: #f7f8fa;--surface-hover: #f2f4f8;--border: #e5e8ee;--border-strong: #d6dbe4;--divider: #eef0f4;--text: #141821;--text-2: #4b5563;--text-muted: #8b93a1;--text-faint: #aab0bc;--graphite: #3c434b;--navy: #1e3a8a;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-soft: #eef3ff;--primary-ring: rgba(37,99,235,.2);--red: #dc2626;--red-soft: #fdecec;--amber: #b45309;--amber-soft: #fdf1e3;--violet: #6d28d9;--violet-soft: #f3edfe;--green: #15803d;--green-soft: #e8f6ee;--slate: #5b6472;--slate-soft: #eef0f3;--rail: #20252d;--rail-2: #272d37;--rail-line: #333b47;--rail-text: #c4cbd6;--rail-muted: #7d8794;--rail-active: #2e3742;--r-sm: 4px;--r-md: 6px;--r-lg: 8px;--r-full: 999px;--danger: var(--red);--brand-graphite: #3c434b;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.brand{font-weight:700;letter-spacing:.01em}.brand-ops{color:var(--brand-graphite)}.brand-key{color:var(--primary)}.auth-card .auth-brand{margin:0 0 .25rem;font-size:2rem;letter-spacing:.02em}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}.app{display:grid;grid-template-columns:244px 1fr;height:100vh;overflow:hidden}.rail{background:var(--rail);border-right:1px solid var(--rail-line);display:flex;flex-direction:column;color:var(--rail-text);overflow-y:auto}.rail-top{padding:18px 16px 14px;display:flex;align-items:flex-start;gap:8px}.rlogo{font-size:20px;font-weight:800;letter-spacing:-.02em}.rlogo-ops{color:#e6e9ee}.rlogo-key{color:#93adf0}.rlogo-sub{font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--rail-muted);margin-top:3px}.rgrp{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--rail-muted);padding:14px 18px 6px}.rview{display:flex;align-items:center;gap:10px;margin:1px 8px;padding:9px 10px;border-radius:var(--r-md);cursor:pointer;color:var(--rail-text);font-weight:500;font-size:13px;text-decoration:none}.rview:hover{background:var(--rail-2)}.rview.on{background:var(--rail-active);color:#fff}.rview .ic{width:18px;text-align:center;flex:none;color:var(--rail-muted)}.rview.on .ic{color:#93adf0}.rview .nm{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rview .cnt{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--rail-muted);min-width:20px;text-align:right}.rview .cnt.hot{color:#f0a3a3}.rview .cnt.warn{color:#e3b877}.rview.on .cnt{color:var(--rail-text)}.dotmark{width:7px;height:7px;border-radius:50%;flex:none}.rview.rnew .nm{color:var(--rail-muted)}.rview .del{border:0;background:none;padding:0 2px;cursor:pointer;color:var(--rail-muted);font-size:14px;line-height:1;opacity:0}.rview:hover .del{opacity:1}.rview .del:hover{color:#f0a3a3}.rnav{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--r-md);color:var(--rail-muted);font-weight:500;font-size:13px;text-decoration:none}.rnav:hover,.rnav.on{background:var(--rail-2);color:var(--rail-text)}.rnav .ic{width:16px;text-align:center;flex:none}.rail-foot{margin-top:auto;border-top:1px solid var(--rail-line);padding:8px}.ruser{display:flex;align-items:center;gap:10px;padding:8px 10px;margin-top:4px}.ruser .av{width:30px;height:30px;border-radius:var(--r-full);background:var(--navy);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}.ruser .nm{font-size:12px;color:var(--rail-text);font-weight:600;line-height:1.2}.ruser .rl{font-size:10px;color:var(--rail-muted)}.ruser .logout{margin-left:auto;background:none;border:none;color:var(--rail-muted);cursor:pointer;font-size:15px}.ruser .logout:hover{color:#f0a3a3}.rail-bell{display:flex;justify-content:flex-end;padding:4px 6px 0}.main{overflow-y:auto;background:var(--bg)}.wshead{padding:18px 24px 14px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:8}.wstop{display:flex;align-items:center;gap:12px}.wstop h1{font-size:19px;font-weight:700;letter-spacing:-.01em;margin:0}.wstop .sp{flex:1}.wstats2{display:flex;margin-top:14px}.wstats2 .wstat{display:flex;flex-direction:column;gap:1px;padding-left:24px;margin-left:24px;border-left:1px solid var(--divider)}.wstats2 .wstat:first-child{padding-left:0;margin-left:0;border-left:0}.wstat .v{font-size:20px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}.wstat .k{font-size:11px;font-weight:500;color:var(--text-muted)}.wstat.hot .v{color:var(--red)}.wstat.good .v{color:var(--green)}.btn{height:32px;padding:0 13px;border-radius:var(--r-md);font-size:13px;font-weight:600;font-family:inherit;border:1px solid transparent;cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.btn-secondary:hover{background:var(--surface-hover)}.btn-sm{height:28px;padding:0 10px;font-size:12px}.wsctrl{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:11px 24px;background:var(--surface-2);border-bottom:1px solid var(--border)}.wsctrl .sp{flex:1}.listwrap{padding:18px 24px 28px}.atable{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}.ahead,.arow{display:grid;grid-template-columns:4px 54px minmax(200px,1fr) 150px 160px 152px 92px;align-items:center}.ahead{height:38px;background:var(--surface-2);border-bottom:1px solid var(--border)}.ahead .th{padding:0 8px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);display:flex;align-items:center;height:100%}.arow{border-bottom:1px solid var(--divider);cursor:pointer;transition:background .1s;height:52px}.arow:last-child{border-bottom:0}.arow:hover{background:var(--surface-hover)}.pbar{height:100%;width:4px}.pbar-urgent{background:var(--red)}.pbar-high{background:#ea580c}.pbar-normal{background:var(--primary)}.pbar-low{background:#c2c8d2}.c-id{padding-left:12px;color:var(--text-muted);font-weight:600;font-variant-numeric:tabular-nums;font-size:12px}.c-title{padding-left:4px;min-width:0}.c-title .tx{font-weight:500;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.arow:hover .c-title .tx{color:var(--primary)}.acell{padding:0 8px;font-size:12px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c-meta{display:flex;align-items:center;gap:8px;min-width:0;padding:0 8px;color:var(--text-2);font-size:12px}.miniav{width:22px;height:22px;border-radius:var(--r-full);background:var(--slate-soft);color:var(--slate);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}.miniav.me{background:var(--navy);color:#fff}.c-meta .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unassigned{color:var(--text-faint);font-style:italic}.st-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:1px solid transparent;height:26px;padding:0 24px 0 10px;border-radius:var(--r-full);font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;max-width:150px;background-repeat:no-repeat;background-position:right 7px center;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b93a1' stroke-width='2.4'><path d='M6 9l6 6 6-6'/></svg>")}.sts-new{background-color:var(--primary-soft);color:var(--primary)}.sts-progress{background-color:var(--amber-soft);color:var(--amber)}.sts-waiting{background-color:var(--violet-soft);color:var(--violet)}.sts-resolved{background-color:var(--green-soft);color:var(--green)}.sts-closed{background-color:var(--slate-soft);color:var(--slate)}.c-sla{text-align:right;padding-right:12px;font-variant-numeric:tabular-nums}.slapill{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:var(--r-full);font-size:12px;font-weight:600;white-space:nowrap}.sla-breach{background:var(--red-soft);color:var(--red);font-weight:700}.sla-soon{background:var(--amber-soft);color:var(--amber)}.sla-ok{color:var(--text-2)}.sla-none{color:var(--text-faint)}.pager2{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px;color:var(--text-muted)}.backlink{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--text-2);cursor:pointer;background:none;border:none;padding:0}.backlink:hover{color:var(--primary)}.cardhead h1{font-size:19px;font-weight:700;letter-spacing:-.01em;margin:8px 0 0;display:flex;align-items:center;gap:10px}.cardhead h1 .cdot{width:9px;height:9px;border-radius:50%;flex:none}.cardhead h1 .cid{color:var(--text-muted);font-weight:600}.cardhead .metaline{color:var(--text-2);font-size:12px;margin:6px 0 0 19px}.cardhead .metaline b{color:var(--text);font-weight:600}.cardhead .acts{display:flex;align-items:center;gap:8px;margin-left:auto}.cardscroll{padding:22px 24px 40px}.detail{display:grid;grid-template-columns:1fr 336px;gap:22px;align-items:start;max-width:1220px}@media (max-width: 900px){.detail{grid-template-columns:1fr}}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:18px 20px}.desc{font-size:14px;line-height:1.6;white-space:pre-wrap}.block-title{font-size:14px;font-weight:700;margin:24px 0 12px}.cmt{border:1px solid var(--border);border-radius:var(--r-lg);padding:13px 15px;margin-bottom:11px;background:var(--surface)}.cmt.internal{background:var(--amber-soft);border-color:#f2e2c9}.cmt-head{display:flex;align-items:center;gap:9px;margin-bottom:7px}.cmt-av{width:26px;height:26px;border-radius:var(--r-full);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;flex:none}.av-cli{background:var(--graphite)}.av-eng{background:var(--navy)}.cmt-name{font-weight:600;font-size:13px}.cmt-note{font-size:11px;font-weight:600;color:var(--amber)}.cmt-time{margin-left:auto;font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums}.cmt-body{font-size:13px;line-height:1.55}.cmt-body p{margin:0 0 .4rem}.cmt-body p:last-child{margin-bottom:0}.cmt-body ul,.cmt-body ol{margin:.3rem 0;padding-left:1.4rem}.cmt-atts{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.attchip{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);font-size:12px;color:var(--text-2);background:var(--surface-2);cursor:pointer}.attchip .sz{color:var(--text-faint)}.composer{border:1px solid var(--border-strong);border-radius:var(--r-lg);background:var(--surface);overflow:hidden}.composer:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.composer .foot{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border-top:1px solid var(--divider);background:var(--surface-2)}.side{display:flex;flex-direction:column;gap:14px}.side-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:15px 16px}.side-h{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin:0 0 11px}.kv{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:13px;border-bottom:1px solid var(--divider);gap:10px}.kv:last-child{border-bottom:0}.kv .k{color:var(--text-muted);flex:none}.kv .v{color:var(--text);font-weight:500;font-variant-numeric:tabular-nums;text-align:right}.kv .v.warn{color:var(--amber);font-weight:600}.kv .v.breach{color:var(--red);font-weight:700}.kv .v.none{color:var(--text-faint)}.field{margin-bottom:11px}.field:last-child{margin-bottom:0}.field label{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:5px}.fsel{height:34px;width:100%;border:1px solid var(--border-strong);border-radius:var(--r-md);padding:0 11px;font-size:13px;font-family:inherit;color:var(--text);background-color:var(--surface);cursor:pointer}.fsel:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.side-sep{height:1px;background:var(--divider);margin:13px 0}.btn-danger{background:var(--surface);border:1px solid #f0cccc;color:var(--red)}.btn-danger:hover{background:var(--red-soft)}.btn.w100{width:100%;justify-content:center}.file-row{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);font-size:13px;margin-bottom:10px;cursor:pointer}.file-row .nm{font-weight:500;color:var(--primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row .sz{margin-left:auto;color:var(--text-faint);font-size:12px;flex:none}.hist{position:relative;padding-left:17px}.hist:before{content:"";position:absolute;left:4px;top:4px;bottom:4px;width:2px;background:var(--divider)}.hist-item{position:relative;padding:0 0 13px}.hist-item:last-child{padding-bottom:0}.hist-item:before{content:"";position:absolute;left:-17px;top:4px;width:8px;height:8px;border-radius:50%;background:var(--border-strong);box-shadow:0 0 0 3px var(--surface)}.hist-item .t{font-size:11px;color:var(--text-muted);margin-bottom:2px}.hist-item .m{font-size:13px}.hist-item .m b{font-weight:600}.hist-item .who{font-size:11px;color:var(--text-muted);margin-top:1px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:2.5rem;width:100%;max-width:360px;display:flex;flex-direction:column;gap:.5rem}.auth-card h1{margin:0 0 .25rem;font-size:1.5rem}.auth-subtitle{margin:0 0 1rem;color:var(--text-muted);font-size:.9rem}.auth-card label{font-size:.85rem;color:var(--text-muted);margin-top:.5rem}.auth-card input{padding:.6rem .75rem;border:1px solid var(--border);border-radius:8px;font-size:1rem}.auth-card button{margin-top:1.25rem;padding:.7rem;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:1rem;cursor:pointer}.auth-card button:hover{background:var(--primary-hover)}.auth-error{color:var(--danger);font-size:.85rem;margin:.5rem 0 0}.app-nav{display:flex;align-items:center;gap:1.5rem;padding:0 1.5rem;height:56px;background:var(--surface);border-bottom:1px solid var(--border)}.app-nav-brand{font-weight:700}.app-nav-links{display:flex;gap:1rem;flex:1}.app-nav-links a{text-decoration:none;color:var(--text-muted);font-size:.9rem;padding:.3rem 0;border-bottom:2px solid transparent}.app-nav-links a.active{color:var(--primary);border-bottom-color:var(--primary)}.app-nav-user{display:flex;align-items:center;gap:.75rem}.app-nav-role{font-size:.8rem;color:var(--text-muted)}.app-nav-logout{padding:.4rem .9rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--danger);cursor:pointer;font-size:.85rem}.bell-wrapper{position:relative}.bell-button{position:relative;background:none;border:none;cursor:pointer;font-size:1.1rem;line-height:1;padding:.35rem}.bell-badge{position:absolute;top:-2px;right:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--danger);color:#fff;font-size:.65rem;font-weight:700;line-height:17px;text-align:center}.bell-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.bell-panel{position:fixed;top:56px;left:252px;width:380px;max-height:75vh;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 32px #0000002e;z-index:60}.bell-button{color:var(--rail-text)}.bell-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface)}.bell-mark-read{background:none;border:none;color:var(--primary);cursor:pointer;font-size:.8rem}.bell-empty,.bell-hint{padding:1.25rem 1rem;color:var(--text-muted);font-size:.85rem;margin:0;text-align:center}.bell-group{padding:.75rem 1rem;border-bottom:1px solid var(--border)}.bell-group-unread{background:#f6f9ff}.bell-group-head{display:block;width:100%;text-align:left;background:none;border:none;cursor:pointer;padding:0}.bell-number{color:var(--text-muted);font-size:.75rem;font-variant-numeric:tabular-nums;margin-right:.4rem}.bell-title{font-size:.88rem;font-weight:600;color:var(--text)}.bell-org{display:block;color:var(--text-muted);font-size:.75rem;margin-top:.15rem}.bell-events{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.2rem}.bell-event{display:flex;gap:.6rem;font-size:.76rem;color:var(--text-muted)}.bell-event.unread .bell-event-type{color:var(--text);font-weight:600}.bell-event-time{min-width:132px;flex-shrink:0}.bell-more{background:none;border:none;color:var(--primary);cursor:pointer;padding:.35rem 0 0;font-size:.76rem}.ticket-form{display:flex;flex-direction:column;gap:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem;margin-bottom:1.5rem}.ticket-form input,.ticket-form textarea{padding:.6rem;border:1px solid var(--border);border-radius:6px;font-family:inherit}.ticket-form button:not(.btn){align-self:flex-start;padding:.5rem 1.25rem;border:none;border-radius:6px;background:var(--primary);color:#fff;cursor:pointer}.ticket-form button.btn{align-self:flex-start}.filters-block{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.85rem 1rem;margin-bottom:1.25rem}.filters-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.7rem}.filters-title{font-size:.8rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.filters-reset{border:none;background:none;color:var(--primary);cursor:pointer;font-size:.82rem}.tickets-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.filter-search{display:flex;gap:.4rem;flex:1;min-width:260px}.filter-search input{flex:1;min-width:0;padding:.5rem .7rem;border:1px solid var(--border);border-radius:8px;font-size:.9rem}.filter-search button{padding:.5rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer}.tickets-filters select{padding:.5rem .7rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:.9rem}.filter-mine{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--text-muted)}.status-dropdown{position:relative}.status-dropdown-btn{padding:.5rem .7rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;font-size:.9rem;font-family:inherit;white-space:nowrap}.dropdown-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.status-dropdown-menu{position:absolute;top:calc(100% + .35rem);left:0;z-index:50;min-width:200px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 32px #0000001f;padding:.4rem;display:flex;flex-direction:column;gap:.15rem}.status-dropdown-item{display:flex;align-items:center;gap:.5rem;padding:.4rem .5rem;border-radius:6px;cursor:pointer}.status-dropdown-item:hover{background:var(--bg)}.status-dropdown-clear{margin-top:.2rem;padding:.4rem .5rem;border:none;border-top:1px solid var(--border);background:none;color:var(--primary);cursor:pointer;font-size:.82rem;text-align:left}.badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600}.status-new{background:#f5d8d3;color:#d43919}.status-in_progress{background:#fef3c7;color:#92400e}.status-waiting_client{background:#ede9fe;color:#5b21b6}.status-resolved{background:#d1fae5;color:#065f46}.status-closed{background:#e5e7eb;color:#374151}.priority-low{background:#f3f4f6;color:#4b5563}.priority-medium{background:#e0f2fe;color:#075985}.priority-high{background:#fef3c7;color:#92400e}.priority-urgent{background:#fee2e2;color:#991b1b}.empty-state{color:var(--text-muted);text-align:center;padding:3rem 0}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.25rem}.pagination button{padding:.45rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer;font-size:.85rem}.pagination button:disabled{opacity:.45;cursor:not-allowed}.pagination-info{font-size:.82rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.badge-overdue{background:#fee2e2;color:#991b1b;margin-left:.4rem}.assignee-cell{color:var(--text-muted);font-size:.85rem}.priority-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:.55rem;vertical-align:middle;flex-shrink:0}.priority-dot-low{background:#9ca3af}.priority-dot-medium{background:#0ea5e9}.priority-dot-high{background:#f59e0b}.priority-dot-urgent{background:#dc2626}.priority-dot.blink{animation:dot-pulse 1s ease-in-out infinite}@keyframes dot-pulse{0%,to{transform:scale(1);box-shadow:0 0 #2563eb00}50%{transform:scale(1.5);box-shadow:0 0 0 4px #2563eb40}}.new-activity td:first-child{box-shadow:inset 3px 0 0 var(--primary)}.new-activity td{background:#f6f9ff}.status-select{padding:.3rem .5rem;border:1px solid var(--border);border-radius:999px;font-size:.75rem;font-weight:600;cursor:pointer;max-width:150px}.status-select option.status-new{background:#f5d8d3;color:#d43919}.status-select option.status-in_progress{background:#fef3c7;color:#92400e}.status-select option.status-waiting_client{background:#ede9fe;color:#5b21b6}.status-select option.status-resolved{background:#d1fae5;color:#065f46}.status-select option.status-closed{background:#e5e7eb;color:#374151}.sla-left{font-variant-numeric:tabular-nums;color:var(--text-muted)}.sla-overdue{font-weight:700;color:#b91c1c}.daily-chart{width:100%;height:auto;display:block}.chart-grid{stroke:var(--border);stroke-width:1}.chart-tick{fill:var(--text-muted);font-size:11px}.chart-line{stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-created{stroke:#2563eb}.chart-resolved{stroke:#059669}.chart-legend{display:flex;gap:1.25rem;margin-bottom:.5rem}.legend-item{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:var(--text-muted)}.legend-dot{width:10px;height:3px;border-radius:2px}.legend-created{background:#2563eb}.legend-resolved{background:#059669}.chart-axis{display:flex;justify-content:space-between;font-size:.72rem;color:var(--text-muted);margin-top:.25rem}.status-breakdown{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.status-row{display:flex;align-items:center;gap:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.5rem .85rem}.status-count{font-weight:700;font-variant-numeric:tabular-nums}.ticket-number{color:var(--text-muted);font-variant-numeric:tabular-nums}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f9fafb}.ticket-page{max-width:1180px;margin:0 auto;padding:2rem 1.5rem}.ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1.5rem;align-items:start}@media (max-width: 900px){.ticket-layout{grid-template-columns:1fr}}.ticket-main{min-width:0}.ticket-headline{display:flex;align-items:center;gap:.1rem}.ticket-headline h1{margin:0;font-size:1.35rem;line-height:1.4}.initiator-line{color:var(--text-muted);font-size:.85rem;margin:.5rem 0 1rem}.ticket-body{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem 1.15rem;margin-bottom:1.75rem}.ticket-body .ticket-description{margin:0;color:var(--text);white-space:pre-wrap}.ticket-body .empty-state{padding:.5rem 0}.ticket-side{display:flex;flex-direction:column;gap:1rem;position:sticky;top:1rem}.side-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem}.side-card h3{margin:0 0 .75rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.info-row{display:flex;justify-content:space-between;gap:.75rem;font-size:.82rem;padding:.3rem 0}.info-label{color:var(--text-muted);flex-shrink:0}.info-value{text-align:right}.info-danger{color:#b91c1c;font-weight:600}.side-field{display:flex;flex-direction:column;gap:.3rem;font-size:.78rem;color:var(--text-muted);margin-bottom:.75rem}.side-field select,.side-field input{padding:.4rem .5rem;border:1px solid var(--border);border-radius:6px;font-size:.85rem;font-family:inherit;background:var(--surface);color:var(--text)}.side-empty{padding:.5rem 0;text-align:left;font-size:.82rem}.side-card .history-item{flex-direction:column;gap:.15rem;align-items:flex-start;font-size:.78rem}.side-card .history-event{min-width:0}.side-card .attachment-form{margin-top:.75rem;margin-bottom:0;flex-wrap:wrap;gap:.5rem}.side-card .attachment-form input[type=file]{font-size:.75rem;max-width:100%}.back-link{background:none;border:none;color:var(--primary);cursor:pointer;padding:0;margin-bottom:1rem;font-size:.9rem}.ticket-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem}.ticket-detail-header h1{margin:0;font-size:1.4rem}.badges{display:flex;gap:.4rem;flex-shrink:0}.ticket-description{color:var(--text-muted);margin-bottom:2rem}.comments-title{font-size:1.1rem;margin-bottom:.75rem}.comments-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.comment-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.85rem 1rem}.comment-internal{background:#fffbeb;border-color:#fde68a}.comment-meta{display:flex;justify-content:space-between;font-size:.75rem;color:var(--text-muted);margin-bottom:.4rem}.comment-message{margin:0}.comment-message p{margin:0 0 .4rem}.comment-message p:last-child{margin-bottom:0}.comment-message ul,.comment-message ol{margin:.3rem 0;padding-left:1.4rem}.comment-message a{color:var(--primary)}.rte{border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--surface)}.rte-toolbar{display:flex;gap:.25rem;padding:.35rem .4rem;border-bottom:1px solid var(--border);background:var(--bg)}.rte-toolbar button{min-width:30px;height:28px;padding:0 .5rem;border:1px solid transparent;border-radius:6px;background:none;cursor:pointer;font-size:.82rem;color:var(--text)}.rte-toolbar button:hover{border-color:var(--border);background:var(--surface)}.rte-editor{min-height:80px;max-height:260px;overflow-y:auto;padding:.6rem .7rem;font-size:.92rem;line-height:1.5;outline:none}.rte-editor:empty:before{content:attr(data-placeholder);color:var(--text-muted)}.rte-editor ul,.rte-editor ol{padding-left:1.4rem;margin:.3rem 0}.msg-files{display:flex;flex-wrap:wrap;gap:.4rem}.msg-file-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;background:var(--bg);border:1px solid var(--border);border-radius:999px;font-size:.78rem}.msg-file-chip button{border:none;background:none;cursor:pointer;color:var(--text-muted);font-size:.75rem;padding:0}.comment-form-left{display:flex;align-items:center;gap:1rem}.attach-inline{cursor:pointer;font-size:1.1rem}.attach-inline input{display:none}.comment-form{display:flex;flex-direction:column;gap:.5rem}.comment-form textarea{padding:.6rem;border:1px solid var(--border);border-radius:6px;font-family:inherit;min-height:80px}.comment-form-actions{display:flex;justify-content:space-between;align-items:center}.internal-checkbox{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--text-muted)}.comment-form-actions button{padding:.5rem 1.25rem;border:none;border-radius:6px;background:var(--primary);color:#fff;cursor:pointer}.ticket-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem;margin-bottom:2rem}.ticket-controls label{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem;color:var(--text-muted)}.ticket-controls select{padding:.45rem .6rem;border:1px solid var(--border);border-radius:6px;font-size:.9rem;background:var(--surface)}.assignee-control{display:flex;flex-direction:column;gap:.3rem}.assignee-status{font-size:.8rem;color:var(--text-muted)}.assignee-control button{padding:.45rem .9rem;border:1px solid var(--primary);border-radius:6px;background:var(--surface);color:var(--primary);cursor:pointer;font-size:.85rem}.snooze-control{display:flex;align-items:flex-end;gap:.5rem}.snooze-control input{padding:.4rem .5rem;border:1px solid var(--border);border-radius:6px;font-size:.85rem;font-family:inherit}.snooze-control button{padding:.45rem .9rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);cursor:pointer;font-size:.85rem}.snooze-control button:disabled{opacity:.5;cursor:not-allowed}.snooze-banner{background:#ede9fe;border:1px solid #ddd6fe;color:#5b21b6;border-radius:8px;padding:.6rem .9rem;font-size:.85rem;margin:0 0 1.5rem}.junk-banner{background:#f3f4f6;border:1px solid var(--border);color:var(--text-muted);border-radius:8px;padding:.6rem .9rem;font-size:.85rem;margin:0 0 1rem}.junk-button{width:100%;margin-top:.5rem;padding:.45rem .9rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-muted);cursor:pointer;font-size:.82rem}.junk-button:hover{color:var(--danger);border-color:#fca5a5}.history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.history-scroll{max-height:200px;overflow-y:auto;padding-right:.35rem}.history-item{display:flex;gap:.75rem;align-items:baseline;font-size:.82rem;padding:.5rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:6px}.history-event{font-weight:600;min-width:90px}.history-change{flex:1;color:var(--text)}.history-author{color:var(--text-muted)}.comment-attachments{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.attachment-chip{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .6rem;border:1px solid var(--border);border-radius:999px;background:var(--bg);color:var(--primary);font-size:.8rem;cursor:pointer}.attachment-chip span{color:var(--text-muted)}.attachments-list{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.75rem}.attachment-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:6px}.attachment-name{background:none;border:none;color:var(--primary);cursor:pointer;padding:0;font-size:.9rem;text-align:left}.attachment-meta{font-size:.8rem;color:var(--text-muted);white-space:nowrap}.attachment-form{display:flex;gap:.75rem;align-items:center;margin-bottom:1.5rem}.attachment-form button{padding:.45rem 1.1rem;border:none;border-radius:6px;background:var(--primary);color:#fff;cursor:pointer}.attachment-form button:disabled{opacity:.5;cursor:not-allowed}.history-date{color:var(--text-muted)}.self-hint{font-size:12px;color:var(--text-muted);font-style:italic}.settings-title{margin:0 0 4px;font-size:15px;font-weight:700}.settings-hint{color:var(--text-muted);font-size:12px;line-height:1.5;margin:0 0 16px}.hours-input{width:70px;padding:.35rem .5rem;border:1px solid var(--border);border-radius:6px;font-size:.85rem}.org-select{padding:.3rem .4rem;border:1px solid var(--border);border-radius:6px;font-size:.82rem;background:var(--surface);max-width:170px}.type-form{margin-top:1.5rem;flex-direction:row;flex-wrap:wrap;align-items:flex-end}.type-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--text-muted)}.type-form input[type=number]{width:90px}.ticket-form select{padding:.6rem;border:1px solid var(--border);border-radius:6px;font-family:inherit;background:var(--surface)}.mailbox-form{display:flex;flex-direction:column;gap:1rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1.5rem}.mailbox-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:var(--text-muted)}.mailbox-form input{padding:.55rem .7rem;border:1px solid var(--border);border-radius:6px;font-size:.95rem;font-family:inherit}.mailbox-row{display:flex;gap:1rem}.mailbox-row>label:first-child{flex:1}.mailbox-port{width:110px}.mailbox-hint{font-weight:400;color:var(--text-muted)}.mailbox-form button{align-self:flex-start}.mailbox-saved{color:#065f46;font-size:.9rem}.color-presets{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.25rem}.color-swatch{width:36px;height:36px;border-radius:8px;border:2px solid transparent;cursor:pointer}.color-swatch.active{border-color:var(--text);box-shadow:0 0 0 2px var(--surface) inset}.color-custom{display:flex;align-items:center;gap:.6rem;font-size:.85rem;color:var(--text-muted);margin-bottom:1.25rem}.color-custom input[type=color]{width:44px;height:32px;border:1px solid var(--border);border-radius:6px;padding:0;cursor:pointer;background:none}.color-value{font-variant-numeric:tabular-nums;text-transform:uppercase}.color-save{padding:.55rem 1.5rem;border:none;border-radius:6px;background:var(--primary);color:#fff;cursor:pointer}.seg{display:inline-flex;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-md);padding:2px;gap:2px}.seg button{height:26px;padding:0 12px;border:0;border-radius:var(--r-sm);background:none;color:var(--text-2);font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.seg button:hover{color:var(--text)}.seg button.on{background:var(--rail);color:#fff}.dtable{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;font-size:13px}.dtable thead th{height:34px;padding:0 12px;text-align:left;background:var(--surface-2);border-bottom:1px solid var(--border);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap}.dtable tbody td{height:48px;padding:0 12px;border-bottom:1px solid var(--divider);color:var(--text-2);vertical-align:middle}.dtable tbody tr:last-child td{border-bottom:0}.dtable tbody tr:hover{background:var(--surface-hover)}.dtable td.strong{color:var(--text);font-weight:500}.dtable td.num{font-variant-numeric:tabular-nums;text-align:right}.dtable th.num{text-align:right}.dtable td.act{text-align:right;white-space:nowrap}.sec-title{font-size:14px;font-weight:700;margin:22px 0 11px}.sec-title:first-child{margin-top:0}.pform{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:14px 16px;margin-bottom:14px}.pform input,.pform select{height:32px;min-width:170px;flex:1;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);font:inherit;font-size:13px;color:var(--text)}.pform input:focus,.pform select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.settings-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start;max-width:1220px}.snav{display:flex;flex-direction:column;gap:2px}.snav a{padding:8px 11px;border-radius:var(--r-md);font-size:13px;font-weight:500;color:var(--text-2);text-decoration:none}.snav a:hover{background:var(--surface-hover);color:var(--text)}.snav a.active{background:var(--rail);color:#fff;font-weight:600}@media (max-width: 900px){.settings-grid{grid-template-columns:minmax(0,1fr)}.snav{flex-direction:row;flex-wrap:wrap}}.atable.sel .ahead,.atable.sel .arow{grid-template-columns:4px 34px 54px minmax(200px,1fr) 150px 160px 152px 92px}.c-check{display:flex;align-items:center;justify-content:center}.c-check input{width:15px;height:15px;cursor:pointer;accent-color:var(--primary)}.atable.compact .arow{height:40px}.atable.compact .ahead{height:32px}.atable.compact .miniav{width:20px;height:20px;font-size:8px}.atable.compact .slapill{height:20px;padding:0 8px;font-size:11px}.atable.compact .st-select{height:22px}.th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;gap:4px}.th.sortable:hover{color:var(--text)}.th .sar{font-size:9px;opacity:.5}.th.sorted{color:var(--text)}.th.sorted .sar{opacity:1;color:var(--primary)}.grouphead{grid-column:1 / -1;display:flex;align-items:center;gap:8px;padding:0 12px;height:32px;background:var(--surface-2);border-bottom:1px solid var(--divider);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.grouphead .cnt{font-variant-numeric:tabular-nums;color:var(--text-faint);font-weight:600;letter-spacing:0}.grouphead.g-breach{background:var(--red-soft);color:var(--red)}.grouphead.g-soon{background:var(--amber-soft);color:var(--amber)}.chipf{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 6px 0 10px;border:1px solid var(--border-strong);border-radius:var(--r-full);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.chipf:hover{background:var(--surface-hover);color:var(--text)}.chipf.on{background:var(--rail);border-color:var(--rail);color:#fff}.chipf .x{border:0;background:none;padding:0 2px;cursor:pointer;color:inherit;opacity:.55;font-size:13px;line-height:1}.chipf .x:hover{opacity:1}.bulkbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:11px 24px;background:var(--rail);border-bottom:1px solid var(--rail-line);color:#fff}.bulkbar .cnt{font-size:13px;font-weight:600}.bulkbar .sp{flex:1}.bulkbar select{height:28px;padding:0 8px;border-radius:var(--r-md);border:1px solid var(--rail-line);background:var(--rail-2);color:var(--rail-text);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.bulkbar .btn-ghost{height:28px;padding:0 10px;border-radius:var(--r-md);border:1px solid var(--rail-line);background:none;color:var(--rail-text);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.bulkbar .btn-ghost:hover{background:var(--rail-2);color:#fff}.badge-view{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--red);background:var(--red-soft);padding:3px 9px;border-radius:var(--r-full)}.rview .edit{border:0;background:none;padding:0 2px;cursor:pointer;color:var(--rail-muted);font-size:12px;line-height:1;opacity:0}.rview:hover .edit{opacity:1}.rview .edit:hover{color:#fff}.rail-empty{padding:4px 18px 8px;font-size:11px;line-height:1.5;color:var(--rail-muted)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#14182173;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:var(--surface);border-radius:var(--r-lg);box-shadow:0 18px 48px #1418214d;width:100%;max-width:480px;max-height:100%;display:flex;flex-direction:column}.modal form{display:flex;flex-direction:column;min-height:0}.modal-head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-size:15px;font-weight:700;flex:1}.modal-x{border:0;background:none;cursor:pointer;font-size:20px;line-height:1;color:var(--text-muted);padding:0 4px}.modal-x:hover{color:var(--text)}.modal-body{padding:18px 20px;overflow-y:auto}.modal-sep{height:1px;background:var(--divider);margin:16px 0}.modal-foot{display:flex;align-items:center;gap:8px;padding:13px 20px;border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 var(--r-lg) var(--r-lg)}.modal-foot .sp{flex:1}.finput{height:34px;width:100%;padding:0 11px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);font:inherit;font-size:13px;color:var(--text)}.finput:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.field-hint{margin:5px 0 0;font-size:11px;color:var(--text-muted)}.check-row{display:flex;flex-wrap:wrap;gap:10px 16px}.check{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--text-2);cursor:pointer}.check input{width:15px;height:15px;accent-color:var(--primary)}.icon-picker{display:flex;flex-wrap:wrap;gap:6px}.icon-opt{width:32px;height:32px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);cursor:pointer;font-size:14px;color:var(--text-2)}.icon-opt:hover{background:var(--surface-hover)}.icon-opt.on{background:var(--rail);border-color:var(--rail);color:#fff}.att-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.att-img{margin:0;border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden;background:var(--surface-2);max-width:240px}.att-img img{display:block;max-width:240px;max-height:180px;object-fit:cover;cursor:zoom-in;background:var(--surface)}.att-img-skeleton{width:160px;height:110px;background:linear-gradient(90deg,var(--surface-2),var(--surface-hover),var(--surface-2))}.att-img figcaption{display:flex;align-items:center;gap:8px;padding:6px 8px;border-top:1px solid var(--border);font-size:11px;color:var(--text-2)}.att-img figcaption .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-img figcaption .sz{margin-left:auto;color:var(--text-faint);flex:none}.attchip .att-act{border:0;background:none;padding:0 2px;color:var(--primary);font:inherit;font-size:11px;font-weight:600;cursor:pointer}.attchip .att-act:hover{text-decoration:underline}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#141821d1;display:flex;flex-direction:column}.lightbox-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--rail);color:#fff;border-bottom:1px solid var(--rail-line)}.lightbox-bar .nm{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lightbox-bar .sp{flex:1}.lightbox-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:18px}.lightbox-body img{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--r-md);background:var(--surface)}.lightbox-body iframe{width:100%;height:100%;border:0;border-radius:var(--r-md);background:var(--surface)}.lightbox-msg{color:var(--rail-text);font-size:13px}@media (max-width: 1400px){.ahead,.arow{grid-template-columns:4px 44px minmax(150px,1fr) 110px 130px 120px 88px}.atable.sel .ahead,.atable.sel .arow{grid-template-columns:4px 30px 44px minmax(150px,1fr) 110px 130px 120px 88px}.acell,.c-meta{font-size:11px}.st-select{max-width:118px}.c-sla .slapill{padding:0 7px;font-size:11px}}@media (max-width: 990px){.ahead,.arow{grid-template-columns:4px 44px minmax(140px,1fr) 124px 116px 88px}.atable.sel .ahead,.atable.sel .arow{grid-template-columns:4px 30px 44px minmax(140px,1fr) 124px 116px 88px}.c-org{display:none}}.ticket-form .form-row{display:flex;flex-wrap:wrap;gap:12px}.ticket-form .form-row label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:190px}.ticket-form .form-row label>span{font-size:12px;font-weight:600;color:var(--text-2)}.ticket-form .form-row select{height:34px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);font:inherit;font-size:13px;color:var(--text)}.ticket-form .form-row select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.pickrow{display:flex;gap:8px;align-items:stretch}.modebtn{width:34px;flex:none;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);color:var(--text-2);font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}.modebtn:hover{background:var(--surface-hover);color:var(--text)}.modebtn.excl{background:var(--red-soft);border-color:#f0cccc;color:var(--red)}.pick{position:relative;flex:1;min-width:0}.pick-btn{display:flex;align-items:center;gap:8px;width:100%;height:34px;padding:0 11px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);color:var(--text);font-family:inherit;font-size:13px;text-align:left;cursor:pointer}.pick-btn:hover{background:var(--surface-hover)}.pick-btn .caret{margin-left:auto;color:var(--text-muted);font-size:10px}.pick-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:50;max-height:220px;overflow-y:auto;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-md);box-shadow:var(--shadow-md, 0 8px 24px -10px rgba(20, 24, 33, .2));padding:5px}.pick-item{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:var(--r-sm);font-size:13px;color:var(--text-2);cursor:pointer}.pick-item:hover{background:var(--surface-hover);color:var(--text)}.pick-item input{width:15px;height:15px;accent-color:var(--primary)}.pick-empty{padding:8px;font-size:12px;color:var(--text-muted)}.pick-clear{width:100%;margin-top:4px;padding:6px;border:0;border-top:1px solid var(--divider);background:none;color:var(--primary);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.pick-clear:hover{text-decoration:underline}.durfield{display:inline-flex;gap:4px;align-items:center}.durfield select{height:30px;padding:0 6px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);font:inherit;font-size:12px;color:var(--text)}.slaform{display:flex;flex-direction:column;gap:10px;margin:12px 0 20px}.slaform-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.slaform-row .k{font-size:13px;color:var(--text-2);min-width:260px}.slaform-row .v{display:inline-flex;align-items:center;gap:8px}.slaform-row .unit{font-size:12px;color:var(--text-muted)}.settings-subtitle{font-size:14px;font-weight:700;margin:18px 0 4px}.cl-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}@media (max-width: 900px){.cl-grid{grid-template-columns:minmax(0,1fr)}}.cl-types{display:flex;flex-direction:column;gap:2px}.cl-type{display:flex;align-items:center;gap:8px;padding:9px 11px;border:0;border-radius:var(--r-md);background:none;color:var(--text-2);font:inherit;font-size:13px;text-align:left;cursor:pointer}.cl-type:hover{background:var(--surface-hover);color:var(--text)}.cl-type.on{background:var(--primary-soft);color:var(--primary);font-weight:600}.cl-type .nm{flex:1}.cl-type .cnt{min-width:20px;padding:1px 6px;border-radius:var(--r-full);background:var(--slate-soft);color:var(--text-muted);font-size:11px;font-weight:700;text-align:center}.cl-type .cnt.on{background:var(--green-soft);color:var(--green)}.cl-editor{min-width:0}.cl-switch{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin-bottom:6px}.cl-switch input{width:16px;height:16px;accent-color:var(--primary)}.cl-list{list-style:none;margin:10px 0 14px;padding:0;display:flex;flex-direction:column;gap:6px}.cl-list li{display:flex;align-items:center;gap:8px;padding:6px 10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md)}.cl-list .num{min-width:18px;color:var(--text-muted);font-size:12px;font-variant-numeric:tabular-nums}.cl-list .tx{flex:1;min-width:0;height:28px;padding:0 8px;border:1px solid transparent;border-radius:var(--r-sm);background:none;font:inherit;font-size:13px;color:var(--text)}.cl-list .tx:hover{border-color:var(--border);background:var(--surface-2)}.cl-list .tx:focus{outline:none;border-color:var(--primary);background:var(--surface)}.cl-list .btn-ghost:disabled{opacity:.3;cursor:default}.cl-list .btn-ghost.del:hover{color:var(--red)}.clist-add{display:flex;gap:8px}.clist-add input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);font:inherit;font-size:13px}.clist-progress{margin-left:8px;padding:1px 8px;border-radius:var(--r-full);background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:700}.clist-note{margin:0 0 8px;font-size:11px;color:var(--text-muted)}.clist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.clist li{display:flex;align-items:flex-start;gap:6px;font-size:13px}.clist li label{display:flex;align-items:flex-start;gap:8px;flex:1;cursor:pointer}.clist li input{margin-top:2px;accent-color:var(--primary)}.clist li.done .tx{color:var(--text-muted);text-decoration:line-through}.clist li .who{font-size:10px;color:var(--text-faint);white-space:nowrap}.asg-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:1px solid transparent;background:transparent;max-width:100%;min-width:0;height:26px;padding:0 18px 0 4px;font:inherit;font-size:12px;color:var(--text-2);cursor:pointer;text-overflow:ellipsis;background-repeat:no-repeat;background-position:right 2px center;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aab0bc' stroke-width='2.4'><path d='M6 9l6 6 6-6'/></svg>")}.asg-select:hover{border-color:var(--border-strong);background-color:var(--surface)}.asg-select.unassigned{color:var(--text-faint);font-style:italic}.pwd-modal{max-width:400px;padding:18px 20px}.pwd-modal .modal-h{margin:0 0 10px;font-size:15px;font-weight:700}.pwd-modal .field>span{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:5px}.pwd-modal .field input{width:100%;height:34px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);font:inherit;font-size:13px;color:var(--text)}.pwd-modal .field input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.pwd-modal .modal-acts{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.pwd-done{margin:6px 0 0;padding:10px 12px;border-radius:var(--r-md);background:var(--green-soft);color:var(--green);font-size:13px;font-weight:600}.settings-notice{margin:8px 0 12px;padding:9px 12px;border-radius:var(--r-md);background:var(--green-soft);color:var(--green);font-size:12px;font-weight:600}.slapill.sla-paused,.sla-paused{background:var(--slate-soft);color:var(--slate)}.profileform{display:flex;flex-direction:column;gap:4px;max-width:460px}.profileform .field input{width:100%;height:34px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);font:inherit;font-size:13px;color:var(--text)}.profileform .field input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.profileform .field>span:first-child{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:5px}.profileform-acts{margin-top:12px}.cl-editor .field>span:first-child,.profileform .field>span:first-child{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:5px}.cl-editor .field{max-width:460px;margin-bottom:14px}.cl-editor .field input{width:100%;height:34px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--r-md);font:inherit;font-size:13px;color:var(--text)}.cl-editor .field input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-ring)}.grouppill{display:inline-block;margin-right:6px;padding:2px 9px;border-radius:var(--r-full);background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:700}.settings-warn{margin:8px 0 14px;padding:10px 12px;border-radius:var(--r-md);background:var(--amber-soft);color:var(--amber);font-size:12px;font-weight:600;line-height:1.45}.checkgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 14px;margin:6px 0 14px}.checkgrid .chk{padding:5px 0;font-size:13px;color:var(--text)}.checkgrid .chk input{width:15px;height:15px;accent-color:var(--primary)}.analytics-group{max-width:220px;margin-right:10px}.obs-cell{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:4px 0}.obs-modal{max-width:520px}.obs-modal .checkgrid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.rowacts{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;justify-content:flex-end}.dtable td.act{width:1%}.field-label{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:5px}
