.sp-root{--sp-ink:#20343b;--sp-muted:#66777e;--sp-line:#e1e8e9;color:var(--sp-ink);font:13px/1.5 Inter,Arial,sans-serif}.sp-root *{box-sizing:border-box}.sp-root h1,.sp-root h2,.sp-root p{margin:0}.sp-root h1{font-size:28px;letter-spacing:-.8px}.sp-root h2{font-size:17px;line-height:1.4}.sp-root button,.sp-root input,.sp-root select,.sp-root textarea{font:inherit}.sp-root button{background:white;border:1px solid var(--sp-line);border-radius:7px;padding:9px 13px;color:var(--sp-ink);cursor:pointer}.sp-root button:hover{background:#f0f6f5}.sp-root button:disabled{opacity:.45;cursor:default}.sp-root .sp-primary{background:#24574f;border-color:#24574f;color:white}.sp-root .sp-primary:hover{background:#1b433d}.sp-root label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:600}.sp-root input,.sp-root textarea,.sp-root select{width:100%;min-width:0;padding:10px 11px;border:1px solid #d4dfe0;border-radius:6px;background:white;color:#20343b;font-size:12px}.sp-root textarea{resize:vertical}.sp-root input:focus,.sp-root select:focus,.sp-root textarea:focus,.sp-root button:focus-visible{outline:2px solid #5b8e82;outline-offset:2px}.sp-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.sp-kicker{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#63847b}.sp-title p{color:var(--sp-muted);margin-top:6px}.sp-alert:empty{display:none}.sp-alert{padding:10px 14px;background:#eaf4ef;border-radius:6px;margin-bottom:12px}.sp-alert.sp-error{background:#fff1e8;color:#8f4025}.sp-filters{display:flex;align-items:end;gap:10px;margin:0 0 15px}.sp-search{flex:1}.sp-filters>label{min-width:120px}.sp-filters select{max-width:190px}.sp-layout{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:540px;height:min(72vh,850px);border:1px solid var(--sp-line);border-radius:12px;overflow:hidden;background:white;box-shadow:0 7px 24px #243e4010}.sp-list{background:#f8faf9;display:flex;flex-direction:column;border-right:1px solid var(--sp-line);min-height:0}.sp-count{padding:14px 16px;font-size:11px;color:var(--sp-muted);border-bottom:1px solid var(--sp-line)}.sp-tickets{flex:1;overflow:auto}.sp-root .sp-ticket{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--sp-line);border-radius:0;padding:15px 17px;background:transparent}.sp-ticket>div,.sp-ticket footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.sp-ticket strong{display:block;font-size:13px;margin:8px 0 4px;overflow-wrap:anywhere}.sp-ticket p{font-size:11px;color:var(--sp-muted)}.sp-ticket footer{font-size:10px;color:var(--sp-muted);margin-top:10px}.sp-ticket.sp-unread strong{color:#183f35}.sp-root .sp-ticket.sp-selected{background:#eaf2ef;box-shadow:inset 3px 0 #2e6758}.sp-pill{display:inline-block;border-radius:4px;background:#edf0f1;color:#53636a;font-size:10px;padding:3px 7px;white-space:nowrap}.sp-new,.sp-in_progress{background:#e6eefb;color:#355d8c}.sp-waiting_customer{background:#fff2d8;color:#88641a}.sp-resolved,.sp-closed{background:#e4f2e8;color:#396b46}.sp-priority{color:#a34832}.sp-dot{width:7px;height:7px;background:#c24534;border-radius:50%}.sp-pagination{display:flex;justify-content:space-between;gap:8px;padding:10px;border-top:1px solid var(--sp-line)}.sp-detail{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:auto}.sp-empty{margin:auto;padding:30px 20px;text-align:center;color:var(--sp-muted)}.sp-empty svg{width:40px;height:40px;fill:none;stroke:#6c8f83;stroke-width:1.3;margin-bottom:16px}.sp-empty p{max-width:360px;margin-top:10px}.sp-thread-head{display:flex;align-items:center;gap:10px;padding:17px 20px;border-bottom:1px solid var(--sp-line)}.sp-thread-head>div{flex:1;min-width:0;overflow-wrap:anywhere}.sp-thread-head small{color:var(--sp-muted);font-size:10px}.sp-thread-head button{font-size:10px}.sp-management{padding:10px 20px;border-bottom:1px solid var(--sp-line);background:#fbfcfc;max-height:45%;overflow:auto}.sp-management summary{cursor:pointer;font-size:12px;font-weight:600}.sp-management form{display:grid;gap:10px;padding:14px 0 6px}.sp-management button{justify-self:end}.sp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sp-messages{flex:1;min-height:160px;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:14px;scroll-behavior:smooth}.sp-message{max-width:92%;align-self:flex-start;background:#f2f5f5;border:1px solid #e5ebeb;border-radius:10px;padding:12px 15px;overflow-wrap:anywhere}.sp-message.sp-operator{align-self:flex-end;background:#edf5f0;border-color:#dae9df}.sp-message.sp-internal{background:#fff5dd;border-color:#eddfb3}.sp-message.sp-event{align-self:center;width:100%;max-width:100%;background:#fafbfb;border-style:dashed;font-size:11px}.sp-message header{display:flex;gap:16px;justify-content:space-between;align-items:center;font-size:10px;color:var(--sp-muted);margin-bottom:6px}.sp-message p{white-space:pre-wrap}.sp-compose{padding:14px 20px 18px;border-top:1px solid var(--sp-line);background:#fff;display:grid;gap:8px}.sp-compose>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.sp-compose small,.sp-compose>p{font-size:10px;color:var(--sp-muted)}.sp-compose>small{display:none}.sp-compose:has(option[value=internal]:checked)>small{display:block}.sp-root .sp-new-form{padding:24px;display:grid;gap:16px;background:#fff;color:var(--sp-ink);overflow:auto}.sp-new-form footer{display:flex;justify-content:end;gap:10px}.sp-new-form small,.sp-new-form p{color:var(--sp-muted);font-size:11px}.sp-dialog{width:min(1050px,calc(100vw - 32px));max-width:1050px;padding:28px;border:1px solid #d4dfdc;border-radius:16px;box-shadow:0 28px 100px #10272b40;max-height:calc(100dvh - 30px);overflow:auto;color:#20343b;background:#fff}.sp-dialog::backdrop{background:#17343865;backdrop-filter:blur(3px)}.sp-dialog .sp-layout{height:62vh;min-height:360px}.sp-dialog .sp-title{padding-right:35px}.sp-dialog .sp-title h1{font-size:24px}.sp-dialog-close{position:absolute;right:16px;top:14px;border:0;background:transparent;font-size:27px;cursor:pointer;color:#5e716c;padding:4px 8px}.portal-rail [data-support-open]{text-align:left;background:none;border:0;padding:9px 0;color:inherit;font:inherit;cursor:pointer}@media(max-width:1050px){.sp-filters{flex-wrap:wrap}.sp-search{min-width:100%!important}.sp-layout{grid-template-columns:240px minmax(0,1fr)}}@media(max-width:650px){.sp-dialog{padding:18px 12px;width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.sp-title{align-items:start}.sp-title h1{font-size:23px}.sp-title p{font-size:11px}.sp-layout{grid-template-columns:1fr;height:auto;min-height:550px}.sp-list{max-height:240px;border-right:0;border-bottom:1px solid var(--sp-line)}.sp-detail{min-height:440px;max-height:75dvh}.sp-dialog .sp-layout{height:auto}.sp-filters>label{flex:1;min-width:100px}.sp-filters select{max-width:none}.sp-thread-head{flex-wrap:wrap;padding:12px}.sp-messages{padding:12px}.sp-compose{padding:12px}.sp-message{max-width:100%}.sp-grid{grid-template-columns:1fr 1fr}}

/* The support entry belongs to the bottom of the employee workspace tool rail. */
.toolrail-footer{margin-top:auto;flex-shrink:0;display:flex;justify-content:center;width:100%;padding-top:10px;border-top:1px solid #e2e7eb}
.toolrail .support-tool{color:#24574f;background:#edf4ef;flex-shrink:0}
.toolrail .support-tool:hover,.toolrail .support-tool:focus-visible{background:#dfece2;color:#183f35}
.sp-demo{padding:20px 10px;max-width:600px}.sp-demo p{margin:18px 0;line-height:1.8}.sp-demo a{display:inline-block;padding:11px 15px;background:#24574f;color:#fff;border-radius:6px;text-decoration:none}
