/* JOGO × TSC V14 — compact approval workflow, shared condition modal.
   Desktop/tablet/mobile and automatic light/dark; no business data or permission changes. */
#root [data-tsc-real-salary-approval-root] .tsc-v14-approval-card{
  padding:10px 13px!important;
  margin:7px 0!important;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-header{
 display:grid;grid-template-columns:minmax(0,1fr) max-content;
 align-items:start;gap:8px 14px;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-left{
 display:grid;min-width:0;gap:5px;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-leading-row{
 display:flex;align-items:center;flex-wrap:wrap;
 column-gap:12px;row-gap:7px;min-width:0;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-person{
 display:inline-flex;align-items:center;flex-wrap:wrap;
 column-gap:6px;row-gap:4px;min-width:0;
 font-size:14px;line-height:1.4;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-person>.pill{
 margin:0!important;font-size:10px;padding:3px 7px;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions{
 display:inline-flex;align-items:center;flex-wrap:wrap;
 gap:5px;min-width:0;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions .tsc-v14-socials{
 display:inline-flex;align-items:center;gap:4px;
 max-width:100%;min-height:29px;
 margin:0 2px 0 0;padding:4px 8px;
 background:rgba(29,121,85,.055);
 border:1px solid rgba(56,136,93,.18);
 border-radius:8px;
 color:#336451;font-size:11px;line-height:1.35;
 overflow-wrap:anywhere;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions :is(button,.btn){
 display:inline-flex;align-items:center;justify-content:center;
 min-height:29px!important;
 padding:5px 9px!important;
 margin:0!important;
 border-radius:8px!important;
 font-size:11px!important;font-weight:680;
 line-height:1.25;
 max-width:100%;
 white-space:normal;cursor:pointer;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions .tsc-v14-dossier{
 background:#f2f0fa;
 border:1px solid #d8d1ee;
 color:#6854a0;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions [data-tsc-admin-salary-decision=approve]{
 background:#168567!important;color:#fff!important;border:1px solid #168567!important;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions [data-tsc-admin-salary-decision=reject]{
 background:#b44d59!important;color:#fff!important;border:1px solid #b44d59!important;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-manager-period{
 font-size:11px!important;
 color:var(--muted,#6c8678)!important;
 margin:0!important;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-amount{
 display:grid;justify-items:end;gap:2px;
 padding:2px 0 0;
 text-align:right;white-space:nowrap;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-amount strong{
 font-size:15px;font-weight:800;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-amount small{
 font-size:10px;opacity:.78;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-breakdown{
 margin:5px 0!important;font-size:11px!important;
 line-height:1.4;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-approval-card .tsc-approval-period-platforms{
 padding:8px 10px!important;
 margin:6px 0 1px!important;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-approval-card .tsc-approval-ids{
 gap:4px!important;margin-top:4px!important;
}
#root [data-tsc-real-salary-approval-root] .tsc-v14-review-note{
 margin:6px 0 0;font-size:11px;
}
#root .tsc-v14-payout-conditions{
 display:inline-flex;flex-direction:column;align-items:flex-start;
 min-width:0;
}
#root .tsc-v14-payout-conditions .tsc-v13-view-conditions{
 min-height:30px;
 margin:1px 0!important;padding:5px 9px!important;
 font-size:11px;line-height:1.35;
}
#root .tsc-v14-contract-conditions{
 padding:7px 0;margin-top:6px;
}
#root .tsc-v14-contract-conditions .tsc-v13-view-conditions{
 margin:0!important;
 font-size:12px;
}
#root details.tsc-v14-conditions-source{display:none!important}
#root [data-tsc-real-salary-approval-root] .tsc-v14-actions :is(button,.btn):focus-visible,
#root .tsc-v14-payout-conditions button:focus-visible,
#root .tsc-v14-contract-conditions button:focus-visible{
 outline:2px solid #d5a64d;outline-offset:2px;
}
html[data-theme=dark] #root [data-tsc-real-salary-approval-root] .tsc-v14-socials{
 background:#193b2c;border-color:#3e7252;
 color:#e0f3e5;
}
html[data-theme=dark] #root [data-tsc-real-salary-approval-root] .tsc-v14-socials a{
 color:#b0eccd;
}
html[data-theme=dark] #root [data-tsc-real-salary-approval-root] .tsc-v14-actions .tsc-v14-dossier{
 background:#28334a!important;border-color:#46567b!important;
 color:#e2e4fa!important;
}
html[data-theme=dark] #root [data-tsc-real-salary-approval-root] .tsc-v14-manager-period{
 color:#afcbb8!important;
}
html[data-theme=dark] #root .tsc-v14-payout-conditions .tsc-v13-view-conditions,
html[data-theme=dark] #root .tsc-v14-contract-conditions .tsc-v13-view-conditions{
 background:#174534;color:#ceefd9;border-color:#3c845b;
}
@media(max-width:1100px){
 #root [data-tsc-real-salary-approval-root] .tsc-v14-leading-row{gap:6px 8px}
 #root [data-tsc-real-salary-approval-root] .tsc-v14-actions{gap:4px}
}
@media(max-width:730px){
 #root [data-tsc-real-salary-approval-root] .tsc-v14-header{
  grid-template-columns:minmax(0,1fr);
  gap:5px;
 }
 #root [data-tsc-real-salary-approval-root] .tsc-v14-amount{
  grid-row:2;justify-items:start;text-align:left;
  display:flex;gap:8px;align-items:baseline;
 }
 #root [data-tsc-real-salary-approval-root] .tsc-v14-actions{
  display:flex;gap:5px;
 }
 #root [data-tsc-real-salary-approval-root] .tsc-v14-actions :is(button,.btn){
  min-height:32px!important;font-size:11px!important;
 }
 #root [data-tsc-real-salary-approval-root] .tsc-v14-person{font-size:13px}
 #root [data-tsc-real-salary-approval-root] .tsc-v14-approval-card{padding:10px!important}
}
@media(prefers-reduced-motion:reduce){
 #root [data-tsc-real-salary-approval-root] .tsc-v14-actions button{transition:none!important}
}

