/* Scoped cabinet fixes; public vacancy pages and mobile PWA retain their existing layout. */
.sh-employer-cabinet-page .sh-dashboard-main{min-width:0;container-type:inline-size}
.sh-employer-cabinet-page .sh-dashboard-main *, .sh-employer-cabinet-page .sh-dashboard-main *::before,.sh-employer-cabinet-page .sh-dashboard-main *::after{box-sizing:border-box}
.sh-dashboard-main .sh-dashboard-heading{align-items:flex-start;gap:18px}
.sh-dashboard-main .sh-dashboard-heading>div:first-child{min-width:0;flex:1}
.sh-dashboard-main .sh-dashboard-heading h1{font-size:clamp(26px,3.4vw,42px);line-height:1.15;overflow-wrap:anywhere;margin:0 0 12px}
.sh-dashboard-main .sh-application-toolbar{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr)) max-content;gap:12px;align-items:end;width:100%;max-width:100%;margin:20px 0 16px}
.sh-dashboard-main .sh-application-toolbar>label{display:flex;flex-direction:column;gap:7px;min-width:0;width:auto;margin:0;font-size:13px;line-height:1.35}
.sh-dashboard-main .sh-application-toolbar select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:0 30px 0 12px;font:inherit;font-size:13px;overflow:hidden;text-overflow:ellipsis;border:1px solid #d8dfeb;border-radius:10px;background-color:#fff}
.sh-dashboard-main .sh-application-toolbar .sh-applications-count{min-width:0;height:44px;min-height:44px;margin:0;padding:0 12px;font-size:13px;align-self:end;white-space:nowrap}
.sh-dashboard-main .sh-application-status-control select{width:100%;min-width:0;box-sizing:border-box}
.sh-dashboard-main [data-sh-application-status-result]{display:block;line-height:1.5;overflow-wrap:anywhere;margin-top:8px}
.sh-dashboard-main .sh-status-notify-link{margin-left:5px}
.sh-dashboard-main .sh-application-identity{min-width:0}
.sh-dashboard-main .sh-application-identity>a{overflow-wrap:anywhere}
.sh-dashboard-main .sh-table-wrap:has(.sh-applications-table){overflow:visible;max-width:100%}
.sh-dashboard-main .sh-applications-table{width:100%;max-width:100%;min-width:0}
.sh-dashboard-main .sh-applications-table>tbody{max-width:100%;width:100%}
.sh-dashboard-main .sh-applications-table tr[data-sh-application-row]{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(180px,230px) 38px!important;gap:12px!important;padding:18px!important}
.sh-dashboard-main .sh-applications-table td{min-width:0}
.sh-dashboard-main .sh-application-card-head{grid-template-columns:minmax(0,1fr) minmax(110px,.65fr);gap:16px}
.sh-dashboard-main .sh-application-last-job{min-width:0;overflow-wrap:anywhere}
.sh-dashboard-main .sh-employer-news-date{display:block;font-size:12px;line-height:1.4;opacity:.75;margin:0 0 8px}
.sh-dashboard-main .sh-dashboard-widget-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto;grid-auto-flow:row;align-items:stretch!important;gap:16px;margin-top:24px}
.sh-dashboard-main .sh-dashboard-widget-grid>[data-sh-dashboard-widget]{grid-column:auto!important;grid-row:auto!important;height:auto;min-height:300px!important;max-height:none;min-width:0!important;display:flex;flex-direction:column;padding:16px!important;position:relative;margin:0;overflow:visible;border:1px solid #dfe4ec;border-radius:16px;background:#fff}
.sh-dashboard-main .sh-widget-controls{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:none;height:28px;margin:-4px -4px 6px}
.sh-dashboard-main .sh-widget-controls .sh-widget-drag-handle,.sh-dashboard-main .sh-widget-controls .sh-widget-move{display:inline-flex!important;position:static!important;width:28px;height:28px;min-height:0;margin:0;padding:0;align-items:center;justify-content:center;border:0;background:#f4f6f9;color:#667085;border-radius:6px;font-size:16px;cursor:pointer;opacity:1}
.sh-dashboard-main .sh-widget-controls .sh-widget-drag-handle{cursor:grab}
.sh-dashboard-main .sh-widget-controls button:disabled{opacity:.3;cursor:default}
.sh-dashboard-main .sh-widget-controls button:focus-visible{outline:2px solid #3e5bff;outline-offset:1px}
.sh-dashboard-main .sh-widget-content{display:flex;flex:1;flex-direction:column;min-height:auto;min-width:0;overflow:visible;padding-right:0}
.sh-dashboard-main .sh-widget-content>.sh-btn{margin-top:auto;align-self:flex-start}
.sh-dashboard-main .sh-widget-content .sh-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}
.sh-dashboard-main .sh-widget-content h2{font-size:18px!important;line-height:1.25!important;margin:0;overflow-wrap:anywhere}
.sh-dashboard-main .sh-widget-content .sh-card-title{padding:0;margin-bottom:14px;flex:none}
.sh-dashboard-main .sh-widget-content .sh-card-title>div{min-width:0}
.sh-dashboard-main .sh-widget-content>p{font-size:13px;line-height:1.5;margin:10px 0}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses{margin:0 0 10px}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses a{min-height:28px;padding:5px 0}
.sh-dashboard-main .sh-widget-content .sh-team-list{max-height:none;overflow:visible}
.sh-dashboard-main .sh-widget-content .sh-growth-big{font-size:44px}
.sh-dashboard-main .sh-widget-content .sh-btn{font-size:12px;padding:9px 12px;min-height:36px;white-space:normal}
.sh-dashboard-main .sh-widget-order-status{min-height:20px;font-size:12px;color:#667085;margin:8px 0}
.sh-dashboard-main .sh-widget-order-status button{background:none;border:0;text-decoration:underline;font:inherit;cursor:pointer}
.sh-dashboard-main .sh-dashboard-layout-hint{display:block!important;font-size:12px}
.sh-dashboard-main .sh-dashboard-widget.is-dragging{opacity:.6;outline:2px dashed #405fff}
.sh-dashboard-main .sh-vacancy-table{width:100%;min-width:0;table-layout:fixed}
.sh-dashboard-main .sh-vacancy-table th,.sh-dashboard-main .sh-vacancy-table td{padding:14px 9px;overflow-wrap:anywhere;vertical-align:top}
.sh-dashboard-main .sh-vacancy-table th:nth-child(1){width:28%}
.sh-dashboard-main .sh-vacancy-table th:nth-child(2){width:14%}
.sh-dashboard-main .sh-vacancy-table th:nth-child(3),.sh-dashboard-main .sh-vacancy-table th:nth-child(4){width:9%}
.sh-dashboard-main .sh-vacancy-table th:nth-child(5){width:13%}
.sh-dashboard-main .sh-vacancy-table th:nth-child(6){width:27%}
.sh-dashboard-main .sh-vacancy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.sh-dashboard-main .sh-vacancy-actions .sh-inline-form{display:inline-flex;gap:0;margin:0}
.sh-dashboard-main .sh-icon-action{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;padding:7px!important;margin:0!important;border:1px solid #dce2eb!important;border-radius:9px;background:#fff!important;color:#303b4e!important;text-decoration:none;font-size:0!important;cursor:pointer}
.sh-dashboard-main .sh-icon-action svg{display:block;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.sh-dashboard-main .sh-icon-action:hover,.sh-dashboard-main .sh-icon-action:focus-visible{background:#f0f4ff!important;border-color:#405fff!important;color:#2846da!important;outline:2px solid transparent;outline-offset:2px}
.sh-dashboard-main .sh-promotion-wrap{flex-basis:100%;width:100%;margin-top:5px}
.sh-dashboard-main .sh-promotion-wrap form{margin:0}
.sh-dashboard-main .sh-promotion-wrap .sh-promotion-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;border:0;padding:10px 12px;border-radius:9px;background:#ed243c;color:#fff;cursor:pointer;font:inherit;font-size:12px;font-weight:750;text-decoration:none;white-space:normal}
.sh-dashboard-main .sh-promotion-wrap .sh-promotion-button:disabled{opacity:.6;cursor:wait}
.sh-dashboard-main .sh-promotion-wrap small{display:block;font-size:11px;line-height:1.4;margin-top:5px;color:#667085}
.sh-dashboard-main .sh-promotion-active{display:block;padding:9px 11px;border-radius:9px;background:#edf8f2;color:#16603a;font-size:12px;font-weight:650;line-height:1.4}
.sh-cabinet-tooltip{position:fixed;z-index:99999;max-width:min(280px,calc(100vw - 16px));background:#18202d;color:#fff;padding:7px 11px;font:12px/1.4 system-ui,sans-serif;border-radius:7px;pointer-events:none;box-shadow:0 3px 14px #0002}
.sh-cabinet-tooltip[hidden]{display:none}
@container (min-width:1100px){.sh-dashboard-main .sh-dashboard-widget-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@container (max-width:800px){
 .sh-dashboard-main .sh-application-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-dashboard-main .sh-application-toolbar .sh-applications-count{grid-column:1/-1;justify-self:end}
 .sh-dashboard-main .sh-vacancy-table thead{display:none}.sh-dashboard-main .sh-vacancy-table,.sh-dashboard-main .sh-vacancy-table tbody{display:block;width:100%}.sh-dashboard-main .sh-vacancy-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:16px;border:1px solid #e2e7ee;border-radius:14px;background:#fff;margin-bottom:12px}.sh-dashboard-main .sh-vacancy-table td{display:block;border:0;padding:0}.sh-dashboard-main .sh-vacancy-table td:first-child,.sh-dashboard-main .sh-vacancy-table td:last-child{grid-column:1/-1}.sh-dashboard-main .sh-vacancy-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;color:#667085;margin-bottom:4px}.sh-dashboard-main .sh-vacancy-table td:nth-child(5){grid-column:1/-1}.sh-dashboard-main .sh-vacancy-table .sh-promotion-wrap{flex:1;min-width:180px;margin:0 0 0 8px}.sh-dashboard-main .sh-table-wrap:has(.sh-vacancy-table){overflow:visible}
 .sh-dashboard-main .sh-applications-table tr[data-sh-application-row]{grid-template-columns:minmax(0,1fr) 38px!important}.sh-dashboard-main .sh-applications-table tr[data-sh-application-row]>td:nth-child(1){grid-column:1!important;grid-row:1!important}.sh-dashboard-main .sh-applications-table tr[data-sh-application-row]>td:nth-child(4){grid-column:1/-1!important;grid-row:3!important}.sh-dashboard-main .sh-applications-table tr[data-sh-application-row]>td:nth-child(7){grid-column:1/-1!important;grid-row:2!important}.sh-dashboard-main .sh-applications-table tr[data-sh-application-row]>td:nth-child(8){grid-column:2!important;grid-row:1!important}
}
@container (max-width:540px){.sh-dashboard-main .sh-dashboard-widget-grid{grid-template-columns:minmax(0,1fr)!important}.sh-dashboard-main .sh-application-card-head{display:block}.sh-dashboard-main .sh-application-last-job{border-left:0;margin-top:14px;padding-left:0}.sh-dashboard-main .sh-vacancy-actions .sh-promotion-wrap{flex-basis:100%;margin:6px 0 0}.sh-dashboard-main .sh-dashboard-heading{flex-wrap:wrap}}
@container (max-width:360px){.sh-dashboard-main .sh-application-toolbar{grid-template-columns:minmax(0,1fr)}.sh-dashboard-main .sh-application-toolbar .sh-applications-count{justify-self:stretch}.sh-dashboard-main .sh-dashboard-heading h1{font-size:26px}.sh-dashboard-main .sh-applications-table tr[data-sh-application-row]{padding:12px!important}}
@media(prefers-reduced-motion:reduce){.sh-dashboard-main *{scroll-behavior:auto!important}}
/* Compact content in every grid unit; counts and actions remain visible at normal text sizes. */
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;flex:none}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:26px;height:26px;padding:3px 8px;border-radius:6px}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses span,.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses strong{display:block;position:static;margin:0;line-height:1.2;font-size:12px;color:inherit}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses strong{flex:none;font-size:14px}
.sh-dashboard-main .sh-widget-content .sh-dashboard-funnel-heading{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0;margin:0 0 12px}
.sh-dashboard-main .sh-widget-content .sh-dashboard-funnel-heading label{min-width:0;width:100%}
.sh-dashboard-main .sh-widget-content .sh-dashboard-funnel-heading select{min-width:0;width:100%;font-size:12px}
.sh-dashboard-main .sh-widget-content .sh-dashboard-funnel-summary{flex-wrap:wrap;gap:6px}
.sh-dashboard-main .sh-widget-content .sh-dashboard-funnel-row{grid-template-columns:minmax(0,1fr);gap:5px}
.sh-dashboard-main .sh-widget-content .sh-dashboard-funnel-details{grid-column:1}

.sh-dashboard-main .sh-widget-footer{display:flex;flex:none;flex-wrap:wrap;gap:6px;padding-top:10px;background:#fff}
.sh-dashboard-main .sh-widget-footer .sh-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.sh-dashboard-main .sh-widget-footer .sh-btn{min-height:34px;padding:8px 11px;line-height:1.3;font-size:12px;white-space:normal;max-width:100%;box-sizing:border-box}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses{gap:3px;margin-bottom:6px}
.sh-dashboard-main .sh-widget-content .sh-vacancy-statuses a{height:24px;min-height:24px}

/* 1.0.159: metrics remain fully visible; page scrolling replaces widget scrolling. */
.sh-dashboard-main .sh-widget-content .sh-dashboard-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 14px;max-height:none;overflow:visible;flex:none}
.sh-dashboard-main .sh-widget-content .sh-dashboard-metrics>div{min-width:0;padding:12px 10px}
.sh-dashboard-main .sh-widget-content .sh-dashboard-metrics strong{font-size:clamp(26px,3vw,36px);line-height:1.2;overflow-wrap:anywhere}
.sh-dashboard-main .sh-widget-content .sh-dashboard-metrics span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.sh-dashboard-main .sh-widget-content [data-sh-growth-overview]{max-height:none;overflow:visible}
