/* V18.7 · Shared Group progress, a simplified panel and sales filters. */
.probrava-goal-line{margin-top:16px;min-width:0}
.goal-preview-notice{margin:0 0 16px;padding:12px 15px;border:1px solid #365f91;border-left:4px solid #009fd1;border-radius:8px;background:#eef4fa;color:#173d86;font-size:13px;line-height:1.5}
.goal-preview-notice[hidden]{display:none}
.goal-draft-tag{display:inline-block;margin-left:8px;padding:3px 7px;border:1px solid #009fd1;border-radius:5px;color:#173d86;background:#e5f6fc;font-size:11px;font-weight:700}
.goals-sales-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0;padding:14px;border:1px solid #a8bbd0;border-radius:9px;background:#f5f8fc}
.goals-sales-filters label{display:flex;flex:1 1 210px;min-width:0;flex-direction:column;gap:6px}
.goals-sales-filters label>span{color:#365f91;font-size:12px;font-weight:700}
.goals-sales-filters select,.goals-sales-filters button{min-height:42px;padding:9px 12px;border:1px solid #365f91;border-radius:7px;font:700 13px Arial,sans-serif;color:#173d86;background:#fff}
.goals-sales-filters select{width:100%;min-width:0;font-weight:400}
.goals-sales-filters button{cursor:pointer}
.goals-sales-filters button:disabled{opacity:.5;cursor:default}
.goals-sales-filters select:focus-visible,.goals-sales-filters button:focus-visible{outline:3px solid #009fd1;outline-offset:2px}
.goals-sales-list .goal-sale-owner{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.goals-sales-list .goal-sale-owner small{color:#365f91;font-size:11px;font-weight:400}
.dashboard-section .dashboard-sales-card{grid-column:1/-1!important}
.dashboard-section .dashboard-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:1000px){.dashboard-section .dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){
  .dashboard-section .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .goals-sales-filters label{flex-basis:100%}
  .goals-sales-filters button{width:100%}
  .goal-draft-tag{margin:6px 0 0}
}
.probrava-goal-line .probrava-goal-track{
  position:relative;
  height:16px!important;
  margin:0!important;
  border:1px solid #a8bbd0;
  background:#e9eff6;
  border-radius:999px;
  overflow:hidden;
}
.probrava-goal-line .probrava-goal-track>i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#173d86,#009fd1)!important;
  border-radius:999px;
}
.probrava-goal-track:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent calc(25% - 1px),#ffffffa8 25%,transparent calc(25% + 1px),transparent calc(50% - 1px),#ffffffa8 50%,transparent calc(50% + 1px),transparent calc(75% - 1px),#ffffffa8 75%,transparent calc(75% + 1px));
  pointer-events:none;
}
.probrava-goal-scale{display:flex;justify-content:space-between;margin-top:8px;color:#365f91;font-size:11px;font-weight:700}
.probrava-goal-line-note{margin-top:10px;color:#365f91;font-size:13px;line-height:1.5}
.probrava-goal-line.reached .probrava-goal-line-note{color:#173d86;font-weight:700}
.probrava-goal-line.no-target .probrava-goal-line-note{color:#65788a}
.goals-section .goal-person[data-goal-card="company"]{
  border:2px solid #173d86;
  background:#fff;
  box-shadow:0 6px 20px #173d8612,inset 0 3px #009fd1;
}
.goals-section .goal-person[data-goal-card="company"] .goal-person-pct{color:#173d86}
.dashboard-section .dashboard-sales-card.is-group{
  grid-column:1/-1!important;
  border:2px solid #173d86!important;
  background:#fff;
  box-shadow:0 6px 20px #173d8612,inset 0 3px #009fd1!important;
}
.dashboard-section .dashboard-sales-card .dashboard-card-head{flex-wrap:wrap;align-items:center;gap:12px}
.dashboard-sales-card .dashboard-card-head .dashboard-goal-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px}
.dashboard-year-field{display:flex;align-items:center;gap:7px;color:#365f91;font-size:12px;font-weight:700}
.dashboard-year-field select{min-height:40px;padding:7px 10px;border:1px solid #365f91;border-radius:8px;background:#fff;color:#173d86;font:700 14px Arial,sans-serif}
.dashboard-year-field select:focus-visible{outline:3px solid #009fd1;outline-offset:2px}
.dashboard-goal-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:5px 0 18px}
.dashboard-goal-heading>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.dashboard-goal-heading b{color:#173d86;font-size:21px;letter-spacing:.02em;overflow-wrap:anywhere}
.dashboard-goal-heading span{color:#365f91;font-size:13px;line-height:1.5}
.dashboard-goal-heading strong{color:#173d86;font-size:32px;line-height:1.2;white-space:nowrap}
.dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px!important;
  margin-top:0!important;
}
.dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers div{
  border:1px solid #a8bbd0;
  border-top:3px solid #009fd1;
  background:#f5f8fc;
  padding:14px!important;
  min-height:80px!important;
}
.dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers span{color:#365f91;font-size:12px!important}
.dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers b{font-size:22px!important;line-height:1.3!important;overflow-wrap:anywhere}
.dashboard-section .dashboard-sales-card.is-group .probrava-goal-line{margin-top:22px}
.dashboard-section .dashboard-sales-card.is-group .probrava-goal-track{height:18px!important}
@media(max-width:1000px){
  .dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .dashboard-goal-heading{align-items:flex-start;gap:10px}
  .dashboard-goal-heading b{font-size:17px}
  .dashboard-goal-heading strong{font-size:25px}
  .dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers div{padding:10px!important;min-height:72px!important}
  .dashboard-section .dashboard-sales-card.is-group #dashboardSales .dashboard-sales-numbers b{font-size:18px!important}
  .dashboard-goal-actions{width:100%;justify-content:space-between}
}
