.org-page-title {
  align-items: flex-end;
}
.organization-document {
  border: 1px solid #dce3ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px #102b4f0a;
  overflow: hidden;
}
.organization-document-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #e6ebf1;
  background: linear-gradient(100deg, #f8fbff, #fff);
}
.organization-document-head > div:first-child b,
.organization-document-head > div:first-child span {
  display: block;
}
.organization-document-head > div:first-child b {
  font: 800 10px Inter;
  letter-spacing: 0.5px;
}
.organization-document-head > div:first-child span {
  margin-top: 4px;
  color: #8695a7;
  font: 600 7px Inter;
  letter-spacing: 1px;
}
.organization-document-head > div:nth-child(2) {
  text-align: center;
}
.organization-document-head h2 {
  margin: 0;
  font-size: 18px;
}
.organization-document-head p {
  margin: 5px 0 0;
  color: #8592a2;
  font-size: 9px;
}
.org-version-mark {
  justify-self: end;
  min-width: 80px;
  padding: 9px 12px;
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  text-align: center;
}
.org-version-mark small,
.org-version-mark strong {
  display: block;
}
.org-version-mark small {
  color: #8a98a8;
  font: 700 7px Inter;
  letter-spacing: 1px;
}
.org-version-mark strong {
  margin-top: 2px;
  color: #1769e0;
  font-size: 14px;
}
.org-pan-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #e8edf3;
  background: #f7f9fc;
  color: #78889b;
  font-size: 9px;
}
.org-pan-tools div {
  display: flex;
  gap: 6px;
}
.org-pan-tools button {
  width: 34px;
  height: 28px;
  border: 1px solid #ced9e6;
  border-radius: 6px;
  background: #fff;
  color: #315d91;
  font-weight: 800;
  cursor: pointer;
}
.org-pan-tools button:hover {
  border-color: #1769e0;
  background: #edf5ff;
}
.organization-chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: #8ba8c9 #edf2f7;
  scrollbar-width: auto;
}
.organization-chart-scroll::-webkit-scrollbar {
  height: 14px;
}
.organization-chart-scroll::-webkit-scrollbar-track {
  background: #edf2f7;
}
.organization-chart-scroll::-webkit-scrollbar-thumb {
  border: 3px solid #edf2f7;
  border-radius: 10px;
  background: #8ba8c9;
}
.org-chart-canvas {
  width: 1220px;
  min-width: 1220px;
  padding: 30px 24px 34px;
  background: linear-gradient(#fff, #fbfcfe);
}
.org-leadership {
  position: relative;
  min-height: var(--org-leadership-height, 245px);
}
.org-main-line {
  display: flex;
  justify-content: center;
  position: relative;
}
.org-main-line:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: var(--org-trunk-height, 187px);
  background: #8fa5bd;
}
.org-person {
  position: relative;
  min-height: 54px;
  padding: 10px 9px;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 12px #102b4f0a;
}
.org-person small,
.org-person b {
  display: block;
}
.org-person small {
  color: #63778f;
  font-size: 8px;
  line-height: 1.35;
}
.org-person b {
  margin-top: 4px;
  color: #1d2f45;
  font-size: 10px;
}
.org-site-manager {
  width: 230px;
  border: 2px solid #1769e0;
  background: #eff6ff;
}
.org-site-manager small {
  color: #1769e0;
  font-weight: 800;
}
.org-site-manager b {
  font-size: 13px;
}
.org-staff-branch {
  position: absolute;
  top: 84px;
  left: calc(50% + 145px);
  width: 300px;
  padding-left: 20px;
}
.org-staff-branch:before {
  content: '';
  position: absolute;
  left: -145px;
  top: 27px;
  width: 145px;
  height: 2px;
  background: #8fa5bd;
}
.org-safety-head {
  border-color: #8dd8c6;
  background: #eefaf7;
}
.org-safety-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 8px;
  margin-top: 32px;
  position: relative;
}
.org-safety-groups:before {
  content: '';
  position: absolute;
  left: 50%;
  top: -32px;
  width: 1px;
  height: 16px;
  background: #aebdcd;
}
.org-safety-groups:after {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  top: -16px;
  height: 1px;
  background: #aebdcd;
}
.org-safety-group {
  display: grid;
  gap: 6px;
  position: relative;
}
.org-safety-group:before {
  content: '';
  position: absolute;
  left: 50%;
  top: -16px;
  width: 1px;
  height: 16px;
  background: #aebdcd;
}
.org-safety-group .org-person {
  min-height: 48px;
}
.org-team-line {
  height: 2px;
  margin: 0 9.8%;
  background: #8fa5bd;
}
.org-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.org-team-column {
  position: relative;
  padding-top: 24px;
}
.org-team-column > .org-connector {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 24px;
  background: #aebdcd;
}
.org-team-column.org-center-team > .org-connector {
  width: 2px;
  background: #718aa5;
}
.org-team-head {
  border-color: #f1b77f;
  background: #fff7ef;
}
.org-team-head small {
  color: #ba671d;
  font-weight: 800;
}
.org-member-stack {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  position: relative;
}
.org-member-stack:before {
  content: '';
  position: absolute;
  left: 50%;
  top: -22px;
  width: 1px;
  height: 22px;
  background: #bdc8d4;
}
.org-member {
  min-height: 48px;
  background: #fff;
}
.org-member:before {
  content: '';
  position: absolute;
  left: 50%;
  top: -7px;
  width: 1px;
  height: 7px;
  background: #bdc8d4;
}
.org-partner-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 31px 0 16px;
  color: #7053a4;
  font-size: 9px;
  font-weight: 800;
}
.org-partner-separator:before,
.org-partner-separator:after {
  content: '';
  height: 1px;
  background: #d9cdef;
  flex: 1;
}
.org-partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.org-partner-card {
  padding: 12px;
  border: 1px solid #ddd5ec;
  border-radius: 9px;
  background: #faf8fe;
}
.org-partner-card h4 {
  margin: 0;
  color: #72569f;
  font-size: 11px;
  text-align: center;
}
.org-partner-company {
  margin: 4px 0 10px;
  color: #8e7aa9;
  font-size: 9px;
  text-align: center;
}
.org-partner-card .org-person {
  min-height: 45px;
  margin-top: 6px;
  border-color: #e2dced;
  box-shadow: none;
}
.organization-document-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 22px;
  border-top: 1px solid #e6ebf1;
  color: #8390a0;
  font-size: 8px;
}
.org-modal-wide {
  width: min(1180px, calc(100% - 32px));
}
.org-timeline {
  position: relative;
  padding-left: 22px;
}
.org-timeline:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 13px;
  bottom: 13px;
  width: 1px;
  background: #d4dde8;
}
.org-timeline button {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 14px 15px;
  border: 1px solid #e0e6ee;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.org-timeline button:hover,
.org-timeline button.active {
  border-color: #7aaceb;
  background: #f6faff;
}
.org-timeline-dot {
  position: absolute;
  left: -20px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #8ea0b4;
  box-shadow: 0 0 0 1px #b8c5d3;
}
.org-timeline button.active .org-timeline-dot {
  background: #1769e0;
}
.org-timeline button > div {
  flex: 1;
}
.org-timeline b {
  display: inline-block;
  min-width: 38px;
  color: #1769e0;
}
.org-timeline strong {
  font-size: 11px;
}
.org-timeline small {
  display: block;
  margin-top: 4px;
  color: #8e9aa8;
  font-size: 9px;
}
.org-timeline em {
  color: #6d7d90;
  font-size: 9px;
  font-style: normal;
}
.org-edit-form section {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e2e7ee;
  border-radius: 10px;
  background: #fbfcfe;
}
.org-edit-form section:first-child {
  margin-top: 0;
}
.org-edit-form h3 {
  margin: 0 0 12px;
  font-size: 13px;
}
.org-edit-form section > p,
.org-edit-section-head p {
  margin: -5px 0 13px;
  color: #7e8d9f;
  font-size: 9px;
}
.org-edit-form label {
  display: block;
  color: #4f5e70;
  font-size: 10px;
  font-weight: 700;
}
.org-edit-form input,
.org-edit-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid #d8e0e9;
  border-radius: 7px;
  background: #fff;
  outline: 0;
}
.org-edit-form input:focus,
.org-edit-form textarea:focus {
  border-color: #1769e0;
  box-shadow: 0 0 0 3px #1769e012;
}
.org-staff-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.org-staff-editor-card {
  padding: 12px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
}
.org-staff-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.org-staff-editor-head h4 {
  margin: 0;
  color: #168b73;
}
.org-staff-editor-head .outline-btn {
  height: 30px;
  padding: 0 10px;
}
.org-staff-editor-rows {
  display: grid;
  gap: 6px;
}
.org-staff-edit-row {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 5px;
}
.org-staff-edit-row input {
  margin: 0;
}
.org-staff-edit-row button {
  border: 1px solid #efd2d2;
  border-radius: 6px;
  background: #fff5f5;
  color: #c84f4f;
  cursor: pointer;
}
.org-team-editor {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.org-team-edit-card {
  padding: 12px;
  border: 1px solid #e2e7ee;
  border-radius: 8px;
  background: #fff;
}
.org-team-edit-card h4 {
  margin: 0 0 10px;
  color: #1769e0;
  text-align: center;
}
.org-team-edit-card label + label {
  margin-top: 9px;
}
.org-edit-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.org-partner-editor {
  display: grid;
  gap: 8px;
}
.org-partner-edit-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr 1fr auto;
  align-items: end;
  gap: 7px;
  padding: 10px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
}
.org-partner-edit-row .danger-btn {
  height: 37px;
  padding: 0 12px;
}
.responsibility-table td:nth-child(3) {
  line-height: 1.65;
}
.organization-print-sheet {
  display: none;
}
@media (max-width: 1100px) {
  .org-page-title {
    align-items: flex-start;
  }
  .org-page-title .actions {
    flex-wrap: wrap;
  }
  .org-team-editor {
    grid-template-columns: repeat(2, 1fr);
  }
  .org-partner-edit-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .org-partner-edit-row .danger-btn {
    justify-self: start;
  }
  .organization-chart-scroll {
    box-shadow:
      inset -16px 0 18px -20px #183c68,
      inset 16px 0 18px -20px #183c68;
  }
}
@media (max-width: 760px) {
  .organization-document-head {
    grid-template-columns: 1fr 1fr;
  }
  .organization-document-head > div:first-child {
    display: none;
  }
  .organization-document-head h2 {
    font-size: 14px;
  }
  .org-page-title {
    display: block;
  }
  .org-page-title .actions {
    margin-top: 14px;
  }
  .org-team-editor,
  .org-partner-edit-row,
  .org-staff-editor-grid {
    grid-template-columns: 1fr;
  }
  .organization-document-foot {
    display: block;
  }
  .organization-document-foot span {
    display: block;
    margin-top: 3px;
  }
  .org-pan-tools span {
    font-size: 8px;
  }
}
.assignment-page-title {
  align-items: flex-end;
}
.assignment-guide-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding: 13px 16px;
  border: 1px solid #dbe6f3;
  border-radius: 10px;
  background: linear-gradient(100deg, #f4f9ff, #fff);
}
.assignment-guide-strip div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.assignment-guide-strip b {
  color: #245480;
  font-size: 11px;
}
.assignment-guide-strip span {
  color: #718399;
  font-size: 9px;
}
.assignment-guide-strip em {
  color: #1769e0;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.assignment-table-card {
  overflow-x: auto;
}
.responsibility-table {
  min-width: 920px;
}
.responsibility-table th:nth-child(1) {
  width: 90px;
}
.responsibility-table th:nth-child(2) {
  width: 180px;
}
.responsibility-table th:nth-child(3) {
  width: 110px;
}
.responsibility-table th:nth-child(5) {
  width: 110px;
}
.responsibility-table th:nth-child(6) {
  width: 85px;
}
.responsibility-table td {
  vertical-align: middle;
}
.responsibility-table td:nth-child(4) {
  line-height: 1.55;
}
.assignment-category {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #2469ac;
  font-size: 8px;
  font-weight: 800;
}
.assignment-category.partner {
  background: #f3edff;
  color: #7254a0;
}
.assignment-person-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #1769e0;
  background: transparent;
  color: #1769e0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.assignment-person-link:hover {
  color: #0c4fa8;
}
.assignment-duty-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.assignment-duty-summary span {
  padding: 4px 7px;
  border: 1px solid #e2e8ef;
  border-radius: 5px;
  background: #fafbfd;
  color: #405267;
  font-size: 8px;
}
.assignment-duty-summary small {
  color: #6f8094;
  font-size: 8px;
  font-weight: 800;
}
.assignment-empty {
  color: #9aa7b5;
  font-size: 9px;
}
.assignment-revision {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid #cfe0f5;
  border-radius: 6px;
  background: #f5f9ff;
  color: #1769e0;
  font-size: 9px;
  font-weight: 900;
}
.assignment-no-data {
  padding: 48px !important;
  color: #8b98a7;
  text-align: center;
}
.assignment-modal-wide {
  max-height: calc(100vh - 36px);
  overflow: hidden;
}
.assignment-modal-wide #modalBody {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 70px);
  overflow: hidden;
}
.assignment-editor-title,
.assignment-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 1px 2px 14px;
}
.assignment-editor-title h2,
.assignment-history-head h2 {
  margin: 3px 0 0;
}
.assignment-editor-title .sub,
.assignment-history-head .sub {
  margin-top: 6px;
}
.assignment-editor-title > span {
  padding: 7px 10px;
  border-radius: 6px;
  background: #eef5ff;
  color: #2866a5;
  font-size: 9px;
  font-weight: 800;
}
.assignment-editor-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  overflow: hidden;
}
.assignment-manual {
  min-height: 520px;
  padding: 20px;
  border: 1px solid #cfe1f0;
  border-radius: 11px;
  background: linear-gradient(150deg, #f2f9ff, #fafffd);
  overflow-y: auto;
}
.assignment-manual-placeholder > span,
.assignment-manual-detail > span {
  color: #1774b7;
  font: 800 8px Inter;
  letter-spacing: 1.4px;
}
.assignment-manual-placeholder h3,
.assignment-manual-detail h3 {
  margin: 12px 0 8px;
  color: #173853;
  font-size: 17px;
  line-height: 1.4;
}
.assignment-manual-placeholder p {
  color: #6e8193;
  font-size: 10px;
  line-height: 1.8;
}
.assignment-manual-laws {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}
.assignment-manual-laws em {
  padding: 5px 7px;
  border: 1px solid #d4e5f1;
  border-radius: 5px;
  background: #fff;
  color: #45708f;
  font-size: 8px;
  font-style: normal;
}
.assignment-manual-detail > small {
  display: block;
  margin-top: 18px;
  color: #5f819d;
  font-size: 9px;
}
.assignment-law-name {
  margin: 0;
  color: #1774b7;
  font-size: 10px;
  font-weight: 800;
}
.assignment-guide-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #dce9f1;
  border-radius: 8px;
  background: #fff;
}
.assignment-guide-box b {
  color: #24455f;
  font-size: 10px;
}
.assignment-guide-box p {
  margin: 7px 0 0;
  color: #526b7e;
  font-size: 10px;
  line-height: 1.8;
}
.assignment-manual-detail > a {
  display: inline-block;
  margin-top: 15px;
  color: #1769e0;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}
.assignment-practical-note {
  margin-top: 15px;
  padding: 10px;
  border-radius: 7px;
  background: #e9f7f2;
  color: #337c68;
  font-size: 9px;
  line-height: 1.6;
}
.assignment-edit-form {
  min-width: 0;
  padding-right: 4px;
  overflow-y: auto;
}
.assignment-edit-form > section {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid #e0e7ee;
  border-radius: 10px;
  background: #fbfcfe;
}
.assignment-edit-form h3 {
  margin: 0 0 11px;
  color: #263c52;
  font-size: 12px;
}
.assignment-edit-form label {
  display: block;
  color: #506276;
  font-size: 9px;
  font-weight: 800;
}
.assignment-edit-form input,
.assignment-edit-form select,
.assignment-edit-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid #d5dee8;
  border-radius: 7px;
  background: #fff;
  color: #26384c;
  outline: 0;
}
.assignment-edit-form input:focus,
.assignment-edit-form select:focus,
.assignment-edit-form textarea:focus {
  border-color: #1769e0;
  box-shadow: 0 0 0 3px #1769e012;
}
.assignment-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.assignment-section-heading h3 {
  margin-bottom: 4px;
}
.assignment-section-heading p {
  margin: 0 0 12px;
  color: #7c8c9d;
  font-size: 9px;
}
.assignment-section-heading > span {
  padding: 5px 8px;
  border-radius: 5px;
  background: #edf5ff;
  color: #1769e0;
  font-size: 8px;
  font-weight: 800;
}
.assignment-duty-group + .assignment-duty-group {
  margin-top: 12px;
}
.assignment-duty-group {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.assignment-duty-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.assignment-duty-group-head b {
  color: #496075;
  font-size: 9px;
}
.assignment-duty-group-head span {
  color: #96a2af;
  font-size: 8px;
}
.assignment-duty-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.assignment-duty-option {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dfe6ed;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}
.assignment-duty-option:hover {
  border-color: #86b6ea;
  background: #f8fbff;
}
.assignment-duty-option:has(input:checked) {
  border-color: #58a0e8;
  background: #f0f7ff;
}
.assignment-duty-option input {
  flex: none;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: #1769e0;
}
.assignment-duty-option span {
  min-width: 0;
}
.assignment-duty-option b,
.assignment-duty-option small {
  display: block;
}
.assignment-duty-option b {
  color: #334b61;
  font-size: 9px;
  line-height: 1.45;
}
.assignment-duty-option small {
  margin-top: 3px;
  color: #8393a3;
  font-size: 7px;
}
.assignment-custom-duty {
  margin-top: 13px;
}
.assignment-modal-actions {
  flex: none;
  margin-top: 12px;
}
.assignment-history-head {
  flex: none;
}
.assignment-history-timeline {
  min-height: 0;
  padding: 5px 5px 5px 20px;
  overflow-y: auto;
}
.assignment-history-card {
  position: relative;
  margin-bottom: 10px;
  padding: 15px 16px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  background: #fff;
}
.assignment-history-card.latest {
  border-color: #73aae7;
  background: #f9fcff;
}
.assignment-history-rail {
  position: absolute;
  left: -17px;
  top: 0;
  bottom: -11px;
  width: 2px;
  background: #d5dee8;
}
.assignment-history-card:last-child .assignment-history-rail {
  bottom: 50%;
}
.assignment-history-rail span {
  position: absolute;
  left: -5px;
  top: 20px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #92a4b7;
  box-shadow: 0 0 0 1px #c4d0dc;
}
.assignment-history-card.latest .assignment-history-rail span {
  background: #1769e0;
}
.assignment-history-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.assignment-history-card header strong {
  color: #1769e0;
  font-size: 13px;
}
.assignment-history-card header em {
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #eaf3ff;
  color: #1769e0;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}
.assignment-history-card header time {
  color: #7f8e9e;
  font-size: 8px;
}
.assignment-history-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}
.assignment-history-meta span {
  color: #718398;
  font-size: 8px;
}
.assignment-history-meta b {
  color: #31495f;
  font-size: 10px;
}
.assignment-history-note {
  margin: 10px 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f5f7fa;
  color: #5c6e80;
  font-size: 9px;
}
.assignment-history-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.assignment-history-card li {
  padding: 5px 7px;
  border: 1px solid #e1e7ed;
  border-radius: 5px;
  background: #fff;
  color: #506277;
  font-size: 8px;
}
.org-person[data-org-assignment] {
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.org-person[data-org-assignment]:hover,
.org-person[data-org-assignment]:focus {
  z-index: 2;
  border-color: #4e98e7;
  box-shadow: 0 6px 16px #1769e024;
  outline: 0;
  transform: translateY(-1px);
}
.org-person[data-org-assignment] > em {
  position: absolute;
  right: 6px;
  bottom: 5px;
  padding: 2px 4px;
  border-radius: 4px;
  background: #eaf7f2;
  color: #198065;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}
.org-person.org-assignment-missing {
  border-style: dashed;
  border-color: #e49c60;
}
.org-person.org-assignment-missing > em {
  background: #fff1e5;
  color: #bd641b;
}
.assignment-sync-strip {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: #fff;
}
.assignment-sync-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.assignment-sync-summary > span {
  padding: 6px 9px;
  border-radius: 6px;
  background: #f2f6fa;
  color: #617489;
  font-size: 9px;
}
.assignment-sync-summary b {
  margin-left: 4px;
  color: #243e58;
}
.assignment-sync-summary .needs-action {
  background: #fff0e5;
  color: #a85619;
}
.assignment-sync-summary .needs-action b {
  color: #c15d15;
}
.assignment-sync-summary .complete {
  background: #eaf7f2;
  color: #23735f;
}
.assignment-sync-strip > p {
  margin: 9px 0 0;
  color: #40806d;
  font-size: 9px;
}
.assignment-missing-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.assignment-missing-list small {
  margin-right: 2px;
  color: #a75a20;
  font-size: 8px;
  font-weight: 800;
}
.assignment-missing-list button {
  padding: 6px 8px;
  border: 1px solid #edc8aa;
  border-radius: 6px;
  background: #fffaf6;
  color: #8b4e22;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}
.assignment-missing-list button:hover {
  border-color: #df8d4c;
  background: #fff2e7;
}
.assignment-linked-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid #cce7df;
  border-radius: 7px;
  background: #eef9f5;
}
.assignment-linked-notice b {
  color: #18735d;
  font-size: 9px;
}
.assignment-linked-notice span {
  color: #608078;
  font-size: 8px;
}
.responsibility-table tr.assignment-row-linked td {
  animation: assignmentRowLinked 2.8s ease;
}
@keyframes assignmentRowLinked {
  0%,
  35% {
    background: #eaf4ff;
  }
  100% {
    background: transparent;
  }
}
@media (max-width: 1100px) {
  .assignment-editor-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .assignment-page-title {
    display: block;
  }
  .assignment-page-title .actions {
    margin-top: 14px;
  }
  .assignment-guide-strip,
  .assignment-guide-strip div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .assignment-editor-layout {
    display: block;
    overflow-y: auto;
  }
  .assignment-manual {
    min-height: 0;
    margin-bottom: 10px;
  }
  .assignment-edit-form {
    overflow: visible;
  }
  .assignment-duty-options {
    grid-template-columns: 1fr;
  }
  .assignment-editor-title > span {
    display: none;
  }
  .assignment-history-head {
    display: block;
  }
  .assignment-history-head button {
    margin-top: 10px;
  }
}
@media print {
  body > #organizationPrintSheet {
    display: block !important;
  }
  .organization-print-sheet {
    display: block !important;
    width: 100%;
    border: 0;
    box-shadow: none;
    font-family: 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  }
  .organization-print-sheet .org-pan-tools,
  .organization-print-sheet .org-person > em {
    display: none;
  }
  .organization-print-sheet .organization-chart-scroll {
    overflow: visible;
  }
  .organization-print-sheet .organization-document-head {
    padding: 3mm 4mm;
  }
  .organization-print-sheet .organization-document-head h2 {
    font-size: 13pt;
  }
  .organization-print-sheet .org-chart-canvas {
    width: 100%;
    min-width: 0;
    padding: 4mm 3mm;
  }
  .organization-print-sheet .org-leadership {
    min-height: var(--org-leadership-height, 245px);
  }
  .organization-print-sheet .org-person {
    min-height: 10mm;
    padding: 1.4mm 1mm;
    border-radius: 1.5mm;
    box-shadow: none;
  }
  .organization-print-sheet .org-person small {
    font-size: 4.6pt;
  }
  .organization-print-sheet .org-person b {
    font-size: 5.8pt;
  }
  .organization-print-sheet .org-site-manager {
    width: 45mm;
  }
  .organization-print-sheet .org-site-manager b {
    font-size: 7pt;
  }
  .organization-print-sheet .org-staff-branch {
    top: 15mm;
    left: calc(50% + 30mm);
    width: 48mm;
    padding-left: 3mm;
  }
  .organization-print-sheet .org-staff-branch:before {
    left: -30mm;
    width: 30mm;
  }
  .organization-print-sheet .org-main-line:after {
    height: var(--org-trunk-height, 187px);
  }
  .organization-print-sheet .org-team-grid,
  .organization-print-sheet .org-partner-grid {
    gap: 2mm;
  }
  .organization-print-sheet .org-team-column {
    padding-top: 4mm;
  }
  .organization-print-sheet .org-team-column > .org-connector {
    height: 4mm;
  }
  .organization-print-sheet .org-member-stack {
    gap: 1mm;
    margin-top: 4mm;
  }
  .organization-print-sheet .org-member-stack:before {
    top: -4mm;
    height: 4mm;
  }
  .organization-print-sheet .org-partner-separator {
    margin: 5mm 0 2mm;
  }
  .organization-print-sheet .org-partner-card {
    padding: 2mm;
  }
  .organization-print-sheet .org-partner-card .org-person {
    min-height: 8mm;
    margin-top: 1mm;
  }
  .organization-print-sheet .organization-document-foot {
    padding: 2mm 4mm;
    font-size: 4.5pt;
  }
}
