/* Starbound staff command center */
.sb-staff-workspace{max-width:1350px!important}
.sb-staff-shell{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:start;gap:18px}
.sb-staff-sidebar{position:sticky;top:20px;min-width:0}
.sb-staff-sidebar .sb-staff-nav{display:flex;align-items:center;width:100%;padding:12px 14px;margin:3px 0;background:transparent;border:1px solid transparent;border-radius:9px;color:#b7cce8;font:700 12px/1.4 Inter,Arial,sans-serif;text-align:left;cursor:pointer}
.sb-staff-sidebar .sb-staff-nav:hover{background:#192d48}
.sb-staff-sidebar .sb-staff-nav.selected{background:#1c3a60;color:#fff;border-color:#457bb8;box-shadow:inset 3px 0 #65a6ff}
.sb-staff-content{min-width:0}
.sb-staff-overview{display:grid;gap:18px;margin-top:24px}
.sb-staff-welcome{padding:24px;border:1px solid #344e70;border-radius:12px;background:#12233d}
.sb-staff-welcome h2{margin:8px 0;font-size:clamp(25px,3vw,34px)}
.sb-staff-welcome p{color:#a9c3e1;margin:0}
.sb-staff-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sb-staff-summary .card{padding:20px;display:flex;flex-direction:column;gap:14px}
.sb-staff-summary .card h3{margin:0}
.sb-staff-summary .card .btn{align-self:flex-start;margin-top:auto}
.sb-staff-content [data-staff-panel=tickets] .support-section{margin-top:22px}
@media(max-width:900px){.sb-staff-shell{grid-template-columns:1fr}.sb-staff-sidebar{position:static;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sb-staff-sidebar .sb-sidebar-brand{width:100%}.sb-staff-sidebar .sb-account-nav-label{display:none}.sb-staff-sidebar .sb-staff-nav{width:auto}.sb-staff-summary{grid-template-columns:1fr}}
@media(max-width:650px){.sb-staff-sidebar{display:block}.sb-staff-sidebar .sb-staff-nav{width:100%}.sb-staff-workspace{padding:0 12px!important}}

/* Match Owner Console navigation styling, including buttons and icons. */
.sb-staff-workspace.starbound-overview .sb-staff-sidebar{display:flex;flex-direction:column;gap:4px}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-sidebar-brand{width:100%;box-sizing:border-box}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-account-nav-label{width:100%;box-sizing:border-box}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-staff-nav,
.sb-staff-workspace.starbound-overview .sb-staff-sidebar>a{display:flex!important;align-items:center!important;gap:12px!important;width:100%;min-height:46px;box-sizing:border-box;padding:8px 11px!important;margin:0!important;background:transparent;border:1px solid transparent;border-radius:8px!important;color:#afc3df!important;font:700 12px/1.4 Inter,Arial,sans-serif;text-align:left;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-staff-nav:hover,
.sb-staff-workspace.starbound-overview .sb-staff-sidebar>a:hover{background:#1a2e49!important;color:#fff!important}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-staff-nav.selected{background:#1d3658!important;color:#fff!important;border-color:#3a5e8d!important;box-shadow:inset 3px 0 #7ab3ff!important}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-staff-nav.selected .sb-nav-icon{background:#315a91;color:#fff}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-nav-icon{width:28px;height:28px;min-width:28px;flex:0 0 28px}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-nav-icon svg{width:17px!important;height:17px!important}
.sb-staff-workspace.starbound-overview .sb-staff-sidebar [hidden]{display:none!important}
@media(max-width:900px){.sb-staff-workspace.starbound-overview .sb-staff-sidebar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;position:static}.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-sidebar-brand,.sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-account-nav-label{grid-column:1/-1}}
@media(max-width:500px){.sb-staff-workspace.starbound-overview .sb-staff-sidebar{grid-template-columns:1fr!important}}

/* Actionable ticket triage rows, consistent with Starbound blue navigation. */
.sb-staff-ticket-shortcut{width:100%;background:transparent;color:inherit;border:0;border-bottom:1px solid #2c4260;border-radius:0;text-align:left;cursor:pointer;font:inherit;padding:12px 4px}
.sb-staff-ticket-shortcut:hover,.sb-staff-ticket-shortcut:focus-visible{background:#193250;outline:2px solid #619cf0;outline-offset:1px;border-radius:6px}
.sb-staff-ticket-title{display:flex;flex-direction:column;gap:4px;min-width:0}
.sb-staff-ticket-title strong{overflow-wrap:anywhere}
.sb-staff-ticket-title small{color:#91b5dd}
.sb-staff-workload-note{font-size:12px;line-height:1.5;margin:0}

.sb-staff-troubleshooting{padding:26px}.sb-staff-troubleshooting h2{margin:8px 0}.sb-staff-triage-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,1.4fr);gap:16px;margin:22px 0}.sb-staff-triage-grid>div,.sb-staff-triage-detail{min-width:0;border:1px solid #304a6a;background:#0b1a2e;border-radius:12px;padding:18px}.sb-staff-triage-grid label{display:block;font-weight:700;margin-bottom:8px}.sb-staff-triage-grid input{width:100%;box-sizing:border-box}.sb-staff-triage-list{display:grid;gap:8px;margin-top:14px;max-height:440px;overflow:auto}.sb-staff-triage-ticket{display:flex;flex-direction:column;gap:5px;text-align:left;padding:12px;background:#112640;border:1px solid #29496d;color:inherit;border-radius:8px;cursor:pointer;font:inherit}.sb-staff-triage-ticket:hover,.sb-staff-triage-ticket.selected{border-color:#71a8f9;background:#203d62}.sb-staff-triage-ticket small{color:#9bbde7}.sb-staff-triage-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.sb-staff-triage-meta>div{display:flex;flex-direction:column;gap:5px}.sb-staff-triage-meta small{color:#8eafd8}.sb-staff-triage-meta strong{overflow-wrap:anywhere}@media(max-width:760px){.sb-staff-triage-grid{grid-template-columns:1fr}.sb-staff-triage-meta{grid-template-columns:1fr}}

/* Staff troubleshooting search: override browser/default global input styles. */
.sb-staff-workspace .sb-staff-triage-search{position:relative;display:flex;align-items:center;width:100%;min-width:0}
.sb-staff-workspace .sb-staff-triage-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:#79b4ff;stroke-width:2;stroke-linecap:round;pointer-events:none}
.sb-staff-workspace .sb-staff-triage-search input[type="search"]{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;min-height:44px;box-sizing:border-box;margin:0;padding:11px 14px 11px 43px;border:1px solid #375779;border-radius:9px;outline:none;background:#08192c;color:#edf5ff;font:500 13px/1.4 Inter,Arial,sans-serif;box-shadow:none;transition:border-color .15s,box-shadow .15s,background .15s}
.sb-staff-workspace .sb-staff-triage-search input[type="search"]::placeholder{color:#8daacb;opacity:1}
.sb-staff-workspace .sb-staff-triage-search input[type="search"]:hover{border-color:#6288b5}
.sb-staff-workspace .sb-staff-triage-search input[type="search"]:focus-visible{border-color:#72abff;box-shadow:0 0 0 3px rgba(96,157,245,.18);background:#0b2038}
.sb-staff-workspace .sb-staff-triage-search input[type="search"]::-webkit-search-cancel-button{cursor:pointer}

.sb-triage-status{display:inline-flex;align-items:center;align-self:flex-start;border:1px solid #527396;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700;color:#a7c9f3;background:#162c48}
.sb-triage-status.status-open{color:#9beac5;border-color:#246e53;background:#123d31}.sb-triage-status.status-in_progress{color:#b1d2ff;border-color:#3b74bc;background:#18345b}.sb-triage-status.status-waiting_customer{color:#ffdd9a;border-color:#977236;background:#48351d}.sb-triage-status.status-resolved{color:#b1e5cf;border-color:#477b68}.sb-triage-status.status-closed{color:#a5b6cd;border-color:#44566d}
.sb-staff-triage-ticket .sb-triage-status{margin-top:3px}.sb-triage-issue{margin:18px 0;padding:14px;background:#10253f;border:1px solid #304e71;border-radius:10px}.sb-triage-issue h4{margin:0 0 9px;font-size:13px}.sb-triage-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0}.sb-triage-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.sb-triage-actions button,.sb-triage-actions select{min-height:38px}.sb-triage-actions select{background:#0a1d34;color:#e7f2ff;border:1px solid #416286;border-radius:8px;padding:8px 12px}.sb-triage-actions button:disabled{opacity:.5;cursor:not-allowed}.sb-triage-notice{min-height:18px;color:#9bdab9;font-size:12px}.sb-triage-notice.error{color:#ffb5b5}

.sb-support-service-link{margin:16px 0;padding:14px;border:1px solid #355173;border-radius:10px;background:#10243d}.sb-support-service-link select,.sb-triage-issue select{background:#0b2037;color:#e8f3ff;border:1px solid #496b91;border-radius:8px;padding:9px 12px;max-width:100%;margin-right:8px}.sb-support-service-link .muted{margin:8px 0}

/* Keep the service action comfortably below its dropdown. */
.sb-support-service-link select{display:block;width:100%;margin:0 0 12px}
.sb-support-service-link button{display:inline-flex;margin-top:4px}

/* Staff inbox: consistent one-row toolbar and responsive controls */
.sb-staff-workspace .support-toolbar{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(125px,155px) minmax(125px,155px) auto!important;gap:10px!important;align-items:stretch!important;margin:16px 0 10px}
.sb-staff-workspace .support-toolbar>input,.sb-staff-workspace .support-toolbar>select,.sb-staff-workspace .support-toolbar>button{width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important;box-sizing:border-box!important;margin:0!important;border-radius:9px!important;font-size:13px!important}
.sb-staff-workspace .support-toolbar>input{padding:10px 14px!important;background:#091b30!important;border:1px solid #355476!important;color:#e9f3ff!important}
.sb-staff-workspace .support-toolbar>select{padding:9px 12px!important;background:#0b2037!important;border:1px solid #355476!important;color:#e9f3ff!important}
.sb-staff-workspace .support-toolbar>button{width:auto!important;min-width:100px!important;padding:9px 15px!important;white-space:nowrap}
.sb-staff-workspace .support-toolbar :is(input,select,button):focus-visible{outline:2px solid #72aaff!important;outline-offset:2px}
.sb-staff-workspace .support-layout{align-items:start;gap:14px}
.sb-staff-workspace .support-ticket-list{display:grid;align-content:start;gap:9px}
.sb-staff-workspace .support-ticket-row{border-radius:11px;transition:border-color .15s,background .15s,transform .15s}
.sb-staff-workspace .support-ticket-row:hover{border-color:#6399dc;transform:translateY(-1px)}
.sb-staff-workspace .support-ticket-row.selected{background:#1a3557;border-color:#76adf7}
.sb-staff-workspace .support-thread{border-radius:12px;min-width:0}
@media(max-width:1050px){.sb-staff-workspace .support-toolbar{grid-template-columns:minmax(0,1fr) minmax(130px,1fr)!important}.sb-staff-workspace .support-toolbar>button{width:100%!important}}
@media(max-width:600px){.sb-staff-workspace .support-toolbar{grid-template-columns:1fr!important}.sb-staff-workspace .support-toolbar>button{width:100%!important}}

/* Refined support desk: clearer separation of filters, results and conversation */
.sb-staff-workspace .support-section{background:linear-gradient(160deg,#10233d 0%,#0d1b30 85%);border:1px solid #304d70;border-radius:16px;padding:24px!important}
.sb-staff-workspace .support-inbox-heading{padding-bottom:14px;border-bottom:1px solid #294360}
.sb-staff-workspace .support-toolbar{padding:12px;border:1px solid #2c4768;border-radius:12px;background:#0b1a2e;margin-top:18px!important}
.sb-staff-workspace #supportTicketCount{margin:12px 2px 16px;font-size:12px;color:#92bdf0}
.sb-staff-workspace .support-layout{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr)!important;gap:16px!important}
.sb-staff-workspace .support-ticket-row{padding:15px!important;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.sb-staff-workspace .support-thread{background:#091a2d;border:1px solid #304b6b;padding:18px!important;min-height:250px}
.sb-staff-workspace .support-ticket-row small{line-height:1.6}
@media(max-width:950px){.sb-staff-workspace .support-layout{grid-template-columns:1fr!important}.sb-staff-workspace .support-section{padding:16px!important}}


/* Keep the staff navigation and support workspace in one aligned dashboard. */
.sb-staff-workspace{max-width:1480px!important;width:100%;box-sizing:border-box;margin:32px auto!important;padding:0 24px!important}
.sb-staff-workspace .sb-staff-shell{grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}
.sb-staff-workspace .sb-staff-sidebar{position:sticky;top:24px;align-self:start}
.sb-staff-workspace .sb-staff-content{width:100%;min-width:0}
@media(max-width:900px){
 .sb-staff-workspace .sb-staff-shell{grid-template-columns:1fr;gap:18px}
 .sb-staff-workspace .sb-staff-sidebar{position:static}
}
@media(max-width:650px){.sb-staff-workspace{padding:0 12px!important;margin:20px auto!important}}

/* Compact navigation: intentionally designed for workspaces with few links. */
.sb-staff-workspace .sb-staff-shell{grid-template-columns:208px minmax(0,1fr);gap:20px}
.sb-staff-workspace .sb-sidebar-compact{
  padding:16px!important;gap:5px!important;
  border:1px solid #355477!important;border-radius:14px!important;
  background:linear-gradient(160deg,#152841 0%,#0b192c 100%)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}
.sb-staff-workspace .sb-sidebar-compact .sb-sidebar-brand{
  padding:5px 3px 16px;margin:0 0 8px;gap:10px;
}
.sb-staff-workspace .sb-sidebar-compact .sb-account-nav-label{
  padding:13px 7px 5px;letter-spacing:.11em;
}
.sb-staff-workspace.starbound-overview .sb-sidebar-compact .sb-staff-nav,
.sb-staff-workspace.starbound-overview .sb-sidebar-compact>a{
  min-height:43px;padding:7px 9px!important;gap:10px!important;
  font-size:12px!important;
}
.sb-staff-workspace .sb-sidebar-compact .sb-nav-icon{
  width:30px!important;height:30px!important;flex:0 0 30px!important;
}
.sb-staff-workspace .sb-sidebar-compact .sb-account-nav-label:nth-of-type(2){
  margin-top:6px;padding-top:17px;border-top:1px solid #29405c;
}
@media(max-width:900px){
  .sb-staff-workspace .sb-staff-shell{grid-template-columns:1fr;gap:18px}
  .sb-staff-workspace.starbound-overview .sb-sidebar-compact{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;
  }
}
@media(max-width:500px){
  .sb-staff-workspace.starbound-overview .sb-sidebar-compact{grid-template-columns:1fr}
}

/* Full-size staff navigation: match the client area sidebar proportions. */
@media(min-width:901px){
 .sb-staff-workspace .sb-staff-shell{grid-template-columns:270px minmax(0,1fr)!important;gap:24px!important}
 .sb-staff-workspace .sb-sidebar-compact{width:100%;box-sizing:border-box;padding:20px!important}
}
.sb-staff-workspace .sb-sidebar-compact .sb-sidebar-brand{padding:8px 5px 20px!important;gap:12px!important}
.sb-staff-workspace .sb-sidebar-compact .sb-sidebar-brand-mark{width:38px!important;height:38px!important;flex:0 0 38px!important}
.sb-staff-workspace .sb-sidebar-compact .sb-account-nav-label{font-size:11px!important;padding:16px 9px 8px!important}
.sb-staff-workspace.starbound-overview .sb-sidebar-compact .sb-staff-nav,
.sb-staff-workspace.starbound-overview .sb-sidebar-compact>a{
 min-height:49px!important;padding:10px 12px!important;font-size:13px!important;
}
.sb-staff-workspace .sb-sidebar-compact .sb-nav-icon{width:34px!important;height:34px!important;flex-basis:34px!important}

/* Ticket assignment controls */
.sb-staff-workspace .support-toolbar{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(115px,auto)) auto!important}
.sb-staff-workspace .support-owner-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sb-staff-workspace .support-assignee-select{min-width:165px;flex:1 1 165px}
@media(max-width:1100px){.sb-staff-workspace .support-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sb-staff-workspace .support-toolbar>input{grid-column:1/-1}}
@media(max-width:600px){.sb-staff-workspace .support-toolbar{grid-template-columns:1fr!important}.sb-staff-workspace .support-toolbar>input{grid-column:auto}}

.sb-staff-workload-card{margin-top:16px;padding:22px}
.sb-staff-workload-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #29415c}
.sb-staff-workload-row:last-child{border-bottom:0}
.sb-staff-ticket-extras{margin-top:20px;padding:16px;border:1px solid #34516f;border-radius:10px;background:#102239}
.sb-staff-ticket-extras h4{margin:0 0 10px}
.sb-staff-note{padding:12px;margin:8px 0;background:#182f4c;border:1px solid #34516f;border-radius:8px}
.sb-staff-note small{display:block;color:#9db7d7;margin-top:4px}
.sb-staff-note-form{display:grid;gap:10px;margin-top:14px}
.sb-staff-note-form textarea{width:100%;min-height:80px}
.sb-ticket-activity{margin-top:22px;border-top:1px solid #34516f;padding-top:16px}
.sb-ticket-event{display:flex;flex-wrap:wrap;gap:8px;padding:9px 0;border-bottom:1px solid #29415c}
.sb-ticket-event small{margin-left:auto;color:#9db7d7}
.sb-ticket-unread{display:inline-block;color:#f5c87b;font-size:11px;font-weight:700;margin-top:6px}

/* Support ticket readability and private note editor */
.sb-staff-workspace .support-ticket-row{display:block;text-align:left;min-width:0}
.sb-staff-workspace .support-ticket-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0}
.sb-staff-workspace .support-ticket-top strong{min-width:0;overflow-wrap:anywhere;line-height:1.45}
.sb-staff-workspace .support-ticket-status{flex-shrink:0}
.sb-staff-workspace .support-ticket-details{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:6px 8px!important;margin:9px 0 7px!important;min-width:0}
.sb-staff-workspace .support-ticket-category,
.sb-staff-workspace .support-ticket-priority{display:inline-flex;align-items:center;max-width:100%;padding:4px 8px!important;border:1px solid #365577;border-radius:6px;background:#132c47;font-size:10px!important;line-height:1.4!important;font-weight:700;letter-spacing:.025em;white-space:normal}
.sb-staff-workspace .support-ticket-priority.priority-high{color:#ffb9a8;border-color:#86544d;background:#39262b}
.sb-staff-workspace .support-ticket-priority.priority-normal{color:#b8d8ff}
.sb-staff-workspace .support-ticket-priority.priority-low{color:#b5d9c9}
.sb-staff-workspace .support-ticket-date{display:block!important;flex-basis:100%;margin-top:2px;color:#94afce;font-size:11px;line-height:1.5}
.sb-staff-workspace .support-ticket-customer{display:block;margin-top:6px;color:#a9c7e8;overflow-wrap:anywhere}
.sb-staff-workspace .sb-staff-note-form textarea{display:block;box-sizing:border-box;width:100%!important;min-width:0;min-height:108px;padding:12px 14px!important;background:#091b30!important;color:#edf5ff!important;border:1px solid #416286!important;border-radius:9px!important;font:inherit;font-size:13px!important;line-height:1.55!important;resize:vertical;outline:none;transition:border-color .15s,box-shadow .15s}
.sb-staff-workspace .sb-staff-note-form textarea::placeholder{color:#8fa9c8;opacity:1}
.sb-staff-workspace .sb-staff-note-form textarea:focus{border-color:#79b2ff!important;box-shadow:0 0 0 3px rgba(102,164,246,.16)}
.sb-staff-workspace .sb-staff-note-form button{min-height:39px;border-radius:8px}
@media(max-width:600px){.sb-staff-workspace .support-ticket-top{flex-wrap:wrap}.sb-staff-workspace .support-ticket-details{gap:6px!important}}

/* Staff light-mode contrast: overview metrics, navigation and inbox.
   Keep dark mode untouched and use ink colors only on light surfaces. */
html[data-theme="light"] .sb-staff-workspace .sb-staff-sidebar .sb-staff-nav:not(.selected),
html[data-theme="light"] .sb-staff-workspace.starbound-overview .sb-staff-sidebar .sb-staff-nav:not(.selected),
html[data-theme="light"] .sb-staff-workspace.starbound-overview .sb-staff-sidebar>a{
  color:#274666!important
}
html[data-theme="light"] .sb-staff-workspace .sb-sidebar-brand,
html[data-theme="light"] .sb-staff-workspace .sb-sidebar-brand strong,
html[data-theme="light"] .sb-staff-workspace .sb-account-nav-label{color:#27558a!important;opacity:1!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome{
  background:#edf4ff!important;border-color:#b9cce5!important
}
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome h2,
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome strong{color:#142d4c!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome p,
html[data-theme="light"] .sb-staff-workspace .sb-staff-workload-note{color:#3e5875!important;opacity:1!important}
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid .card,
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid>div{
  background:#fff!important;border-color:#c2d3e9!important
}
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid .card :is(h2,h3,strong,b),
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid>div :is(h2,h3,strong,b){
  color:#122c4d!important;opacity:1!important
}
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid .card :is(p,small,span),
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid>div :is(p,small,span){
  color:#315578!important;opacity:1!important
}
html[data-theme="light"] .sb-staff-workspace .sb-staff-summary .card,
html[data-theme="light"] .sb-staff-workspace .sb-staff-summary .card h3,
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-shortcut strong{
  color:#17324f!important
}
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-title small,
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-shortcut small{
  color:#426180!important;opacity:1!important
}
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-shortcut{
  border-bottom-color:#b8cce4!important;color:#183653!important
}
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-shortcut:hover{
  background:#eaf2fd!important
}
html[data-theme="light"] .sb-staff-workspace .support-ticket-date,
html[data-theme="light"] .sb-staff-workspace .support-ticket-customer{
  color:#405d7b!important;opacity:1!important
}
html[data-theme="light"] .sb-staff-workspace .support-toolbar>input,
html[data-theme="light"] .sb-staff-workspace .support-toolbar>select{
  background:#fff!important;color:#183653!important;border-color:#a9bfdc!important
}
html[data-theme="light"] .sb-staff-workspace .support-toolbar>input::placeholder{
  color:#576e87!important;opacity:1!important
}

/* Staff light palette v14: cover generated metric values and nested text. */
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome{background:#fff!important;border:1px solid #c5d5e9!important;color:#142b49!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome :is(h1,h2,h3,p,strong,small,span:not([style])){color:#183653!important;opacity:1!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-welcome .eyebrow{color:#235ba5!important}
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid > *{background:#fff!important;color:#17324f!important;border-color:#c4d5ea!important}
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid > * :is(div,span,strong,b,h1,h2,h3,h4,p,small){color:#17324f!important;opacity:1!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="light"] .sb-staff-workspace .sb-owner-stat-grid > * .eyebrow{color:#235ba5!important}
html[data-theme="light"] .sb-staff-workspace .sb-sidebar-compact{background:#fff!important;border-color:#c4d5ea!important;color:#17324f!important}
html[data-theme="light"] .sb-staff-workspace.starbound-overview .sb-staff-sidebar :is(.sb-staff-nav:not(.selected),a):not(:hover){color:#254664!important}
html[data-theme="light"] .sb-staff-workspace .sb-sidebar-compact .sb-sidebar-brand :is(span,strong,small),html[data-theme="light"] .sb-staff-workspace .sb-sidebar-compact .sb-account-nav-label{color:#315b89!important;opacity:1!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-summary .card,html[data-theme="light"] .sb-staff-workspace .sb-staff-workload-card{background:#fff!important;color:#17324f!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-summary .card :is(p,small,span:not(.eyebrow)),html[data-theme="light"] .sb-staff-workspace .sb-staff-workload-card :is(p,small){color:#415c79!important;opacity:1!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-shortcut :is(strong,span){color:#183653!important}
html[data-theme="light"] .sb-staff-workspace .sb-staff-ticket-shortcut small{color:#46627f!important}

/* Support inbox light-mode summary cards and workspace indicator. */
html[data-theme="light"] .sb-staff-workspace .support-owner-summary > div {
  background:#fff!important;
  border:1px solid #bfd1e7!important;
  color:#17324f!important;
  box-shadow:none!important;
}
html[data-theme="light"] .sb-staff-workspace .support-owner-summary > div :is(span,strong,small) {
  color:#17324f!important;
  opacity:1!important;
  -webkit-text-fill-color:currentColor!important;
}
html[data-theme="light"] .sb-staff-workspace .support-owner-summary > div span {
  color:#245a9e!important;
}
html[data-theme="light"] .sb-staff-workspace .support-owner-live {
  background:#edf4ff!important;
  border:1px solid #bcd0e9!important;
  color:#234b78!important;
  -webkit-text-fill-color:#234b78!important;
}
