:root{--bg:#f5f6f8;--surface:#fff;--ink:#24242d;--muted:#8b8b97;--line:#ebebef;--accent:#fc7474;--accent-soft:#fff0ef;--nav:#202127;--nav-muted:#9a9ba6;--green:#259e78;--yellow:#ad7925;--blue:#5b7bc3;--shadow:0 4px 22px #27273004;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #fc747460;outline-offset:3px}a{color:inherit;text-decoration:none}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#fff;padding:30px 17px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-weight:650;font-size:20px;letter-spacing:-.6px;padding:0 10px}.brand-mark{display:grid;place-items:center;width:34px;height:37px;background:var(--accent);border-radius:10px;font-size:30px;color:#24242d;position:relative;line-height:1}.brand-mark span{font-size:15px;margin-top:-9px;position:absolute;right:5px;bottom:3px}.brand-sub{display:block;color:var(--nav-muted);font-size:8px;letter-spacing:1.7px;margin-top:6px;font-weight:600}.workspace{margin:35px 3px 25px;border:1px solid #ffffff13;border-radius:9px;display:flex;align-items:center;gap:10px;padding:12px 10px;color:#ededf0;font-size:11px}.workspace small,.profile small{display:block;color:var(--nav-muted);margin-top:4px;font-size:10px}.workspace-logo{width:29px;height:29px;background:#33343d;border-radius:6px;display:grid;place-items:center;font-weight:600}.chevron{margin-left:auto;color:#92939e}.nav-label{font-size:9px;letter-spacing:1.6px;color:#737580;margin:0 13px 12px;font-weight:600}nav{display:grid;gap:3px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#494a53 transparent}.nav-item{display:flex;align-items:center;gap:12px;color:#b2b3bd;font-size:12px;padding:10px 13px;border-radius:7px;min-height:35px}.nav-item svg{width:17px;height:17px;stroke-width:1.6;flex-shrink:0}.nav-item.active{color:#27272c;background:var(--accent);font-weight:600}.nav-item:hover:not(.active){background:#ffffff08;color:white}.nav-count{font-size:9px;border-radius:5px;margin-left:auto;padding:2px 6px;background:#ffffff0d;color:#b3b4be}.active .nav-count{background:#00000013;color:#35343b}.side-bottom{margin-top:auto;padding-top:20px}.connection{color:#999ba7;font-size:10px;padding:15px 12px}.connection span,.live-dot{width:6px;height:6px;background:#63b59c;border-radius:50%;display:inline-block;margin-right:8px}.profile{border-top:1px solid #ffffff0d;display:flex;align-items:center;gap:10px;padding:17px 8px 0;font-size:11px}.avatar{background:#ece8e4;color:#5c5753;border:0;font-size:10px;border-radius:50%;height:31px;width:31px;display:grid;place-items:center;font-weight:600;flex-shrink:0}.profile .icon-button{margin-left:auto;color:#9698a5}.app{margin-left:242px;min-height:100vh}.topbar{height:74px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.breadcrumb{color:var(--muted);font-size:11px}.breadcrumb span{padding:0 12px;color:#d3d3d9}.breadcrumb strong{font-weight:500;color:var(--ink)}.header-right{display:flex;align-items:center;gap:20px}.draft-badge{color:var(--muted);font-size:10px}.time-pill{padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);display:flex;align-items:center;font-size:11px;font-variant-numeric:tabular-nums}.time-pill .live-dot{background:#b3b5bf}.time-pill.running .live-dot{background:var(--green)}.clock-label{font-size:10px;color:var(--muted);margin-left:13px;padding-left:12px;border-left:1px solid var(--line)}main{padding:31px 34px 45px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.eyebrow{color:var(--muted);letter-spacing:1.6px;font-size:9px;font-weight:600;margin:0 0 9px}.page-heading h1{font-size:25px;letter-spacing:-.9px;margin:0;font-weight:620}.page-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin:9px 0 0}.heading-actions{display:flex;gap:9px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:7px;font-size:11px;border:1px solid var(--line);font-weight:550;background:var(--surface)}.button svg{width:14px;height:14px;stroke-width:1.8}.primary{background:var(--accent);border-color:var(--accent);color:#342b2c}.secondary{background:var(--surface)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px 20px 17px;box-shadow:var(--shadow)}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#777782}.stat-label svg{width:16px;height:16px;color:#999aa4}.stat-value{font-size:29px;letter-spacing:-1px;font-weight:600;margin:15px 0 10px;font-variant-numeric:tabular-nums}.stat-value small{font-size:14px;color:var(--muted);font-weight:400;letter-spacing:0}.stat-footer{font-size:10px;color:var(--muted)}.stat-footer .positive{color:var(--green)}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:22px;min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;gap:12px}.panel-header h2{font-size:13px;margin:0;font-weight:600;letter-spacing:-.1px}.panel-header small{font-size:10px;color:var(--muted)}.text-link{font-size:10px;color:#a16b6b;display:inline-flex;align-items:center;gap:8px}.toolbar{padding:0 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:8px 10px;max-width:310px;flex:1;color:var(--muted)}.search svg{width:14px;height:14px}.search input{border:0;outline:none;min-width:0;width:100%;font-size:11px;background:transparent;color:var(--ink)}.filters{display:flex;gap:6px}.filter{background:var(--surface);border:1px solid var(--line);padding:7px 10px;border-radius:6px;font-size:10px}.filter.active{color:#b36565;background:var(--accent-soft);border-color:#ffe0dc}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{background:#fafafc;color:#93939f;font-size:9px;letter-spacing:.5px;text-transform:uppercase;font-weight:550;padding:12px 19px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:16px 19px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}.ticket-title{font-weight:550;display:block;font-size:11px;max-width:330px;overflow:hidden;text-overflow:ellipsis}.ticket-id{color:var(--muted);font-size:9px;margin-bottom:6px}.customer-cell{display:flex;align-items:center;gap:9px}.customer-logo{height:26px;width:26px;border-radius:7px;background:#f1eeeb;display:grid;place-items:center;font-size:9px;font-weight:600;color:#817568}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:5px;font-size:9px;font-weight:500}.pill:before{content:'';height:4px;width:4px;background:currentColor;border-radius:50%}.pill.orange{color:#ad832f;background:#fff6df}.pill.blue{color:#6081b4;background:#edf3fc}.pill.green{color:#329279;background:#eaf7f2}.pill.gray{color:#898995;background:#f1f1f4}.priority{color:#8f8f99;font-size:10px}.priority.high{color:#d4776d}.table-footer{font-size:10px;color:var(--muted);padding:16px 22px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.icon-button{border:0;background:transparent;padding:3px 6px;font-size:18px}.day-date{font-size:10px;color:var(--muted)}.schedule{padding:0 22px 10px}.schedule-item{display:grid;grid-template-columns:45px 1fr;gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}.schedule-item:last-child{border:0}.schedule-time{color:var(--muted);font-size:10px;padding-top:3px}.schedule-item h3{font-size:11px;font-weight:550;margin:0 0 5px}.schedule-item p{color:var(--muted);font-size:10px;margin:0}.schedule-info{border-left:2px solid #f6b2a8;padding-left:12px}.schedule-item:nth-child(2) .schedule-info{border-color:#b2c6ea}.schedule-item:nth-child(3) .schedule-info{border-color:#b0cbbd}.schedule-tag{font-size:8px;color:#a47f7a;background:#fff1ed;display:inline-block;padding:4px 6px;border-radius:4px;margin-top:8px}.team-list{padding:0 22px 17px}.team-row{display:flex;align-items:center;gap:10px;padding:12px 0}.team-row h3{font-size:11px;margin:0 0 4px;font-weight:500}.team-row p{font-size:9px;color:var(--muted);margin:0}.team-state{margin-left:auto;font-size:9px;color:var(--green)}.team-state.away{color:var(--muted)}.workload{padding:0 22px 22px}.workload-label{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:8px 0 9px}.progress{height:6px;background:#f1f1f5;border-radius:8px;overflow:hidden}.progress span{display:block;height:100%;background:var(--accent);border-radius:8px;width:65%}.note-strip{margin-top:18px;color:var(--muted);font-size:10px;line-height:1.6}.empty{padding:55px;text-align:center;color:var(--muted)}.detail-title{font-size:20px;line-height:1.5}.detail-meta{display:flex;gap:8px;margin:17px 0 25px}.message{border:1px solid var(--line);border-radius:8px;padding:19px;margin:0 22px 15px;white-space:pre-wrap;line-height:1.7}.message small{display:block;color:var(--muted);font-size:10px;margin-bottom:10px}.message.internal{background:#fffbf0;border-color:#f4eacb}.detail-body{padding:0 22px 23px;color:#777782;font-size:12px;line-height:1.7;white-space:pre-wrap}.summary-line{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#fafafc;border-top:1px solid var(--line);font-size:12px}.summary-line strong{font-size:20px;letter-spacing:-.6px}.customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.customer-card{padding:23px}.customer-card h2{font-size:15px;margin:15px 0 8px}.customer-card p{font-size:11px;color:var(--muted);line-height:1.7}.metric-row{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;margin-top:20px;color:var(--muted);font-size:10px}.metric-row strong{color:var(--ink);margin-right:5px}.large-logo{width:40px;height:40px;font-size:14px}.week-chart{display:flex;gap:25px;height:200px;align-items:flex-end;padding:20px 40px 40px}.bar-group{flex:1;text-align:center;position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.bar{width:26px;background:#ffb2a9;border-radius:4px 4px 0 0}.bar.secondary{background:#e5e8ef}.bar-group small{position:absolute;bottom:-22px;color:var(--muted);font-size:10px}.feature-note{padding:20px 22px;background:#fcfcfe;line-height:1.8;color:#8a8a95;font-size:11px}.protocol-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;padding:0 23px 25px}.protocol-grid label{font-size:10px;color:var(--muted)}.protocol-grid input{display:block;width:100%;border:1px solid var(--line);border-radius:6px;padding:10px;margin-top:6px;background:var(--surface);color:var(--ink)}.checklist{padding:0 22px 25px;display:grid;gap:15px;font-size:11px}.checklist input{accent-color:var(--accent);margin-right:9px}.toast{position:fixed;bottom:25px;right:28px;padding:14px 20px;border-radius:8px;background:#24252c;color:#fff;box-shadow:0 5px 30px #0002;display:none;max-width:460px;line-height:1.6;font-size:12px;z-index:3}.toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;width:min(560px,90vw);color:var(--ink);background:var(--surface);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#1b1b2460;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialog-heading h2{font-size:21px;letter-spacing:-.6px;margin:0}form label{display:block;font-size:11px;margin-bottom:17px}form input,form textarea,form select{width:100%;margin-top:8px;padding:11px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hint{font-size:10px;color:var(--muted);line-height:1.7}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}body.dark{--bg:#191a20;--surface:#23242c;--ink:#ededf3;--muted:#8e909e;--line:#31323b;--accent-soft:#442f34}body.dark th,body.dark .summary-line,body.dark .feature-note{background:#202128}body.dark .customer-logo{background:#37313a;color:#d4b5b0}body.dark .message.internal{background:#353022;border-color:#47402d}body.dark .progress{background:#353640}@media(min-width:1550px){main{padding-top:40px}.two-col{grid-template-columns:minmax(0,1fr) 340px}.stat{padding:24px}}@media(max-width:1200px){.two-col{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats{gap:12px}.draft-badge{display:none}.customer-grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.sidebar{width:74px;padding:25px 10px}.brand{padding:0}.brand>span:last-child,.workspace,.nav-label,.nav-item>span,.connection,.profile>span:not(.avatar),.profile button{display:none}.nav-item{justify-content:center;padding:12px}.brand{margin-bottom:30px;justify-content:center}.app{margin-left:74px}.topbar{padding:0 20px}.header-right{gap:10px}.clock-label{display:none}main{padding:25px 20px}.page-heading{align-items:flex-start}.page-heading h1{font-size:22px}.stats{grid-template-columns:1fr 1fr}.right-column{grid-template-columns:1fr}.customer-grid{grid-template-columns:1fr}.heading-actions .secondary{display:none}.breadcrumb{font-size:10px}.toolbar{align-items:flex-start;flex-direction:column}.search{width:100%;max-width:none}.table-footer{gap:15px}.profile{padding-left:10px}.protocol-grid{grid-template-columns:1fr}}@media print{.sidebar,.topbar,.heading-actions,.toolbar,.toast,.feature-note{display:none}.app{margin-left:0}main{padding:0}.panel{box-shadow:none}.page-heading p{color:#555}th,td{font-size:10pt}.summary-line{background:white!important}body{background:#fff}.draft-badge{display:block}}
.stat-value{white-space:nowrap}.toolbar{flex-wrap:wrap}.search{min-width:160px}.filters{flex-shrink:0}.draft-badge{white-space:nowrap}@media(max-width:1200px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar .search{max-width:none}.filters{flex-wrap:wrap}.draft-badge{display:inline;font-size:9px}.clock-label{display:none}}@media(max-width:1000px){.sidebar{width:74px;padding:25px 10px}.brand{padding:0;justify-content:center;margin-bottom:30px}.brand>span:last-child,.workspace,.nav-label,.nav-item>span,.connection,.profile>span:not(.avatar),.profile button{display:none}.nav-item{justify-content:center;padding:12px}.app{margin-left:74px}.profile{padding-left:10px}.topbar{padding:0 20px}}@media(max-width:560px){.breadcrumb{display:none}.topbar{justify-content:flex-end}.header-right{width:100%;justify-content:space-between}.draft-badge{font-size:8px}.page-heading{flex-direction:column}.stat-value{font-size:23px}.stats{gap:10px}.stat{padding:16px}.stat-label{font-size:10px}.header-right>.avatar{display:none}}
.text-link{white-space:nowrap}.text-link svg{width:14px;height:14px;flex-shrink:0}
.two-col>div{min-width:0}.table-scroll{max-width:100%}.bar-group{min-width:0}@media(max-width:1200px){.two-col{grid-template-columns:minmax(0,1fr)}.right-column{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.right-column{grid-template-columns:minmax(0,1fr)}.week-chart{gap:12px;padding:20px 18px 40px}.bar{width:14px}.bar-group{gap:4px}.panel-header{flex-wrap:wrap}.panel-header .text-link{font-size:9px}.protocol-grid{grid-template-columns:minmax(0,1fr)}}
