/* FDC recruitment: compact CPO Payscale notices + recruiter history.
   Scoped rules avoid changes to CPO Payscale approval screens. */
.ps-received-alert{
 display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:14px 0 16px;
 padding:15px 18px;border:1px solid #a8d8c5;border-left:4px solid #20875a;
 border-radius:15px;background:linear-gradient(110deg,#edfaf3 0%,#f8fcfa 64%,#fff 100%);
 box-shadow:0 4px 17px rgba(23,91,64,.07);
}
.ps-received-alert-icon{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;
 border-radius:13px;background:#d8efe3;color:#18764c}
.ps-received-alert-icon svg{width:25px;height:25px}
.ps-received-alert-copy{flex:1 1 260px;min-width:0}
.ps-received-alert-copy strong{display:block;font-size:14px;color:#164c36;font-weight:750;line-height:1.45}
.ps-received-alert-copy p{margin:3px 0;font-size:12px;color:#406858}
.ps-received-alert-copy small{font-size:11px;color:#58786b;line-height:1.5}
.ps-received-alert-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:auto}
.ps-received-alert-actions .btn{min-height:36px;border-radius:9px;font-size:12px}
.ps-received-page{display:grid;gap:16px;min-width:0}
.ps-received-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 19px;
 background:linear-gradient(115deg,#163c3a,#205a4c);border-radius:15px;color:white}
.ps-received-summary-icon{display:grid;place-items:center;width:41px;height:41px;flex:0 0 41px;
 background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:11px;
 font-weight:800;font-size:21px}
.ps-received-summary>div:not(.ps-received-summary-icon):not(.ps-received-summary-note){display:grid;gap:1px;min-width:102px}
.ps-received-summary b{font-size:23px;line-height:1.2;font-weight:750}
.ps-received-summary span{font-size:11px;opacity:.82}
.ps-received-summary-count{padding-left:18px;border-left:1px solid rgba(255,255,255,.2)}
.ps-received-summary-note{flex:1 1 230px;margin-left:auto;font-size:12px;line-height:1.55;opacity:.83;max-width:385px}
.ps-received-panel{min-width:0;overflow:hidden}
.ps-received-panelhead{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ps-received-panelhead h3{margin:0 0 5px}
.ps-received-panelhead p{margin:0}
.ps-received-tools{display:flex;flex-wrap:wrap;gap:12px;padding:15px 17px;background:#fbfcfd;border-bottom:1px solid #e5eaf0}
.ps-received-tools label{display:grid;gap:5px;flex:1 1 220px;color:#546777;font-size:11px;font-weight:700}
.ps-received-tools label:last-child{flex:0 1 190px}
.ps-received-tools :is(input,select){width:100%;min-height:38px;border:1px solid #d7e1e9;border-radius:9px;background:#fff;padding:8px 11px;color:#172a37;font:inherit;font-size:13px;letter-spacing:normal}
.ps-received-tools :is(input,select):focus-visible{outline:2px solid #65a58b;outline-offset:1px}
.ps-received-scroll{overflow-x:auto;width:100%;scrollbar-color:#cdded6 transparent}
.ps-received-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;color:#34495b}
.ps-received-table th{background:#f5f8fa;color:#607384;text-transform:none;white-space:nowrap;font-size:11px;font-weight:700;padding:12px 14px;border-bottom:1px solid #dce5ec}
.ps-received-table td{padding:14px;vertical-align:middle;border-bottom:1px solid #e9eef2;line-height:1.5}
.ps-received-table tbody tr:hover{background:#f9fcfa}
.ps-received-name{color:#1f3446;font-weight:700}
.ps-received-secondary{margin-top:3px;font-size:11px;color:#758394}
.ps-received-badge{display:inline-flex;white-space:nowrap;font-weight:700;font-size:11px;
 color:#64748b;background:#f1f5f9;border:1px solid #e1e6ef;padding:4px 9px;border-radius:999px}
.ps-received-badge-new{color:#126342;background:#dff5e7;border-color:#bde5d0}
.ps-received-buttons{display:flex;gap:6px;flex-wrap:wrap;min-width:180px}
.ps-received-buttons .btn{white-space:nowrap;font-size:11px;min-height:30px;padding:5px 9px}
.ps-received-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;
 padding:12px 16px;color:#607081;font-size:11px}
.ps-received-pager{display:flex;align-items:center;gap:9px}
.ps-received-empty{text-align:center;padding:44px 14px 52px;color:#728293}
.ps-received-empty>span{display:grid;place-items:center;width:47px;height:47px;margin:0 auto 11px;border-radius:50%;
 background:#eff7f2;color:#24774c;font-weight:800;font-size:19px}
.ps-received-empty strong{display:block;color:#425466;font-size:14px}
.ps-received-empty p{font-size:12px;margin:5px 0 0}

/* Gentle dashboard refinement: stronger hierarchy, less visual noise.
   Existing KPI colors, active widgets and responsive layout are preserved. */
.dashboard-surface .insight-card{position:relative;isolation:isolate;box-shadow:0 4px 15px rgba(16,45,65,.035);
 border-radius:13px;transition:box-shadow .15s ease,transform .15s ease}
.dashboard-surface button.insight-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(16,45,65,.09)}
.dashboard-surface .insight-card .insight-card-icon{position:absolute;right:17px;top:16px;width:30px;height:30px;
 display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.65);
 border:1px solid rgba(44,78,82,.10);opacity:.89}
.dashboard-surface .insight-card .insight-card-icon svg{width:17px;height:17px}
.dashboard-surface .insight-card .insight-arrow{top:auto;bottom:14px;right:16px;font-size:14px}
.dashboard-surface .insight-period{box-shadow:0 3px 11px rgba(7,56,51,.08)}
.dashboard-surface .dashboard-activity .mini{border-radius:10px;transition:background .15s ease,box-shadow .15s ease}
.dashboard-surface .dashboard-activity button.mini:hover{background:#edf7f2;box-shadow:0 3px 9px rgba(24,113,76,.08)}
@media(max-width:760px){
 .ps-received-alert{align-items:flex-start;padding:14px}
 .ps-received-alert-actions{margin-left:0;width:100%}
 .ps-received-alert-actions .btn{flex:1 1 135px}
 .ps-received-summary-note{margin:4px 0 0}
 .ps-received-summary-count{padding-left:10px}
 .ps-received-tools label:last-child{flex:1 1 135px}
 .ps-received-table{min-width:780px}
}
@media(prefers-reduced-motion:reduce){
 .dashboard-surface button.insight-card,.dashboard-surface .dashboard-activity .mini{transition:none}
 .dashboard-surface button.insight-card:hover{transform:none}
}

/* Unread CPO decisions: a small, persistent counter in the recruiter navigation. */
.sidebar .nav button[data-view="payscale_received"]{position:relative;min-width:0}
.sidebar .nav button .ps-unread-nav-count{
 display:inline-grid;place-items:center;flex:0 0 auto;
 min-width:21px;height:21px;padding:0 6px;margin-left:auto;
 border:1px solid #a1e6c1;border-radius:999px;
 background:#d8f7e5;color:#135938;font-size:11px;font-weight:800;line-height:1;
 box-shadow:0 0 0 1px rgba(0,0,0,.03);
}
.app.sidebar-collapsed .sidebar .nav button .ps-unread-nav-count{
 display:inline-grid;position:absolute;right:0;top:0;min-width:19px;height:19px;
 padding:0 4px;margin:0;font-size:10px;
}
.mobilebar button[data-view="payscale_received"]{position:relative}
.mobilebar button .ps-unread-nav-count{
 display:inline-grid;place-items:center;min-width:18px;height:18px;
 padding:0 5px;margin-left:5px;border-radius:999px;
 background:#d8f7e5;color:#135938;font-size:10px;font-weight:800;line-height:1;
}
