/* 2025_12_01_@_16-02-12 */
/* Project dashboard layout */
.dashboard-root {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: rgba(27, 27, 27, 0.6);
  font-family: Arial, sans-serif;
  color: #000;
  overflow: hidden;
  z-index: 88888;
}

.dashboard-root[hidden] {
  display: none !important;
}

.dashboard-root.is-minimized {
  display: none !important;
}

.dashboard-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1b2a4a 0%, #274470 100%);
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  z-index: 88890;
}

.dashboard-dock.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dashboard-dock:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.32);
}

.dashboard__close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.dashboard__close-btn:hover,
.dashboard__close-btn:focus-visible {
  text-decoration: underline;
  outline: none;
}

.dashboard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: min(1080px, 100%);
  background: #ffffff;
  border: 2px solid #000;
  border-radius: 0;
  box-shadow: none;
  padding: 36px 32px 28px;
}

.dashboard-root .user-dashboard {
  flex: 1 1 auto;
  min-height: 100%;
  max-height: none;
  width: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.dashboard-root .user-dashboard__main {
  flex: 1 1 auto;
  overflow-y: auto;
}

.dashboard__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  position: relative;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.dashboard__header-main {
  flex: 1 1 280px;
}

.dashboard__title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #000;
}

.dashboard__subtitle {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 400;
  color: #000;
}

.dashboard__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex: 1 1 200px;
}

.dashboard__actions button {
  border: none;
  background: transparent;
  color: #000;
  font-size: 24px;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
}

.dashboard__actions button:disabled {
  opacity: 0.5;
  cursor: default;
  text-decoration: none;
}

.dashboard__actions button:hover:not(:disabled),
.dashboard__actions button:focus-visible {
  text-decoration: none;
  outline: none;
}

.dashboard-summary {
  background: #ffffff;
}

.dashboard-summary__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000;
  font-size: 24px;
  background: #ffffff;
  border: 1px solid #9abad9;
}

.dashboard-summary__table col.dashboard-summary__col--items-label,
.dashboard-summary__table col.dashboard-summary__col--jobs-label,
.dashboard-summary__table col.dashboard-summary__col--tasks-label {
  width: 125px;
}

.dashboard-summary__table col.dashboard-summary__col--rasci-label {
  width: 88px;
}

.dashboard-summary__table col.dashboard-summary__col--items-value,
.dashboard-summary__table col.dashboard-summary__col--jobs-value,
.dashboard-summary__table col.dashboard-summary__col--tasks-value,
.dashboard-summary__table col.dashboard-summary__col--rasci-value,
.dashboard-summary__table col.dashboard-summary__col--items-cta,
.dashboard-summary__table col.dashboard-summary__col--jobs-cta,
.dashboard-summary__table col.dashboard-summary__col--tasks-cta,
.dashboard-summary__table col.dashboard-summary__col--rasci-cta {
  width: 35px;
}

.dashboard-summary__table col.dashboard-summary__col--spacer {
  width: 5px;
}

.dashboard-summary__table thead th {
  border: none;
  border-bottom: 2px solid #9abad9;
  padding: 2px 6px;
  text-align: left;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ffffff;
}

.dashboard-summary__header-cell--items {
  color: #3166ff;
}

.dashboard-summary__header-cell--jobs {
  color: #4ea72e;
}

.dashboard-summary__header-cell--tasks {
  color: #a02b93;
}

.dashboard-summary__header-cell--rasci {
  color: #e97132;
}

.dashboard-summary__table tbody th,
.dashboard-summary__table tbody td {
  border: 1px solid #9abad9;
  padding: 10px 5px;
  vertical-align: middle;
  font-weight: 600;
  color: inherit;
}

.dashboard-summary__cell--label {
  text-align: left;
}

.dashboard-summary__cell--value {
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-summary__cell--cta {
  text-align: right;
}

.dashboard-summary__cell--items {
  background: #0f9ed5;
  color: #ffffff;
}

.dashboard-summary__cell--jobs {
  background: #4ea72e;
  color: #ffffff;
}

.dashboard-summary__cell--tasks {
  background: #a02b93;
  color: #ffffff;
}

.dashboard-summary__cell--rasci {
  background: #e97132;
  color: #ffffff;
}

.dashboard-summary__cell--lead.dashboard-summary__cell--value {
  font-size: 32px;
}

.dashboard-summary__cell--lead {
  font-weight: 700;
}

.dashboard-summary__spacer {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.dashboard-summary__action {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.dashboard-summary__action:hover {
  opacity: 0.85;
}

.dashboard-summary__action:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.dashboard-summary__action--inactive {
  cursor: default;
  opacity: 0.7;
}

.dashboard-section {
  border: 1px solid #d9dee6;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(21, 44, 92, 0.08);
}

.dashboard-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.1rem;
}

.dashboard-section__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #1f2a38;
}

.dashboard-section__action {
  border: none;
  background: #f1f5f9;
  color: #1f2a38;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dashboard-section__action:hover {
  background: #e2e8f0;
}

.dashboard-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.dashboard-item {
  border: 1px solid #d9dee6;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: #f8fbff;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.dashboard-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.dashboard-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: #1f2a38;
}

.dashboard-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #4a566f;
}

.dashboard-item__badge {
  background: #e0e7ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-weight: 600;
  font-size: 0.75rem;
}

.dashboard-item.is-overdue {
  border-color: #f87171;
  background: #fff5f5;
}

.dashboard-item.is-overdue .dashboard-item__badge {
  background: #fee2e2;
  color: #b91c1c;
}

.dashboard-item.is-due-soon {
  border-color: #fbbf24;
  background: #fffbeb;
}

.dashboard-item.is-due-soon .dashboard-item__badge {
  background: #fef3c7;
  color: #b45309;
}

.dashboard-section__empty {
  margin: 0;
  font-size: 0.85rem;
  color: #66758c;
}

.dashboard-section--meetings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-meetings {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  padding: 0.85rem 1rem;
  overflow: hidden;
}

.dashboard-meetings__scroller {
  max-height: clamp(260px, 42vh, 380px);
  overflow-y: auto;
  display: grid;
  gap: 0.85rem;
  padding-right: 0.35rem;
  scroll-behavior: smooth;
}

.dashboard-meetings__scroller::-webkit-scrollbar {
  width: 8px;
}

.dashboard-meetings__scroller::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-meetings__scroller::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}


.dashboard-meeting-card {
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.7);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.dashboard-meeting-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.18);
  border-color: #c7d2fe;
}

.dashboard-meeting-card:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px;
}

.dashboard-meeting-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dashboard-meeting-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.dashboard-meeting-card__content {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
}

.dashboard-meeting-card__main {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-meeting-card__notes {
  flex: 1;
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.08) 0%, rgba(30, 64, 175, 0.02) 100%);
  border-left: 2px solid rgba(30, 64, 175, 0.18);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: #334155;
  display: flex;
  align-items: center;
}

.dashboard-meeting-card--overdue .dashboard-meeting-card__notes {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
  border-left-color: rgba(239, 68, 68, 0.24);
}

.dashboard-meeting-card--due-soon .dashboard-meeting-card__notes {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0.05) 100%);
  border-left-color: rgba(251, 191, 36, 0.26);
}

.dashboard-meeting-card--neutral .dashboard-meeting-card__notes {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
  border-left-color: rgba(59, 130, 246, 0.24);
}

.dashboard-meeting-card__notes p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.dashboard-meeting-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-meeting-card__status--overdue {
  background: #fee2e2;
  color: #b91c1c;
}

.dashboard-meeting-card__status--due-soon {
  background: #fef3c7;
  color: #b45309;
}

.dashboard-meeting-card__status--neutral {
  background: #e0f2fe;
  color: #0369a1;
}

.dashboard-meeting-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin: 0;
}

.dashboard-meeting-card__meta-pair {
  display: grid;
  gap: 0.2rem;
  min-width: 140px;
}

.dashboard-meeting-card__meta-pair dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0;
}

.dashboard-meeting-card__meta-pair dd {
  margin: 0;
  font-size: 0.85rem;
  color: #1e293b;
}

.dashboard-meeting-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dashboard-meeting-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
}

@media (max-width: 900px) {
  .dashboard-meeting-card__content {
    flex-direction: column;
  }

  .dashboard-meeting-card__notes {
    border-left: none;
    border-top: 2px solid rgba(30, 64, 175, 0.18);
  }
}

.dashboard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dashboard-quick-actions button {
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.22);
}

.dashboard-quick-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.24);
}

.dashboard-quick-actions button[data-variant="secondary"] {
  background: #f8fafc;
  color: #1f2933;
  box-shadow: none;
  border: 1px solid #d9dee6;
}

.dashboard-status {
  font-size: 0.8rem;
  color: #6b758b;
}

.dashboard-status__label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.dashboard-status__value {
  color: #1f2a38;
}

.dashboard-flash {
  animation: dashboard-flash 1.1s ease;
}

@keyframes dashboard-flash {
  0% { background: #fef3c7; }
  100% { background: inherit; }
}

@media (max-width: 768px) {
  .dashboard-root {
    margin: 0.75rem;
    padding: 1.25rem;
  }

  .dashboard__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard__actions button {
    flex: 1 1 auto;
    text-align: center;
  }
}
