/* Scoped presentation layer for the confirmed compiled release. No data changes. */
html body #root .inspector-admin-panel,
html body #root .inspector-assignment-panel {
  padding: 22px !important;
  border: 1px solid #d6e6e2 !important;
  border-radius: 20px !important;
  background: #fff !important;
}
html body #root .inspector-admin-panel > .row:first-child {
  margin-bottom: 20px !important;
  align-items: center;
}
html body #root .inspector-create-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto !important;
  gap: 12px !important;
  padding: 16px !important;
  margin-bottom: 20px !important;
  border-radius: 14px !important;
  border-color: #deebe7 !important;
  background: #f5f9f8 !important;
}
html body #root .inspector-create-form > div:not(:last-child) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 100% !important;
  gap: 8px !important;
}
html body #root .inspector-create-form :is(input, select) {
  min-width: 0 !important;
  width: 100% !important;
  height: 40px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}
html body #root .inspector-admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
}
html body #root .inspector-admin-card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto;
  gap: 16px !important;
  padding: 20px !important;
  border: 1px solid #d7e6e1 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(22, 62, 54, .035) !important;
  min-width: 0;
  transform: none !important;
}
html body #root .inspector-admin-card:hover {
  border-color: #86c9bf !important;
  background: #fcfefd !important;
}
html body #root .inspector-admin-card:focus-visible,
html body #root .portfolio-client-card:focus-visible {
  outline: 3px solid #19a99c !important;
  outline-offset: 3px;
}
html body #root .inspector-admin-card > div:first-child {
  grid-column: 1 / -1;
  gap: 12px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f0;
}
html body #root .inspector-admin-card > div:first-child > :first-child {
  width: 46px !important;
  height: 46px !important;
  font-size: 16px !important;
}
html body #root .inspector-admin-card > div:first-child > span:last-child > span:first-child {
  font-size: 18px !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
html body #root .inspector-admin-card > div:nth-child(2),
html body #root .inspector-admin-card > div:nth-child(3) {
  width: 100%;
  grid-template-rows: auto auto auto !important;
  gap: 6px !important;
}
html body #root .inspector-admin-card select {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  height: 40px !important;
  font-weight: 650 !important;
  border-radius: 10px !important;
  background-color: #f8fbfa !important;
  border-color: #dbe7e3 !important;
}
html body #root .inspector-admin-card[data-status="activ"] > div:nth-child(3) select:first-child {
  color: #08786d !important;
  background-color: #edf9f5 !important;
}
html body #root .inspector-admin-card[data-status="concediu"] > div:nth-child(3) select:first-child {
  color: #936513 !important;
  background-color: #fff9eb !important;
}
html body #root .inspector-admin-card > div:last-child {
  grid-column: 1 / -1;
  align-self: end !important;
  border-top: 1px solid #edf2f0;
  padding-top: 14px;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
html body #root .inspector-admin-card > div:last-child .btn {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px !important;
  border-radius: 10px;
}
html body #root .inspector-admin-card .inspector-delete-action {
  margin-left: auto;
  color: #8e5b5b;
  background: #fff !important;
}
html body #root .inspector-admin-card .inspector-delete-action:disabled { opacity: .4; }
html body #root .inspector-assignment-panel { gap: 20px !important; }
html body #root .inspector-assignment-panel .task-action-button {
  background: #fff !important;
  border: 1px solid #8bcabc !important;
  color: #08786d !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  min-height: 38px;
}
html body #root .inspector-assignment-panel .task-action-button:disabled { opacity: .45; }
html body #root .inspector-assignment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  counter-reset: assignment-step;
}
html body #root .inspector-assignment-card {
  position: relative;
  min-width: 0;
  gap: 10px !important;
  padding: 20px !important;
  border: 1px solid #dae7e3 !important;
  background: #f8fbfa !important;
  border-radius: 16px !important;
  align-content: start;
  counter-increment: assignment-step;
}
html body #root .inspector-assignment-card::before {
  content: "0" counter(assignment-step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e3f3ee;
  color: #08786d;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}
html body #root .inspector-assignment-card > span:first-child { font-size: 16px !important; }
html body #root .inspector-assignment-card select {
  width: 100%;
  height: 44px !important;
  background-color: #fff !important;
  border-color: #c7ded7 !important;
  font-size: 14px !important;
}
html body #root .inspector-assignment-card[data-assigned="true"] { border-color: #8bcabc !important; }
html body #root .inspector-assignment-card > span:last-child { line-height: 1.5; }
html body #root .admin-portfolio-unified-section .portfolio-card-list-refined > .portfolio-client-card,
html body #root .portfolio-client-card {
  border: 1px solid #d7e6e1 !important;
  border-left: 4px solid #c2e5dd !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin: 0 0 12px !important;
  gap: 16px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(22, 62, 54, .025) !important;
  transform: none !important;
  min-width: 0;
}
html body #root .admin-portfolio-unified-section .portfolio-card-list-refined > .portfolio-client-card[data-expanded],
html body #root .portfolio-client-card[data-expanded] { border-color: #16a394 !important; }
/* Keep the left edge neutral; reveal the accent only while hovering the card. */
html body #root .portfolio-card-list-refined .inspector-profile-portfolio-card.portfolio-client-card,
html body #root .portfolio-card-list-refined .inspector-profile-portfolio-card.portfolio-client-card[data-expanded] {
  border-left: 1px solid #d7e6e1 !important;
}
html body #root .portfolio-card-list-refined .inspector-profile-portfolio-card.portfolio-client-card::before {
  opacity: 0 !important;
}
html body #root .portfolio-card-list-refined .inspector-profile-portfolio-card.portfolio-client-card:hover::before {
  opacity: 1 !important;
}
html body #root .admin-portfolio-unified-section .portfolio-card-list-refined > .portfolio-client-card > .row.between {
  flex-wrap: wrap !important;
  gap: 16px !important;
}
html body #root .portfolio-client-card > div:first-child > div:first-child > div:first-child {
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}
html body #root .portfolio-client-card > div:first-child .tiny { font-size: 12px !important; line-height: 1.5 !important; }
html body #root .portfolio-client-card .portfolio-card-action-tiles {
  display: flex !important;
  gap: 8px !important;
  width: auto !important;
  border: 0 !important;
}
html body #root .portfolio-client-card .portfolio-card-action-tile {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 9px 13px !important;
  min-height: 38px !important;
  width: auto !important;
  min-width: 0 !important;
  border: 1px solid #c9e2db !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-size: 13px !important;
}
html body #root .portfolio-client-card > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border: 1px solid #e8efec;
  border-radius: 12px;
  padding: 12px 4px;
  background: #f7faf9;
}
html body #root .portfolio-client-card > div:nth-child(2) > div {
  min-width: 0;
  border-left: 1px solid #e0eae6 !important;
  padding: 2px 12px !important;
}
html body #root .portfolio-client-card > div:nth-child(2) > div:first-child { border-left: 0 !important; }
html body #root .portfolio-client-card > div:nth-child(2) > div > div:first-child {
  font-size: 11px !important;
  font-weight: 550 !important;
  margin-bottom: 5px;
}
html body #root .portfolio-client-card > div:nth-child(2) > div > div:last-child {
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}
@media (max-width: 1200px) {
  html body #root .inspector-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 960px) {
  html body #root .inspector-admin-grid { grid-template-columns: minmax(0, 1fr); }
  html body #root .inspector-assignment-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 600px) {
  html body #root .inspector-admin-panel,
  html body #root .inspector-assignment-panel { padding: 14px !important; }
  html body #root .inspector-create-form { grid-template-columns: minmax(0, 1fr) !important; }
  html body #root .inspector-admin-card { padding: 16px !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto; }
  html body #root .portfolio-client-card > div:nth-child(2) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 0 !important; }
  html body #root .portfolio-client-card > div:nth-child(2) > div:nth-child(3) { border-left: 0 !important; }
}
