.company-calendar {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #f6f8fc;
}

.company-calendar-rail,
.company-calendar-main,
.company-calendar-detail {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.company-calendar-rail {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 16px;
}

.company-calendar-create {
  width: 100%;
  justify-content: center;
  min-height: 42px;
}

.company-mini-calendar,
.company-calendar-block {
  display: grid;
  gap: 10px;
}

.company-mini-calendar > strong,
.company-calendar-block > strong {
  color: var(--ink);
  font-size: 14px;
}

.company-mini-weekdays,
.company-mini-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.company-mini-weekdays span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.company-mini-days button {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475467;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.company-mini-days button:hover,
.company-mini-days button.is-selected {
  background: #1d4ed8;
  color: #ffffff;
}

.company-mini-days button.is-muted {
  color: #cbd5e1;
}

.company-calendar-filter-list,
.company-calendar-scope-list,
.company-calendar-agenda {
  display: grid;
  gap: 8px;
}

.company-calendar-scope {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.company-calendar-scope:hover,
.company-calendar-scope.is-active {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.company-calendar-scope span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.company-calendar-scope small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.company-calendar-scope.is-active span {
  color: #1d4ed8;
}

.company-calendar-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #475467;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.company-calendar-filter:hover,
.company-calendar-filter.is-active {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.calendar-dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2563eb;
}

.calendar-dot.is-green,
.company-calendar-event.is-green {
  background: #dcfce7;
  color: #166534;
}

.calendar-dot.is-green {
  background: #16a34a;
}

.calendar-dot.is-purple {
  background: #8b5cf6;
}

.calendar-dot.is-red {
  background: #ef4444;
}

.calendar-dot.is-amber {
  background: #f59e0b;
}

.company-calendar-main {
  min-width: 0;
  overflow: hidden;
}

.company-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.company-calendar-toolbar h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.company-calendar-toolbar p {
  margin: 7px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.company-calendar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icon-action {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.icon-action:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.segmented-control {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  padding: 3px;
}

.segmented-control button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.segmented-control button.is-active {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

.company-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  min-height: 640px;
}

.company-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  grid-auto-rows: minmax(106px, 1fr);
  border-right: 1px solid var(--line);
  overflow: auto;
}

.company-calendar-grid.is-week {
  grid-auto-rows: minmax(520px, 1fr);
}

.company-calendar-grid.is-day {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(520px, 1fr);
}

.company-calendar-weekday {
  position: sticky;
  top: 0;
  z-index: 1;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  color: #64748b;
  padding: 10px;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.company-calendar-day {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: #ffffff;
  padding: 10px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.company-calendar-day:hover,
.company-calendar-day.is-selected {
  background: #f8fbff;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.company-calendar-day.is-muted {
  background: #fbfdff;
  color: #94a3b8;
}

.company-calendar-day > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.company-calendar-day.is-today > span {
  background: #1d4ed8;
  color: #ffffff;
}

.company-calendar-day > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.company-calendar-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  border-radius: 7px;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 5px 7px;
  font-size: 11px;
  line-height: 1.15;
}

.company-calendar-event.is-purple {
  background: #ede9fe;
  color: #6d28d9;
}

.company-calendar-event.is-red {
  background: #fee2e2;
  color: #b91c1c;
}

.company-calendar-event.is-amber {
  background: #fef3c7;
  color: #92400e;
}

.company-calendar-event i {
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.company-calendar-event strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-calendar-day small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.company-calendar-detail {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 18px;
}

.company-calendar-detail > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.company-calendar-detail > strong {
  color: var(--ink);
  font-size: 18px;
}

.company-agenda-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: #fbfdff;
  padding: 10px;
}

.company-agenda-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.company-agenda-item small,
.company-calendar-agenda p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.company-agenda-item p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.company-agenda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.company-agenda-actions button {
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
}

.company-agenda-actions button:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.company-calendar-editor-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(4px);
}

.company-calendar-editor {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #dbe6f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.company-calendar-editor header,
.company-calendar-editor footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
}

.company-calendar-editor header {
  border-bottom: 1px solid var(--soft-line);
}

.company-calendar-editor footer {
  border-top: 1px solid var(--soft-line);
  justify-content: flex-end;
}

.company-calendar-editor h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 22px;
}

.company-calendar-editor p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.company-calendar-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.company-calendar-editor-grid .field {
  display: grid;
  gap: 7px;
}

.company-calendar-editor-grid .field.wide {
  grid-column: 1 / -1;
}

.company-calendar-editor-grid .field > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.company-calendar-editor-grid .field b {
  color: var(--danger);
}

.company-calendar-editor-grid input,
.company-calendar-editor-grid select,
.company-calendar-editor-grid textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
}

.company-calendar-editor-grid textarea {
  resize: vertical;
}

.company-calendar-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px 14px;
}

.company-calendar-checkbox input {
  width: 18px;
  height: 18px;
}

.org-chart-page {
  display: grid;
  gap: 22px;
  min-width: 1040px;
  padding: 22px;
  background: radial-gradient(circle at top left, #eff6ff, #ffffff 34%, #f8fbff 100%);
}

.org-chart-title {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.org-chart-logo {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.org-chart-logo > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f3d91, #2563eb);
  color: #ffffff;
  font-weight: 950;
}

.org-chart-logo strong {
  color: #0f3d91;
  font-size: 22px;
  text-transform: uppercase;
}

.org-chart-title h3 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.org-chart-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.org-chart-board {
  display: grid;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 4px;
}

.org-top-tree {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.org-executive-row {
  position: relative;
  display: grid;
  grid-template-columns: 320px 220px;
  gap: 110px;
  align-items: center;
}

.org-executive-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 310px;
  width: 130px;
  border-top: 1px dashed #93c5fd;
}

.org-executive-node {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d4ed8, #0f3d91);
  color: #ffffff;
  padding: 12px 18px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.org-executive-node.is-members::after,
.org-executive-node.is-ceo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -25px;
  width: 1px;
  height: 24px;
  background: #1d4ed8;
}

.org-executive-node.is-control {
  background: linear-gradient(135deg, #dffdfa, #ccfbf1);
  color: #115e59;
  box-shadow: none;
}

.org-executive-node > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 20px;
}

.org-executive-node strong {
  display: block;
  font-size: 17px;
  line-height: 1.15;
  text-transform: uppercase;
}

.org-executive-node small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  font-weight: 750;
  opacity: 0.82;
}

.org-branch-line {
  position: relative;
  width: calc(100% - 140px);
  height: 34px;
  margin: 0 auto -12px;
  border-top: 1px solid #1d4ed8;
}

.org-branch-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -35px;
  width: 1px;
  height: 34px;
  background: #1d4ed8;
}

.org-chart-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  align-items: start;
}

.org-chart-block {
  position: relative;
  display: grid;
  gap: 16px;
}

.org-chart-block::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -31px;
  width: 1px;
  height: 30px;
  background: #1d4ed8;
}

.org-chart-block header {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 86px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  padding: 14px 10px;
  text-align: center;
}

.org-chart-block header span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #1d4ed8;
  font-size: 19px;
}

.org-chart-block header strong {
  color: #172554;
  font-size: 13px;
  line-height: 1.25;
  text-transform: uppercase;
}

.org-chart-block header small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.org-chart-block > div {
  display: grid;
  gap: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.org-chart-department {
  display: grid;
  gap: 6px;
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 12px 10px;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.org-chart-department:last-child {
  border-bottom: 0;
}

.org-chart-department:hover {
  background: #f8fbff;
}

.org-chart-department strong {
  color: #0f172a;
  font-size: 12px;
  line-height: 1.25;
}

.org-chart-department small {
  color: #64748b;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.org-leadership-departments {
  display: grid;
  grid-template-columns: minmax(280px, 460px);
  justify-content: center;
  margin-top: 12px;
}

.org-leadership-departments .org-chart-department {
  border: 1px solid #9dbbff;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.12);
}

.org-department-members {
  display: grid;
  gap: 4px;
  margin-top: 2px;
}

.org-department-members i {
  display: grid;
  gap: 1px;
  border-radius: 8px;
  background: #f8fafc;
  padding: 5px 7px;
  color: #1e3a8a;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.org-department-members b {
  color: #64748b;
  font-size: 9px;
  font-weight: 750;
}

.org-chart-department em {
  color: #475569;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.org-chart-block.is-operations header,
.org-chart-block.is-supply header,
.org-chart-block.is-branch header {
  border-color: #99f6e4;
  background: linear-gradient(135deg, #ecfeff, #ffffff);
}

.org-chart-block.is-technology header {
  border-color: #fed7aa;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.org-chart-block.is-finance header {
  border-color: #fbcfe8;
  background: linear-gradient(135deg, #fdf2f8, #ffffff);
}

.org-chart-block.is-people header {
  border-color: #fde68a;
  background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.org-chart-block.is-support header {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.org-chart-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 28px;
  color: #64748b;
  text-align: center;
}

.org-chart-empty strong {
  color: #172554;
  font-size: 14px;
}

.org-chart-empty small {
  max-width: 520px;
  font-size: 12px;
  line-height: 1.5;
}

.ask-studio-page {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
}

.ask-studio-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.ask-studio-head h3 {
  margin: 4px 0;
  color: var(--ink);
  font-size: 24px;
}

.ask-studio-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ask-studio-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ask-studio-actions svg,
.ask-overview-filters svg,
.ask-studio-toolbar svg,
.ask-row-actions svg,
.ask-drawer svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask-studio-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid #e2e8f0;
}

.ask-studio-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 10px 12px;
  color: #526174;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.ask-studio-tabs button.is-active {
  border-color: #1455d9;
  color: #1455d9;
}

.ask-studio-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
}

.ask-kpi {
  display: grid;
  gap: 5px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #fff;
  padding: 13px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.ask-kpi small,
.ask-kpi em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.ask-kpi strong {
  color: #0f1f41;
  font-size: 24px;
}

.ask-kpi.is-green { background: #f2fbf6; border-color: #ccefd9; }
.ask-kpi.is-amber { background: #fff8ed; border-color: #fde0b5; }
.ask-kpi.is-purple { background: #f5f3ff; border-color: #ddd6fe; }
.ask-kpi.is-red { background: #fff5f5; border-color: #fecaca; }

.ask-studio-layout {
  display: grid;
  grid-template-columns: minmax(720px, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.ask-framework-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.35fr);
  gap: 14px;
  align-items: start;
}

.ask-framework-master,
.ask-framework-detail {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ask-framework-list {
  display: grid;
  gap: 10px;
}

.ask-framework-card {
  display: grid;
  gap: 6px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  color: #17213b;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.ask-framework-card:hover,
.ask-framework-card.is-active {
  border-color: #8bb8ff;
  background: #f8fbff;
  box-shadow: 0 12px 28px rgba(20, 85, 217, 0.08);
}

.ask-framework-card > span {
  color: #1455d9;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ask-framework-card strong {
  font-size: 16px;
}

.ask-framework-card small {
  color: #64748b;
  font-weight: 750;
}

.ask-framework-card div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ask-framework-card em {
  border-radius: 999px;
  background: #eef2ff;
  padding: 4px 8px;
  color: #31568f;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.ask-framework-detail {
  position: sticky;
  top: 82px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.ask-framework-detail > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #edf1f6;
  padding: 16px;
}

.ask-framework-detail h4 {
  margin: 4px 0;
  color: #17213b;
  font-size: 20px;
}

.ask-framework-detail p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.ask-framework-detail section {
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf1f6;
  padding: 16px;
}

.ask-framework-detail section:first-of-type {
  border-top: 0;
}

.ask-framework-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ask-framework-mix {
  display: grid;
  gap: 9px;
}

.ask-framework-mix div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.ask-framework-mix em {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.ask-framework-mix i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
}

.ask-framework-mix i.is-A { background: #22c55e; }
.ask-framework-mix i.is-S { background: #f97316; }
.ask-framework-mix i.is-K { background: #6366f1; }

.ask-framework-competencies {
  display: grid;
  gap: 8px;
}

.ask-framework-competencies article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
}

.ask-framework-competencies strong {
  display: block;
  color: #17213b;
  font-size: 13px;
}

.ask-framework-competencies small {
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-framework-competencies button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  background: #fff;
  color: #31568f;
  cursor: pointer;
}

.ask-framework-competencies svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ask-empty-card {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
  padding: 28px;
  color: #64748b;
  text-align: center;
  font-weight: 800;
}

.ask-studio-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ask-studio-toolbar,
.ask-table-card,
.ask-drawer,
.ask-modal {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.ask-studio-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(4, minmax(140px, 0.55fr)) auto auto;
  gap: 9px;
  padding: 12px;
}

.ask-search {
  position: relative;
  display: flex;
  align-items: center;
}

.ask-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  color: #64748b;
}

.ask-search input,
.ask-studio-toolbar select,
.ask-modal input,
.ask-modal select,
.ask-modal textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fff;
  color: #16213e;
  font: inherit;
  outline: none;
}

.ask-search input {
  padding: 0 12px 0 38px;
}

.ask-studio-toolbar select,
.ask-modal input,
.ask-modal select {
  padding: 0 10px;
}

.ask-modal textarea {
  min-height: 82px;
  padding: 10px;
  resize: vertical;
}

.ask-table-card {
  overflow: hidden;
}

.ask-table-meta {
  padding: 10px 12px;
  color: #64748b;
  font-size: 12px;
}

.ask-table-scroll {
  overflow-x: auto;
}

.ask-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.ask-table th,
.ask-table td {
  border-top: 1px solid #e9eef5;
  padding: 10px 12px;
  text-align: left;
}

.ask-table th {
  background: #f7f9fc;
  color: #43516b;
  font-size: 11px;
  white-space: nowrap;
}

.ask-table td {
  color: #334155;
  font-size: 12px;
  vertical-align: top;
}

.ask-table tbody tr {
  cursor: pointer;
}

.ask-table tbody tr:hover {
  background: #f8fbff;
}

.ask-pill,
.ask-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 6px;
  background: #e8f8ef;
  padding: 2px 8px;
  color: #138a4b;
  font-size: 10px;
  font-weight: 850;
}

.ask-pill.is-S { background: #fff3df; color: #c2410c; }
.ask-pill.is-K { background: #eef2ff; color: #4338ca; }

.ask-usage-pill {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 2px 8px;
  color: #475569;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.ask-row-actions {
  display: flex;
  gap: 5px;
}

.ask-row-actions button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #dce5f1;
  border-radius: 7px;
  background: #fff;
  color: #31568f;
  cursor: pointer;
  padding: 0;
}

.ask-row-actions svg {
  width: 14px;
  height: 14px;
}

.ask-progress {
  position: relative;
  display: inline-grid;
  min-width: 86px;
  min-height: 22px;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.ask-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  background: #93c5fd;
}

.ask-progress b {
  position: relative;
  padding: 0 9px;
  color: #1e3a8a;
  font-size: 10px;
}

.ask-drawer {
  position: sticky;
  top: 82px;
  overflow: hidden;
}

.ask-drawer header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #edf1f6;
}

.ask-drawer header button,
.ask-modal header button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
}

.ask-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #dcfce7);
  color: #1455d9;
  font-size: 13px;
  font-weight: 900;
}

.ask-drawer h4 {
  margin: 0;
  color: #17213b;
  font-size: 18px;
}

.ask-drawer p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
}

.ask-drawer nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #edf1f6;
}

.ask-drawer nav span {
  padding: 12px 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.ask-drawer nav .is-active {
  color: #1455d9;
  box-shadow: inset 0 -2px 0 #1455d9;
}

.ask-drawer dl {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
}

.ask-drawer dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
}

.ask-drawer dt {
  color: #64748b;
  font-size: 12px;
}

.ask-drawer dd {
  margin: 0;
  color: #17213b;
  font-size: 12px;
  font-weight: 750;
}

.ask-drawer section {
  display: grid;
  gap: 8px;
  border-top: 1px solid #edf1f6;
  padding: 16px;
}

.ask-competency-summary {
  border-top: 0 !important;
  background: linear-gradient(135deg, #f8fbff, #f7fff9);
}

.ask-competency-summary p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.ask-level-list {
  display: grid;
  gap: 8px;
}

.ask-level-list article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.ask-level-list article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #1455d9;
  font-size: 12px;
  font-weight: 950;
}

.ask-level-list strong {
  display: block;
  color: #17213b;
  font-size: 12px;
}

.ask-level-list p {
  margin: 3px 0 0;
  color: #64748b;
  line-height: 1.45;
}

.ask-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ask-usage-grid span {
  display: grid;
  gap: 2px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
}

.ask-usage-grid strong {
  color: #0f1f41;
  font-size: 18px;
}

.ask-usage-grid small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.ask-idp-hero {
  display: grid;
  gap: 12px;
  border-top: 0 !important;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.ask-idp-hero div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.ask-idp-hero span,
.ask-idp-hero small {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.ask-idp-hero strong {
  color: #1455d9;
  font-size: 28px;
}

.ask-idp-hero em {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}

.ask-idp-hero i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.ask-idp-hero.is-late {
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.ask-idp-hero.is-late strong {
  color: #dc2626;
}

.ask-idp-hero.is-soon {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.ask-idp-hero.is-soon strong {
  color: #f97316;
}

.ask-idp-hero.is-done {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.ask-idp-hero.is-done strong {
  color: #059669;
}

.ask-idp-board {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.ask-idp-board > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  padding: 12px 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ask-idp-board > header strong {
  color: #17213b;
}

.ask-idp-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  padding: 12px;
}

.ask-idp-lane {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px;
}

.ask-idp-lane > header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.ask-idp-lane > header strong {
  color: #17213b;
  font-size: 13px;
}

.ask-idp-lane > header span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.ask-idp-lane > div {
  display: grid;
  gap: 9px;
}

.ask-idp-lane.is-late {
  border-color: #fecaca;
  background: #fff7f7;
}

.ask-idp-lane.is-soon {
  border-color: #fed7aa;
  background: #fffaf0;
}

.ask-idp-lane.is-done {
  border-color: #bbf7d0;
  background: #f4fbf7;
}

.ask-idp-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.ask-idp-card.is-active {
  border-color: #8bb8ff;
  box-shadow: 0 12px 28px rgba(20, 85, 217, 0.1);
}

.ask-idp-card > button {
  display: grid;
  width: 100%;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 12px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ask-idp-card > button > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #1455d9;
  font-size: 12px;
  font-weight: 900;
}

.ask-idp-card > button > span:first-child small,
.ask-idp-card > button > small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ask-idp-card strong {
  color: #17213b;
  font-size: 13px;
  line-height: 1.35;
}

.ask-idp-card em {
  width: fit-content;
  border-radius: 999px;
  background: #eff6ff;
  padding: 4px 8px;
  color: #1d4ed8;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.ask-idp-card em.is-late {
  background: #fee2e2;
  color: #dc2626;
}

.ask-idp-card em.is-soon {
  background: #ffedd5;
  color: #f97316;
}

.ask-idp-card em.is-done {
  background: #dcfce7;
  color: #059669;
}

.ask-idp-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ask-idp-card-meta span {
  display: grid;
  gap: 2px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 7px;
}

.ask-idp-card-meta small {
  color: #64748b;
  font-size: 9px;
  font-weight: 850;
}

.ask-idp-card-meta strong {
  font-size: 15px;
}

.ask-idp-card-meta .is-danger strong {
  color: #dc2626;
}

.ask-idp-card footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid #edf1f6;
  padding: 8px;
}

.ask-idp-card footer .compact-action {
  justify-content: center;
  min-height: 30px;
  padding-inline: 6px;
  font-size: 11px;
}

.ask-idp-employee-page {
  gap: 14px;
}

.ask-idp-employee-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.ask-idp-employee-topbar h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 4px 0 0;
  color: #17213b;
  font-size: 22px;
}

.ask-idp-employee-topbar h3 button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #dbe5f3;
  border-radius: 9px;
  background: #fff;
  color: #1d4ed8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ask-idp-employee-shell {
  display: grid;
  grid-template-columns: minmax(680px, 1fr) 330px;
  gap: 14px;
  align-items: start;
}

.ask-idp-employee-main,
.ask-idp-employee-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ask-idp-employee-hero,
.ask-idp-employee-card,
.ask-idp-side-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.ask-idp-employee-hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.2fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.ask-idp-employee-person {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.ask-idp-photo {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #dbeafe, #dcfce7);
  color: #1455d9;
  font-size: 22px;
  font-weight: 950;
}

.ask-idp-employee-person strong,
.ask-idp-employee-person span,
.ask-idp-employee-person small {
  display: block;
}

.ask-idp-employee-person strong {
  color: #17213b;
  font-size: 18px;
}

.ask-idp-employee-person span {
  width: max-content;
  margin-top: 6px;
  border-radius: 999px;
  background: #eaf2ff;
  padding: 4px 9px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
}

.ask-idp-employee-person small {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ask-idp-employee-progress {
  display: grid;
  grid-template-columns: 84px repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  border-left: 1px solid #edf1f6;
  padding-left: 20px;
}

.ask-idp-ring {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(#2563eb calc(var(--value) * 1%), #e2e8f0 0);
}

.ask-idp-ring strong {
  color: #17213b;
  font-size: 15px;
}

.ask-idp-employee-tabs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  border-bottom: 1px solid #e2e8f0;
}

.ask-idp-employee-tabs span {
  padding: 11px 0;
  border-bottom: 2px solid transparent;
  color: #526174;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.ask-idp-employee-tabs .is-active {
  border-color: #2563eb;
  color: #2563eb;
}

.ask-idp-employee-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.ask-idp-employee-card > header,
.ask-idp-side-card > header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.ask-idp-employee-card h4,
.ask-idp-side-card h4 {
  margin: 0;
  color: #17213b;
  font-size: 15px;
}

.ask-idp-employee-card h4 span {
  color: #64748b;
  font-weight: 750;
}

.ask-idp-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ask-idp-overview-grid span {
  display: grid;
  gap: 3px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 14px;
}

.ask-idp-overview-grid strong {
  color: #17213b;
  font-size: 22px;
}

.ask-idp-overview-grid small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.ask-idp-total-progress {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}

.ask-idp-total-progress em {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.ask-idp-total-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.ask-idp-detail-table,
.ask-idp-running-table {
  display: grid;
  overflow-x: auto;
}

.ask-idp-detail-head,
.ask-idp-detail-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.35fr) 64px 64px 52px 104px minmax(150px, 1.05fr) 96px 80px;
  gap: 10px;
  align-items: center;
  min-width: 940px;
}

.ask-idp-running-head,
.ask-idp-running-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) 92px minmax(190px, 1.25fr) 116px 104px 96px 140px;
  gap: 10px;
  align-items: center;
  min-width: 980px;
}

.ask-idp-detail-head,
.ask-idp-running-head {
  border-bottom: 1px solid #edf1f6;
  padding: 10px 0;
  color: #526174;
  font-size: 11px;
  font-weight: 900;
}

.ask-idp-detail-row,
.ask-idp-running-row {
  border-bottom: 1px solid #edf1f6;
  padding: 11px 0;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.ask-idp-detail-row:last-child,
.ask-idp-running-row:last-child {
  border-bottom: 0;
}

.ask-idp-detail-row strong,
.ask-idp-detail-row small,
.ask-idp-running-row strong,
.ask-idp-running-row small {
  display: block;
}

.ask-idp-detail-row strong,
.ask-idp-running-row strong {
  color: #17213b;
  font-size: 12px;
}

.ask-idp-detail-row small,
.ask-idp-running-row small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}

.ask-idp-detail-row .is-danger {
  color: #dc2626;
  font-weight: 950;
}

.ask-idp-detail-row .is-link {
  color: #2563eb;
  font-weight: 900;
}

.ask-idp-detail-row em,
.ask-idp-running-row em {
  display: inline-flex;
  width: max-content;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: #eff6ff;
  padding: 0 9px;
  color: #2563eb;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.ask-idp-detail-row em.is-late,
.ask-idp-running-row em.is-late {
  background: #fee2e2;
  color: #dc2626;
}

.ask-idp-running-row em.is-soon {
  background: #ffedd5;
  color: #f97316;
}

.ask-idp-running-row em.is-done {
  background: #dcfce7;
  color: #059669;
}

.ask-idp-row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ask-idp-side-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.ask-idp-side-card header button {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.ask-idp-learning-timeline {
  display: grid;
  gap: 12px;
}

.ask-idp-learning-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.ask-idp-learning-timeline article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: -12px;
  left: 13px;
  width: 2px;
  background: #dbeafe;
}

.ask-idp-learning-timeline article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 950;
}

.ask-idp-learning-timeline strong,
.ask-idp-learning-timeline b,
.ask-idp-learning-timeline small {
  display: block;
}

.ask-idp-learning-timeline strong {
  color: #16a34a;
  font-size: 12px;
}

.ask-idp-learning-timeline b {
  margin-top: 4px;
  color: #17213b;
  font-size: 12px;
}

.ask-idp-learning-timeline small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-idp-history-list,
.ask-idp-related-list {
  display: grid;
  gap: 9px;
}

.ask-idp-history-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.ask-idp-history-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ask-idp-history-list strong {
  color: #2563eb;
}

.ask-idp-related-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 10px;
}

.ask-idp-related-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ask-idp-related-list article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 950;
}

.ask-idp-related-list small,
.ask-idp-related-list strong,
.ask-idp-related-list em {
  display: block;
}

.ask-idp-related-list small,
.ask-idp-related-list em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.ask-idp-related-list strong {
  margin: 3px 0;
  color: #17213b;
  font-size: 13px;
}

.ask-idp-list {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.ask-idp-list > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  padding: 12px 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ask-idp-list > header strong {
  color: #17213b;
}

.ask-idp-list-head,
.ask-idp-profile-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(170px, 1fr) 100px 92px minmax(130px, 0.8fr) 130px 88px;
  gap: 12px;
  align-items: center;
}

.ask-idp-list-head {
  border-bottom: 1px solid #edf1f6;
  background: #f8fafc;
  padding: 10px 14px;
  color: #526174;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ask-idp-list-body {
  display: grid;
}

.ask-idp-profile-row {
  min-height: 76px;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
  padding: 12px 14px;
  color: #334155;
  text-align: left;
}

.ask-idp-profile-row:last-child {
  border-bottom: 0;
}

.ask-idp-profile-row:hover,
.ask-idp-profile-row.is-active {
  background: #f8fbff;
  box-shadow: inset 3px 0 0 #2563eb;
}

.ask-idp-profile-main {
  display: grid;
  grid-column: 1 / 7;
  grid-template-columns: minmax(180px, 1.2fr) minmax(170px, 1fr) 100px 92px minmax(130px, 0.8fr) 130px;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.ask-idp-profile-main strong,
.ask-idp-profile-main small {
  display: block;
}

.ask-idp-profile-main strong {
  color: #17213b;
  font-size: 13px;
}

.ask-idp-profile-main small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-idp-profile-main > span:nth-child(3) strong {
  font-size: 18px;
}

.ask-idp-profile-main .is-danger {
  color: #dc2626;
  font-weight: 950;
}

.ask-idp-profile-main em,
.ask-idp-focus-list em,
.ask-idp-plan-list em {
  display: inline-flex;
  width: max-content;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: #eff6ff;
  padding: 0 9px;
  color: #1d4ed8;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.ask-idp-profile-main em.is-late,
.ask-idp-focus-list em.is-late,
.ask-idp-plan-list em.is-late {
  background: #fee2e2;
  color: #dc2626;
}

.ask-idp-profile-main em.is-soon,
.ask-idp-focus-list em.is-soon,
.ask-idp-plan-list em.is-soon {
  background: #ffedd5;
  color: #f97316;
}

.ask-idp-profile-main em.is-done,
.ask-idp-focus-list em.is-done,
.ask-idp-plan-list em.is-done {
  background: #dcfce7;
  color: #059669;
}

.ask-idp-detail {
  max-height: calc(100vh - 102px);
  overflow-y: auto;
}

.ask-idp-profile-summary {
  border-top: 0 !important;
  background: linear-gradient(135deg, #f8fbff, #f4fbf7);
}

.ask-idp-profile-summary > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ask-idp-profile-summary p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ask-idp-matrix {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.ask-idp-matrix-head,
.ask-idp-matrix-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 48px 64px 64px 54px 64px;
  gap: 8px;
  align-items: center;
}

.ask-idp-matrix-head {
  background: #f8fafc;
  padding: 9px 10px;
  color: #526174;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ask-idp-matrix-row {
  border-top: 1px solid #edf1f6;
  padding: 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}

.ask-idp-matrix-row strong,
.ask-idp-matrix-row small {
  display: block;
}

.ask-idp-matrix-row strong {
  color: #17213b;
  font-size: 12px;
}

.ask-idp-matrix-row small {
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
}

.ask-idp-matrix-row .is-danger {
  color: #dc2626;
  font-weight: 950;
}

.ask-idp-focus-list {
  display: grid;
  gap: 10px;
}

.ask-idp-focus-list article {
  display: grid;
  gap: 10px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.ask-idp-focus-list header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.ask-idp-focus-list strong,
.ask-idp-focus-list small {
  display: block;
}

.ask-idp-focus-list strong {
  color: #17213b;
  font-size: 13px;
}

.ask-idp-focus-list small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-idp-focus-list p {
  margin: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.ask-idp-focus-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ask-idp-focus-metrics span {
  display: grid;
  gap: 2px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
}

.ask-idp-focus-metrics small {
  margin: 0;
  font-size: 9px;
  font-weight: 850;
}

.ask-idp-focus-metrics strong {
  font-size: 16px;
}

.ask-idp-focus-metrics .is-danger strong {
  color: #dc2626;
}

.ask-idp-focus-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ask-idp-focus-meta span {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 4px 8px;
  color: #475569;
  font-size: 10px;
  font-weight: 850;
}

.ask-idp-focus-list footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ask-idp-focus-list footer .compact-action {
  justify-content: center;
  min-height: 30px;
  padding-inline: 6px;
  font-size: 11px;
}

.ask-idp-plan-list {
  display: grid;
  gap: 9px;
}

.ask-idp-plan-list article {
  display: grid;
  gap: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 11px;
}

.ask-idp-plan-list header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.ask-idp-plan-list strong,
.ask-idp-plan-list small {
  display: block;
}

.ask-idp-plan-list strong {
  color: #17213b;
  font-size: 13px;
}

.ask-idp-plan-list small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-idp-plan-list p {
  margin: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.ask-idp-plan-list footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ask-idp-plan-list footer .compact-action {
  justify-content: center;
  min-height: 30px;
  padding-inline: 6px;
  font-size: 11px;
}

.ask-idp-levels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ask-idp-levels span {
  display: grid;
  gap: 3px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
}

.ask-idp-levels small {
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
}

.ask-idp-levels strong {
  color: #17213b;
  font-size: 18px;
}

.ask-idp-levels .is-danger strong {
  color: #dc2626;
}

.ask-idp-action-plan {
  margin: 0;
  border-left: 3px solid #2563eb;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
  color: #334155;
  line-height: 1.55;
}

.ask-idp-course {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.ask-idp-course > span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 10px;
  background: #eef2ff;
  color: #1455d9;
  font-size: 11px;
  font-weight: 950;
}

.ask-idp-course strong,
.ask-idp-course small {
  display: block;
}

.ask-idp-course strong {
  color: #17213b;
  font-size: 13px;
}

.ask-idp-course small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-idp-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ask-idp-quick-actions .compact-action {
  min-height: 36px;
  justify-content: center;
  padding-inline: 8px;
  font-size: 12px;
}

.ask-idp-timeline {
  display: grid;
  gap: 10px;
}

.ask-idp-timeline article {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ask-idp-timeline article > span {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 3px solid #bfdbfe;
  border-radius: 50%;
  background: #fff;
}

.ask-idp-timeline article.is-done > span {
  border-color: #2563eb;
  background: #2563eb;
}

.ask-idp-timeline strong {
  display: block;
  color: #17213b;
  font-size: 12px;
}

.ask-idp-timeline small {
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ask-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ask-tags span {
  border-radius: 6px;
  background: #dbeafe;
  padding: 4px 8px;
  color: #1455d9;
  font-size: 11px;
  font-weight: 800;
}

.ask-drawer footer,
.ask-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #edf1f6;
  padding: 14px 16px;
}

.ask-drawer-empty,
.ask-empty {
  color: #94a3b8;
  text-align: center;
}

.ask-drawer-empty {
  display: grid;
  min-height: 320px;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
}

.ask-drawer-empty svg {
  width: 30px;
  height: 30px;
  color: #1455d9;
}

.ask-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.32);
  padding: 20px;
}

.ask-modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ask-modal header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf1f6;
  padding: 14px 16px;
}

.ask-modal h4 {
  margin: 0;
  color: #17213b;
  font-size: 17px;
}

.ask-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  overflow: auto;
}

.ask-form-grid label {
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ask-form-grid .is-wide {
  grid-column: 1 / -1;
}

.ask-overview-page {
  gap: 16px;
}

.ask-overview-head {
  align-items: center;
}

.ask-overview-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ask-overview-filters select {
  min-width: 180px;
  min-height: 38px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: #17213b;
  font: inherit;
}

.ask-overview-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
}

.ask-overview-kpi {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 94px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.ask-overview-kpi > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #1455d9;
}

.ask-overview-kpi svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask-overview-kpi small,
.ask-overview-kpi em {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.ask-overview-kpi strong {
  display: block;
  margin: 3px 0;
  color: #0f1f41;
  font-size: 25px;
  line-height: 1.1;
}

.ask-overview-kpi.is-green { border-color: #cfeedd; background: #f5fcf8; }
.ask-overview-kpi.is-green > span { background: #dcfce7; color: #059669; }
.ask-overview-kpi.is-purple { border-color: #ddd6fe; background: #f8f7ff; }
.ask-overview-kpi.is-purple > span { background: #ede9fe; color: #7c3aed; }
.ask-overview-kpi.is-amber { border-color: #fde0b5; background: #fffaf0; }
.ask-overview-kpi.is-amber > span { background: #ffedd5; color: #f97316; }
.ask-overview-kpi.is-red { border-color: #fecaca; background: #fff5f5; }
.ask-overview-kpi.is-red > span { background: #fee2e2; color: #dc2626; }

.ask-overview-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr;
  gap: 14px;
}

.ask-overview-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.ask-overview-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  padding: 13px 14px;
}

.ask-overview-card h4 {
  margin: 0;
  color: #17213b;
  font-size: 14px;
}

.ask-overview-card header button {
  border: 0;
  background: transparent;
  color: #1455d9;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.ask-radar {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
  padding: 24px;
}

.ask-radar-shape {
  position: relative;
  width: 160px;
  height: 138px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(120deg, transparent 49%, rgba(20,85,217,.18) 50%, transparent 51%),
    linear-gradient(240deg, transparent 49%, rgba(20,85,217,.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 64%, rgba(20,85,217,.14) 65%, transparent 66%),
    rgba(239, 246, 255, 0.9);
  border: 1px solid #bfdbfe;
}

.ask-radar-shape i {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1455d9;
  box-shadow: 0 0 0 4px rgba(20, 85, 217, .12);
}

.ask-radar-shape .p1 { left: calc(50% - 4px); top: calc(100% - var(--score)); }
.ask-radar-shape .p2 { right: calc(100% - var(--score)); bottom: 12px; }
.ask-radar-shape .p3 { left: calc(100% - var(--score)); bottom: 12px; }

.ask-radar-label {
  position: absolute;
  color: #17213b;
  font-size: 11px;
  font-weight: 850;
}

.ask-radar-label.is-a { top: 28px; }
.ask-radar-label.is-s { right: 34px; bottom: 36px; }
.ask-radar-label.is-k { left: 34px; bottom: 36px; }

.ask-radar-card footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0 0 14px;
  color: #526174;
  font-size: 11px;
  font-weight: 800;
}

.ask-radar-card footer b {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 6px;
  border-radius: 999px;
  background: #1455d9;
  vertical-align: middle;
}

.ask-radar-card footer .is-prev {
  background: #16a34a;
}

.ask-donut-wrap {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.ask-donut {
  display: grid;
  width: 158px;
  height: 158px;
  place-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 43%, transparent 44%), conic-gradient(#22c55e 0 24%, #3b82f6 24% 62%, #fbbf24 62% 88%, #ef4444 88% 98%, #cbd5e1 98% 100%);
  text-align: center;
}

.ask-donut strong {
  color: #17213b;
  font-size: 24px;
}

.ask-donut small {
  color: #64748b;
  font-size: 11px;
}

.ask-donut-wrap ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ask-donut-wrap li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #334155;
  font-size: 11px;
}

.ask-donut-wrap li span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.ask-donut-wrap li .is-green { background: #22c55e; }
.ask-donut-wrap li .is-blue { background: #3b82f6; }
.ask-donut-wrap li .is-amber { background: #fbbf24; }
.ask-donut-wrap li .is-red { background: #ef4444; }

.ask-gap-list,
.ask-department-score,
.ask-course-list,
.ask-period-card {
  display: grid;
  padding: 12px 14px;
}

.ask-gap-head,
.ask-gap-list button,
.ask-department-score button,
.ask-course-list button {
  display: grid;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: transparent;
  padding: 9px 0;
  color: #334155;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ask-gap-head {
  grid-template-columns: minmax(0, 1fr) 70px 70px;
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
}

.ask-gap-list button {
  grid-template-columns: minmax(0, 1fr) 60px minmax(70px, .55fr) 44px;
  gap: 8px;
  font-size: 12px;
}

.ask-gap-list button em,
.ask-department-score button em {
  height: 4px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}

.ask-gap-list button i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fb7185;
}

.ask-period-card {
  gap: 12px;
}

.ask-period-card > strong {
  color: #17213b;
  font-size: 20px;
}

.ask-period-card span {
  border-radius: 6px;
  background: #dcfce7;
  padding: 4px 8px;
  color: #15803d;
  font-size: 11px;
}

.ask-period-card p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.ask-period-progress {
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ask-period-progress i,
.ask-department-score button i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
}

.ask-department-score button {
  grid-template-columns: minmax(0, 1fr) minmax(80px, .7fr) 48px 54px;
  gap: 10px;
  font-size: 12px;
}

.ask-department-score small {
  color: #16a34a;
  font-weight: 850;
}

.ask-department-score small.is-down {
  color: #dc2626;
}

.ask-course-list button {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 9px;
}

.ask-course-list button > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: #dbeafe;
  color: #1455d9;
  font-size: 10px;
  font-weight: 900;
}

.ask-course-list strong {
  color: #17213b;
  font-size: 12px;
}

.ask-course-list small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
}

.ask-course-list em {
  color: #d97706;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.ask-priority-card {
  overflow: hidden;
}

.ask-priority-table {
  overflow-x: auto;
}

.ask-priority-table table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.ask-priority-table th,
.ask-priority-table td {
  border-top: 1px solid #edf1f6;
  padding: 11px 14px;
  color: #334155;
  font-size: 12px;
  text-align: left;
}

.ask-priority-table th {
  background: #f8fafc;
  color: #526174;
  font-size: 11px;
}

.ask-priority-table td small {
  display: block;
  margin-top: 2px;
  color: #64748b;
}

.ask-priority-table .is-danger {
  color: #dc2626;
  font-weight: 900;
}

.ask-overview-empty {
  margin: 0;
  padding: 20px;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 1180px) {
  .ask-studio-layout {
    grid-template-columns: 1fr;
  }

  .ask-drawer {
    position: static;
  }

  .ask-studio-toolbar,
  .ask-studio-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-overview-kpis,
  .ask-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-idp-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-idp-list {
    overflow-x: auto;
  }

  .ask-idp-employee-shell,
  .ask-idp-employee-hero {
    grid-template-columns: 1fr;
  }

  .ask-idp-employee-progress {
    border-left: 0;
    border-top: 1px solid #edf1f6;
    padding-top: 16px;
    padding-left: 0;
  }

  .ask-idp-list-head,
  .ask-idp-profile-row {
    min-width: 860px;
  }
}

@media (max-width: 720px) {
  .ask-studio-head {
    flex-direction: column;
  }

  .ask-studio-toolbar,
  .ask-studio-kpis,
  .ask-overview-kpis,
  .ask-overview-grid,
  .ask-form-grid {
    grid-template-columns: 1fr;
  }

  .ask-idp-board > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ask-idp-lanes {
    grid-template-columns: 1fr;
  }

  .ask-idp-profile-summary > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-idp-employee-topbar,
  .ask-idp-employee-card > header,
  .ask-idp-side-card > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ask-idp-employee-progress,
  .ask-idp-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-idp-ring {
    grid-column: 1 / -1;
  }

  .ask-idp-plan-list footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.org-values-strip {
  display: grid;
  grid-template-columns: 128px repeat(6, minmax(150px, 1fr));
  gap: 12px;
  align-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
}

.org-values-strip > strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}

.org-values-strip > span {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.org-values-strip i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.org-values-strip span span {
  min-width: 0;
}

.org-values-strip span strong {
  display: block;
  color: #111827;
  font-size: 12px;
  text-transform: uppercase;
}

.org-values-strip span small {
  display: block;
  margin-top: 3px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.internal-directory {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.internal-directory-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.internal-directory-head h3 {
  margin: 6px 0 6px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.internal-directory-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.internal-directory-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.internal-directory-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.internal-directory-actions svg {
  width: 18px;
  height: 18px;
}

.internal-directory-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 12px;
}

.internal-directory-metric {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.internal-directory-metric > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eff6ff;
  color: #1455d9;
}

.internal-directory-metric svg {
  width: 24px;
  height: 24px;
}

.internal-directory-metric small,
.internal-directory-metric em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.internal-directory-metric strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.internal-directory-metric.is-green > span {
  background: #ecfdf3;
  color: #16a34a;
}

.internal-directory-metric.is-amber > span {
  background: #fff7ed;
  color: #f97316;
}

.internal-directory-metric.is-purple > span {
  background: #f5f3ff;
  color: #7c3aed;
}

.internal-directory-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(170px, 220px) minmax(170px, 220px) minmax(150px, 180px);
  gap: 12px;
  align-items: center;
}

.internal-directory-search,
.internal-directory-select {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.internal-directory-search svg {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.internal-directory-search input,
.internal-directory-select select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  outline: none;
}

.internal-directory-search input {
  padding: 0 16px 0 46px;
}

.internal-directory-select select {
  padding: 0 14px;
}

.internal-directory-search input:focus,
.internal-directory-select select:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.internal-directory-layout {
  display: grid;
  grid-template-columns: 230px minmax(520px, 1fr) minmax(310px, 360px);
  gap: 16px;
  align-items: start;
}

.internal-directory-rail,
.internal-directory-main,
.internal-directory-profile {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.internal-directory-rail {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.internal-directory-rail-title,
.internal-directory-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.internal-directory-rail-title {
  padding: 4px 4px 10px;
  color: var(--ink);
}

.internal-directory-rail-title span,
.internal-directory-list-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.internal-directory-department {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.internal-directory-department svg {
  width: 18px;
  height: 18px;
}

.internal-directory-department span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.internal-directory-department strong {
  color: var(--ink);
  font-size: 12px;
}

.internal-directory-department:hover,
.internal-directory-department.is-active {
  background: #eff6ff;
  color: #1455d9;
}

.internal-directory-main {
  display: grid;
  gap: 14px;
  padding: 14px;
  min-width: 0;
}

.internal-directory-list-head strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.internal-directory-view-toggle {
  display: flex;
  gap: 6px;
  color: #1455d9;
}

.internal-directory-view-toggle svg {
  width: 20px;
  height: 20px;
}

.internal-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.internal-directory-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 250px;
  padding: 18px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.internal-directory-card:hover,
.internal-directory-card.is-selected {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.internal-directory-star {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #f59e0b;
}

.internal-directory-star svg {
  width: 18px;
  height: 18px;
}

.internal-directory-card-top {
  position: relative;
  width: 72px;
  height: 72px;
}

.internal-directory-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #dbe7ff;
  background: linear-gradient(135deg, #e0f2fe, #eff6ff);
  color: #123b7a;
  font-size: 22px;
  font-weight: 900;
  object-fit: cover;
}

.internal-directory-avatar.large {
  width: 96px;
  height: 96px;
  font-size: 30px;
  border: 4px solid #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.internal-directory-online {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 15px;
  height: 15px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #16a34a;
}

.internal-directory-online.is-inactive {
  background: #94a3b8;
}

.internal-directory-card > strong {
  color: var(--ink);
  font-size: 17px;
}

.internal-directory-card > small {
  min-height: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.internal-directory-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
}

.internal-directory-card p svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.internal-directory-card-actions,
.internal-directory-profile-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.internal-directory-card-actions a,
.internal-directory-card-actions button,
.internal-directory-profile-actions a,
.internal-directory-profile-actions button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f7ff;
  color: #1455d9;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.internal-directory-card-actions svg,
.internal-directory-profile-actions svg {
  width: 17px;
  height: 17px;
}

.internal-directory-card-actions button:disabled,
.internal-directory-profile-actions button:disabled {
  color: #94a3b8;
  background: #f8fafc;
  cursor: not-allowed;
}

.internal-directory-profile {
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.internal-directory-profile-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  background: linear-gradient(135deg, #0b2f6b, #153f89);
}

.internal-directory-profile-cover .internal-directory-online {
  right: calc(50% - 50px);
  bottom: 18px;
}

.internal-directory-profile-head {
  display: grid;
  gap: 10px;
  padding: 16px;
  text-align: center;
}

.internal-directory-profile-head h4 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.internal-directory-profile-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.internal-directory-tabs {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.internal-directory-tabs span {
  padding: 13px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.internal-directory-tabs .is-active {
  color: #1455d9;
  box-shadow: inset 0 -2px 0 #1455d9;
}

.internal-directory-info {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.internal-directory-info.is-secondary {
  border-top: 1px solid var(--soft-line);
  background: #fbfdff;
}

.internal-directory-info-row {
  display: grid;
  grid-template-columns: minmax(95px, 0.48fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.internal-directory-info-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.internal-directory-info-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.internal-directory-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  color: var(--muted);
  text-align: center;
}

.internal-directory-empty svg {
  width: 28px;
  height: 28px;
  color: #1455d9;
}

@media (max-width: 1280px) {
  .internal-directory-layout {
    grid-template-columns: 210px minmax(500px, 1fr);
  }

  .internal-directory-profile {
    position: static;
    grid-column: 1 / -1;
  }

  .internal-directory-metrics {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .internal-directory-tools {
    grid-template-columns: 1fr 1fr;
  }

  .org-chart-page {
    min-width: 980px;
  }

  .org-chart-columns {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .org-values-strip {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
  }

  .org-values-strip > strong {
    grid-column: 1 / -1;
  }

  .company-calendar {
    grid-template-columns: 1fr;
  }

  .company-calendar-rail {
    grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr) minmax(220px, 1fr);
    align-items: start;
  }

  .company-calendar-create {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    padding-inline: 22px;
  }

  .company-calendar-layout {
    grid-template-columns: 1fr;
  }

  .company-calendar-grid {
    border-right: 0;
  }

  .company-calendar-detail {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .internal-directory {
    padding: 12px;
  }

  .internal-directory-head,
  .internal-directory-actions {
    display: grid;
    justify-content: stretch;
  }

  .internal-directory-metrics,
  .internal-directory-tools,
  .internal-directory-layout {
    grid-template-columns: 1fr;
  }

  .internal-directory-rail {
    max-height: 300px;
    overflow: auto;
  }

  .internal-directory-grid {
    grid-template-columns: 1fr;
  }

  .internal-directory-info-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .org-chart-page {
    min-width: 980px;
    padding: 14px;
  }

  .org-chart-title {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .org-chart-title h3 {
    font-size: 24px;
  }

  .org-chart-columns {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
  }

  .org-chart-block header {
    min-height: 78px;
    padding: 10px 8px;
  }

  .org-chart-department {
    min-height: 56px;
    padding: 9px 8px;
  }

  .org-values-strip {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .company-calendar {
    padding: 10px;
  }

  .company-calendar-rail,
  .company-calendar-toolbar {
    grid-template-columns: 1fr;
  }

  .company-calendar-rail {
    display: grid;
  }

  .company-calendar-toolbar {
    display: grid;
    align-items: start;
  }

  .company-calendar-controls {
    justify-content: flex-start;
  }

  .company-calendar-grid {
    grid-template-columns: repeat(7, minmax(92px, 1fr));
    grid-auto-rows: minmax(96px, auto);
  }

  .company-calendar-event {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.vehicle-schedule-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.vehicle-conflicts {
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 12px;
  background: #fff7f7;
  padding: 14px;
  margin-bottom: 14px;
}

.vehicle-conflicts.is-clear {
  border-color: rgba(21, 128, 61, 0.18);
  background: #f0fdf4;
  color: #166534;
}

.vehicle-conflicts-head,
.vehicle-day-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.vehicle-conflicts-head {
  margin-bottom: 10px;
}

.vehicle-conflict-list {
  display: grid;
  gap: 8px;
}

.vehicle-conflict-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 0.5fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}

.vehicle-conflict-row small {
  color: var(--muted);
  text-align: right;
}

.vehicle-calendar {
  display: grid;
  gap: 12px;
}

.vehicle-calendar.week {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.vehicle-calendar.day {
  grid-template-columns: 1fr;
}

.vehicle-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.vehicle-day-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--soft-line);
  background: #f8fafc;
}

.vehicle-day-head span,
.vehicle-day-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.vehicle-trip-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.vehicle-trip {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 0;
  padding: 10px;
  border-color: var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.vehicle-trip:hover {
  background: #fff7ed;
}

.vehicle-trip.has-conflict {
  border-color: rgba(180, 35, 24, 0.34);
  background: #fff7f7;
}

.vehicle-trip-time,
.vehicle-conflict-text {
  color: var(--muted);
  font-size: 12px;
}

.vehicle-conflict-text {
  color: #b42318;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--soft-line);
  background: #ffffff;
}

.view-summary {
  margin-bottom: 0;
}

.report-summary-card {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  padding: 13px 16px;
}

.report-summary-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-summary-card strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.report-summary-card small {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 12px;
}

.report-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 12px;
}

.report-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-chipline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.report-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d9e1ea;
  border-radius: 999px;
  background: #ffffff;
  color: #526174;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

.report-chip strong {
  margin-left: 6px;
  color: var(--ink);
}

.report-empty {
  display: grid;
  min-height: 90px;
  place-items: center;
  color: var(--muted);
}

.report-detail {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.report-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--soft-line);
  padding: 16px;
}

.report-detail-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.report-detail-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.report-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.report-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  border-bottom: 1px solid var(--soft-line);
  background: #f8fafc;
  padding: 12px 16px;
}

.report-detail-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.report-detail-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.report-detail-preview {
  padding: 12px 16px 16px;
}

.report-detail-caption {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.report-detail-table {
  min-width: 760px;
}

.report-detail-empty,
.report-detail-error {
  display: grid;
  min-height: 110px;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.report-detail-error {
  color: var(--red);
}

.employee-profile-panel,
.contract-print-panel,
.payroll-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: auto;
  background: linear-gradient(135deg, #f2f7ff 0%, #f9fcff 45%, #fdfefe 100%);
  padding: 24px 24px 32px;
}

.employee-profile-panel[hidden],
.contract-print-panel[hidden],
.payroll-panel[hidden] {
  display: none;
}

.profile-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  width: min(1280px, 100%);
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}

.profile-identity {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.profile-photo-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-self: start;
}

.profile-avatar {
  display: grid;
  width: 104px;
  height: 112px;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf3);
  color: var(--accent-strong);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.profile-avatar span {
  display: block;
}

.profile-avatar.has-photo {
  background: #f8fafc;
  padding: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 28px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 999px;
  background: #fff7ed;
  color: var(--brand-dark);
  padding: 0 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.profile-photo-action:hover {
  border-color: rgba(249, 115, 22, 0.42);
  background: #ffedd5;
}

.profile-photo-action input {
  display: none;
}

.profile-title-block {
  min-width: 0;
}

.profile-kicker-row,
.profile-meta-line,
.profile-spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-head h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.profile-head small {
  color: var(--muted);
  font-size: 12px;
}

.profile-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.profile-meta-line {
  margin-top: 7px;
}

.profile-meta-line span,
.profile-spotlight-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #f8fafc;
  padding: 3px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  width: min(1280px, 100%);
  padding: 0 0 10px;
  margin: 0 auto 12px;
  border-bottom: 1px solid var(--soft-line);
}

.profile-tabs .secondary-action {
  white-space: nowrap;
}

.profile-tabs .secondary-action.is-active {
  border-color: var(--accent);
  background: #eaf7f5;
  color: var(--accent-strong);
}

.profile-overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  gap: 12px;
  width: min(1280px, 100%);
  margin: 0 auto 12px;
}

.profile-spotlight-card,
.profile-risk-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.profile-spotlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.profile-spotlight-card h4,
.profile-risk-card strong {
  display: block;
  margin: 5px 0 4px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.profile-spotlight-card p,
.profile-risk-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-risk-card {
  display: grid;
  align-content: center;
  border-left-width: 4px;
}

.profile-risk-card.has-warning {
  border-left-color: #f59e0b;
}

.profile-risk-card.is-good {
  border-left-color: #22c55e;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  width: min(1280px, 100%);
  margin: 0 auto 12px;
}

.profile-summary-card {
  display: grid;
  min-height: 92px;
  gap: 6px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.profile-summary-card.is-good {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.profile-summary-card.is-warn {
  border-color: #fde68a;
  background: #fffbeb;
}

.profile-summary-card.is-danger {
  border-color: #fecaca;
  background: #fef2f2;
}

.profile-summary-card.is-money {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.profile-summary-card:hover {
  border-color: var(--accent);
  background: #f0fbfa;
}

.profile-summary-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-summary-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.profile-summary-card small {
  color: var(--subtle);
  font-size: 12px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 12px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.profile-section,
.profile-note,
.attachment-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.profile-section h4,
.attachment-panel h4,
.profile-note strong {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
}

.profile-section dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.profile-section dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 7px;
}

.profile-section dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-section dt {
  color: var(--muted);
  font-weight: 700;
}

.profile-section dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.profile-note {
  width: min(1280px, 100%);
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
}

.profile-note p {
  margin: 0;
  color: var(--muted);
}

.employee-edit-panel {
  width: min(1280px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.employee-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.employee-edit-head h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
}

.employee-edit-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.employee-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
}

.employee-edit-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.employee-edit-grid .wide-field {
  grid-column: 1 / -1;
}

.employee-edit-grid input,
.employee-edit-grid select,
.employee-edit-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 8px 9px;
  font: inherit;
  font-weight: 600;
}

.employee-edit-grid textarea {
  resize: vertical;
}

.account-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.account-status-strip > div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.account-status-strip span,
.account-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-status-strip strong:not(.badge) {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.account-help {
  margin: 10px 0 0;
  line-height: 1.45;
}

.account-edit-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.profile-empty,
.profile-error {
  display: grid;
  min-height: 96px;
  place-items: center;
  color: var(--muted);
}

.profile-error {
  color: var(--red);
}

.attachment-panel {
  margin-top: 12px;
  width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.attachment-head {
  margin-bottom: 10px;
}

.attachment-head p {
  margin: 3px 0 0;
  color: var(--muted);
}

.attachment-upload {
  display: grid;
  grid-template-columns: 150px minmax(240px, 1fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.file-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.attachment-table {
  min-width: 850px;
}

.attachment-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.contract-print-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  width: min(1280px, 100%);
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.contract-print-head h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.contract-print-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.contract-print-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.contract-print-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.contract-print-controls {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.contract-print-controls h4 {
  margin: 0;
}

.contract-control-group {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--soft-line);
  padding-top: 10px;
}

.contract-control-group strong {
  color: var(--ink);
}

.contract-print-preview {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 14px;
}

.print-document {
  width: min(794px, 100%);
  min-height: 1123px;
  margin: 0 auto;
  background: #ffffff;
  color: #111827;
  padding: 48px 56px;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 16px 40px rgba(20, 31, 43, 0.12);
}

.contract-national {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
  text-transform: uppercase;
}

.contract-national span {
  font-weight: 700;
  text-decoration: underline;
}

.contract-date-line {
  margin-top: 18px;
  text-align: right;
  font-style: italic;
}

.print-document h2 {
  margin: 18px 0 3px;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
}

.contract-number {
  text-align: center;
  margin-bottom: 18px;
}

.print-document h3 {
  margin: 16px 0 6px;
  font-size: 16px;
  text-transform: uppercase;
}

.print-document h4 {
  margin: 10px 0 4px;
  font-size: 15px;
}

.print-document p {
  margin: 5px 0;
}

.payment-print-layout {
  grid-template-columns: 1fr;
}

.payment-print-preview {
  max-width: 980px;
  margin: 0 auto;
}

.payment-request-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: center;
}

.payment-request-head div {
  display: grid;
  gap: 3px;
}

.payment-request-head span,
.payment-request-date {
  font-style: italic;
}

.payment-request-date {
  text-align: center;
}

.payment-request-info {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.payment-request-info div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
}

.payment-request-info span {
  font-weight: 700;
}

.payment-request-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.payment-request-table th,
.payment-request-table td {
  border: 1px solid #111827;
  padding: 7px 8px;
  vertical-align: top;
}

.payment-request-table th {
  text-align: center;
}

.payment-request-table td:first-child {
  text-align: center;
  width: 48px;
}

.payment-request-table td:nth-child(3) {
  width: 150px;
  text-align: right;
}

.payment-request-words,
.payment-request-note {
  margin-top: 14px;
}

.payment-request-signatures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
  text-align: center;
}

.payment-request-signatures div {
  display: grid;
  min-height: 120px;
  align-content: start;
  gap: 4px;
}

.payment-request-signatures span {
  font-style: italic;
}

.leave-request-approval-box {
  min-height: 92px;
  margin-top: 22px;
  border: 1px solid #111827;
  padding: 10px 12px;
}

.leave-request-approval-box strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.leave-request-signatures {
  margin-top: 34px;
}

.contract-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
}

.contract-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 42px;
  text-align: center;
}

.contract-signatures div {
  display: grid;
  min-height: 130px;
  align-content: start;
  gap: 5px;
}

.contract-signatures span {
  font-style: italic;
}

.contract-signatures em {
  margin-top: auto;
  font-style: normal;
  font-weight: 700;
}
