/* src/components/PersonnelAffairs/workSchedule/leaveManagement.css */
.leave-flow-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.leave-flow-steps li {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--text-secondary,#64748b);
  font-size: 12px;
}
.leave-flow-steps li > span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-secondary,#f1f5f9);
  font-size: 11px;
}
.leave-flow-steps .is-current {
  color: var(--text-primary,#1e293b);
  font-weight: 600;
}
.leave-flow-steps .is-current > span {
  background: var(--accent-primary,#334155);
  color: white;
}
.leave-flow-steps .is-complete > span {
  background: #e7f1eb;
  color: #275e3e;
}
.leave-rules {
  font-size: 12px;
  color: var(--text-secondary,#64748b);
  margin-top: 14px;
}
.leave-rules summary {
  cursor: pointer;
}
.leave-rules a {
  display: block;
  margin-top: 5px;
  text-decoration: underline;
}
.leave-choice-list {
  display: grid;
  gap: 8px;
}
.leave-choice-list button {
  display: flex;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 1px solid var(--border-color,#d8dee5);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-primary,#fff);
  color: inherit;
}
.leave-choice-list button > span {
  font-weight: 600;
}
.leave-choice-list small {
  font-size: 12px;
  color: var(--text-secondary,#64748b);
}
.leave-source-note {
  margin: 8px 0;
  font-size: 12px;
  color: var(--text-secondary,#64748b);
}
.leave-phase {
  border: 1px solid var(--border-color,#d8dee5);
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
}
.leave-phase-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.leave-phase .parental-day-list {
  margin-top: 8px;
}
.leave-review-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.leave-review-summary div {
  background: var(--surface-secondary,#f5f7f9);
  border-radius: 8px;
  padding: 10px;
}
.leave-review-summary dt {
  font-size: 12px;
  color: var(--text-secondary,#64748b);
}
.leave-review-summary dd {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 0;
}
@media (max-width:400px) {
  .leave-flow-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .leave-phase {
    padding: 9px;
  }
  .leave-phase-top {
    align-items: flex-start;
  }
}
.employee-leave-section {
  border: 1px solid var(--border-color,#d8dee5);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
}
.leave-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-top: 1px solid var(--border-color,#e2e8f0);
  font-size: 13px;
}
.leave-summary-row > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.leave-summary-row span {
  font-size: 12px;
  color: var(--text-secondary,#64748b);
}
.leave-plan-actions {
  margin-top: 16px;
  border-top: 1px solid var(--border-color,#e2e8f0);
  padding-top: 12px;
}
.leave-plan-actions h3 {
  font-size: 14px;
}
.leave-plan-actions .roster-dialog-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.leave-history-link {
  display: block;
  margin-top: 8px;
  text-align: left;
}

/* src/components/PersonnelAffairs/workSchedule/rosterDayExceptions.css */
.roster-day-exceptions {
  border-top: 1px solid var(--roster-line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.roster-day-exceptions .roster-section-top > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.roster-dialog textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid #d6dfdf;
  border-radius: 8px;
  color: #263c47;
  font: inherit;
  font-size: 13px;
  background: #fff;
  resize: vertical;
}
.roster-dialog textarea:focus-visible {
  outline: 2px solid #38728b;
  outline-offset: 3px;
}
.roster-day-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.roster-day-table th,
.roster-day-table td {
  padding: 10px 6px;
  text-align: left;
  border-bottom: 1px solid #e2e9eb;
}
.roster-day-table th {
  color: #718187;
  font-size: 11px;
  font-weight: 600;
}
.roster-day-table .roster-day-warning {
  color: #9c632f;
  font-weight: 600;
}
.roster-day-summary {
  margin: 12px 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: #5c7681;
}
@media (max-width:600px) {
  .roster-day-exceptions .roster-section-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .roster-day-table {
    font-size: 11px;
  }
  .roster-day-table th,
  .roster-day-table td {
    padding: 8px 3px;
  }
}
.roster-dialog .schedule-action-picker > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.roster-dialog .schedule-action-picker h4,
.roster-dialog .schedule-date-list h4,
.schedule-change-summary h3,
.schedule-change-summary h4,
.schedule-review-title {
  font-size: 14px;
  font-weight: 600;
  color: #35515d;
  margin: 0 0 9px;
}
.roster-dialog .schedule-action-picker button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
  white-space: normal;
  background: #fff;
  border: 1px solid #d6dfdf;
  border-radius: 7px;
  padding: 10px 12px;
  color: #40545e;
}
.roster-dialog .schedule-action-picker button[aria-pressed=true] {
  background: #edf5f7;
  border-color: #426c7c;
  box-shadow: inset 0 0 0 1px #426c7c;
}
.roster-dialog .schedule-action-picker button strong {
  font-size: 13px;
}
.roster-dialog .schedule-action-picker button small {
  font-size: 11px;
  line-height: 1.4;
}
.schedule-date-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.schedule-date-list > .roster-button {
  align-self: flex-start;
}
.schedule-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e6ecee;
  padding-bottom: 10px;
}
.schedule-date-row label {
  min-width: 0;
}
.roster-dialog .schedule-date-row label > span {
  font-size: 11px;
  font-weight: 400;
}
.roster-dialog .schedule-date-row label small {
  font-weight: 400;
  color: #697e88;
  text-transform: capitalize;
}
.schedule-date-row .roster-text-button {
  align-self: center;
}
.schedule-catchup {
  border-top: 1px solid #e1e8ea;
  padding-top: 12px;
}
.schedule-catchup-toggle {
  align-self: flex-start;
}
.schedule-change-summary {
  border: 1px solid #d8e3e7;
  border-radius: 8px;
  background: #f7fafb;
  padding: 12px 14px;
}
.schedule-change-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.schedule-change-summary li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-transform: capitalize;
}
.schedule-change-summary li span {
  text-transform: none;
  color: #617783;
}
.schedule-change-summary h4 {
  margin-top: 14px;
}
.schedule-change-summary strong {
  font-weight: 500;
}
.schedule-review-note summary {
  cursor: pointer;
  font-size: 12px;
  color: #617783;
}
.schedule-review-note label {
  margin-top: 9px;
}
@media (max-width:400px) {
  .roster-dialog .schedule-action-picker > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .schedule-date-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .schedule-date-row .roster-text-button {
    justify-self: start;
    padding-top: 2px;
  }
  .schedule-change-summary {
    padding: 10px;
  }
}
@media (max-width:500px) {
  .roster-day-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .roster-day-table tbody,
  .roster-day-table tr {
    display: block;
  }
  .roster-day-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #e2e9eb;
    border-radius: 7px;
    padding: 8px;
  }
  .roster-day-table td {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 0;
    padding: 5px;
    font-size: 13px;
  }
  .roster-day-table td:before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 400;
    color: #718187;
  }
}

/* src/components/PersonnelAffairs/workSchedule/statisticsNormalization.css */
.normalization-workspace .normalization-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e5e7;
  border-radius: 10px;
  background: #fff;
}
.normalization-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.normalization-table th {
  font-size: 11px;
  font-weight: 650;
  color: #65737b;
  text-align: left;
  background: #f5f7f8;
}
.normalization-table th,
.normalization-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f1;
  vertical-align: middle;
}
.normalization-table td:first-child {
  min-width: 165px;
}
.normalization-table td small {
  display: block;
  color: #6b7780;
  margin-top: 3px;
}
.normalization-table td:not(:first-child) {
  white-space: nowrap;
}
.normalization-table tr:last-child td {
  border-bottom: 0;
}
.normalization-actual {
  padding: 14px;
  border-radius: 8px;
  background: #edf4f5;
  color: #3e555f;
  font-size: 13px;
}
.normalization-advanced > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
}
.normalization-advanced > .roster-checkbox {
  margin: 12px 0;
}
.normalization-workspace .roster-toolbar > label:first-child {
  min-width: 220px;
}
@media (max-width:650px) {
  .normalization-table thead {
    display: none;
  }
  .normalization-table,
  .normalization-table tbody {
    display: block;
  }
  .normalization-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    gap: 10px 16px;
    border-bottom: 1px solid #e2e5e7;
  }
  .normalization-table td {
    display: block;
    padding: 0;
    border: 0 !important;
    white-space: normal !important;
  }
  .normalization-table td:first-child,
  .normalization-table td:last-child {
    grid-column: 1/-1;
  }
  .normalization-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: #65737b;
    margin-bottom: 3px;
  }
  .normalization-table td:last-child .roster-button {
    width: 100%;
    margin-top: 3px;
  }
  .normalization-workspace .roster-toolbar > label:first-child {
    min-width: 0;
  }
}
.normalization-workspace > .roster-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 8px 0;
}
.normalization-workspace > .roster-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #45646f;
}
.normalization-editor .roster-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.normalization-editor label {
  min-width: 0;
}
.normalization-editor input:not([type=checkbox]) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.normalization-editor > .roster-notice,
.normalization-editor > .normalization-actual {
  margin: 0 0 16px;
}
.normalization-editor > .roster-button {
  margin-bottom: 14px;
}
@media (max-width:650px) {
  .normalization-editor .roster-two-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .normalization-editor .roster-form-fields {
    min-width: 0;
  }
  .normalization-editor input:not([type=checkbox]) {
    width: 100%;
  }
}
.writing-norm-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}
.writing-norm-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
}
.writing-norm-row input {
  width: 130px;
  max-width: 100%;
  border: 1px solid #cbd5da;
  border-radius: 7px;
  background: #fff;
  padding: 8px 10px;
  font-size: 16px;
  line-height: 22px;
}
.writing-norm-settings [role=alert] {
  color: #a33030;
  margin-top: 8px;
}
.writing-norm-settings [role=status] {
  margin-top: 8px;
}
.writing-norm-settings .roster-text-button {
  margin-left: 10px;
}
@media (max-width:420px) {
  .writing-norm-row {
    align-items: flex-end;
    gap: 8px;
  }
  .writing-norm-row label {
    flex: 1;
    min-width: 0;
  }
  .writing-norm-row input {
    width: 100%;
    box-sizing: border-box;
  }
  .writing-norm-row .roster-button {
    flex-shrink: 0;
  }
}
.ancillary-fields {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.ancillary-fields legend {
  font-weight: 650;
  margin-bottom: 8px;
}
.ancillary-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 86px 115px auto;
  gap: 10px;
  align-items: end;
  border-bottom: 1px solid #e3e8ea;
  padding: 12px 0;
}
.ancillary-row label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}
.ancillary-row input,
.ancillary-row select {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5da;
  border-radius: 7px;
  background: #fff;
  padding: 8px 10px;
  font-size: 16px;
}
.ancillary-row button {
  min-height: 40px;
}
.ancillary-fields > .roster-button {
  margin-top: 12px;
}
.normalization-preview {
  padding: 14px;
  border: 1px solid #dbe6e8;
  border-radius: 9px;
  background: #f2f7f7;
  margin: 14px 0;
}
.normalization-preview p {
  margin: 5px 0;
}
.normalization-preview strong {
  font-size: 16px;
}
.normalization-table .ancillary-summary {
  white-space: normal;
  max-width: 280px;
}
@media (max-width:650px) {
  .ancillary-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .ancillary-row > label:first-child {
    grid-column: 1/-1;
  }
  .ancillary-row > button {
    justify-self: start;
  }
  .normalization-table .ancillary-summary {
    max-width: none;
  }
}
.normalization-workspace {
  font-size: 16px;
  line-height: 1.5;
}
.normalization-workspace .normalization-table {
  font-size: 16px;
}
.normalization-workspace .normalization-table th,
.normalization-workspace .normalization-table td small {
  font-size: 14px;
  line-height: 1.5;
}
.normalization-workspace .roster-toolbar label,
.normalization-workspace .writing-norm-row label,
.normalization-workspace > .roster-checkbox {
  font-size: 14px;
}
.normalization-workspace .roster-toolbar input,
.normalization-workspace .roster-toolbar select {
  font-size: 16px;
}
.normalization-workspace .roster-date-control button {
  font-size: 14px;
}
.normalization-workspace .roster-button,
.normalization-workspace .roster-text-button {
  font-size: 14px !important;
}
.normalization-workspace .roster-dialog {
  font-size: 16px;
  line-height: 1.5;
}
.normalization-workspace .roster-dialog-header h2 {
  font-size: 20px;
}
.normalization-workspace .roster-dialog-header p,
.normalization-workspace .roster-muted,
.normalization-workspace .roster-dialog label,
.normalization-workspace .roster-dialog label small {
  font-size: 14px;
  line-height: 1.5;
}
.normalization-workspace .roster-notice,
.normalization-workspace .normalization-actual,
.normalization-workspace .normalization-preview p {
  font-size: 16px;
  line-height: 1.5;
}
.normalization-workspace .normalization-preview .roster-muted {
  font-size: 14px;
}
.normalization-workspace .roster-dialog input:not([type=checkbox]),
.normalization-workspace .roster-dialog select {
  font-size: 16px;
}
.normalization-workspace .roster-footer-summary strong {
  font-size: 16px;
}
.normalization-workspace .roster-footer-summary span,
.normalization-workspace .roster-history > summary,
.normalization-workspace .roster-history > summary > span:last-child,
.normalization-workspace .roster-history-row h4,
.normalization-workspace .roster-history-row p {
  font-size: 14px;
  line-height: 1.5;
}
.normalization-workspace .roster-dialog .roster-checkbox,
.normalization-workspace .roster-day-picker legend {
  font-size: 14px;
}
.normalization-workspace .roster-day-picker button span,
.normalization-workspace .roster-day-picker button small {
  font-size: 14px;
}
.normalization-workspace .ancillary-fields legend {
  font-size: 16px;
}
.normalization-period-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.normalization-period-mode strong {
  font-size: 16px;
}
.normalization-period-mode + .normalization-actual {
  margin-bottom: 18px;
}
.normalization-editor > .roster-form-fields {
  margin: 18px 0;
}
.normalization-editor > .ancillary-fields {
  margin-top: 22px;
}
@media (max-width:600px) {
  .normalization-period-mode {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* src/components/PersonnelAffairs/workSchedule/employeeRosterSections.css */
.employee-inline-section {
  border-top: 1px solid var(--roster-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.employee-inline-section h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.employee-ancillary-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr);
  gap: 14px;
  border: 1px solid #dde5e7;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.employee-ancillary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.employee-ancillary-list li {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
.employee-ancillary-list span,
.employee-ancillary-minimum > span {
  font-size: 12px;
  color: #73838b;
}
.employee-ancillary-minimum {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.employee-ancillary-minimum > strong {
  font-size: 15px;
  font-weight: 600;
  color: #355567;
}
.employee-ancillary-minimum small {
  font-size: 12px;
  color: #6d818b;
}
.employee-location-days {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.employee-location-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e6ebec;
}
.employee-location-row label {
  font-weight: 600;
}
.employee-location-row small {
  display: block;
  font-weight: 400;
  color: #788b94;
  line-height: 1.4;
  margin-top: 3px;
}
.employee-location-row select {
  width: 100%;
  min-width: 0;
}
.employee-location-count {
  font-size: 12px;
  color: #70838c;
}
@media (max-width:600px) {
  .employee-ancillary-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .employee-location-row {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 8px;
  }
  .employee-inline-section > .roster-section-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* src/components/PersonnelAffairs/workSchedule/parentalChanges.css */
.parental-change-dialog {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.5;
}
.parental-change-dialog label {
  font-size: 14px;
}
.parental-change-dialog :is(input, select) {
  font-size: 16px !important;
}
.parental-change-dialog :is(p, h3) {
  margin: 0;
}
.parental-change-dialog .roster-muted {
  font-size: 14px;
  line-height: 1.5;
}
.parental-change-dialog .roster-notice {
  font-size: 14px;
  line-height: 1.6;
}
.parental-change-dialog .parental-day-hours input {
  width: 90px;
}
.parental-change-summary {
  font-size: 16px;
  font-weight: 500;
}
.parental-change-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.parental-change-dates > div {
  border: 1px solid #dde5e7;
  border-radius: 9px;
  padding: 14px;
}
.parental-change-dates span {
  display: block;
  font-size: 14px;
  color: #6d7a80;
}
.parental-change-dates strong {
  display: block;
  font-size: 18px;
  margin: 5px 0;
}
.parental-change-dates p {
  font-size: 14px;
}
.parental-change-totals {
  margin: 18px 0;
}
.parental-change-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e4e9eb;
  font-size: 14px;
}
.parental-change-totals dd {
  margin: 0;
  font-weight: 600;
}
.parental-moves h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.parental-moves p {
  font-size: 14px;
  margin: 0;
}
.parental-workspace .roster-pending h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.parental-workspace .roster-prompt-actions {
  flex-wrap: wrap;
}
@media (max-width:600px) {
  .parental-change-dates {
    grid-template-columns: 1fr;
  }
  .parental-change-dialog .roster-two-columns {
    grid-template-columns: 1fr;
  }
  .parental-change-totals > div {
    align-items: flex-start;
  }
  .parental-change-totals dt {
    max-width: 70%;
  }
  .parental-plan-footer .roster-dialog-actions {
    justify-content: flex-start;
  }
  .parental-plan-footer .roster-dialog-actions > .roster-button {
    white-space: normal;
  }
}
@media (max-width:600px) {
  .roster-dialog:has(.parental-change-dialog) .roster-dialog-footer {
    flex-wrap: wrap;
  }
  .roster-dialog:has(.parental-change-dialog) .roster-dialog-actions {
    margin-left: auto;
  }
}

/* src/components/PersonnelAffairs/workSchedule/rosterWorkspace.css */
.roster-workspace {
  --roster-ink:#243d4c;
  --roster-muted:#6d787c;
  --roster-line:#dde3e2;
  color: #27383f;
  max-width: 1180px;
  margin: auto;
}
.roster-workspace button,
.roster-dialog button {
  font: inherit;
  cursor: pointer;
}
.roster-workspace button:disabled,
.roster-dialog button:disabled {
  cursor: default;
  opacity: .45;
}
.roster-workspace :is(button, input, select):focus-visible,
.roster-dialog :is(button, input, select):focus-visible {
  outline: 2px solid #38728b;
  outline-offset: 3px;
}
.roster-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, .7fr);
  gap: 22px;
  align-items: end;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--roster-line);
  margin-bottom: 24px;
}
.roster-toolbar label,
.roster-dialog label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #52626a;
}
.roster-toolbar select,
.roster-toolbar input,
.roster-dialog input:not([type=checkbox]) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 43px;
  padding: 9px 12px;
  margin-top: 7px;
  border: 1px solid #d6dfdf;
  border-radius: 8px;
  background: #fff;
  color: #263c47;
  font: inherit;
  font-size: 14px;
}
.roster-toolbar select {
  font-weight: 600;
}
.roster-date-control {
  display: flex;
  gap: 8px;
  align-items: center;
}
.roster-date-control button {
  height: 43px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid #d6dfdf;
  border-radius: 8px;
  color: #52626a;
  background: #fff;
  font-size: 12px;
}
.roster-editor-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.roster-employee-heading,
.roster-card-top,
.roster-section-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.roster-kicker {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #69818a;
}
.roster-employee-heading h3 {
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.025em;
  color: #203d4b;
  margin: 4px 0 5px;
}
.roster-employee-heading p,
.roster-muted {
  font-size: 12px;
  line-height: 1.65;
  color: #738087;
  margin: 0;
}
.roster-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 39px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  text-decoration: none;
}
.roster-button--primary {
  color: #fff;
  background: #244c60;
  border-color: #244c60;
}
.roster-button--primary:hover {
  background: #1a3d4e;
}
.roster-button--secondary {
  color: #35515d;
  background: #fff;
  border-color: #d2dcdf;
}
.roster-button--secondary:hover {
  background: #f3f6f7;
}
.roster-button--danger {
  color: #fff;
  background: #9d3741;
}
.roster-text-button {
  border: 0;
  padding: 7px 0;
  color: #486d7d;
  background: transparent;
  font-size: 12px !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.roster-text-button--danger {
  color: #9a6064;
}
.roster-active-card {
  border: 1px solid #d8e2e2;
  border-radius: 13px;
  background: #fff;
  padding: 20px 22px;
}
.roster-card-top {
  padding-bottom: 17px;
  border-bottom: 1px solid #edf0ef;
}
.roster-period-label {
  font-size: 11px;
  color: #7b8589;
}
.roster-active-content {
  display: grid;
  grid-template-columns: 160px minmax(240px, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding-top: 21px;
}
.roster-active-total strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.05em;
  color: #264d5c;
}
.roster-active-total span {
  display: block;
  font-size: 11px;
  color: #74828a;
  margin-top: 8px;
}
.roster-active-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0;
}
.roster-active-details dt,
.roster-review-details dt {
  font-size: 11px;
  color: #869198;
  margin-bottom: 4px;
}
.roster-active-details dd {
  margin: 0;
  font-size: 13px;
  color: #40545e;
  line-height: 1.5;
  font-weight: 500;
}
.roster-card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.roster-section-top h3 {
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #425960;
}
.roster-section-top > span {
  font-size: 11px;
  color: #829198;
}
.roster-week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}
.roster-week-day {
  border-radius: 9px;
  background: #f0f3f3;
  display: flex;
  flex-direction: column;
  padding: 12px 13px;
  min-width: 0;
  gap: 5px;
}
.roster-week-day.is-working {
  background: #eaf1f3;
  border: 1px solid #d9e7eb;
  padding: 11px 12px;
}
.roster-week-day span {
  font-size: 11px;
  color: #718187;
  text-transform: capitalize;
}
.roster-week-day small {
  font-size: 10px;
  color: #93a0a4;
}
.roster-week-day strong {
  font-size: 16px;
  font-weight: 500;
  color: #829095;
  margin-top: 6px;
}
.roster-week-day.is-working strong {
  color: #2e5a6b;
}
.roster-footnote {
  font-size: 10px;
  color: #939da2;
  margin: 10px 0 0;
  line-height: 1.5;
}
.roster-history {
  border-top: 1px solid var(--roster-line);
  padding-top: 16px;
}
.roster-history > summary {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #60747c;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 5px 0;
}
.roster-history > summary::before {
  content: "\203a";
  font-size: 18px;
  line-height: 1;
  transition: transform .15s;
}
.roster-history[open] > summary::before {
  transform: rotate(90deg);
}
.roster-history > summary > span:last-child {
  font-size: 10px;
  border-radius: 12px;
  background: #e8eeee;
  padding: 2px 7px;
  color: #6c8189;
}
.roster-history-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.roster-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e7ecec;
  padding: 14px 0;
}
.roster-history-status {
  font-size: 10px;
  color: #85949a;
}
.roster-history-row h4 {
  font-size: 12px;
  font-weight: 600;
  color: #4a606a;
  margin: 3px 0;
}
.roster-history-row p {
  font-size: 11px;
  color: #819095;
  margin: 0;
}
.roster-history-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.roster-notice {
  padding: 12px 14px;
  background: #f2f5f6;
  border: 1px solid #dce5e7;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.7;
  color: #526972;
  margin: 0;
}
.roster-notice--error {
  background: #fcf2f2;
  border-color: #ead6d7;
  color: #984c55;
}
.roster-notice--success {
  background: #f0f6f1;
  border-color: #d7e6d9;
  color: #4a7255;
}
.roster-empty {
  border: 1px dashed #cedbdc;
  border-radius: 12px;
  text-align: center;
  padding: 35px 22px;
  color: #7d8d93;
  font-size: 13px;
}
.roster-empty strong {
  display: block;
  font-weight: 600;
  color: #4e6874;
  margin-bottom: 8px;
}
.roster-empty p {
  margin: 0;
  font-size: 12px;
}
.roster-pending {
  background: #faf8f1;
  border: 1px solid #e8e2ce;
  border-radius: 10px;
  padding: 15px 17px;
}
.roster-pending > .roster-muted {
  margin-top: 5px;
}
.roster-pending-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid #ebe5d5;
}
.roster-pending-row strong {
  font-size: 11px;
  font-weight: 600;
  color: #82714c;
}
.roster-pending-row p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #7e7e70;
  white-space: pre-line;
}
.roster-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: #172e3c66;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}
.roster-dialog {
  width: min(720px, 100%);
  max-height: calc(100dvh - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 60px #18313e33;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: #2f4752;
  font-family: inherit;
  outline: none;
}
.roster-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 26px 20px;
  border-bottom: 1px solid #e6ebec;
  flex-shrink: 0;
}
.roster-dialog-header h2 {
  font-family: inherit;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -.025em;
}
.roster-dialog-header p {
  font-size: 12px;
  color: #829097;
  margin: 6px 0 0;
}
.roster-close {
  border: 1px solid #e3eaec;
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 22px !important;
  line-height: 1;
  color: #819198;
}
.roster-dialog-body {
  padding: 23px 26px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
}
.roster-dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 26px;
  border-top: 1px solid #e2e9eb;
  background: #f8fafb;
  border-radius: 0 0 16px 16px;
  flex-shrink: 0;
}
.roster-dialog-actions,
.roster-prompt-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.roster-footer-summary strong {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: #355567;
}
.roster-footer-summary span {
  font-size: 10px;
  color: #87979e;
}
.roster-step-indicator {
  display: flex;
  gap: 18px;
  margin-bottom: 23px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f2;
  font-size: 11px;
  color: #94a1a7;
}
.roster-step-indicator .active {
  color: #355e72;
  font-weight: 600;
}
.roster-form-fields {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.roster-form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.roster-section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.roster-section-heading > span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dae4e7;
  background: #f7f9f9;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  font-size: 10px;
  color: #6d8895;
}
.roster-section-heading h3 {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #4a6370;
  margin: 0;
}
.roster-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.roster-dialog label small {
  display: block;
  font-size: 10px;
  color: #98a2a5;
  font-weight: 400;
  margin-top: 6px;
  line-height: 1.5;
}
.roster-hours-input {
  max-width: 210px;
}
.roster-presets {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}
.roster-presets > span {
  font-size: 10px;
  color: #8b999f;
  margin-right: 4px;
}
.roster-presets button {
  font-size: 11px;
  border: 1px solid #d6e3e7;
  background: #f7fafb;
  color: #4f7383;
  border-radius: 7px;
  padding: 7px 9px;
}
.roster-dialog .roster-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #6b808a;
}
.roster-checkbox input {
  accent-color: #355d70;
}
.roster-day-picker {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.roster-day-picker legend {
  font-size: 11px;
  font-weight: 600;
  color: #7c8c95;
  margin-bottom: 9px;
}
.roster-day-picker > div {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.roster-day-picker button {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 2px;
  align-items: center;
  border: 1px solid #e2e9eb;
  background: #f8fafb;
  border-radius: 8px;
  color: #87989f;
  min-width: 0;
}
.roster-day-picker button[aria-pressed=true] {
  background: #e9f2f5;
  border-color: #a9c6d1;
  color: #3c6476;
}
.roster-day-picker button span {
  font-size: 12px;
  font-weight: 600;
}
.roster-day-picker button small {
  font-size: 8px;
}
.roster-review-heading > span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7c959f;
}
.roster-review h3 {
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0;
  color: #365664;
}
.roster-review-heading p {
  font-size: 12px;
  line-height: 1.7;
  color: #83929a;
  margin: 0;
}
.roster-review-total {
  margin: 24px 0;
  padding: 22px;
  background: #edf4f5;
  border: 1px solid #dae8ec;
  border-radius: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.roster-review-total strong {
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
  color: #355a6a;
  letter-spacing: -.03em;
}
.roster-review-total span {
  font-size: 12px;
  color: #6f8c99;
}
.roster-review-details {
  margin: 0 0 20px;
}
.roster-review-details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f1;
}
.roster-review-details dt {
  margin: 0;
}
.roster-review-details dd {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  text-align: right;
  margin: 0;
  color: #506c78;
}
.roster-dialog-overlay--compact {
  justify-content: center;
  align-items: center;
}
.roster-dialog-overlay--compact .roster-dialog {
  width: min(530px, 100%);
  max-height: calc(100dvh - 32px);
}
.roster-dialog-overlay--compact .roster-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 13px;
  line-height: 1.7;
}
.roster-dialog-overlay--compact .roster-dialog-footer {
  justify-content: flex-end;
}
.roster-saved-label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6d9479;
}
.roster-prompt-question {
  margin: 0;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
  color: #365765;
}
.roster-change-description {
  border-left: 3px solid #a7c6d0;
  background: #f3f7f8;
  padding: 12px 14px;
  white-space: pre-line;
  font-size: 12px;
  color: #5c7681;
}
.roster-month-label {
  max-width: 210px;
}
@media (max-width:900px) {
  .roster-active-content {
    grid-template-columns: 130px 1fr;
  }
  .roster-card-actions {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: flex-end;
  }
  .roster-period-label {
    max-width: 60%;
    text-align: right;
  }
}
@media (max-width:600px) {
  .roster-toolbar {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
  .roster-employee-heading {
    align-items: flex-start;
  }
  .roster-employee-heading h3 {
    font-size: 19px;
  }
  .roster-employee-heading p {
    display: none;
  }
  .roster-button {
    padding: 8px 11px;
  }
  .roster-active-card {
    padding: 16px;
  }
  .roster-card-top {
    align-items: flex-start;
  }
  .roster-active-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .roster-active-total {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .roster-active-total strong {
    font-size: 37px;
  }
  .roster-card-actions {
    grid-column: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .roster-week-days {
    gap: 4px;
  }
  .roster-week-day,
  .roster-week-day.is-working {
    padding: 10px 5px;
    text-align: center;
  }
  .roster-week-day strong {
    font-size: 14px;
  }
  .roster-section-top {
    gap: 8px;
    align-items: baseline;
  }
  .roster-section-top > span {
    font-size: 10px;
    text-align: right;
  }
  .roster-history-row,
  .roster-pending-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .roster-history-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .roster-dialog-overlay {
    padding: 0;
  }
  .roster-dialog {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }
  .roster-dialog-header {
    padding: 18px;
  }
  .roster-dialog-header h2 {
    font-size: 19px;
  }
  .roster-dialog-body {
    padding: 19px 18px;
  }
  .roster-dialog-footer {
    padding: 14px 18px;
    border-radius: 0;
    gap: 10px;
  }
  .roster-footer-summary strong {
    font-size: 16px;
  }
  .roster-dialog-actions {
    gap: 6px;
  }
  .roster-two-columns {
    gap: 11px;
  }
  .roster-presets > span {
    width: 100%;
  }
  .roster-day-picker > div {
    gap: 4px;
  }
  .roster-day-picker button small {
    font-size: 7px;
  }
  .roster-dialog-overlay--compact {
    padding: 12px;
  }
  .roster-dialog-overlay--compact .roster-dialog {
    border-radius: 14px;
    max-height: calc(100dvh - 24px);
  }
  .roster-dialog-overlay--compact .roster-dialog-footer {
    border-radius: 0 0 14px 14px;
  }
  .roster-prompt-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
.parental-workspace {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.parental-workspace .parental-toolbar {
  margin-bottom: 0;
  padding-bottom: 20px;
}
.parental-contract-label {
  padding-bottom: 8px;
}
.parental-contract-label span {
  display: block;
  color: #85949a;
  font-size: 11px;
  margin-bottom: 6px;
}
.parental-contract-label strong {
  font-size: 15px;
  font-weight: 500;
  color: #43606d;
}
.parental-plan-card h4 {
  font-size: 16px;
  font-weight: 500;
  color: #3e5e6e;
  margin: 20px 0;
}
.parental-budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.parental-budget-grid > div {
  padding: 12px 0;
}
.parental-budget-grid span {
  display: block;
  font-size: 11px;
  color: #85959b;
}
.parental-budget-grid strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #3f6070;
  margin-top: 8px;
}
.parental-budget-grid small {
  font-size: 12px;
  font-weight: 400;
  color: #8a9ba2;
}
.parental-roster-warning {
  margin-top: 18px;
  background: #faf8f1;
  border-color: #e7debd;
  color: #8b774c;
}
.parental-plan-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e8eeef;
}
.parental-day-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.parental-day-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #e6edef;
  background: #fafbfc;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 52px;
  box-sizing: border-box;
}
.parental-day-list > div.is-selected {
  background: #edf5f7;
  border-color: #bbd0d8;
}
.parental-day-note {
  font-size: 10px;
  color: #96a2a7;
}
.roster-dialog .parental-day-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 400;
  color: #7c929c;
}
.roster-dialog .parental-day-hours input {
  width: 80px;
  height: 34px;
  padding: 6px 9px;
  margin: 0;
  text-align: right;
}
.roster-dialog select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 43px;
  padding: 9px 12px;
  margin-top: 7px;
  border: 1px solid #d6dfdf;
  border-radius: 8px;
  background: #fff;
  color: #263c47;
  font: inherit;
  font-size: 14px;
}
.parental-source {
  border: 1px solid #e0e8eb;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f6f9fa;
  font-size: 11px;
  color: #748b96;
}
.parental-source summary {
  cursor: pointer;
  font-weight: 600;
  color: #577887;
}
.parental-source p {
  margin: 9px 0 0;
  line-height: 1.6;
}
.parental-months {
  margin: 22px 0;
}
.parental-months h4 {
  font-size: 13px;
  font-weight: 600;
  color: #55717e;
  margin-bottom: 10px;
}
.parental-months > div {
  display: grid;
  grid-template-columns: 1fr 90px 70px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f2;
  font-size: 12px;
  color: #7b919b;
}
.parental-months strong {
  text-align: right;
  color: #4d7181;
  font-weight: 500;
}
.parental-months small {
  text-align: right;
  font-size: 10px;
}
@media (max-width:600px) {
  .parental-budget-grid {
    gap: 10px;
  }
  .parental-budget-grid strong {
    font-size: 21px;
  }
  .parental-plan-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .parental-plan-footer > .roster-dialog-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .parental-day-list > div {
    padding: 9px 10px;
  }
  .parental-workspace > .roster-employee-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .parental-workspace > .roster-employee-heading h3 {
    font-size: 18px;
  }
}
.parental-plan-footer .roster-dialog-actions {
  flex-wrap: wrap;
}
.parental-rule-history {
  margin: 20px 0;
  font-size: 12px;
}
.parental-rule-history h4 {
  font-weight: 600;
  margin-bottom: 10px;
}
.parental-rule-history > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f2;
}
.parental-rule-history strong {
  text-align: right;
  font-weight: 500;
}
.parental-budget-grid .parental-unknown-balance {
  font-size: 16px;
  line-height: 1.4;
}
.roster-dialog[data-app-dialog] {
  position: relative;
  inset: auto;
  transform: none;
  margin: 0;
  max-width: min(720px, 100%);
  overflow: hidden;
}
.roster-dialog-overlay[data-app-dialog-overlay] {
  align-items: center;
  justify-content: center;
}
@media (max-width:600px) {
  .roster-dialog[data-app-dialog] {
    max-width: 100% !important;
    max-height: 100dvh;
    margin: 0;
  }
  .normalization-workspace .roster-dialog-footer {
    flex-wrap: wrap;
  }
  .normalization-workspace .roster-dialog-actions {
    margin-left: auto;
  }
}

/* src/components/PersonnelAffairs/workSchedule/rosterCompact.css */
.roster-compact-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}
.roster-compact-page .roster-workspace {
  max-width: none;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}
.rounded-lg:has(> .roster-compact-page) {
  padding: 18px;
}
.rounded-lg:has(> .roster-compact-page) > header {
  margin-bottom: 14px;
  gap: 8px;
}
.rounded-lg:has(> .roster-compact-page) > header h2 {
  font-size: 17px;
  line-height: 1.35;
}
.rounded-lg:has(> .roster-compact-page) > header p {
  font-size: 12px;
  line-height: 1.45;
}
.roster-compact-tabs {
  gap: 5px;
  padding-bottom: 10px;
}
.roster-compact-tabs > a {
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.4;
}
.roster-compact-page .roster-toolbar {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.roster-compact-page :is(.roster-toolbar label, .roster-dialog label, .writing-norm-row label) {
  font-size: 12px;
  line-height: 1.45;
}
.roster-compact-page :is(.roster-toolbar input, .roster-toolbar select, .roster-dialog input:not([type=checkbox]), .roster-dialog select) {
  height: 36px;
  margin-top: 5px;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 6px;
}
.roster-compact-page .roster-date-control input {
  min-width: 0;
  flex: 1;
}
.roster-compact-page .roster-date-control button {
  height: 36px;
  margin-top: 5px;
  padding: 0 11px;
  font-size: 12px;
}
.roster-compact-page :is(.roster-button, .roster-text-button) {
  font-size: 12px !important;
  line-height: 1.4;
}
.roster-compact-page .roster-button {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 6px;
}
.roster-compact-page .roster-text-button {
  padding: 5px 0;
}
.roster-compact-page :is(.roster-editor-panel, .parental-workspace) {
  gap: 16px;
}
.roster-compact-page :is(.roster-employee-heading, .roster-card-top, .roster-section-top) {
  gap: 12px;
}
.roster-compact-page .roster-employee-heading h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 3px 0;
}
.roster-compact-page :is(.roster-muted, .roster-employee-heading p) {
  font-size: 12px;
  line-height: 1.5;
}
.roster-compact-page .roster-active-card {
  padding: 13px 14px;
  border-radius: 10px;
}
.roster-compact-page .roster-card-top {
  padding-bottom: 10px;
}
.roster-compact-page .roster-active-content {
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 16px;
  padding-top: 13px;
}
.roster-compact-page .roster-active-total strong {
  font-size: 32px;
}
.roster-compact-page .roster-active-total span {
  font-size: 11px;
  margin-top: 5px;
}
.roster-compact-page .roster-active-details {
  gap: 8px 16px;
}
.roster-compact-page .roster-active-details dd {
  font-size: 13px;
}
.roster-compact-page :is(.roster-period-label, .roster-active-details dt, .roster-review-details dt) {
  font-size: 11px;
}
.roster-compact-page .roster-week-days {
  gap: 6px;
  margin-top: 10px;
}
.roster-compact-page :is(.roster-week-day, .roster-week-day.is-working) {
  padding: 9px 10px;
  gap: 3px;
  border-radius: 7px;
}
.roster-compact-page .roster-week-day strong {
  font-size: 15px;
  margin-top: 3px;
}
.roster-compact-page :is(.roster-week-day small, .roster-footnote, .roster-kicker) {
  font-size: 11px;
}
.roster-compact-page :is(.roster-presets > span, .roster-presets button, .roster-review-heading > span, .roster-saved-label, .roster-history-status, .parental-day-note, .parental-day-hours span, .parental-months small) {
  font-size: 11px;
}
.roster-compact-page .roster-footnote {
  margin-top: 8px;
  line-height: 1.45;
}
.roster-compact-page .roster-history {
  padding-top: 12px;
}
.roster-compact-page .roster-history-row {
  padding: 10px 0;
  gap: 12px;
}
.roster-compact-page :is(.roster-history > summary, .roster-history-row h4, .roster-history-row p) {
  font-size: 12px;
  line-height: 1.45;
}
.roster-compact-page .roster-notice {
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 7px;
}
.roster-compact-page .roster-pending {
  padding: 11px 13px;
}
.roster-compact-page .roster-pending-row {
  padding-top: 10px;
  margin-top: 10px;
  gap: 12px;
}
.roster-compact-page .roster-day-exceptions {
  padding-top: 14px;
  gap: 10px;
}
.roster-compact-page .roster-dialog[data-app-dialog] {
  font-size: 13px;
  line-height: 1.45;
  border-radius: 12px;
  max-height: calc(100dvh - 24px);
}
.roster-compact-page .roster-dialog-header {
  padding: 16px 18px 14px;
  gap: 12px;
}
.roster-compact-page .roster-dialog-header h2 {
  font-size: 18px;
  line-height: 1.35;
}
.roster-compact-page .roster-dialog-header p {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}
.roster-compact-page .roster-dialog-body {
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.5;
  gap: 13px;
}
.roster-compact-page .roster-dialog-footer {
  padding: 12px 18px;
  gap: 12px;
  border-radius: 0 0 12px 12px;
  flex-wrap: wrap;
}
.roster-compact-page .roster-dialog-actions {
  margin-left: auto;
  gap: 6px;
}
.roster-compact-page .roster-footer-summary strong {
  font-size: 15px;
  line-height: 1.4;
}
.roster-compact-page .roster-footer-summary span {
  font-size: 11px;
  line-height: 1.4;
}
.roster-compact-page .roster-form-fields {
  gap: 16px;
  min-width: 0;
}
.roster-compact-page .roster-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.roster-compact-page .roster-dialog :is(input, select, textarea) {
  min-width: 0;
}
.roster-compact-page .roster-form-section {
  gap: 11px;
}
.roster-compact-page .roster-step-indicator {
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  font-size: 12px;
}
.roster-compact-page .roster-dialog label small {
  font-size: 11px;
  line-height: 1.45;
  margin-top: 4px;
}
.roster-compact-page :is(.roster-dialog .roster-checkbox, .roster-day-picker legend) {
  font-size: 12px;
}
.roster-compact-page .roster-day-picker button {
  padding: 8px 2px;
  gap: 4px;
}
.roster-compact-page .roster-day-picker button small {
  font-size: 11px;
}
.roster-compact-page .roster-review h3 {
  font-size: 18px;
  margin: 6px 0;
}
.roster-compact-page .roster-review-total {
  padding: 14px;
  margin: 16px 0;
  gap: 9px;
}
.roster-compact-page .roster-review-total strong {
  font-size: 30px;
}
.roster-compact-page .roster-review-details > div {
  padding: 9px 0;
}
.roster-compact-page .roster-prompt-question {
  font-size: 17px;
  line-height: 1.4;
}
.roster-compact-page .roster-change-description {
  padding: 10px 12px;
  font-size: 13px;
}
.roster-compact-page .normalization-table {
  font-size: 13px;
  line-height: 1.45;
}
.roster-compact-page .normalization-table :is(th, td) {
  padding: 9px 11px;
}
.roster-compact-page .normalization-table :is(th, td small) {
  font-size: 12px;
  line-height: 1.45;
}
.roster-compact-page :is(.normalization-actual, .normalization-workspace .roster-notice) {
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
}
.roster-compact-page .normalization-period-mode {
  margin-bottom: 12px;
  gap: 10px;
}
.roster-compact-page :is(.normalization-period-mode strong, .ancillary-fields legend) {
  font-size: 14px;
}
.roster-compact-page .normalization-editor > .roster-form-fields {
  margin: 12px 0;
}
.roster-compact-page .normalization-editor > .ancillary-fields {
  margin-top: 14px;
  margin-bottom: 12px;
}
.roster-compact-page .ancillary-row {
  grid-template-columns: minmax(0, 1fr) 76px 102px auto;
  gap: 8px;
  padding: 9px 0;
}
.roster-compact-page .ancillary-row :is(input, select) {
  font-size: 14px;
  height: 36px;
  padding: 6px 9px;
  margin-top: 0;
}
.roster-compact-page .ancillary-row button {
  min-height: 32px;
}
.roster-compact-page .writing-norm-settings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.roster-compact-page .writing-norm-settings > p {
  margin: 0;
}
.roster-compact-page .writing-norm-settings > [role] {
  flex-basis: 100%;
}
.roster-compact-page .writing-norm-row {
  gap: 10px;
  margin: 0;
  align-items: center;
}
.roster-compact-page .writing-norm-row label {
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.roster-compact-page .writing-norm-row input {
  max-width: 90px;
}
.roster-compact-page .writing-norm-row input {
  font-size: 14px;
  line-height: 1.4;
  padding: 6px 9px;
  height: 36px;
  width: 110px;
  box-sizing: border-box;
}
.roster-compact-page .normalization-workspace > .roster-checkbox {
  font-size: 12px;
  margin: 6px 0;
}
.roster-compact-page .parental-contract-label {
  padding-bottom: 5px;
}
.roster-compact-page .parental-contract-label strong {
  font-size: 13px;
}
.roster-compact-page .parental-plan-card h4 {
  font-size: 15px;
  margin: 12px 0;
}
.roster-compact-page .parental-budget-grid {
  gap: 12px;
}
.roster-compact-page .parental-budget-grid > div {
  padding: 8px 0;
}
.roster-compact-page .parental-budget-grid strong {
  font-size: 22px;
  margin-top: 5px;
}
.roster-compact-page .parental-budget-grid .parental-unknown-balance {
  font-size: 14px;
}
.roster-compact-page .parental-plan-footer {
  margin-top: 13px;
  padding-top: 12px;
  gap: 10px;
}
.roster-compact-page .parental-day-list {
  gap: 5px;
}
.roster-compact-page .parental-day-list > div {
  padding: 7px 10px;
  min-height: 44px;
  gap: 10px;
}
.roster-compact-page .parental-change-dialog {
  font-size: 13px;
  line-height: 1.5;
  gap: 13px;
}
.roster-compact-page .parental-change-dialog :is(input, select) {
  font-size: 14px !important;
}
.roster-compact-page :is(.parental-change-dialog label, .parental-change-dialog .roster-muted, .parental-change-dialog .roster-notice, .parental-change-dates p) {
  font-size: 13px;
  line-height: 1.5;
}
.roster-compact-page .parental-change-summary {
  font-size: 14px;
}
.roster-compact-page .parental-change-dates {
  gap: 10px;
}
.roster-compact-page .parental-change-dates > div {
  padding: 11px;
  border-radius: 7px;
}
.roster-compact-page .parental-change-dates span {
  font-size: 12px;
}
.roster-compact-page .parental-change-dates strong {
  font-size: 16px;
}
.roster-compact-page .parental-change-totals {
  margin: 12px 0;
}
.roster-compact-page .parental-change-totals > div {
  padding: 8px 0;
  font-size: 13px;
}
.roster-compact-page :is(.parental-moves h3, .parental-workspace .roster-pending h3) {
  font-size: 14px;
}
.roster-compact-page[data-roster-tab=werkdagen] > div {
  min-width: 0;
  font-size: 13px;
}
.roster-compact-page[data-roster-tab=werkdagen] table {
  font-size: 13px;
}
.roster-compact-page[data-roster-tab=werkdagen] :is(th, td) {
  padding-top: 4px;
  padding-bottom: 4px;
}
.roster-compact-page[data-roster-tab=werkdagen] th {
  font-size: 11px;
}
.roster-compact-page[data-roster-tab=werkdagen] select {
  font-size: 12px;
  line-height: 1.4;
  min-height: 30px;
  padding: 4px 8px;
}
@media (max-width:900px) {
  .roster-compact-page .roster-active-content {
    grid-template-columns: 115px minmax(0, 1fr);
  }
  .roster-compact-page .roster-card-actions {
    grid-column: 1/-1;
  }
}
@media (max-width:650px) {
  .roster-compact-page .normalization-editor .roster-two-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .roster-compact-page .writing-norm-row label {
    flex-direction: column;
    align-items: flex-start;
  }
  .roster-compact-page .writing-norm-settings {
    align-items: flex-start;
  }
  .roster-compact-page .writing-norm-settings > p {
    flex-basis: 100%;
  }
  .roster-compact-page .roster-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .roster-compact-page .normalization-table tr {
    padding: 12px;
    gap: 8px 12px;
  }
  .roster-compact-page .normalization-table td {
    padding: 0;
  }
  .roster-compact-page .normalization-table td[data-label]:before {
    font-size: 11px;
  }
  .roster-compact-page .ancillary-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .roster-compact-page .roster-dialog :is(input:not([type=checkbox]), select, textarea),
  .roster-compact-page .roster-toolbar :is(input, select),
  .roster-compact-page .writing-norm-row input,
  .roster-compact-page[data-roster-tab=werkdagen] select {
    font-size: 16px !important;
    min-height: 40px;
  }
  .roster-compact-page .roster-dialog input[type=checkbox] {
    min-height: 0;
  }
  .roster-compact-page .roster-button {
    min-height: 36px;
  }
}
@media (max-width:600px) {
  .rounded-lg:has(> .roster-compact-page) {
    padding: 13px;
  }
  .roster-compact-page .roster-active-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .roster-compact-page .roster-card-actions {
    grid-column: auto;
  }
  .roster-compact-page :is(.roster-week-day, .roster-week-day.is-working) {
    padding: 8px 4px;
  }
  .roster-compact-page .roster-week-day strong {
    font-size: 14px;
  }
  .roster-compact-page .roster-dialog[data-app-dialog] {
    max-height: 100dvh;
  }
  .roster-compact-page :is(.roster-dialog-header, .roster-dialog-body) {
    padding: 14px;
  }
  .roster-compact-page .roster-dialog-footer {
    padding: 11px 14px;
    gap: 9px;
  }
}
@media (max-width:400px) {
  .roster-compact-page .roster-dialog .roster-two-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .roster-compact-page .roster-dialog .roster-day-picker > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.roster-compact-page .parental-workspace--inline {
  border-top: 1px solid var(--roster-line);
  padding-top: 14px;
  gap: 10px;
}
.roster-compact-page .parental-empty-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dde5e7;
  border-radius: 8px;
  background: #fff;
  padding: 11px 13px;
}
.roster-compact-page .parental-empty-inline strong {
  font-size: 13px;
  font-weight: 500;
}
.roster-compact-page .parental-budget-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width:400px) {
  .roster-compact-page .parental-empty-inline {
    align-items: flex-start;
    flex-direction: column;
  }
}
.roster-compact-page .roster-week-days--with-leave {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.roster-compact-page .roster-week-day.has-parental-leave {
  background: #f1edf8;
  border: 1px solid #d5cbe7;
  gap: 4px;
}
.roster-compact-page .roster-leave-hours {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.roster-compact-page .roster-leave-hours strong {
  font-size: 18px;
  color: #594271;
  margin: 4px 0 2px;
}
.roster-compact-page .roster-leave-hours span {
  font-size: 12px;
  color: #594271;
  line-height: 1.4;
  font-weight: 600;
}
.roster-compact-page .roster-week-day .roster-leave-kind {
  align-self: flex-start;
  border-radius: 4px;
  background: #e2d8ef;
  color: #594271;
  font-size: 11px;
  padding: 2px 5px;
}
.roster-compact-page .roster-week-day .roster-leave-basis {
  margin-top: 3px;
  color: #596875;
}
.roster-compact-page .parental-empty-inline p {
  margin: 4px 0 0;
}
@media (max-width:400px) {
  .roster-compact-page .roster-week-days--with-leave {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roster-compact-page .roster-week-days--with-leave .roster-week-day {
    padding: 9px 5px;
    text-align: left;
  }
}
.roster-dialog-overlay[data-app-dialog-overlay] > .roster-dialog[data-app-dialog=wide] {
  width: min(720px, 100%);
  max-width: 720px;
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - 24px);
  margin: 0;
  inset: auto;
  transform: none;
}
.roster-dialog-overlay--compact[data-app-dialog-overlay] > .roster-dialog[data-app-dialog=wide] {
  width: min(530px, 100%);
  max-width: 530px;
}
@media (max-width:600px) {
  .roster-dialog-overlay[data-app-dialog-overlay] > .roster-dialog[data-app-dialog=wide] {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
  }
  .roster-dialog-overlay--compact[data-app-dialog-overlay] > .roster-dialog[data-app-dialog=wide] {
    max-height: calc(100dvh - 24px);
  }
}
.roster-employee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.roster-ancillary-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width:600px) {
  .roster-employee-actions {
    justify-content: flex-start;
  }
}
@media (max-width:600px) {
  .roster-dialog-overlay[data-app-dialog-overlay] {
    padding: 12px;
  }
  .roster-dialog-overlay[data-app-dialog-overlay] > .roster-dialog[data-app-dialog=wide] {
    max-height: calc(100dvh - 24px);
  }
}
.roster-compact-page .roster-dialog p:not([hidden]) {
  display: block;
}
.roster-compact-page .roster-active-content--with-norm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.roster-active-content--with-norm > .roster-active-total {
  flex: 0 0 100px;
}
.roster-active-content--with-norm > .roster-active-details {
  flex: 1 1 210px;
}
.roster-active-content--with-norm > .roster-active-norm {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 360px;
}
.roster-active-content--with-norm > .roster-card-actions {
  flex: 0 0 auto;
}
.roster-compact-page .writing-norm-settings--card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.roster-compact-page .writing-norm-settings--card .writing-norm-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.roster-compact-page .writing-norm-settings--card .writing-norm-row label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 11px;
  line-height: 1.4;
}
.roster-compact-page .writing-norm-settings--card .writing-norm-row input {
  width: 76px;
  max-width: 100%;
  height: 32px;
  margin: 0;
  padding: 5px 8px;
}
.roster-compact-page .writing-norm-settings--card :is(.writing-norm-scope, .writing-norm-example) {
  font-size: 11px;
  line-height: 1.45;
  color: #738087;
  margin: 0;
}
.roster-compact-page .writing-norm-settings--card .writing-norm-scope {
  font-weight: 500;
}
.roster-compact-page .writing-norm-settings--card > [role] {
  font-size: 12px;
  line-height: 1.5;
}
.roster-active-card--empty .roster-active-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 0;
}
.roster-active-card--empty .roster-empty {
  flex: 1 1 250px;
  border: 0;
  padding: 0;
  text-align: left;
}
.roster-active-card--empty .roster-active-norm {
  flex: 1 1 260px;
  min-width: 0;
}
@media (max-width:600px) {
  .roster-active-content--with-norm > .roster-active-norm {
    max-width: none;
    flex-basis: 100%;
  }
  .roster-active-content--with-norm > .roster-card-actions {
    align-items: flex-start;
  }
  .roster-compact-page .writing-norm-settings--card .writing-norm-row input {
    font-size: 16px;
    height: 36px;
  }
  .roster-compact-page .writing-norm-settings--card .writing-norm-row {
    align-items: flex-end;
  }
}

/* src/components/PersonnelAffairs/workSchedule/employeeMaternitySection.css */
.roster-maternity-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--roster-line,#dde3e2);
  padding-top: 16px;
}
.maternity-summary-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #dce5e7;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  min-width: 0;
}
.maternity-summary-card p {
  margin: 4px 0 0;
}
.maternity-summary-card strong {
  font-weight: 600;
}
.maternity-summary-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.maternity-summary-heading > span {
  font-size: 10px;
  color: #607781;
  background: #eef3f4;
  border-radius: 9px;
  padding: 2px 7px;
}
.maternity-period-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.maternity-period-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.maternity-period-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: #eef4f5;
  border: 1px solid #dbe6e8;
  border-radius: 9px;
  font-size: 12px;
}
.maternity-period-preview span {
  color: #667e88;
}
.maternity-period-preview strong {
  font-weight: 600;
  color: #365765;
}
@media (max-width:600px) {
  .maternity-summary-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .maternity-summary-card > .roster-dialog-actions {
    flex-wrap: wrap;
  }
  .maternity-period-grid {
    grid-template-columns: 1fr;
  }
}
.roster-compact-page .roster-week-day.has-maternity-leave {
  background: #f6eff3;
  border: 1px solid #e4cfdb;
  gap: 4px;
}
.roster-compact-page .has-maternity-leave .roster-leave-hours :is(strong, span) {
  color: #7d4e69;
}
.roster-compact-page .has-maternity-leave .roster-leave-kind {
  background: #efdeE8;
  color: #7d4e69;
}

/* src/components/PersonnelAffairs/agreements/agreementContinuousPreview.css */
.agreements-workspace .roster-dialog.agreement-preview-dialog[data-app-dialog=wide] {
  width: min(1480px, 96vw) !important;
  max-width: 1480px !important;
  height: 92dvh !important;
  max-height: 92dvh !important;
}
.agreements-workspace .agreement-preview-dialog > .roster-dialog-header,
.agreements-workspace .agreement-preview-dialog > .roster-dialog-footer {
  flex: 0 0 auto;
}
.agreements-workspace .agreement-preview-dialog > .roster-dialog-body {
  flex: 1 1 auto;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.agreement-preview-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.agreement-preview-sidebar {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  border-right: 1px solid #dce4e8;
  background: #fff;
  overscroll-behavior: contain;
}
.agreement-preview-sidebar .agreement-preview-meta {
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.agreement-preview-sidebar .agreement-requirement-editor label {
  min-width: 0;
  flex: 1;
}
.agreement-preview-document-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}
.agreement-preview-document-list button {
  border: 1px solid #dce4e8;
  border-radius: 6px;
  background: #f6f8f9;
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  line-height: 1.4;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.agreement-preview-document-list button[aria-pressed=true] {
  background: #ecf3f6;
  border-color: #6e919f;
}
.agreement-preview-document-list strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.agreement-preview-document-list small {
  display: block;
  font-size: 11px;
  color: #637983;
  margin-top: 3px;
}
.agreements-workspace .agreement-preview-details h3 {
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.agreement-preview-details {
  margin: 16px 0;
}
.agreement-preview-details dl {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}
.agreement-preview-details dl > div {
  min-width: 0;
}
.agreement-preview-details dt {
  font-size: 11px;
  color: #6b7c84;
  margin-bottom: 2px;
}
.agreement-preview-details dd {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}
.agreement-continuous-preview {
  min-height: 0;
  min-width: 0;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #e8eef1;
  padding: 16px 20px 24px;
  box-sizing: border-box;
}
.agreement-page-stack {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.agreement-scroll-page {
  min-width: 0;
}
.agreements-workspace .agreement-scroll-page-label {
  margin: 0 0 7px;
  font-size: 12px;
  color: #526c79;
}
.agreement-page-sheet {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 9px #253d4b25;
  overflow: hidden;
}
.agreement-page-sheet > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.agreement-page-sheet.is-text {
  min-height: 300px;
}
.agreement-page-sheet .agreement-text-preview {
  box-sizing: border-box;
  padding: 24px;
}
.agreement-page-placeholder {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  box-sizing: border-box;
  color: #657c89;
  text-align: center;
}
.agreement-preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f3f6f7;
  color: #667b86;
}
@media (max-width:800px) {
  .agreement-preview-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .agreement-preview-sidebar {
    max-height: 32dvh;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid #dce4e8;
  }
  .agreement-preview-document-list {
    display: flex;
    overflow: auto;
    margin: 10px 0;
    padding-bottom: 3px;
  }
  .agreement-preview-document-list button {
    flex: 0 0 190px;
  }
  .agreement-preview-details dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 10px 0;
  }
  .agreement-preview-details {
    margin: 10px 0;
  }
  .agreement-continuous-preview {
    padding: 12px 10px 20px;
  }
  .agreement-page-stack {
    gap: 18px;
  }
}
@media (max-width:420px) {
  .agreements-workspace .roster-dialog.agreement-preview-dialog[data-app-dialog=wide] {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }
  .agreement-preview-sidebar {
    max-height: 33dvh;
  }
}
.agreement-document-actions {
  margin: 14px 0;
}
.agreement-document-actions summary {
  cursor: pointer;
  color: #315c6c;
  font-size: 12px;
  font-weight: 600;
}
.agreement-document-action-buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.agreement-action-confirm {
  border: 1px solid #d9b5a8;
  background: #fff8f4;
  border-radius: 6px;
  padding: 10px;
  margin: 10px 0;
  font-size: 12px;
}
.agreement-action-confirm .agreement-row-actions {
  justify-content: flex-start;
}
.agreement-trash-link {
  display: block;
  margin-top: 20px;
  font-size: 12px;
}
.agreement-preview-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
  font-size: 12px;
}
.agreement-preview-navigation strong {
  font-weight: 600;
  color: #344e5b;
}
.agreements-workspace .agreement-preview-navigation-help {
  margin: 0 0 14px;
  font-size: 11px;
}
.agreement-remove-document {
  margin-top: 10px;
}

/* src/components/PersonnelAffairs/agreements/agreements.css */
.agreements-workspace {
  font-size: 13px;
  line-height: 1.5;
  color: #2f3437;
  min-width: 0;
  display: grid;
  gap: 18px;
}
.agreements-workspace h3 {
  font-size: 18px;
  margin: 0;
}
.agreements-workspace h4 {
  font-size: 15px;
  margin: 0;
}
.agreements-workspace p {
  margin: 4px 0 10px;
}
.agreement-intro,
.agreement-muted {
  color: #647078;
}
.agreement-muted {
  font-size: 12px;
}
.agreement-filters,
.agreement-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.agreement-filters {
  margin-bottom: 10px;
}
.agreements-workspace label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}
.agreements-workspace input,
.agreements-workspace select,
.agreements-workspace textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd1d3;
  border-radius: 6px;
  background: white;
  color: #26333a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 8px 10px;
  box-sizing: border-box;
}
.agreements-workspace fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.agreement-table-scroll {
  overflow-x: auto;
  border: 1px solid #dde2e4;
  border-radius: 8px;
}
.agreements-workspace table {
  border-collapse: collapse;
  min-width: 800px;
  width: 100%;
  font-size: 12px;
}
.agreements-workspace th,
.agreements-workspace td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7ebed;
  text-align: left;
  vertical-align: middle;
}
.agreements-workspace thead th {
  background: #f5f7f7;
  font-weight: 600;
  white-space: nowrap;
}
.agreements-workspace tbody th {
  min-width: 155px;
  background: white;
  position: sticky;
  left: 0;
  z-index: 1;
}
.agreements-workspace tr.is-selected,
.agreements-workspace tr.is-selected th {
  background: #eef4f5;
}
.agreement-employee-link,
.agreement-text-button {
  background: none;
  border: 0;
  padding: 0;
  color: #315c6c;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agreement-status {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 0;
  border-radius: 5px;
  padding: 4px 7px;
  background: #f0f2f3;
  color: #5e6970;
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
  text-align: left;
}
.agreement-status small {
  font-size: 11px;
}
.agreement-status--signed {
  background: #edf5ee;
  color: #386142;
}
.agreement-status--pending {
  background: #eaf2f8;
  color: #345d78;
}
.agreement-status--missing,
.agreement-status--found_unverified {
  background: #faf1df;
  color: #82652a;
}
.agreement-status--not_applicable {
  background: transparent;
  color: #778087;
}
.agreement-employee-panel {
  border: 1px solid #dce2e4;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  display: grid;
  gap: 15px;
  min-width: 0;
}
.agreement-section-heading,
.agreement-items-heading,
.agreement-item-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.agreement-document-list,
.agreement-inventory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.agreement-document-list li,
.agreement-inventory-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f7f8f8;
  border-radius: 7px;
}
.agreement-document-list li > div:first-child,
.agreement-inventory-list li > div:first-child {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.agreement-row-actions,
.agreement-dialog-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.agreement-primary,
.agreement-secondary {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  padding: 8px 11px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #bfcdd2;
  min-height: 34px;
}
.agreement-primary {
  background: #335865;
  color: white;
  border-color: #335865;
}
.agreement-secondary {
  background: white;
  color: #3c5964;
}
.agreements-workspace button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.agreements-workspace :focus-visible {
  outline: 2px solid #587f91;
  outline-offset: 2px;
}
.agreement-empty {
  background: #f7f8f8;
  padding: 14px;
  border-radius: 7px;
  color: #68747a;
}
.agreement-error {
  background: #fff0ef;
  color: #8e3935;
  padding: 10px;
  border-radius: 6px;
}
.agreement-success {
  background: #edf5ee;
  color: #386142;
  padding: 10px;
  border-radius: 6px;
}
.agreement-warning {
  background: #fff5df;
  padding: 12px 12px 12px 28px;
  border-radius: 6px;
  color: #785d25;
}
.agreement-full {
  grid-column: 1/-1;
}
.agreements-workspace .roster-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(20, 30, 34, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.agreements-workspace .roster-dialog[data-app-dialog=wide] {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  max-height: 90dvh !important;
  display: flex !important;
  flex-direction: column !important;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px #15242b40;
  overflow: hidden;
  font-size: 13px;
}
.agreements-workspace .roster-dialog-header {
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #e4e8e9;
}
.agreements-workspace .roster-dialog-header h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.3;
}
.agreements-workspace .roster-dialog-header p {
  display: block !important;
  font-size: 13px;
  margin: 5px 0 0;
  color: #647078;
}
.agreements-workspace .roster-close {
  font-size: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0 6px;
}
.agreements-workspace .roster-dialog-body {
  padding: 18px 20px;
  overflow: auto;
  min-height: 0;
  min-width: 0;
}
.agreements-workspace .roster-dialog-footer {
  padding: 12px 20px;
  border-top: 1px solid #e4e8e9;
  background: #fbfcfc;
}
.agreement-steps {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0 0 14px;
  margin: 0 0 16px;
  border-bottom: 1px solid #e6ebed;
  color: #7b858a;
}
.agreement-steps [aria-current=step] {
  color: #315c6c;
  font-weight: 700;
}
.agreement-items {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.agreements-workspace .agreement-item {
  border: 1px solid #dce3e5;
  border-radius: 8px;
  padding: 12px;
}
.agreement-item legend {
  font-size: 11px;
  padding: 0 5px;
  color: #77838b;
}
.agreement-item-heading {
  margin-bottom: 10px;
}
.agreement-preview iframe,
.agreement-file-preview {
  display: block;
  border: 1px solid #dde3e5;
  border-radius: 6px;
  width: 100%;
  height: 52dvh;
  margin: 10px 0;
}
.agreement-preview a {
  color: #315c6c;
  text-decoration: underline;
}
@media (max-width:700px) {
  .agreement-filters,
  .agreement-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agreement-document-list li,
  .agreement-inventory-list li {
    flex-wrap: wrap;
  }
  .agreement-document-list li > div:first-child,
  .agreement-inventory-list li > div:first-child {
    flex-basis: 100%;
  }
  .agreement-section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .agreement-employee-panel {
    padding: 12px;
  }
  .agreements-workspace .roster-dialog-overlay {
    padding: 10px;
  }
  .agreements-workspace .roster-dialog-body {
    padding: 14px;
  }
  .agreements-workspace .roster-dialog-header,
  .agreements-workspace .roster-dialog-footer {
    padding: 12px 14px;
  }
}
@media (max-width:420px) {
  .agreement-filters,
  .agreement-fields-grid {
    grid-template-columns: 1fr;
  }
  .agreements-workspace input,
  .agreements-workspace select,
  .agreements-workspace textarea {
    font-size: 16px;
  }
  .agreements-workspace .roster-dialog-overlay {
    padding: 0;
  }
  .agreements-workspace .roster-dialog[data-app-dialog=wide] {
    max-height: 100dvh !important;
    border-radius: 0;
    width: 100% !important;
  }
  .agreement-steps {
    font-size: 12px;
    gap: 10px;
  }
  .agreement-dialog-actions {
    justify-content: stretch;
  }
  .agreement-dialog-actions button {
    flex: 1;
  }
  .agreement-items-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
.agreements-workspace .agreement-table-scroll :is(th, td) {
  padding: 8px 10px !important;
  line-height: 1.35 !important;
  font-size: 12px !important;
}
.agreements-workspace .agreement-table-scroll button {
  font-size: 12px !important;
}
.agreements-workspace .agreement-table-scroll tbody tr {
  height: 54px;
}
.agreements-workspace .agreement-employee-panel:focus {
  outline: 2px solid #8aa7b4;
  outline-offset: 3px;
}
.agreements-matrix {
  min-width: 0;
}
.agreements-workspace .agreement-table-scroll {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.agreement-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.agreement-page-heading > div:first-child {
  min-width: 0;
}
.agreements-workspace .agreement-page-heading h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 5px;
  text-align: left;
}
.agreements-workspace .agreement-page-heading p {
  margin: 0;
  font-size: 13px;
}
.agreement-page-heading .agreement-row-actions {
  flex-shrink: 0;
}
.agreements-workspace .agreement-table-scroll {
  max-height: 520px;
}
.agreements-workspace .agreement-table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.agreements-workspace .agreement-table-scroll thead th:first-child {
  left: 0;
  z-index: 3;
}
.agreements-workspace .agreement-table-scroll tbody tr {
  height: 42px;
}
.agreements-workspace .agreement-table-scroll :is(th, td) {
  padding: 6px 10px !important;
}
@media (max-width:850px) {
  .agreement-page-heading {
    flex-direction: column;
    gap: 12px;
  }
  .agreement-page-heading .agreement-row-actions {
    justify-content: flex-start;
  }
}
.agreement-employee-list .agreement-filters {
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr);
  max-width: 700px;
}
.agreement-employee-list table {
  min-width: 0;
}
.agreement-employee-list .agreement-table-scroll {
  max-height: none;
}
.agreement-employee-list th:first-child {
  width: 26%;
  min-width: 160px;
}
.agreement-employee-list th:last-child {
  width: 100px;
}
.agreement-employee-list .agreement-employee-documents {
  font-weight: 600;
  color: #34474f;
}
.agreement-employee-categories {
  font-size: 12px;
  color: #78848b;
  margin-top: 3px;
  font-weight: 400;
}
.agreement-employee-list .agreement-table-scroll tbody tr {
  height: 54px;
}
.agreement-employee-list .agreement-table-scroll :is(th, td) {
  padding: 10px 14px !important;
}
.agreement-employee-list .agreement-table-scroll tbody th {
  position: static;
}
.agreement-back-link {
  justify-self: start;
  background: none;
  border: 0;
  color: #315c6c;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}
.agreement-back-link:hover {
  text-decoration: underline;
}
.agreement-documents {
  display: grid;
  gap: 12px;
}
.agreement-document-tools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}
.agreement-document-tools p {
  font-size: 13px;
  color: #738088;
  margin: 0;
}
.agreement-document-tools label {
  min-width: 180px;
}
.agreement-history-note {
  font-size: 12px;
  color: #7b868b;
  margin: 0 !important;
}
.agreement-document-group {
  display: grid;
  gap: 7px;
}
.agreement-document-group h4 {
  font-size: 13px;
  color: #5f7078;
  font-weight: 600;
}
.agreement-document-group h4 span {
  font-weight: 400;
  color: #879298;
  margin-left: 5px;
}
.agreement-document-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #7c878c;
  font-size: 12px;
  margin-top: 3px;
}
.agreement-document-meta span {
  color: #8a8071;
}
.agreement-document-information strong {
  font-size: 13px;
  font-weight: 500;
}
.agreement-document-status {
  font-size: 12px;
  color: #7c878c;
  white-space: nowrap;
}
.agreement-document-status.is-signed {
  color: #3e7254;
}
.agreement-document-status.is-pending {
  color: #3b687e;
}
.agreement-document-status.needs-attention {
  color: #8c6324;
}
.agreement-document--historical {
  background: #f5f4f2 !important;
}
.agreement-extra-actions {
  color: #758087;
  font-size: 12px;
  border-top: 1px solid #edf0f1;
  padding-top: 10px;
}
.agreement-extra-actions summary {
  cursor: pointer;
}
.agreement-extra-actions[open] summary {
  margin-bottom: 10px;
}
@media (max-width:600px) {
  .agreement-employee-list .agreement-filters {
    grid-template-columns: 1fr;
  }
  .agreement-employee-list table,
  .agreement-employee-list tbody {
    display: block;
    min-width: 0;
  }
  .agreement-employee-list thead {
    display: none;
  }
  .agreement-employee-list .agreement-table-scroll tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
    height: auto;
    padding: 12px;
  }
  .agreement-employee-list .agreement-table-scroll :is(th, td) {
    padding: 0 !important;
    border: 0;
    min-width: 0;
    background: transparent;
  }
  .agreement-employee-list tbody th {
    grid-column: 1;
    grid-row: 1;
  }
  .agreement-employee-list tbody td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .agreement-employee-list tbody td:last-child {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }
  .agreement-employee-list .agreement-table-scroll tbody tr + tr {
    border-top: 1px solid #e5eaec;
  }
  .agreement-document-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .agreement-document-tools .agreement-row-actions {
    justify-content: space-between;
    align-items: end;
  }
  .agreement-document-tools label {
    min-width: 0;
    flex: 1;
  }
  .agreement-document-list li {
    gap: 8px;
  }
  .agreement-document-status {
    margin-right: auto;
  }
  .agreement-employee-panel {
    gap: 14px;
  }
}
.agreement-documents {
  gap: 10px;
}
.agreement-document-tools {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.agreement-document-tools label {
  flex-direction: row;
  align-items: center;
  min-width: 0;
  gap: 8px;
  white-space: nowrap;
}
.agreement-document-tools select {
  width: 200px;
}
.agreement-count {
  font-size: 12px;
  color: #7b878d;
  font-weight: 400;
  margin-left: 5px;
}
.agreement-history-badge {
  background: #eeeae3;
  color: #756a59;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
}
.agreement-history-reason {
  font-size: 12px;
  color: #82766a;
  margin-top: 3px;
}
@media (max-width:600px) {
  .agreement-document-tools {
    flex-direction: row;
    align-items: center;
  }
  .agreement-document-tools label {
    flex: 1;
    white-space: normal;
    flex-wrap: wrap;
  }
  .agreement-document-tools select {
    width: 100%;
    min-width: 150px;
  }
  .agreement-documents > .agreement-section-heading {
    gap: 8px;
  }
}
.agreement-checklist {
  min-width: 0;
}
.agreement-checklist .agreement-filters {
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr);
  max-width: 700px;
}
.agreement-checklist table {
  table-layout: fixed;
  width: 100%;
}
.agreement-checklist .agreement-table-scroll {
  max-height: none;
}
.agreements-workspace .agreement-checklist thead th {
  white-space: normal !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  text-align: center;
  vertical-align: middle;
}
.agreement-checklist thead th:first-child,
.agreement-checklist tbody th {
  width: 180px;
  text-align: left !important;
}
.agreement-checklist .agreement-table-scroll :is(th, td) {
  padding: 5px 8px !important;
}
.agreement-checklist .agreement-table-scroll td {
  text-align: center;
  vertical-align: middle;
}
.agreement-checklist tbody tr {
  height: 42px !important;
}
.agreement-checklist tbody th {
  font-size: 12px !important;
}
.agreement-checklist-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  width: 36px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 650;
  color: #78848c;
  cursor: pointer;
}
.agreement-checklist-cell:hover {
  background: #e9eff2;
}
.agreement-checklist-cell.is-yes {
  color: #3c7252;
}
.agreement-checklist-cell.is-no {
  color: #a2574c;
}
.agreement-checklist-cell.is-unknown {
  font-size: 16px;
  font-weight: 500;
}
.agreement-checklist-cell sup {
  font-size: 10px;
  position: absolute;
  right: 0;
  top: 0;
  line-height: 1;
}
.agreement-checklist-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #78848c;
  margin: 12px 0 !important;
}
.agreement-checklist .agreement-employee-link {
  text-decoration: none;
  font-weight: 550;
}
.agreement-checklist .agreement-employee-link:hover {
  text-decoration: underline;
}
.agreement-requirement-editor {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8eb;
}
.agreement-requirement-editor label {
  min-width: 180px;
}
.agreement-requirement-editor [role=alert] {
  flex-basis: 100%;
}
.agreement-requirement-editor [role=status] {
  font-size: 12px;
  color: #4c7259;
}
.agreement-preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.agreement-preview-meta p {
  margin: 0 !important;
  font-size: 12px;
  color: #73818a;
}
.agreement-preview-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
}
.agreement-preview-tabs button {
  flex: 0 0 180px;
  background: #f6f8f9;
  border: 1px solid #dbe3e8;
  border-radius: 6px;
  text-align: left;
  padding: 8px;
  font: inherit;
  cursor: pointer;
}
.agreement-preview-tabs button[aria-pressed=true] {
  border-color: #608394;
  background: #edf3f6;
}
.agreement-preview-tabs strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.agreement-preview-tabs small {
  display: block;
  font-size: 11px;
  color: #758189;
  margin-top: 3px;
}
.agreement-preview-file-name {
  font-size: 12px;
  color: #586d77;
  margin: 10px 0 !important;
  overflow-wrap: anywhere;
}
.agreement-page-image {
  min-height: 260px;
  max-height: 52dvh;
  overflow: auto;
  background: #e9eef1;
  border: 1px solid #d9e2e7;
  border-radius: 5px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.agreement-page-image > img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 1px 5px #263b4a24;
}
.agreement-page-image > [role=status] {
  align-self: center;
}
.agreement-text-preview {
  width: 100%;
  padding: 12px;
  background: #fff;
}
.agreement-text-preview strong {
  font-size: 12px;
  color: #6d7d86;
}
.agreement-text-preview pre {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.agreement-page-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.agreement-page-controls > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.agreement-page-controls span {
  font-size: 12px;
  color: #687b85;
}
@media (max-width:600px) {
  .agreement-checklist .agreement-filters {
    grid-template-columns: 1fr;
  }
  .agreement-checklist-legend {
    gap: 8px 14px;
  }
  .agreement-checklist-cell {
    height: 40px;
    min-height: 40px;
  }
  .agreement-requirement-editor label {
    min-width: 0;
    flex: 1;
  }
  .agreement-page-image {
    max-height: 48dvh;
    min-height: 220px;
  }
  .agreement-page-controls {
    align-items: stretch;
  }
  .agreement-page-controls > div {
    justify-content: space-between;
    width: 100%;
  }
}
.agreement-requirement-editor:not(.is-editing) {
  padding-bottom: 0;
  border-bottom: 0;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #647984;
}
.agreement-requirement-editor:not(.is-editing) [role=status] {
  margin-left: auto;
}
