@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", Meiryo, sans-serif;
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  min-height: 100vh;
  padding: 20px;
  font-size: clamp(14px, 0.5rem + 1.2vw, 15px);
}

@media (max-width: 768px) {
  body {
    padding: 8px;
  }
}
@media print {
  body {
    background: white;
    font-size: 12pt;
  }
  h1 {
    font-size: 18pt;
  }
  h2 {
    font-size: 16pt;
  }
  h3 {
    font-size: 14pt;
  }
}
:root {
  --color-primary: #6565a4;
  --color-primary-dark: #65426c;
  --color-text-primary: #333;
  --color-text-secondary: #666;
  --color-text-muted: #6c757d;
  --color-text-lighter: #999;
  --color-success: #28a745;
  --color-success-bg: #d4edda;
  --color-success-text: #155724;
  --color-success-border: #c3e6cb;
  --color-warning: #ffc107;
  --color-warning-bg: #fff3cd;
  --color-warning-text: #856404;
  --color-danger: #dc3545;
  --color-danger-bg: #f8d7da;
  --color-danger-text: #721c24;
  --color-danger-border: #f5c2c7;
  --color-info: #0c5460;
  --color-info-bg: #e7f3ff;
  --color-info-bg-alt: #d1ecf1;
  --color-info-border: #b3d9ff;
  --color-blue: #2563eb;
  --color-blue-dark: #1e40af;
  --color-orange: #f57c00;
  --color-danger-dark: #b71c1c;
  --color-purple: #9b59b6;
  --color-border: #ddd;
  --color-border-base: #dee2e6;
  --color-border-light: #e0e0e0;
  --color-border-lighter: #eee;
  --color-bg-muted: #f8f9fa;
  --color-bg-white: #fff;
  --color-black: #000;
  --color-white: #fff;
  --font-family-base: -apple-system, BlinkMacSystemFont, Segoe UI, Hiragino Sans, Hiragino Kaku Gothic ProN, Yu Gothic UI, Noto Sans JP, Meiryo, sans-serif;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.22);
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --z-base: 1;
  --z-raised: 5;
  --z-dropdown: 200;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-popover: 1050;
  --z-toast: 1100;
  --transition-fast: 0.15s;
  --transition-base: 0.2s;
  --transition-slow: 0.3s;
  --ease-base: ease;
  --focus-ring-width: 3px;
  --focus-ring-color: rgba(101, 101, 164, 0.4);
}

.badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  line-height: 1.2;
}

.badge--info {
  background: #d1ecf1;
  color: #0c5460;
}

.badge--success {
  background: #d4edda;
  color: #155724;
}

.badge--warning {
  background: #fff3cd;
  color: #856404;
}

.badge--danger {
  background: #f8d7da;
  color: #721c24;
}

.badge--system {
  margin-left: 4px;
  background: none;
  color: inherit;
  border-radius: 0;
  padding: 0;
  font-size: 1em;
  vertical-align: middle;
}

.badge--neutral {
  background: #dee2e6;
  color: #333;
}

.badge--solid.badge--neutral {
  background: #6c757d;
  color: #fff;
}

.badge--solid.badge--info {
  background: #2563eb;
  color: #fff;
}

.badge--solid.badge--success {
  background: #28a745;
  color: #fff;
}

.badge--solid.badge--danger {
  background: #dc3545;
  color: #fff;
}

.badge--solid.badge--warning {
  background: #ffc107;
  color: #856404;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  margin: 4px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.22);
  border-bottom-color: transparent;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}

.btn--small {
  padding: 8px 12px;
  font-size: 0.875rem;
}

.btn--success {
  background: linear-gradient(135deg, #157347 0%, #155724 100%);
}
.btn--success:hover {
  background: linear-gradient(135deg, #155724 0%, #155724 100%);
}

.btn-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-group__icons {
  display: flex;
  gap: 0.125rem;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.icon-btn:hover {
  background-color: rgba(101, 101, 164, 0.1);
  text-decoration: none;
}
.icon-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}
.icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.icon-btn.is-empty {
  opacity: 0.35;
}
.icon-btn.is-empty:hover {
  opacity: 0.6;
}

.icon-btn--delete:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

.search-icon-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
  font-size: 1em;
}

.name-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.name-link:visited {
  color: #2563eb;
}
.name-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

.admin-access-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #f8f9fa;
  color: #6c757d;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.admin-access-toggle:hover {
  border-color: #6565a4;
  color: #6565a4;
  background: #e7f3ff;
}
.admin-access-toggle.is-on {
  background: #eee;
  border-color: #28a745;
  color: #28a745;
}
.admin-access-toggle.is-on:hover {
  background: #eee;
  border-color: #b71c1c;
  color: #b71c1c;
}

.btn--secondary {
  background: #fff;
  color: #6565a4;
  border: 1px solid #828a99;
  box-shadow: none;
}
.btn--secondary:hover {
  background: #f8f9fa;
  color: #65426c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn--danger {
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}
.btn--danger:hover {
  background: linear-gradient(135deg, #b02a37 0%, #b71c1c 100%);
}

.logout-btn {
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.logout-btn:hover {
  background: linear-gradient(135deg, #b02a37 0%, #b71c1c 100%);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
.logout-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.22);
}
.logout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.new-action-btn {
  margin-bottom: 16px;
}

.reply-submit-btn {
  margin-top: 12px;
}

.icon-add-row {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.btn-group--mt {
  margin-top: 16px;
}

.status-control-buttons {
  display: flex;
  gap: 8px;
}

.status-control-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.status-control-btn:hover:not(:disabled) {
  background-color: #f8f9fa;
}
.status-control-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.status-control-btn.active {
  border-color: transparent;
  color: white;
}

.form-expand-row > td {
  padding: 0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.inline-form {
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-required::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #828a99;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  min-height: 44px;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: #6565a4;
}
.form-input:focus-visible {
  outline: none;
  border-color: #6565a4;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}

.form-input--readonly {
  background-color: #f8f9fa;
  cursor: not-allowed;
}

.form-text {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0;
  margin-bottom: 16px;
}

.form-row--full {
  grid-template-columns: 1fr;
}

.form-group-inline {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.form-group-inline label {
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.form-check-label {
  font-weight: 500;
  margin-bottom: 0;
}

.inline-edit-row {
  display: flex;
  gap: 4px;
  align-items: center;
  min-height: 48px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.textarea {
  resize: vertical;
  min-height: 80px;
}

.form-closable {
  position: relative;
}

.form-section {
  margin-bottom: 24px;
}
.form-section > :last-child {
  margin-bottom: 0;
}

.repeatable-block {
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 12px;
}
.repeatable-block > :last-child {
  margin-bottom: 0;
}

.form-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #dc3545;
  line-height: 1;
  padding: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.form-close-btn:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #b71c1c;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 12px;
}

.filter-label {
  font-size: 0.875rem;
  color: #666;
  white-space: nowrap;
}

.filter-select {
  max-width: 160px;
  height: 32px;
  padding: 0 8px;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.edit-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
}

.edit-label-required::after {
  content: " *";
  color: #dc3545;
}

.edit-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #828a99;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: auto;
  min-height: 40px;
  box-sizing: border-box;
}
.edit-select:focus {
  outline: none;
  border-color: #6565a4;
}
.edit-select:focus-visible {
  outline: none;
  border-color: #6565a4;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}

.edit-static {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #666;
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 6px;
  min-height: 40px;
}

.day-type-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}

.form-input--inline {
  width: auto;
  min-width: 120px;
}

.feature-group-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-group-label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  padding-bottom: 4px;
  border-bottom: 1px solid #e0e0e0;
}

.feature-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.feature-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.feature-checkbox-label--readonly {
  cursor: not-allowed;
  color: #666;
}

.password-field {
  position: relative;
}

.password-field__input {
  padding-right: 48px;
}

.password-field__toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  color: #666;
  cursor: pointer;
}
.password-field__toggle:hover {
  color: #333;
}
.password-field__toggle:focus-visible {
  outline: 2px solid #6565a4;
  outline-offset: -2px;
  border-radius: 6px;
}

.password-checks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  color: #666;
}

.password-checks__item {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.7;
}
.password-checks__item.is-ok {
  color: #28a745;
}

.password-checks__mark {
  display: inline-flex;
  width: 1em;
  justify-content: center;
  font-weight: bold;
}

.create-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.create-form-grid .form-group {
  flex: 1 1 10rem;
  margin-bottom: 0;
}
.create-form-grid .create-form-grid__field--wide {
  flex: 2 1 14rem;
}
.create-form-grid .create-form-grid__action {
  flex: 0 0 auto;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}
.card p {
  margin-top: 4px;
  margin-bottom: 4px;
}
.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
}

.card-body {
  padding: 20px;
  background-color: #f8f9fa;
}

.card-body--large {
  padding: 40px;
}

.detail-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}
.detail-card p {
  margin-top: 4px;
  margin-bottom: 4px;
}
.detail-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.collapsible-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}

.collapsible-card__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-size: 1.25rem;
  font-weight: bold;
}
.collapsible-card__summary::-webkit-details-marker {
  display: none;
}
.collapsible-card__summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
  border-radius: 4px;
}

.collapsible-card__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.collapsible-card__chevron {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.collapsible-card[open] .collapsible-card__chevron {
  transform: rotate(180deg);
}

.collapsible-card__body {
  margin-top: 20px;
}

.new-form-wrapper {
  margin-bottom: 12px;
}
.new-form-wrapper--large {
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #6565a4;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.card-header .card-header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 768px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .card-header__actions {
    flex-wrap: wrap;
  }
}
.detail-info-section {
  margin-bottom: 32px;
  padding: 12px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}
.detail-info-section:not(.calc-basis-card):last-child {
  border-bottom: none;
}

.detail-info-title {
  font-size: 16px;
  font-weight: bold;
  color: #6565a4;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #6565a4;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.detail-info-grid--center {
  align-items: center;
}

.detail-info-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
}
.detail-info-item:has(.input-unit-row-stretch) {
  grid-template-columns: minmax(auto, 180px) minmax(100px, 1fr);
}

.detail-info-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.detail-info-value {
  font-size: 15px;
  color: #333;
}

.calc-basis-card {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
}

.detail-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 2px solid #dee2e6;
}
.detail-total-row .detail-total-row__label {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.detail-total-row .detail-total-row__value {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.detail-total-row--deduction .detail-total-row__value {
  color: #dc3545;
}

.detail-total-row--standalone {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.detail-total-row--net {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.detail-total-row--net .detail-total-row__label {
  font-size: 18px;
}
.detail-total-row--net .detail-total-row__value {
  font-size: 1.5rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 20px 0;
}

.scroll-mt {
  margin-top: 0.5rem;
  overflow-x: auto;
}

.td-bold {
  font-weight: bold;
  vertical-align: middle;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: white;
  font-variant-numeric: tabular-nums;
}
.data-table thead {
  background: #f8f9fa;
}
.data-table thead th {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}
.data-table tbody tr:hover {
  background: #f8f9fa;
  transition: background 0.2s;
}
.data-table tbody th,
.data-table tbody td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.data-table tbody th {
  font-weight: normal;
}

.data-table thead th.text-right,
.data-table tbody th.text-right,
.data-table tbody td.text-right {
  text-align: right;
}
.data-table thead th.text-center,
.data-table tbody th.text-center,
.data-table tbody td.text-center {
  text-align: center;
}

.table--mt {
  margin-top: 1rem;
}

.table-responsive {
  overflow-x: auto;
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert--danger {
  padding: 16px;
  background: #f8d7da;
  color: #721c24;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid #dc3545;
  border: 1px solid #f5c2c7;
}
.alert--danger ul {
  margin: 0.5rem 0 0;
  padding-left: 1.4rem;
}

.alert--success {
  padding: 16px;
  background: #d4edda;
  color: #155724;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid #28a745;
  border: 1px solid #c3e6cb;
}

.alert--warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffc107;
  border-radius: 0.25rem;
}

.alert--info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #d1ecf1;
}

.flash {
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  list-style: none;
  position: relative;
}

.flash__close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  padding: 4px 8px;
}

.flash__close:hover {
  opacity: 1;
}

[id$=-flash-root] {
  position: fixed;
  top: 0;
  left: 20px;
  right: 20px;
  z-index: 900;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

[id$=-flash-root]:empty {
  display: none;
}

[id$=-flash-root] .flash {
  margin-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
}

.flash--error {
  padding-right: 48px;
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
  border: 1px solid #f5c2c7;
}

.flash--success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
  border: 1px solid #c3e6cb;
}

.flash--info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #2563eb;
  border: 1px solid #d1ecf1;
}

.flash__count {
  font-weight: bold;
  margin-bottom: 8px;
}

.flash__message {
  margin: 0;
}

.flash__list {
  margin: 0;
  padding-left: 1.2rem;
}
.flash__list li {
  margin-bottom: 4px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
}

.info-banner {
  padding: 12px 16px;
  background: #e7f3ff;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.info-sub {
  margin-left: 12px;
  color: #666;
}

.note-box {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 0.9rem;
}

.help-text strong {
  color: #dc3545;
  font-weight: 600;
}

.warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #fff3cd;
}

.warning-icon {
  font-size: 24px;
}

.warning-hint {
  color: #856404;
  font-size: 15px;
  margin-left: auto;
}

.alert-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
}

@keyframes reactModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes reactModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: reactModalFadeIn 0.2s ease-out;
}

.modal-dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: reactModalSlideIn 0.3s ease-out;
}

.modal-dialog--xs {
  max-width: 400px;
  width: 95%;
}

.modal-dialog--sm {
  max-width: 480px;
  width: 95%;
}

.modal-dialog--lg {
  max-width: 720px;
  width: 95%;
}

.modal-dialog--xl {
  max-width: 960px;
  width: 95%;
}

.modal-dialog--full {
  width: 100%;
  max-width: none;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #dee2e6;
  flex-shrink: 0;
}
.modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: bold;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #6c757d;
  line-height: 1;
  padding: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover {
  background: #eee;
  color: #333;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid #dee2e6;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.block-editor {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.block-editor__toolbar-wrap {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
  gap: 4px;
}

.block-editor__toolbar {
  display: flex;
  gap: 4px;
  flex: 1;
}

.block-editor__body {
  padding: 12px 8px;
  min-height: 320px;
}

.block-type-selector {
  position: relative;
  flex-shrink: 0;
}

.block-type-selector__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  padding: 4px 0;
  z-index: 200;
  min-width: 110px;
}

.add-block-btn {
  height: 20px;
  display: flex;
  align-items: center;
  margin-left: 68px;
  cursor: pointer;
}

.add-block-btn__inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.add-block-btn__line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  transition: all 0.15s;
}

.add-block-btn__label {
  font-size: 12px;
  color: #6c757d;
  line-height: 1;
  user-select: none;
  font-weight: 400;
  transition: all 0.15s;
}

.add-block-btn:hover .add-block-btn__line {
  height: 2px;
  background: #6565a4;
}
.add-block-btn:hover .add-block-btn__label {
  font-size: 16px;
  color: #6565a4;
  font-weight: 700;
}

.block-editor__block {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 4px;
  border-radius: 4px;
  background: transparent;
}
.block-editor__block:hover {
  background: #f8f9fa;
}

.block-editor__delete {
  opacity: 0.35;
  background: none;
  border: none;
  cursor: pointer;
  color: #6c757d;
  font-size: 12px;
  padding: 4px;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.block-editor__delete:hover {
  opacity: 0.8;
}
.block-editor__delete:disabled {
  opacity: 0.15;
  cursor: default;
}

.block-editor__toolbar-btn {
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  background: none;
  font-size: 12px;
  color: #333;
}
.block-editor__toolbar-btn:hover {
  background: #f8f9fa;
  border-color: #ddd;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-tab {
  min-width: 80px;
  padding: 8px 16px;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-tab:hover {
  border-color: #6565a4;
  color: #6565a4;
}
.filter-tab.active {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .filter-tabs {
    gap: 4px;
  }
  .filter-tab {
    padding: 4px 12px;
    font-size: 0.8rem;
  }
}
.cutoff-tabs-container {
  margin: 32px 0 0 0;
}

.cutoff-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 3px solid #e0e0e0;
  padding-bottom: 0;
  flex-wrap: wrap;
}

.cutoff-tab {
  display: flex;
  align-items: center;
  min-width: 160px;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: white;
  border: 2px solid #e0e0e0;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  position: relative;
  bottom: -3px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  margin-right: -4px;
}

.cutoff-tab:first-child {
  border-top-left-radius: 12px;
}

.cutoff-tab:last-child {
  border-top-right-radius: 12px;
  margin-right: 0;
}

.cutoff-tab:hover {
  background: #f8f9fa;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  z-index: 1;
}

.cutoff-tab.active {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  border-color: #6565a4;
  border-bottom: 3px solid white;
  color: white;
  font-weight: 600;
  box-shadow: 0 -4px 16px rgba(101, 101, 164, 0.3);
  z-index: 2;
}

.cutoff-tab.active:last-child {
  margin-right: 0;
}

.cutoff-tab.active:hover {
  transform: translateY(-2px);
}

.tab-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.cutoff-tabs-container + .filter-tabs {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .cutoff-tabs {
    gap: 8px;
  }
  .cutoff-tab {
    min-width: 120px;
    padding: 12px 16px;
    gap: 8px;
  }
}
.progress-bar-track {
  background: #eee;
  border-radius: 4px;
  height: 24px;
  position: relative;
  margin: 8px 0;
}

.progress-bar-fill {
  background: linear-gradient(90deg, #6565a4, #65426c);
  border-radius: 4px;
  height: 100%;
  transition: width 0.3s ease;
}

.progress-bar-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #333;
}

.data-area {
  position: relative;
}

.data-area--loading {
  pointer-events: none;
}

.data-area__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.6);
  z-index: 5;
  font-size: 0.9rem;
  color: #6c757d;
}
.data-area__overlay p {
  margin: 0;
}

.data-area__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6c757d;
  font-size: 0.9rem;
}
.data-area__loading--page {
  min-height: min(60vh, 560px);
}
.data-area__loading p {
  margin: 0;
}

.data-area__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(108, 117, 125, 0.25);
  border-top-color: #6c757d;
  border-radius: 50%;
  animation: data-area-spin 0.7s linear infinite;
}

@keyframes data-area-spin {
  to {
    transform: rotate(360deg);
  }
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}
.empty-state__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.empty-state__hint {
  font-size: 0.9em;
  color: #666;
}

.setup-hint {
  color: #6c757d;
  font-size: 0.9rem;
  padding: 24px 0;
  text-align: center;
}

.help-button-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.help-button {
  line-height: 1;
  padding: 4px;
  margin-left: 4px;
  color: #6c757d;
}
.help-button:hover {
  color: #6565a4;
}

.help-popover {
  position: fixed;
  z-index: 1050;
  width: min(33rem, 90vw);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  text-align: left;
  font-weight: normal;
  font-size: 15px;
  color: #333;
  white-space: normal;
  cursor: auto;
}

.help-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 8px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  background: #fff;
}

.help-popover__heading {
  font-weight: 600;
}

.help-popover__body {
  padding: 12px;
}

.help-popover__section + .help-popover__section {
  border-top: 1px solid #ddd;
}

.help-popover-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.help-popover__item-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.help-popover__item-toggle:hover {
  color: #6565a4;
}

.help-popover__item-mark {
  color: #6c757d;
  font-weight: normal;
}

.help-popover__scope {
  margin: 0 0 8px;
  color: #6c757d;
  font-size: 12px;
}

.help-popover__scope-inline {
  color: #6c757d;
  font-weight: normal;
  font-size: 12px;
}

.help-popover__text {
  margin: 0 0 8px;
  color: #666;
}
.help-popover__text:last-child {
  margin-bottom: 0;
}

.help-popover__error {
  margin: 0 0 8px;
  color: #721c24;
}

.legal-doc + .legal-doc {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.legal-content {
  line-height: 1.8;
}
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}
.legal-content h1:first-child,
.legal-content h2:first-child,
.legal-content h3:first-child,
.legal-content h4:first-child {
  margin-top: 0;
}
.legal-content p {
  margin: 0 0 0.75rem;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
}
.legal-content ul li,
.legal-content ol li {
  margin-bottom: 0.35rem;
}
.legal-content ul ul,
.legal-content ul ol,
.legal-content ol ul,
.legal-content ol ol {
  margin-top: 0.35rem;
  margin-bottom: 0;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 0.75rem;
}
.legal-content table th,
.legal-content table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  text-align: left;
}

.help-guide {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.help-guide__toc {
  flex: 0 0 auto;
  width: 16rem;
  position: sticky;
  top: 0;
  padding-right: 16px;
  border-right: 1px solid #ddd;
}

.help-guide__toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-guide__toc-link {
  display: block;
  width: 100%;
  padding: 8px 0;
  border: none;
  background: none;
  text-align: left;
  font-size: 15px;
  color: #666;
  cursor: pointer;
}
.help-guide__toc-link:hover {
  color: #6565a4;
  text-decoration: underline;
}
.help-guide__toc-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}

.help-guide__body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 52rem;
}

.help-guide__lead {
  margin: 0 0 12px;
  font-size: 16px;
  color: #333;
}

.help-guide__section {
  padding-top: 24px;
}

.help-guide__section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.help-guide__text {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333;
}

.help-guide__figure {
  margin: 0 0 16px;
}

.help-guide__image {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.period-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
}
.period-header .period-header-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}
.period-header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.period-header__range {
  color: #6565a4;
  font-weight: 600;
}

.month-navigation {
  margin: 20px 0;
}

.month-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.current-month {
  min-width: 120px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #6565a4;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
}

.breadcrumb-nav {
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 15px;
  color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 8px;
  color: #6c757d;
}

.breadcrumb-item a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-item a:hover {
  color: #1e40af;
  text-decoration: underline;
}

.breadcrumb-item.active span {
  color: #333;
  font-weight: 500;
}

.page-header {
  margin-bottom: 32px;
}
.page-header .page-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid #e0e0e0;
}
.page-header .page-header-content .page-header-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.page-header .page-header-content h1 {
  margin: 0;
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-header .page-header-content h1 .page-header-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.detail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.detail-row > .detail-label {
  flex: 0 1 180px;
}
.detail-row > .detail-value {
  flex: 1 1 200px;
}
.detail-row:last-of-type {
  border-bottom: none;
}

.detail-row--right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.detail-pair-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(396px, (100% - 1 * 16px) / 2)), 1fr));
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.detail-pair-row:last-of-type {
  border-bottom: none;
}

.detail-pair-row > .detail-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
}
.detail-pair-row > .detail-pair > .detail-label {
  flex: 0 1 180px;
}
.detail-pair-row > .detail-pair > .detail-value {
  flex: 1 1 200px;
}

.detail-label {
  font-weight: bold;
  color: #666;
}

.detail-value {
  color: #333;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 16px;
  }
  .page-header .page-header-content h1 {
    font-size: 24px;
  }
}
.navbar {
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: visible;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  gap: 20px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.navbar-brand:hover {
  background-color: #f8f9fa;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-account {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  text-align: right;
  overflow: hidden;
}

.navbar-account-org {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-account-user {
  font-size: 12px;
  color: #6c757d;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-direct-btn {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.navbar-direct-btn:hover {
  opacity: 0.85;
  color: white;
}
.navbar-direct-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.navbar-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.navbar-inquiry-btn:hover {
  background-color: #eee;
}

.navbar-launcher {
  position: relative;
}

.navbar-launcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.navbar-launcher-btn:hover {
  background-color: #eee;
}

.navbar-launcher-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 8px;
  z-index: 1000;
}

.navbar-launcher-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}
.navbar-launcher-item:hover {
  background-color: #f8f9fa;
}

.navbar-launcher-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.navbar-launcher-label {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .navbar-brand {
    display: block;
    font-size: 16px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .navbar-launcher-panel {
    grid-template-columns: repeat(3, minmax(0, 80px));
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 12px;
  }
  .navbar-launcher-icon {
    width: 20px;
    height: 20px;
  }
}
body:has(.login-page) {
  padding: 0;
}

.login-page {
  min-height: 100dvh;
  padding: 24px;
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-page > .data-area__loading {
  color: rgba(255, 255, 255, 0.92);
}
.login-page > .data-area__loading .data-area__spinner {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.92);
}

.login-container {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.login-container.login-container--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.login-container .login-brand {
  padding: 24px 64px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.login-container .login-brand .login-brand-name {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #333;
}
.login-container .login-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.login-container .login-alert__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.login-container .login-error {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c2c7;
}
.login-container .login-error .login-alert__icon {
  background: #dc3545;
}
.login-container .login-notice {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}
.login-container .login-notice .login-alert__icon {
  background: #28a745;
}
.login-container .login-stack {
  display: grid;
}
.login-container .login-view {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
}
.login-container .login-view--inactive {
  visibility: hidden;
}
.login-container .login-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 64px 0;
}
.login-container .login-panel--single {
  padding-bottom: 40px;
}
.login-container .login-fields {
  flex: 1;
}
.login-container .login-lead {
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.login-container .form-group {
  margin-bottom: 24px;
}
.login-container .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}
.login-container .form-group input[type=text],
.login-container .form-group input[type=password],
.login-container .form-group input[type=email] {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
.login-container .form-group input[type=text]:focus,
.login-container .form-group input[type=password]:focus,
.login-container .form-group input[type=email]:focus {
  outline: none;
  border-color: #6565a4;
}
.login-container .form-group input[type=text]:focus-visible,
.login-container .form-group input[type=password]:focus-visible,
.login-container .form-group input[type=email]:focus-visible {
  outline: none;
  border-color: #6565a4;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}
.login-container .btn-group {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.login-container .btn-group .login-btn {
  padding: 12px 64px;
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-container .btn-group .login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(101, 66, 108, 0.35);
}
.login-container .btn-group .login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.login-container .login-switch {
  padding: 16px 64px 40px;
  text-align: center;
}
.login-container .link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #6565a4;
  cursor: pointer;
  text-decoration: underline;
}
.login-container .link-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .login-page {
    padding: 16px;
  }
  .login-container {
    max-width: 100%;
  }
  .login-container .login-brand {
    padding: 20px 24px 16px;
  }
  .login-container .login-brand .login-brand-name {
    font-size: 24px;
  }
  .login-container .login-panel {
    padding: 24px 24px 0;
  }
  .login-container .login-panel--single {
    padding-bottom: 32px;
  }
  .login-container .login-switch {
    padding: 16px 24px 32px;
  }
  .login-container .form-group {
    margin-bottom: 20px;
  }
  .login-container .btn-group {
    margin-top: 32px;
  }
  .login-container .btn-group .login-btn {
    padding: 12px 40px;
  }
}
.focused-page {
  min-height: 100vh;
  background: #f6f7f9;
}

.focused-header {
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
}

.focused-brand {
  font-weight: 600;
  color: #666;
}

.focused-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: #6c757d;
}

.pre-wrap {
  white-space: pre-wrap;
}

.m-0 {
  margin: 0;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-15 {
  margin-top: 16px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-10 {
  margin-bottom: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-15 {
  margin-bottom: 16px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mr-8 {
  margin-right: 8px;
}

.mr-4 {
  margin-right: 4px;
}

.ml-4 {
  margin-left: 4px;
}

.ml-8 {
  margin-left: 8px;
}

.ml-10 {
  margin-left: 8px;
}

.ml-16 {
  margin-left: 16px;
}

.pl-20 {
  padding-left: 20px;
}

.pb-20 {
  padding-bottom: 20px;
}

.u-w-80 {
  width: 80px;
}

.u-w-100 {
  width: 100px;
}

.u-w-110 {
  width: 110px;
}

.u-w-150 {
  width: 150px;
}

.u-w-200 {
  width: 200px;
}

.fs-sm {
  font-size: 12px;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.u-flex-end {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.u-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.u-flex-between > div {
  display: flex;
  gap: 4px;
  align-items: center;
}

@media (max-width: 768px) {
  .u-flex-between {
    flex-direction: column;
    align-items: stretch;
  }
}
.u-overflow-auto {
  overflow-x: auto;
}

.u-ml-auto {
  margin-left: auto;
}

.divider {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.divider--large {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

.disabled {
  opacity: 0.7;
}

.clickable {
  cursor: pointer;
}

.icon-mr {
  margin-right: 4px;
}

.icon-inline {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  flex: none;
}

.icon-heading {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-sm {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-md {
  width: 24px;
  height: 24px;
  flex: none;
}

.icon-lg {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  flex: none;
}

.icon-inline [stroke] {
  stroke: currentColor;
}
.icon-inline [fill]:not([fill=none]) {
  fill: currentColor;
  fill-opacity: 0.16;
}
.icon-inline [data-ink=mid] {
  fill-opacity: 0.45;
}
.icon-inline [data-ink=solid] {
  fill-opacity: 1;
}

.icon-tone-success [stroke],
.icon-tone-warning [stroke],
.icon-tone-danger [stroke],
.icon-tone-info [stroke],
.icon-tone-neutral [stroke],
.icon-tone-brand [stroke] {
  stroke: currentColor;
}
.icon-tone-success [fill]:not([fill=none]),
.icon-tone-warning [fill]:not([fill=none]),
.icon-tone-danger [fill]:not([fill=none]),
.icon-tone-info [fill]:not([fill=none]),
.icon-tone-neutral [fill]:not([fill=none]),
.icon-tone-brand [fill]:not([fill=none]) {
  fill: currentColor;
  fill-opacity: 0.16;
}
.icon-tone-success [data-ink=mid],
.icon-tone-warning [data-ink=mid],
.icon-tone-danger [data-ink=mid],
.icon-tone-info [data-ink=mid],
.icon-tone-neutral [data-ink=mid],
.icon-tone-brand [data-ink=mid] {
  fill-opacity: 0.45;
}
.icon-tone-success [data-ink=solid],
.icon-tone-warning [data-ink=solid],
.icon-tone-danger [data-ink=solid],
.icon-tone-info [data-ink=solid],
.icon-tone-neutral [data-ink=solid],
.icon-tone-brand [data-ink=solid] {
  fill-opacity: 1;
}

.icon-tone-success {
  color: #157347;
}

.icon-tone-warning {
  color: #856404;
}

.icon-tone-danger {
  color: #b02a37;
}

.icon-tone-info {
  color: #0c5460;
}

.icon-tone-neutral {
  color: #666;
}

.icon-tone-brand {
  color: #6565a4;
}

.label-block {
  display: block;
  margin-bottom: 8px;
}

.text-caption {
  font-size: 0.85rem;
  color: #6c757d;
}

.text-caption--mt {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 4px;
}

.text-danger {
  color: #dc3545;
}

.text-success {
  color: #28a745;
}

.separator {
  margin: 0 4px;
  color: #6c757d;
  font-weight: normal;
}

.tag {
  display: inline-block;
  font-size: 11px;
  padding: 4px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 500;
}
.tag.next {
  background-color: #f8d7da;
  color: #721c24;
}

.flex-wrap-row--sm {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.flex-row-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-0 {
  padding: 0;
}

.u-opacity-75 {
  opacity: 0.75;
}

.fs-085em {
  font-size: 0.85em;
}

.pe-unit-label {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  color: #666;
  white-space: nowrap;
}

.empty-state {
  text-align: center;
  padding: 20px 0;
  color: #666;
}

.label-block--lg {
  font-size: 1.05em;
}

.pe-ml-8-self-end {
  margin-left: 8px;
  align-self: flex-end;
}

.ess-card .detail-info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(251px, (100% - 2 * 16px) / 3)), 1fr));
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 0 8px;
  border-bottom: 2px solid #eee;
  margin-bottom: 16px;
}

.dashboard-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px;
}

.module-card .module-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.module-card .module-card-header .module-desc {
  font-size: 12px;
  color: #6c757d;
  margin: 4px 0 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.pe-stat-card {
  border-radius: 4px;
  padding: 12px 16px;
  text-align: center;
  border: 1px solid transparent;
}
.pe-stat-card--primary {
  background: #e7f3ff;
  border-color: #b3d9ff;
}
.pe-stat-card--primary .pe-stat-value {
  color: rgb(31.1708683473%, 31.1708683473%, 52.7507002801%);
}
.pe-stat-card--success {
  background: #d4edda;
  border-color: #c3e6cb;
}
.pe-stat-card--success .pe-stat-value {
  color: #155724;
}
.pe-stat-card--warning {
  background: #fff3cd;
}
.pe-stat-card--warning .pe-stat-value {
  color: #856404;
}
.pe-stat-card--info {
  background: #d1ecf1;
}
.pe-stat-card--info .pe-stat-value {
  color: #0c5460;
}
.pe-stat-card--secondary {
  background: #f8f9fa;
}
.pe-stat-card--secondary .pe-stat-value {
  color: #666;
}
.pe-stat-card--muted {
  background: #f8f9fa;
  border-color: #e0e0e0;
}
.pe-stat-card--muted .pe-stat-value {
  color: #333;
}

.pe-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.pe-stat-label {
  font-size: 11px;
  color: #6c757d;
  white-space: nowrap;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.progress-track {
  position: relative;
  height: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.progress-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 0.3s ease;
}
.progress-fill--primary {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
}
.progress-fill--success {
  background: linear-gradient(90deg, #28a745, rgb(11.8215402103%, 49.3549303779%, 20.3921568627%));
}
.progress-fill--warning {
  background: linear-gradient(90deg, #ffc107, rgb(82.7450980392%, 62.0588235294%, 0%));
}

.progress-label {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #333;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.batch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.batch-row:last-child {
  border-bottom: none;
}

.batch-name {
  flex: 1;
  font-size: 12px;
  color: #666;
}

.batch-progress {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.table-attendance {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15px;
}

.table-attendance th.timeline-cell {
  min-width: 500px;
}

.table-attendance th,
.table-attendance td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  background-color: #fff;
}

.table-attendance th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}

.table-attendance tr:hover {
  background-color: #eee;
}

.table-attendance th.col--date {
  width: 150px;
}

.table-attendance th.col--status {
  width: 100px;
}

.table-attendance th.col--calendar {
  width: 100px;
}

.table-attendance th:nth-child(1) {
  width: 100px;
}

.table-attendance th.col--action {
  width: 48px;
}

.table-attendance th:nth-child(2) {
  width: 100px;
}

.table-attendance th:nth-child(3) {
  width: 40px;
}

.table-attendance th:nth-child(4) {
  width: 70px;
}

.table-attendance th:nth-child(5) {
  width: 70px;
}

.table-attendance th:nth-child(6) {
  width: 80px;
}

.table-attendance th:nth-child(7) {
  width: 80px;
}

.table-attendance th:nth-child(8) {
  width: 70px;
}

.table-attendance th:nth-child(9) {
  width: 100px;
}

.table-attendance th:nth-child(10) {
  width: 120px;
}

.table-attendance th:nth-child(11) {
  width: 100px;
}

.table-attendance tbody tr {
  background-color: white;
}

.table-attendance tbody tr:hover {
  background-color: #f8f9fa;
}

.table-attendance tr.row--non-working td {
  background-color: #eee !important;
  color: #6c757d;
}

.table-attendance tr.row--non-working:hover td {
  background-color: #eee !important;
}

.table-attendance tr.row--non-working td {
  background-color: #eee;
  color: #6c757d;
}

.table-attendance tr.row--statutory-holiday td {
  background-color: #f8d7da;
}

.table-attendance tr.row--non-statutory-holiday td {
  background-color: #e7f3ff;
}

.table-attendance tr.row--week-start td {
  border-top: 3px solid #666;
}

.timeline-graph {
  width: 100%;
  min-width: 400px;
}

.timeline-scroll {
  overflow-x: auto;
}

.timeline-hours-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6c757d;
  margin-bottom: 4px;
  padding: 0 4px;
  font-weight: 500;
}
.timeline-hours-top span {
  flex: 1;
  text-align: center;
}
.timeline-hours-top .hour-major {
  font-weight: 700;
  color: #333;
}
.timeline-hours-top .hour-minor {
  color: #6c757d;
}

.timeline-container {
  position: relative;
  height: 50px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 0;
}

.timeline-segment {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 1;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.timeline-segment:hover {
  transform: translateY(-2px);
  z-index: 200;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  filter: brightness(1.1);
}

.timeline-segment.class-scheduled,
.legend-color.class-scheduled {
  background: #1e40af;
}

.timeline-segment.class-core-scheduled,
.legend-color.class-core-scheduled {
  background: #1e40af;
}

.timeline-segment.class-flextime-pre-clearing,
.legend-color.class-flextime-pre-clearing {
  background: #1e40af;
}

.timeline-segment.class-pre-schedule,
.legend-color.class-pre-schedule {
  background: #2563eb;
}

.timeline-segment.class-post-schedule,
.legend-color.class-post-schedule {
  background: #2563eb;
}

.timeline-segment.class-flextime-clearing-overtime,
.legend-color.class-flextime-clearing-overtime {
  background: #2563eb;
}

.timeline-segment.class-break-shortage,
.legend-color.class-break-shortage {
  background: #2563eb;
}

.timeline-segment.class-non-statutory-holiday,
.legend-color.class-non-statutory-holiday {
  background: #0c5460;
}

.timeline-segment.class-daily-legal-overtime,
.legend-color.class-daily-legal-overtime {
  background: #f57c00;
}

.timeline-segment.class-weekly-legal-overtime,
.legend-color.class-weekly-legal-overtime {
  background: #f57c00;
}

.timeline-segment.class-monthly-legal-overtime,
.legend-color.class-monthly-legal-overtime {
  background: #f57c00;
}

.timeline-segment.class-yearly-legal-overtime,
.legend-color.class-yearly-legal-overtime {
  background: #f57c00;
}

.timeline-segment.class-holiday-work,
.legend-color.class-holiday-work {
  background: #b71c1c;
}

.timeline-segment.class-late-arrival,
.legend-color.class-late-arrival {
  background: #6c757d;
}

.timeline-segment.class-early-leave,
.legend-color.class-early-leave {
  background: #6c757d;
}

.timeline-segment.class-full-absence,
.legend-color.class-full-absence {
  background: #6c757d;
}

.timeline-segment.class-excess-break,
.legend-color.class-excess-break {
  background: #6c757d;
}

.timeline-segment.class-break,
.legend-color.class-break {
  background: #28a745;
}

.timeline-segment.class-leave,
.legend-color.class-leave {
  background: #9b59b6;
}

.timeline-segment.class-flextime-pre-clearing,
.legend-color.class-flextime-pre-clearing {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(255, 255, 255, 0.35) 4px, rgba(255, 255, 255, 0.35) 8px);
}

.timeline-segment.class-break-shortage,
.legend-color.class-break-shortage {
  background-image: repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(255, 255, 255, 0.28) 7px, rgba(255, 255, 255, 0.28) 10px);
}

.timeline-segment.class-daily-regular-tainted,
.timeline-segment.class-weekly-regular-tainted,
.timeline-segment.class-monthly-regular-tainted,
.legend-color.class-daily-regular-tainted,
.legend-color.class-weekly-regular-tainted,
.legend-color.class-monthly-regular-tainted {
  background: #1e40af;
  border: 1px solid #f57c00;
}

.timeline-segment.class-late-arrival-on-break,
.timeline-segment.class-early-leave-on-break,
.timeline-segment.class-full-absence-on-break,
.legend-color.class-late-arrival-on-break,
.legend-color.class-early-leave-on-break,
.legend-color.class-full-absence-on-break {
  background: #d4edda;
  border: 1px dashed #28a745;
}

.timeline-segment.class-leave-on-break,
.legend-color.class-leave-on-break {
  background: #f3e8f8;
  border: 1px dashed #9b59b6;
}

.timeline-segment.segment-work-midnight::after,
.timeline-segment.segment-break-midnight::after,
.timeline-segment.segment-absence-midnight::after,
.timeline-segment.segment-leave-midnight::after {
  content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23f2c94c'%20d='M13%203a9%209%200%201%200%208%2013A7%207%200%200%201%2013%203z'/%3E%3C/svg%3E");
  position: absolute;
  bottom: 2px;
  right: 4px;
  opacity: 0.85;
}

.timeline-segment::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 200;
}

.timeline-segment:hover::before {
  opacity: 1;
}

.timeline-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333;
}

.legend-color {
  width: 32px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #ddd;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .timeline-container {
    height: 40px;
  }
  .timeline-legend {
    grid-template-columns: 1fr;
  }
  .timeline-segment {
    font-size: 11px;
  }
}
.procedure-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.procedure-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  transition: border-color 0.15s, background-color 0.15s;
}
.procedure-item:hover {
  border-color: #b3d9ff;
  background-color: #f8f9fa;
}
.procedure-item.selected {
  border-color: #2563eb;
  background-color: #e7f3ff;
}

.procedure-label {
  font-weight: 500;
  color: #333;
}

.modal-selected-procedure {
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 15px;
  margin-bottom: 12px;
}

.employee-select-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px;
}

.employee-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 12px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  transition: background-color 0.15s, border-color 0.15s;
}
.employee-select-item:hover {
  background-color: #f8f9fa;
}
.employee-select-item.selected {
  background-color: #e7f3ff;
  border-color: #2563eb;
}

.employee-number {
  font-size: 12px;
  color: #6c757d;
  min-width: 72px;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", Consolas, "Roboto Mono", Menlo, monospace;
}

.employee-name {
  font-weight: 500;
  color: #333;
}

.ne-input-unit-row {
  display: flex;
  align-items: stretch;
}

.ne-unit-label {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  color: #666;
  white-space: nowrap;
}

.ne-amount-lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.ne-form-rows {
  display: flex;
  flex-direction: column;
}

.ne-form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(288px, (100% - 1 * 16px) / 2)), 1fr));
  align-items: center;
  padding: 8px 0;
}
.ne-form-row + .ne-form-row {
  border-top: 1px solid #dee2e6;
}

.ne-form-row__label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.ne-form-row__value {
  font-size: 15px;
  color: #333;
}

.ne-form-row .form-input {
  width: 100%;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ne-form-row select.form-input {
  text-align: left;
}

.js-group__meta {
  margin: 0;
  color: #666;
}

.js-group__actions {
  display: flex;
  gap: 8px;
}

.js-heading {
  margin: 0 0 4px;
}

@media (max-width: 768px) {
  .data-table {
    font-size: 0.85rem;
  }
  .data-table thead th,
  .data-table tbody td {
    padding: 8px 8px;
  }
}
.period-warning-container {
  margin: 20px 0;
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
}

.period-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.period-tab {
  flex: 1;
  min-width: 250px;
  padding: 16px;
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
  display: block;
}
.period-tab:hover {
  border-color: #6565a4;
  box-shadow: 0 4px 12px rgba(101, 101, 164, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
  color: #333;
}
.period-tab.active {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  border-color: #6565a4;
  color: white;
}

.period-tab-header {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.period-tab-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.period-tab-meta span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: #eee;
  color: #666;
}

.period-tab.active .period-tab-meta span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.current-period-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.current-period-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}
.current-period-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.period-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  margin: 12px 0 0;
}

.period-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.period-metric__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
.period-metric__value {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.period-range {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
}

.period-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: #e7f3ff;
  color: #0c5460;
}

.no-period-card {
  margin: 20px 0;
  padding: 32px;
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.no-period-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.no-period-message strong {
  display: block;
  font-size: 18px;
  color: #856404;
  margin-bottom: 8px;
}
.no-period-message p {
  margin: 0;
  color: #856404;
  font-size: 15px;
}

.attendance-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}

.table-attendance {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}
.table-attendance th {
  white-space: nowrap;
  font-size: 0.9em;
  padding: 8px 4px;
  vertical-align: middle;
  border: 1px solid #dee2e6;
}
.table-attendance td {
  font-size: 0.85em;
  padding: 8px 4px;
  vertical-align: middle;
  border: 1px solid #dee2e6;
}
.table-attendance tr.row--locked td {
  background-color: #f8f9fa;
}
.table-attendance tr.row--non-working td {
  background-color: #eee;
  color: #6c757d;
}
.table-attendance tr.row--statutory-holiday td {
  background-color: #f8d7da;
}
.table-attendance tr.row--non-statutory-holiday td {
  background-color: #e7f3ff;
}
.table-attendance .status-icon {
  display: inline-block;
  font-size: 1.2em;
  margin: 0 4px;
  cursor: help;
}

.dual-cell {
  padding: 4px 8px !important;
}

.dual-scheduled,
.dual-actual {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.dual-scheduled {
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px dashed #dee2e6;
}

.dual-label {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 700;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.dual-label--scheduled {
  background: #eee;
  color: #6c757d;
}

.dual-label--actual {
  background: #e0e0e0;
  color: #333;
}

.leave-item {
  text-align: center;
  padding: 0.25rem 0;
}
.leave-item strong {
  display: block;
  font-size: 0.85em;
}
.leave-item small {
  color: #666;
  font-size: 0.8em;
  display: block;
}

.batch-status-panel {
  background: white;
  border: 2px solid #6565a4;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(101, 101, 164, 0.15);
}

.batch-status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.batch-status-title {
  font-weight: 700;
  font-size: 1rem;
}

.batch-status-counts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 0.9rem;
}

.batch-status-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #666;
}

.batch-status-failed {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #f5c2c7;
  border-radius: 6px;
  font-size: 0.9rem;
}
.batch-status-failed ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.attendance-index-table {
  width: 100%;
  border-collapse: collapse;
}
.attendance-index-table th {
  padding: 12px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
  white-space: nowrap;
  text-align: left;
}
.attendance-index-table td {
  padding: 12px 12px;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.attendance-index-table tbody tr:hover {
  background-color: #f8f9fa;
}

.td--scheduled {
  width: 96px;
  white-space: nowrap;
  font-size: 0.85rem;
  color: #666;
}

.attendance-delete-wrap {
  display: inline-block;
  margin-left: 4px;
}

.attendance-select--hour {
  width: 120px;
}

.attendance-select--minute {
  width: 80px;
}

@media (max-width: 768px) {
  .period-tab {
    min-width: 100%;
  }
  .attendance-index-table {
    font-size: 0.85rem;
  }
  .attendance-index-table th,
  .attendance-index-table td {
    padding: 8px 8px;
  }
}
.attendance-rule-label {
  font-size: 0.82rem;
  color: #6c757d;
  margin-top: 4px;
}

.attendance-deadline-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 4px 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
}
.attendance-deadline-label strong {
  font-weight: 700;
  color: #856404;
}

.status--locked {
  color: #28a745;
}

tr.status--locked td {
  background-color: #f8f9fa;
}

.stamp-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 4px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
  user-select: none;
  border: 1px solid transparent;
}
.stamp-state--pending {
  background: #fff3cd;
  color: #856404;
  border-color: #fff3cd;
}
.stamp-state--unapplied {
  background: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
}

.commuting-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.commuting-edit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.commuting-edit label {
  display: flex;
  flex-direction: column;
}

.commuting-edit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
}

.commuting-edit-group {
  align-self: center;
  min-width: 6rem;
  font-weight: 600;
}

.commuting-edit-actions {
  display: flex;
  gap: 6px;
}

.commuting-input {
  width: 7rem;
}

.attendance-records-calendar .staff-calendar-section {
  margin-top: 0;
}
.attendance-records-calendar .table--calendar {
  box-shadow: none;
  border-radius: 0;
  font-size: 0.9em;
}
.attendance-records-calendar .table--calendar thead {
  background: transparent;
  color: inherit;
}
.attendance-records-calendar .table--calendar th {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
  padding: 8px 4px;
  font-size: 0.9em;
}
.attendance-records-calendar .table--calendar td {
  border: 1px solid #dee2e6;
  padding: 8px 4px;
  font-size: 0.85em;
}
.attendance-records-calendar .table--calendar tbody tr.day-start > td {
  border-top: 1px solid #dee2e6;
}

.calendar-edit-form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.calendar-month-table {
  border-collapse: separate;
  border-spacing: 2px;
}

.calendar-cell-td {
  width: 14%;
  height: 60px;
  padding: 4px;
  cursor: pointer;
}

.calendar-hint-text {
  margin-bottom: 0.75rem;
}

.calendar-wday-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.calendar-legend-item + .calendar-legend-item {
  margin-left: 1rem;
}

.modal-date {
  font-weight: bold;
  margin-bottom: 1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calendar-month {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.calendar-month table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.month-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
}

.calendar-cell {
  transition: opacity 0.2s;
}
.calendar-cell:hover {
  opacity: 0.8;
}

.calendar-cell-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.5rem;
  width: 100%;
}

.calendar-day {
  font-weight: bold;
  font-size: 0.875rem;
}

.calendar-label {
  font-weight: bold;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.calendar-legend-hint {
  width: 100%;
  margin: 0;
  text-align: center;
  color: #6c757d;
  font-size: 0.85em;
}

.next-year-badge {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: normal;
  margin-left: 0.5rem;
}

/* 平日（所定労働日） - 白 */
.calendar-normal {
  background-color: #fff;
}

/* 法定休日 - 薄い赤 */
.calendar-statutory {
  background-color: #f8d7da;
}

/* 所定休日 - 薄い青 */
.calendar-non-statutory {
  background-color: #e7f3ff;
}

/* 未設定 - グレー */
.calendar-unset {
  background-color: #eee;
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.chat-load-more {
  text-align: center;
  margin-bottom: 12px;
}

.chat-message {
  margin-bottom: 12px;
}
.chat-message:hover .chat-message-delete {
  visibility: visible;
}

.chat-message-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.chat-message-delete {
  margin-left: auto;
  visibility: hidden;
}

.chat-message-time {
  font-size: 12px;
  color: #6c757d;
}

.chat-message-body {
  margin: 4px 0 0;
  font-size: 15px;
  white-space: pre-wrap;
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #ddd;
}
.chat-input textarea {
  flex: 1;
  resize: none;
}
.chat-input .btn {
  align-self: flex-end;
}

.data-migrations-progress-bar {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
}
.data-migrations-progress-bar__item {
  position: relative;
  flex: 1 1 0;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.data-migrations-progress-bar__item::before, .data-migrations-progress-bar__item::after {
  content: "";
  position: absolute;
  top: 17px;
  height: 2px;
  background: #ddd;
  transition: background 0.2s;
}
.data-migrations-progress-bar__item::before {
  left: 0;
  right: 50%;
  margin-right: 22px;
}
.data-migrations-progress-bar__item::after {
  left: 50%;
  right: 0;
  margin-left: 22px;
}
.data-migrations-progress-bar__item:first-child::before, .data-migrations-progress-bar__item:last-child::after {
  content: none;
}
.data-migrations-progress-bar__item.is-done::before, .data-migrations-progress-bar__item.is-done::after {
  background: #28a745;
}
.data-migrations-progress-bar__item.is-current::before {
  background: #28a745;
}
.data-migrations-progress-bar__node {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  background: #fff;
  border: 2px solid #ddd;
  color: #6c757d;
  transition: background 0.2s, border-color 0.2s;
}
.data-migrations-progress-bar__item.is-done .data-migrations-progress-bar__node {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}
.data-migrations-progress-bar__item.is-current .data-migrations-progress-bar__node {
  border-color: #6565a4;
  color: #6565a4;
  box-shadow: 0 0 0 4px rgba(101, 101, 164, 0.15);
}
.data-migrations-progress-bar__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0 8px;
}
.data-migrations-progress-bar__step-num {
  font-size: 11px;
  color: #6c757d;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.data-migrations-progress-bar__title {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.4;
}
.data-migrations-progress-bar__item.is-current .data-migrations-progress-bar__title {
  color: #6565a4;
  font-weight: bold;
}
.data-migrations-progress-bar__item.is-done .data-migrations-progress-bar__title {
  color: #333;
}

.data-migrations-step-content__title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #6565a4;
}

.year-block {
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.year-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.year-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.status-group-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.premium-cell {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem;
}

.premium-cell-label {
  margin-bottom: 4px;
}

.premium-cell--wide {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
}

.premium-cell--wide-edit {
  padding: 1rem;
  vertical-align: top;
}

.resident-tax-month {
  display: inline-block;
  width: 8em;
  text-align: left;
}

.resident-tax-amount {
  margin-left: 1em;
}

.resident-tax-input {
  display: inline-block;
  width: 120px;
  margin-left: 1em;
}

.input--sm {
  width: 120px;
}

.premium-table {
  width: 100%;
  table-layout: fixed;
}
.premium-table td {
  vertical-align: top;
}

.premium-amounts {
  font-size: 0.95rem;
  padding-left: 1em;
}
.premium-amounts div {
  margin-bottom: 4px;
}

.premium-amount-large {
  font-size: 1.1rem;
}

.text-muted--ml {
  margin-left: 12px;
}

.salary-time-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.salary-time-input--hours {
  width: 150px;
}

.salary-time-input--minutes {
  width: 100px;
}

.salary-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.salary-allowance-label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .year-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .premium-cell,
  .premium-cell--wide {
    padding: 0.5rem;
  }
}
.edit-select--disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

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

.paid-leaves-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9em;
}
.paid-leaves-table th,
.paid-leaves-table td {
  border: 1px solid #dee2e6;
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
}
.paid-leaves-table thead th {
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
}
.paid-leaves-table .sticky-col {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  text-align: left;
  min-width: 160px;
}
.paid-leaves-table thead .sticky-col {
  z-index: 2;
  background: #f8f9fa;
}
.paid-leaves-table .emp-name {
  font-weight: 600;
  color: #333;
}
.paid-leaves-table .emp-number {
  font-size: 0.8em;
  color: #6c757d;
}
.paid-leaves-table td.is-zero {
  color: #6c757d;
}
.paid-leaves-table .leave-amounts {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.paid-leaves-table .leave-entry {
  white-space: nowrap;
  text-align: left;
}
.paid-leaves-table .leave-grant {
  color: #28a745;
  font-weight: 600;
}
.paid-leaves-table .leave-consumed {
  color: #dc3545;
}
.paid-leaves-table .total-col {
  font-weight: 600;
  background: #f8f9fa;
}

.periodical-revision-index-table th {
  min-width: 80px;
}

.received-invoice-index-table td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.version-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}

.version-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.version-info strong {
  font-size: 1.1rem;
}
.version-info .text-muted {
  margin-left: 8px;
}

.version-description-label {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.version-description-text {
  font-size: 0.95rem;
}

.past-version-item {
  padding: 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f8f9fa;
}

.past-version-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.past-version-title strong {
  font-size: 1rem;
}
.past-version-title .text-muted {
  margin-left: 8px;
}

.past-version-description {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: white;
  border-left: 3px solid #6565a4;
  font-size: 0.9rem;
}

.no-description {
  margin-top: 0.5rem;
  color: #6c757d;
  font-size: 0.85rem;
  font-style: italic;
}

.icon-system-mr {
  margin-right: 4px;
}

.version-effective-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.version-effective-select {
  width: auto !important;
  flex: 0 0 auto;
}

.version-effective-date {
  font-size: 0.8rem;
  color: #6c757d;
  white-space: nowrap;
}

.version-mode-text {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 6px;
  margin-left: 4px;
}
.version-mode-text.version-mode-text--update {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #28a745;
}
.version-mode-text.version-mode-text--new {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #2563eb;
}
.version-mode-text.version-mode-text--error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #dc3545;
}

.allowance-columns th:first-child,
.allowance-columns td:first-child,
.leave-columns th:first-child,
.leave-columns td:first-child {
  white-space: nowrap;
}
.allowance-columns .badge,
.allowance-columns .text-muted,
.leave-columns .badge,
.leave-columns .text-muted {
  font-size: inherit;
  font-weight: normal;
}

.code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", Consolas, "Roboto Mono", Menlo, monospace;
  font-size: inherit;
  font-weight: normal;
  color: #333;
  background: #eee;
  padding: 4px 8px;
  border-radius: 4px;
}

.radio-row {
  display: flex;
  gap: 1.5rem;
}

.patterns-table th {
  white-space: nowrap;
}
.patterns-table .pattern-break-cell {
  white-space: nowrap;
}
.patterns-table .badge {
  font-size: inherit;
  font-weight: normal;
}
.patterns-table .text-muted {
  font-size: inherit;
  font-weight: normal;
}

.pattern-type-group + .pattern-type-group {
  margin-top: 1.5rem;
}
.pattern-type-group .section-title {
  margin-bottom: 0.5rem;
}

.edit-form-section {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}

.schedule-leave-basis-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.schedule-leave-basis-section--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.schedule-leave-basis-section--staff-submission-only {
  background: #e7f3ff;
  border-left: 3px solid #0c5460;
  border-top: none;
  border-radius: 4px;
  padding: 16px;
}

.schedule-leave-basis-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.edit-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #6565a4;
}

.edit-form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.edit-form-col {
  flex: 1;
  min-width: 0;
}

.edit-form-group {
  margin-bottom: 1rem;
}

.edit-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-weight: normal;
}
.edit-checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #6565a4;
}

.calendar-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.calendar-row .edit-select {
  flex: 1;
}

.inline-create-form {
  margin: 0.75rem 0 1rem;
  padding: 1.25rem;
  background: #e7f3ff;
  border: 1px solid #d1ecf1;
  border-left: 3px solid #6565a4;
  border-radius: 6px;
}

.inline-form-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #666;
}

.calendar-create-form {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #e7f3ff;
  border: 1px solid #d1ecf1;
  border-left: 3px solid #6565a4;
  border-radius: 6px;
}
.calendar-create-form h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
}

.legal-hours-box {
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

.legal-hours-inline {
  display: flex;
  gap: 24px;
}

.legal-hours-monthly {
  max-width: 250px;
}

.legal-hours-monthly-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}
.legal-hours-monthly-row:last-child {
  border-bottom: none;
}

.input-unit-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.input-unit-row .edit-select {
  flex: 1;
}

.unit-label {
  font-size: 0.95rem;
  color: #666;
  white-space: nowrap;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.checkbox-item {
  display: grid;
  grid-template-columns: 16px minmax(11rem, max-content) auto;
  justify-content: start;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.5rem 0.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.checkbox-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #6565a4;
}
.checkbox-item:hover {
  background-color: #f8f9fa;
  border-color: #eee;
}

.checkbox-item-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
  min-width: 0;
}

.time-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.time-select {
  padding: 0.5rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.time-select:focus {
  outline: none;
  border-color: #6565a4;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.15);
}

.time-separator {
  margin: 0 0.5rem;
  color: #666;
}

.break-add-btn-wrap {
  margin-top: 0.5rem;
}

.break-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 6px;
  flex-wrap: wrap;
}

.break-label {
  min-width: 60px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.threshold-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 40px;
  box-sizing: border-box;
}
.threshold-input:focus {
  outline: none;
  border-color: #6565a4;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.15);
}

.salary-item {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  transition: box-shadow 0.2s ease;
}
.salary-item:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.salary-item-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.salary-item-header > div:first-child {
  flex: 1;
}

.salary-item-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 1.6rem;
  flex-shrink: 0;
}

.salary-item--candidate {
  border-color: #c3e6cb;
  background: #d4edda;
  cursor: pointer;
}

.salary-source-slot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 0.85rem;
}

.salary-source-slot--pinned {
  background: #eee;
}

.salary-source-hint {
  align-self: center;
  color: #155724;
  font-size: 0.85rem;
  font-weight: 600;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.section-editor {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
}

.section-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.section-editor-name {
  flex: 1;
  margin-right: 1rem;
}

.section-editor-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.display-item-name {
  flex: 1;
}

.display-item-rounding {
  min-width: 140px;
  margin-left: 0.5rem;
}

.wildcard-static {
  padding: 8px 0;
  color: #666;
  font-style: italic;
}

.source-label {
  font-size: 0.875rem;
}

.salary-tab-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.salary-tab {
  padding: 8px 20px;
  border: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  background: #f8f9fa;
  font-weight: normal;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  margin-right: -1px;
  position: relative;
  bottom: -1px;
  z-index: 0;
  transition: background 0.15s ease;
}
.salary-tab:hover {
  background: #eee;
}

.salary-tab--active {
  background: #fff;
  border-bottom-color: transparent;
  font-weight: bold;
  z-index: 1;
}

.salary-tab-bar-actions {
  margin-left: auto;
  margin-bottom: 1px;
}

.salary-display-config-section {
  margin-bottom: 20px;
}
.salary-display-config-section:last-child {
  margin-bottom: 0;
}

.salary-display-config-title {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 8px;
}

.past-versions-body {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .tab-label {
    font-size: 15px;
  }
  .version-header {
    flex-direction: column;
    gap: 1rem;
  }
  .past-version-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .edit-form-row {
    flex-direction: column;
  }
  .section-editor-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .section-editor-name {
    margin-right: 0;
  }
  .salary-item-header {
    flex-wrap: wrap;
  }
  .display-item-rounding {
    min-width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .salary-tab-bar {
    flex-wrap: wrap;
  }
}
.salary-section-note {
  font-size: 0.85em;
}

.version-badge {
  margin-left: 12px;
  font-size: 0.7em;
  vertical-align: middle;
}

.detail-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}

.input-unit-row-stretch {
  display: flex;
  align-items: stretch;
}

.year-header-inner {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.year-header h3,
.year-header-inner h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.schedule-assignment-table th,
.schedule-assignment-table td {
  white-space: nowrap;
}
.schedule-assignment-table th:nth-child(3),
.schedule-assignment-table td:nth-child(3) {
  white-space: normal;
  min-width: 220px;
}
.schedule-assignment-table .feature-checkbox-label {
  display: flex;
  align-items: center;
  gap: 4px;
}
.schedule-assignment-table select.form-input {
  min-width: 96px;
}

.salary-revision-detail-table th {
  min-width: 100px;
}
.salary-revision-detail-table th:nth-child(1) {
  width: 12%;
}
.salary-revision-detail-table th:nth-child(2) {
  width: 12%;
}
.salary-revision-detail-table th:nth-child(3) {
  width: 10%;
}
.salary-revision-detail-table th:nth-child(4) {
  width: 10%;
}

.transfer-data-table .text-right {
  text-align: right;
}

.wfdef-saved-msg {
  color: #28a745;
  font-size: 0.85rem;
}

.wfdef-step-block {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
}

.wfdef-step-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.wfdef-approver-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wfdef-approver-label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.wfdef-assignment-table th,
.wfdef-assignment-table td {
  white-space: nowrap;
}

.payslip {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payslip-kind-select {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.payslip-kind-select__label {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}
.payslip-kind-select select {
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}

.payslip-meta {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(184px, (100% - 2 * 20px) / 3)), 1fr));
  row-gap: 8px;
  margin: 0;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}
.payslip-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.payslip-meta dt {
  font-size: 12px;
  color: #6c757d;
}
.payslip-meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  word-break: break-word;
}

.payslip-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payslip-summary__row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(189px, (100% - 1 * 12px) / 2)), 1fr));
}

.payslip-summary__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-align: center;
}

.payslip-summary__label {
  font-size: 12px;
  color: #666;
}

.payslip-summary__value {
  font-size: 18px;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", Consolas, "Roboto Mono", Menlo, monospace;
  color: #333;
}

.payslip-summary__tile--net {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  border-color: transparent;
}
.payslip-summary__tile--net .payslip-summary__label {
  color: rgba(255, 255, 255, 0.85);
}
.payslip-summary__tile--net .payslip-summary__value {
  color: #fff;
  font-size: 24px;
}

.payslip-block {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.payslip-block-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #eee;
}

.payslip-block--attendance .payslip-block-title {
  border-bottom-color: #b3d9ff;
}

.payslip-block--earning .payslip-block-title {
  border-bottom-color: #c3e6cb;
}

.payslip-block--deduction .payslip-block-title {
  border-bottom-color: #f5c2c7;
}

.payslip-block--adjustment .payslip-block-title {
  border-bottom-color: #ffc107;
}

.payslip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 12px;
}

.payslip-grid__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 4px;
}

.payslip-grid__label {
  font-size: 12px;
  color: #6c757d;
}

.payslip-grid__value {
  font-size: 15px;
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", Consolas, "Roboto Mono", Menlo, monospace;
  color: #333;
}

.payslip-lines {
  width: 100%;
  border-collapse: collapse;
}
.payslip-lines th,
.payslip-lines td {
  padding: 8px 4px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.payslip-lines th {
  text-align: left;
  font-weight: 500;
  color: #666;
}
.payslip-lines td {
  text-align: right;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", Consolas, "Roboto Mono", Menlo, monospace;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.payslip-lines tr:last-child th,
.payslip-lines tr:last-child td {
  border-bottom: none;
}

:root {
  --staff-card-radius: 8px;
  --staff-card-border: v.$color-border-base;
  --staff-card-padding: v.$space-5 v.$space-6;
  --staff-label-width: 160px;
}

.staff-dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 24px;
}

.stamp-button-group {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 32px 0;
}

.stamp-btn {
  width: clamp(140px, 38vw, 180px);
  height: clamp(140px, 38vw, 180px);
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
  padding: 0;
  white-space: normal;
  text-align: center;
}
.stamp-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
}
.stamp-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
}
.stamp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.stamp-btn--clock-in {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
}

.stamp-btn--clock-out {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
}

.stamp-gps-status {
  text-align: center;
  font-size: 15px;
}

.stamp-button-group {
  gap: clamp(32px, 10vw, 40px);
}

.staff-warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #fff3cd;
}

.staff-warning-icon {
  font-size: 24px;
}

.staff-warning-hint {
  color: #856404;
  font-size: 15px;
  margin-left: auto;
}

.staff-period-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.staff-period-tab {
  flex: 1;
  min-width: 250px;
  padding: 16px;
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
}
.staff-period-tab:hover {
  border-color: #6565a4;
  box-shadow: 0 4px 12px rgba(101, 101, 164, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}
.staff-period-tab.active {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  border-color: #6565a4;
  color: white;
}

.staff-tab-header {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.staff-tab-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.staff-tab-meta span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.staff-days-badge {
  background: #eee;
  color: #666;
}
.staff-period-tab.active .staff-days-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.staff-period-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.staff-period-info-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-period-info-label {
  font-weight: 600;
  color: #666;
}

.staff-period-info-date {
  font-size: 16px;
  color: #333;
}

.staff-period-info-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.staff-period-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.staff-no-period {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.staff-no-period p {
  margin: 4px 0 0 0;
}

.staff-calendar-section {
  margin-top: 8px;
}

.staff-empty-cell {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}

.staff-no-period-icon {
  font-size: 24px;
}

.table--calendar {
  width: 100%;
  min-width: 65rem;
  table-layout: fixed;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 15px;
  line-height: 1.5;
}
.table--calendar thead {
  background: #666;
  color: white;
  position: sticky;
  top: 0;
  z-index: 5;
}
.table--calendar th {
  padding: 16px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95em;
  border-bottom: 2px solid #333;
  background: #666;
  color: white;
  white-space: nowrap;
}
.table--calendar td {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 15px;
}
.table--calendar tbody tr.day-start > td {
  border-top: 2px solid #6c757d;
}
.table--calendar tbody tr:hover {
  background-color: #f8f9fa;
}
.table--calendar small {
  font-size: 12px;
}
.table--calendar tr.row--non-working td {
  background-color: #eee;
  color: #6c757d;
}
.table--calendar tr.row--statutory-holiday td {
  background-color: #f8d7da;
}
.table--calendar tr.row--non-statutory-holiday td {
  background-color: #e7f3ff;
}

.att-col--date {
  width: 8%;
}

.att-col--cal {
  width: 10%;
}

.att-col--stamp {
  width: 22rem;
}

.att-col--merged {
  width: 37%;
}

.att-col--leave {
  width: 25%;
}

.table__cell--date {
  font-size: 16px;
  font-weight: 600;
  color: #666;
}

.synced-at {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #6c757d;
}

.table__cell--stamps {
  font-size: 12px;
  height: 100%;
}

.stamps-cell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.table__cell--leave {
  text-align: center;
  font-size: 12px;
  white-space: nowrap;
}

.table__cell--merged {
  font-size: 12px;
  vertical-align: middle;
  white-space: nowrap;
}

.row-line {
  display: grid;
  grid-template-columns: 2.5em 6.5rem 10rem 1.5em;
  align-items: center;
  column-gap: 12px;
  padding: 4px 0;
  width: max-content;
  margin-inline: auto;
  font-size: 12px;
  font-weight: 400;
}

.row-line__label {
  color: #6c757d;
}

.row-line__time {
  font-variant-numeric: tabular-nums;
}

.receipt-seg {
  display: block;
}

.row-line__break {
  color: #6c757d;
  min-width: 0;
}

.row-line__action {
  justify-self: start;
}

.schedule-cell {
  text-align: center;
  font-size: 12px;
  color: #6c757d;
}

.schedule-time {
  font-weight: 500;
  color: #6c757d;
}

.schedule-break {
  font-size: 12px;
  padding: 4px 0;
}

.stamps-detail {
  text-align: left;
}
.stamps-detail summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  color: #2563eb;
}
.stamps-detail summary:hover {
  text-decoration: underline;
}

.stamps-list {
  margin-top: 4px;
}

.stamp-pair-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.stamp-pair-row:last-child {
  margin-bottom: 0;
}

.stamp-pair-cell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.stamp-missing {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px dashed #dee2e6;
  border-radius: 4px;
  font-size: 12px;
  color: #6c757d;
}

.stamp-item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background-color: white;
  line-height: 1.3;
}

.stamp-item-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stamp-type {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}

.stamp-time {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", Consolas, "Roboto Mono", Menlo, monospace;
  white-space: nowrap;
}
.stamp-time .tag.next {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #6c757d;
}

.stamp-warn {
  flex-shrink: 0;
  align-self: center;
  font-size: 12px;
  line-height: 1;
  cursor: help;
}

.stamp-applied {
  flex-shrink: 0;
  align-self: center;
  font-size: 12px;
  line-height: 1;
  cursor: help;
  color: #6c757d;
}

.stamp-menu {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.stamp-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
}

.stamp-menu__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 11;
  margin-top: 4px;
  min-width: 10rem;
  display: flex;
  flex-direction: column;
  padding: 4px;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
}

.stamp-menu__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
  border: none;
  background: none;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
}
.stamp-menu__item:hover {
  background-color: #f8f9fa;
}
.stamp-menu__item--danger {
  color: #dc3545;
}

.stamps-add {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  gap: 8px;
}
.stamps-add .icon-btn {
  opacity: 0.45;
  transform: scale(0.82);
}
.stamps-add .icon-btn:hover {
  opacity: 1;
}

.att-cell__receipt-label {
  color: #6c757d;
}

.stamps-add__col {
  flex: 1;
  display: flex;
  justify-content: center;
}

.time-range-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.time-range-container .icon-btn {
  padding: 4px;
}

.time-range-display {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.leave-action-cell {
  vertical-align: middle;
  text-align: center;
  padding: 8px;
}

.leave-cell-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.icon-svg {
  display: block;
}

.icon-svg--spin {
  animation: staff-icon-spin 0.8s linear infinite;
}

@keyframes staff-icon-spin {
  to {
    transform: rotate(360deg);
  }
}
.wf-info-line {
  margin: 0 0 8px 0;
  font-size: 15px;
}

.wf-note-list {
  margin: 0 0 16px 0;
  padding-left: 1.25rem;
  color: #666;
}
.wf-note-list li {
  margin-bottom: 4px;
}

.leave-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 15px;
}
.leave-info small {
  font-size: 12px;
  color: #6c757d;
}

.leave-info + .leave-info {
  margin-top: 4px;
}

.none {
  font-size: 15px;
  color: #6c757d;
  font-weight: normal;
}

@media (max-width: 768px) {
  .table--calendar {
    font-size: 12px;
  }
  .table--calendar .stamp-time {
    font-size: 15px;
  }
}
.staff-summary-card,
.staff-section,
.staff-detail-section {
  margin-bottom: 16px;
  padding: var(--staff-card-padding);
  background: #fff;
  border: 1px solid var(--staff-card-border);
  border-radius: var(--staff-card-radius);
}

.staff-summary-card--info {
  background: #e7f3ff;
  border-color: #2563eb;
}

.staff-detail-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.staff-detail-body {
  background: white;
  padding: 12px;
  border-radius: 4px;
}

.staff-section__title,
.staff-detail-section__title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}

.staff-info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.staff-warning__list {
  margin: 0;
  padding-left: 20px;
}
.staff-warning__list li {
  margin-bottom: 8px;
  color: #856404;
  line-height: 1.5;
}
.staff-warning__list li:last-child {
  margin-bottom: 0;
}

.staff-judgement-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.staff-judgement-approve {
  flex: 2;
}

.staff-judgement-reject {
  flex: 1;
}

.staff-judgement-card {
  border: 2px solid #1e40af !important;
}

.staff-judgement-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.staff-judgement-textarea {
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font-size: 15px;
  resize: vertical;
}

.staff-judgement-textarea-wrap {
  margin-bottom: 20px;
}

.staff-wf-new-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.staff-wf-new-buttons .btn {
  font-size: 12px;
  padding: 8px 16px;
}

.staff-wf-pair-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.staff-wf-pair-list .inline-create-form {
  position: relative;
  margin: 0;
}

.inline-create-form__remove {
  position: absolute;
  top: 8px;
  right: 8px;
}

.att-cell__times--receipt {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  cursor: help;
}
.att-cell__times--receipt.is-clipped {
  color: #155724;
}

.overtime-lead {
  margin: 16px 0;
  padding: 12px;
  background: #e7f3ff;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
  line-height: 1.6;
}

.overtime-panels {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(288px, (100% - 1 * 16px) / 2)), 1fr));
  margin-bottom: 16px;
}

.overtime-panel {
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #6565a4;
  border-radius: 6px;
}
.overtime-panel--post {
  border-top-color: #65426c;
}

.overtime-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.overtime-panel__title {
  font-weight: bold;
  color: #333;
}

.overtime-panel__anchor {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 4px;
  font-size: 12px;
}

.overtime-anchor__chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f3ff;
  color: #65426c;
  font-weight: 600;
  white-space: nowrap;
}

.overtime-anchor__label {
  color: #666;
  white-space: nowrap;
}

.overtime-anchor__arrow {
  opacity: 0.7;
}

.overtime-panel__label {
  margin-bottom: 8px;
  font-size: 12px;
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  font-size: 15px;
}
.field input[type=text],
.field input[type=number],
.field input[type=date],
.field select,
.field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.field input[type=text]:focus,
.field input[type=number]:focus,
.field input[type=date]:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #6565a4;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.12);
}

.subfields {
  padding: 12px 16px;
  background: #f8f9fa;
  border-left: 3px solid #6565a4;
  border-radius: 0 4px 4px 0;
  margin-top: 8px;
  margin-bottom: 8px;
}

.grid-2 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(270px, (100% - 1 * 12px) / 2)), 1fr));
}

.dependent-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
}

.dependent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.dependent-header strong {
  font-size: 15px;
  color: #333;
}
.dependent-header small {
  color: #6c757d;
  font-size: 12px;
}

.dependent-fields {
  padding-top: 8px;
}

.year-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.year-group {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tax-year-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  background: #f8f9fa;
  border-bottom: 1px solid transparent;
  transition: background 0.15s;
}
.tax-year-header:hover {
  background: #f8f9fa;
}

.tax-year-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tax-year-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.year-chevron {
  font-size: 0.85rem;
  color: #6c757d;
  width: 14px;
}

.tax-year-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.year-count {
  font-size: 0.78rem;
  color: #6c757d;
}

.year-body {
  border-top: 1px solid #dee2e6;
}

.history-table {
  margin: 0;
}
.history-table th,
.history-table td {
  padding: 12px 16px;
}

.history-row--approved {
  background: #f8f9fa;
}

.change-reason {
  font-weight: 500;
  color: #333;
}

.new-year-action {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.journal-table .journal-amount {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.accounting-section {
  margin-top: 24px;
}
.accounting-section .section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.mail-preview {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 12px;
  white-space: pre-wrap;
  font-size: 12px;
}

.contract-signing-page {
  max-width: 720px;
  margin: 40px auto;
}

.text-counterparty {
  font-size: 12px;
  color: #6c757d;
}

.mail-preview__to {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.mail-preview__subject {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 8px;
}

.contract-signing-title {
  text-align: center;
  margin-bottom: 8px;
}

.contract-signing-page__note {
  font-size: 12px;
  margin-bottom: 24px;
}

.contract-signing-page__confirm {
  margin-bottom: 12px;
  font-size: 15px;
}

.dashboard-container {
  padding: 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.header h1 {
  margin: 0;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.inquiry-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 6px;
}

.inquiry-stat-item {
  font-size: 15px;
  color: #666;
}
.inquiry-stat-item strong {
  color: #333;
}

.inquiries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.inquiry-card {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inquiry-card .inquiry-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.inquiry-card .inquiry-badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.inquiry-card .inquiry-subject {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.inquiry-card .inquiry-updated-at {
  font-size: 12px;
  color: #6c757d;
  white-space: nowrap;
  flex-shrink: 0;
}
.inquiry-card .inquiry-hr_adviser-operator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.inquiry-card .inquiry-hr_adviser {
  font-size: 15px;
  font-weight: 600;
  color: #666;
}
.inquiry-card .inquiry-view-btn {
  background: linear-gradient(135deg, #6565a4 0%, #65426c 100%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.inquiry-card .inquiry-view-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.apps-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.app-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.app-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.app-card .app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.app-card .app-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #6565a4;
}
.app-card .app-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}
.app-card p {
  font-size: 15px;
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.6;
}
.app-card .app-action-btn {
  display: block;
  width: auto;
  margin-top: 12px;
  text-align: center;
}

.entity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
}
.entity-row:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(101, 101, 164, 0.4);
}
.entity-row:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.entity-row__code {
  min-width: 44px;
  font-size: 11px;
  color: #6c757d;
  font-variant-numeric: tabular-nums;
}
.entity-row__name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #6565a4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.entity-row__sub {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.entity-row__state {
  font-size: 11px;
  color: #6c757d;
}

.dashboard-section {
  margin-bottom: 20px;
}

.dashboard-section-header {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #6565a4;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.dashboard-section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

.apps-portals {
  margin-top: 12px;
  padding-top: 32px;
  border-top: 1px solid #ddd;
}

.dashboard-stats-wrap {
  overflow-x: auto;
}

.dashboard-stats-table {
  min-width: 100%;
  font-size: 0.85rem;
}

.dashboard-stats-table__th-seller {
  position: sticky;
  left: 0;
  background: var(--color-bg-secondary, #f8f9fa);
  z-index: 2;
  min-width: 140px;
}

.dashboard-stats-table__th-month {
  text-align: center;
  border-left: 2px solid var(--color-border, #dee2e6);
}

.dashboard-stats-table__th-count {
  text-align: right;
  border-left: 2px solid var(--color-border, #dee2e6);
  white-space: nowrap;
  font-size: 0.75rem;
}

.dashboard-stats-table__th-count--last {
  text-align: right;
  white-space: nowrap;
  font-size: 0.75rem;
}

.dashboard-stats-table__td-seller {
  position: sticky;
  left: 0;
  background: var(--color-bg-primary, #fff);
  z-index: 1;
  font-weight: 600;
}

.dashboard-stats-table__td-count {
  text-align: right;
  border-left: 2px solid var(--color-border, #dee2e6);
}

.dashboard-stats-table__td-count--last {
  text-align: right;
}

.deduction-basis-rows {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 8px 24px;
  margin: 0;
}

.deduction-basis-rows__label {
  margin: 0;
  color: #666;
  font-weight: 600;
}

.deduction-basis-rows__value {
  margin: 0;
  min-width: 0;
}

.deduction-basis-edit {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deduction-basis-edit__block + .deduction-basis-edit__block {
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.deduction-basis-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.deduction-basis-edit__choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 16px;
}

.deduction-basis-edit__choice {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 576px) {
  .deduction-basis-rows {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
}
.payroll-category-edit-row td {
  padding: 0 !important;
  background-color: #f8f9fa;
}
.payroll-category-edit-row .card-body {
  padding: 20px;
}

@media (max-width: 768px) {
  .data-table {
    font-size: 0.85rem;
  }
  .data-table thead th,
  .data-table tbody td {
    padding: 8px 8px;
  }
  .modal-dialog {
    width: 95%;
    max-height: 90vh;
  }
}
.inbox__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.inbox__empty {
  padding: 1rem;
  color: #6c757d;
  font-size: 0.875rem;
}
.inbox__item {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #eee;
}
.inbox__meta {
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  color: #6c757d;
}
.inbox__subject {
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
}
.inbox__body {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  white-space: pre-wrap;
}
.inbox__action-link {
  margin-top: 0.6rem;
  padding: 0;
  border: 0;
  background: none;
  color: #6565a4;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

.inquiry-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.inquiry-message {
  border-radius: 6px;
  padding: 16px;
  border: 1px solid #e0e0e0;
}
.inquiry-message.operator-message {
  background-color: #f8f9fa;
  border-left: 4px solid #999;
}
.inquiry-message.admin-message {
  background-color: #e7f3ff;
  border-left: 4px solid #2563eb;
}

.inquiry-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.inquiry-message-sender {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.inquiry-message-time {
  font-size: 12px;
  color: #666;
}

.inquiry-message-body {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
}

.inquiry-reply-form {
  background-color: #fff;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.inquiry-reply-form h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.inquiry-reply-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-control-btn.active--pending {
  background-color: #ffc107;
  border-color: #ffc107;
}
.status-control-btn.active--in-progress {
  background-color: #6565a4;
  border-color: #6565a4;
}
.status-control-btn.active--waiting-reply {
  background-color: #65426c;
  border-color: #65426c;
}
.status-control-btn.active--completed {
  background-color: #28a745;
  border-color: #28a745;
}
.status-control-btn.active--normal {
  background-color: #6565a4;
  border-color: #6565a4;
}
.status-control-btn.active--urgent {
  background-color: #dc3545;
  border-color: #dc3545;
}

.invoices-page .card {
  margin-bottom: 20px;
}

.invoices-page .table-wrap {
  overflow-x: auto;
}

.invoice-search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.invoice-search__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invoice-search__label {
  font-size: 0.8125rem;
  font-weight: bold;
  color: #666;
}
.invoice-search__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.invoice-search .form-input {
  width: auto;
}
.invoice-search input[type=date] {
  width: 150px;
}
.invoice-search input[type=number] {
  width: 110px;
}
.invoice-search select.form-input {
  min-width: 180px;
}

.invoices-page .card .data-table:not(.invoice-index-table) th:first-child,
.invoices-page .card .data-table:not(.invoice-index-table) td:first-child {
  width: 40px;
  text-align: center;
}

.invoice-index-table th {
  white-space: nowrap;
}
.invoice-index-table th:first-child,
.invoice-index-table td:first-child {
  width: 36px;
  text-align: center;
}
.invoice-index-table th:nth-child(6),
.invoice-index-table td:nth-child(6) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.invoice-index-table td:nth-child(3),
.invoice-index-table td:nth-child(4) {
  white-space: nowrap;
}

.invoice-sales-detail-row > td {
  background: #f8f9fa;
  padding: 0;
}

.invoice-sales-detail {
  padding: 12px 16px;
}
.invoice-sales-detail__title {
  font-size: 0.8125rem;
  font-weight: bold;
  color: #666;
  margin-bottom: 8px;
}
.invoice-sales-detail .data-table {
  margin: 0;
  background: #fff;
}

body.lp-page {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.lp-page {
  --lp-width: 860px;
}

.lp-logo {
  width: 100%;
}
.lp-logo-inner {
  max-width: var(--lp-width);
  margin: 0 auto;
  padding: 28px 24px 0;
}
.lp-logo-inner img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}

.lp-hero {
  width: 100%;
}
.lp-hero-inner {
  max-width: var(--lp-width);
  margin: 0 auto;
  padding: 28px 24px 0;
}
.lp-hero-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 560px;
}

.thanks-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: center;
}
.thanks-page__title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  line-height: 1.6;
}
.thanks-page__message {
  margin: 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.95rem;
  line-height: 1.9;
  text-align: left;
}
.thanks-page__actions {
  margin: 32px 0 0;
}
.thanks-page__home-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
}
.thanks-page__home-link:hover {
  background: #f8fafc;
}

.lp-body {
  max-width: var(--lp-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
  line-height: 1.9;
  font-size: 16px;
}
.lp-body h1 {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: #333;
}
.lp-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}
.lp-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}
.lp-body p {
  margin-bottom: 1rem;
  color: #333;
}
.lp-body a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.lp-body a:hover {
  border-bottom-color: #2563eb;
}
.lp-body ul,
.lp-body ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: #333;
}
.lp-body ul li,
.lp-body ol li {
  margin-bottom: 0.4rem;
}
.lp-body ul ul,
.lp-body ul ol,
.lp-body ol ul,
.lp-body ol ol {
  margin-bottom: 0;
  margin-top: 0.4rem;
}
.lp-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.lp-body .lp-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.lp-body .lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 2.5rem 0;
}
.lp-body .lp-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.lp-body .lp-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.lp-body .lp-card--featured {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb;
}
.lp-body .lp-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2563eb;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}
.lp-body .lp-price-note {
  font-size: 0.85rem;
  color: #6c757d;
}
.lp-body .lp-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.lp-body .lp-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
}
.lp-body .lp-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}
.lp-body .lp-section {
  margin: 4rem 0;
}
.lp-body .lp-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}
.lp-body .lp-cta {
  display: inline-block;
  padding: 16px 48px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.lp-body .lp-cta:hover {
  background: #2563eb;
  transform: translateY(-1px);
  text-decoration: none;
  border-bottom-color: transparent;
}
.lp-body .lp-cta:active {
  transform: translateY(0);
}
.lp-body .lp-cta--outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.lp-body .lp-cta--outline:hover {
  background: #2563eb;
  color: #fff;
}
.lp-body .lp-cta--large {
  padding: 20px 64px;
  font-size: 1.2rem;
  border-radius: 12px;
}
.lp-body .lp-cta-wrapper {
  text-align: center;
  margin: 3rem 0;
}
.lp-body .lp-note {
  text-align: center;
  color: #6c757d;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}
.lp-body .lp-testimonial {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px;
  margin: 2rem 0;
  font-style: italic;
  color: #333;
  position: relative;
}
.lp-body .lp-testimonial::before {
  content: "";
  font-size: 4rem;
  color: #dee2e6;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}
.lp-body .lp-testimonial .lp-testimonial-author {
  font-style: normal;
  font-weight: 600;
  margin-top: 1rem;
  color: #6c757d;
  font-size: 0.9rem;
}
.lp-body .lp-divider {
  border: none;
  height: 1px;
  background: #dee2e6;
  margin: 3rem 0;
}

.lp-footer {
  text-align: center;
  padding: 40px 24px;
  background: #f8f9fa;
  color: #6c757d;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .lp-hero-inner img {
    max-height: 300px;
  }
  .lp-logo-inner img {
    height: 36px;
  }
  .lp-logo-inner,
  .lp-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lp-body {
    padding: 32px 16px 64px;
  }
  .lp-body h1 {
    font-size: 1.75rem;
  }
  .lp-body h2 {
    font-size: 1.25rem;
  }
  .lp-body .lp-price {
    font-size: 1.75rem;
  }
  .lp-body .lp-card {
    padding: 24px;
  }
  .lp-body .lp-cards {
    grid-template-columns: 1fr;
  }
  .lp-body .lp-cta {
    display: block;
    text-align: center;
    padding: 16px 24px;
  }
  .lp-body .lp-cta--large {
    padding: 16px 32px;
    font-size: 1.05rem;
  }
  .lp-body .lp-section {
    margin: 2.5rem 0;
  }
  .lp-body .lp-section-title {
    font-size: 1.4rem;
  }
}
body.lp-page:has(.lpp) {
  background: #f4f7fb;
}

.lp-body:has(.lpp) {
  max-width: none;
  padding: 0;
}

.lp-body .lpp h1,
.lp-body .lpp h2,
.lp-body .lpp h3 {
  text-align: left;
  color: inherit;
}
.lp-body .lpp a {
  border-bottom: 0;
  text-decoration: none;
}
.lp-body .lpp a:hover {
  border-bottom: 0;
}
.lp-body .lpp a:not(.lpp-cta) {
  color: inherit;
}
.lp-body .lpp ul,
.lp-body .lpp ol {
  margin: 0;
  padding: 0;
}
.lp-body .lpp {
  color-scheme: light;
  --lpp-ink: #0f1e3d;
  --lpp-ink-soft: #47536b;
  --lpp-paper: #ffffff;
  --lpp-rule: #d8dee9;
  --lpp-rule-strong: #0f1e3d;
  --lpp-tint: #cdd9ec;
  --lpp-zebra: #fbfcfe;
  --lpp-seal: #c8102e;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  color: var(--lpp-ink);
  line-height: 1.85;
}
.lp-body .lpp * {
  box-sizing: border-box;
}
.lp-body .lpp .lpp-h1,
.lp-body .lpp .lpp-h2,
.lp-body .lpp .lpp-plan-group-head h3,
.lp-body .lpp .lpp-plan-head h3,
.lp-body .lpp .lpp-cell h3,
.lp-body .lpp .lpp-step h3 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}
.lp-body .lpp-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-body .lpp-section {
  padding: 72px 0;
}
.lp-body .lpp-section:first-child {
  padding-top: 40px;
}
.lp-body .lpp-section--tint {
  background: var(--lpp-tint);
}
.lp-body .lpp-section--contact {
  padding-top: 64px;
  padding-bottom: 40px;
  background: var(--lpp-ink);
  color: var(--lpp-paper);
}
.lp-body .lpp-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lpp-ink-soft);
  margin-bottom: 1.1rem;
}
.lp-body .lpp-h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.lp-body .lpp-h1 em {
  font-style: normal;
  box-shadow: inset 0 -0.42em 0 rgba(200, 16, 46, 0.18);
}
.lp-body .lpp-h2 {
  margin: 0 0 2.4rem;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--lpp-rule-strong);
}
.lp-body .lpp-lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-hr {
  border: 0;
  border-top: 1px solid var(--lpp-rule);
  margin: 28px 0;
}
.lp-body .lpp-slip {
  background: var(--lpp-paper);
  border: 1px solid var(--lpp-rule);
  border-top: 3px solid var(--lpp-rule-strong);
  box-shadow: 0 18px 44px rgba(15, 30, 61, 0.08);
  position: relative;
}
.lp-body .lpp-slip-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--lpp-rule);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--lpp-rule);
  font-size: 0.95rem;
}
.lp-body .lpp-row:nth-child(even) {
  background: var(--lpp-zebra);
}
.lp-body .lpp-row--total {
  padding: 24px;
  border-bottom: 0;
  background: var(--lpp-ink) !important;
  color: var(--lpp-paper);
}
.lp-body .lpp-row-label {
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-row--total .lpp-row-label {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lp-body .lpp-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: right;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-total-num {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.lp-body .lpp-total-num small {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}
.lp-body .lpp-plan-group {
  margin-bottom: 3.4rem;
}
.lp-body .lpp-plan-group:last-of-type {
  margin-bottom: 0;
}
.lp-body .lpp-plan-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--lpp-rule);
}
.lp-body .lpp-plan-group-head h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lp-body .lpp-plan-group-head p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: start;
}
.lp-body .lpp-plan {
  background: var(--lpp-paper);
  border: 1px solid var(--lpp-rule);
  border-top: 3px solid var(--lpp-rule-strong);
}
.lp-body .lpp-plan--add {
  border-top-color: var(--lpp-seal);
}
.lp-body .lpp-plan-head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--lpp-rule);
}
.lp-body .lpp-plan-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lp-body .lpp-plan-head p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--lpp-rule);
  font-variant-numeric: tabular-nums;
}
.lp-body .lpp-plan-price b {
  font-size: clamp(1.9rem, 4.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.lp-body .lpp-plan-price span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-plan-price .lpp-plan-plus {
  color: var(--lpp-seal);
  font-weight: 900;
}
.lp-body .lpp-plan-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-body .lpp-plan-list li {
  padding: 13px 22px 13px 44px;
  border-bottom: 1px solid var(--lpp-rule);
  font-size: 0.93rem;
  position: relative;
}
.lp-body .lpp-plan-list li:last-child {
  border-bottom: 0;
}
.lp-body .lpp-plan-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--lpp-ink);
  border-bottom: 2px solid var(--lpp-ink);
  transform: rotate(-45deg);
}
.lp-body .lpp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 40px;
  background: var(--lpp-seal);
  color: var(--lpp-paper);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.lp-body .lpp-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.28);
}
.lp-body .lpp-cta:focus-visible {
  outline: 3px solid var(--lpp-ink);
  outline-offset: 3px;
}
.lp-body .lpp-cta-wrap {
  margin: 2rem 0 0;
  text-align: center;
}
.lp-body .lpp-cta-note {
  margin: 0.9rem 0 0;
  font-size: 0.84rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-flow {
  margin: 2rem auto 0;
  padding: 34px 40px;
  border: 1px solid var(--lpp-rule);
  border-radius: 4px;
  background: var(--lpp-tint);
  max-width: none;
}
.lp-body .lpp-flow-title {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-flow-list {
  counter-reset: lpp-flow;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-body .lpp-flow-list li {
  counter-increment: lpp-flow;
  position: relative;
  padding: 0 0 14px 34px;
  font-size: 0.92rem;
  color: var(--lpp-ink-soft);
  line-height: 1.75;
}
.lp-body .lpp-flow-list li:last-child {
  padding-bottom: 0;
}
.lp-body .lpp-flow-list li::before {
  content: counter(lpp-flow);
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lpp-ink);
  color: var(--lpp-paper);
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-body .lpp-flow-list li b {
  display: block;
  color: var(--lpp-ink);
  font-weight: 800;
  font-size: 0.95rem;
}
.lp-body .lpp-flow-list li strong {
  font-weight: 900;
  color: var(--lpp-seal);
  font-variant-numeric: tabular-nums;
}
.lp-body .lpp-ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: transparent;
}
.lp-body .lpp-cell {
  background: var(--lpp-paper);
  box-shadow: 0 0 0 1px var(--lpp-rule);
  padding: 30px 26px;
}
.lp-body .lpp-cell h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lp-body .lpp-cell p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-worry {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}
.lp-body .lpp-think {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.lp-body .lpp-think--boss {
  justify-content: flex-end;
}
.lp-body .lpp-ava {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--lpp-rule-strong);
  background-color: var(--lpp-paper);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  box-shadow: 0 1px 2px rgba(15, 30, 61, 0.12);
}
.lp-body .lpp-ava--clerk {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230f1e3d%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228.4%22%20cy%3D%227.4%22%20r%3D%222.7%22/%3E%3Cpath%20d%3D%22M3.6%2019.5c0-2.9%202.2-4.9%204.8-4.9%201.6%200%203%20.8%203.8%202%22/%3E%3Crect%20x%3D%2213.6%22%20y%3D%229.4%22%20width%3D%226.6%22%20height%3D%228.8%22%20rx%3D%220.8%22/%3E%3Cpath%20d%3D%22M15.3%2012h3.2M15.3%2014h3.2M15.3%2016h2.2%22/%3E%3C/svg%3E");
}
.lp-body .lpp-ava--boss {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230f1e3d%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227.4%22%20r%3D%222.9%22/%3E%3Cpath%20d%3D%22M5.6%2020c0-3.2%202.9-5.3%206.4-5.3S18.4%2016.8%2018.4%2020%22/%3E%3Cpath%20d%3D%22M9.9%2013.4%2012%2015.5l2.1-2.1%22/%3E%3Cpath%20d%3D%22M12%2015.5l-.9%203%20.9%201.3.9-1.3-.9-3z%22%20fill%3D%22%230f1e3d%22/%3E%3C/svg%3E");
}
.lp-body .lpp-bubble {
  position: relative;
  max-width: 82%;
  margin: 6px 0 0;
  background: var(--lpp-paper);
  border: 1.5px solid var(--lpp-rule);
  border-radius: 20px;
  padding: 15px 19px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--lpp-ink);
  box-shadow: 0 3px 10px rgba(15, 30, 61, 0.08);
}
.lp-body .lpp-bubble::before, .lp-body .lpp-bubble::after {
  content: "";
  position: absolute;
  background: var(--lpp-paper);
  border: 1.5px solid var(--lpp-rule);
  border-radius: 50%;
}
.lp-body .lpp-think--clerk .lpp-bubble::before {
  width: 12px;
  height: 12px;
  left: -10px;
  top: 16px;
}
.lp-body .lpp-think--clerk .lpp-bubble::after {
  width: 7px;
  height: 7px;
  left: -19px;
  top: 26px;
}
.lp-body .lpp-think--boss .lpp-bubble::before {
  width: 12px;
  height: 12px;
  right: -10px;
  top: 16px;
}
.lp-body .lpp-think--boss .lpp-bubble::after {
  width: 7px;
  height: 7px;
  right: -19px;
  top: 26px;
}
.lp-body .lpp-does {
  list-style: none;
  margin: 22px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.lp-body .lpp-does li {
  position: relative;
  padding-left: 32px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--lpp-ink);
}
.lp-body .lpp-does li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--lpp-ink);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
@media (max-width: 720px) {
  .lp-body .lpp-does {
    grid-template-columns: 1fr;
  }
}
.lp-body .lpp-does + .lpp-lead {
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid var(--lpp-rule);
}
.lp-body .lpp-steps {
  counter-reset: lpp-step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-body .lpp-step {
  counter-increment: lpp-step;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
}
.lp-body .lpp-step::before {
  content: counter(lpp-step, decimal-leading-zero);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--lpp-paper);
  border: 2px solid var(--lpp-ink);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--lpp-ink);
  line-height: 1;
  z-index: 1;
}
.lp-body .lpp-step::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(15, 30, 61, 0.22);
}
.lp-body .lpp-step:first-child::after {
  top: 24px;
}
.lp-body .lpp-step:last-child::after {
  bottom: calc(100% - 64px);
}
.lp-body .lpp-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}
.lp-body .lpp-step p {
  margin: 0;
  color: var(--lpp-ink-soft);
  font-size: 0.96rem;
}
.lp-body .lpp-who {
  float: right;
  margin: 2px 0 0 12px;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lp-body .lpp-who--client {
  background: var(--lpp-ink);
  color: var(--lpp-paper);
}
.lp-body .lpp-who--sr {
  background: rgba(200, 16, 46, 0.08);
  color: var(--lpp-seal);
  box-shadow: inset 0 0 0 1px rgba(200, 16, 46, 0.3);
}
.lp-body .lpp-phase {
  margin: 0 0 0.6rem;
  padding-left: 10px;
  border-left: 3px solid var(--lpp-seal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--lpp-seal);
}
.lp-body .lpp-phase-note {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: inherit;
}
.lp-body .lpp-qa {
  border-top: 1px solid var(--lpp-rule);
}
.lp-body .lpp-qa dt {
  font-weight: 800;
  padding: 22px 0 0.4rem 34px;
  position: relative;
}
.lp-body .lpp-qa dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  color: var(--lpp-seal);
  font-weight: 900;
}
.lp-body .lpp-qa dd {
  margin: 0 0 22px 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--lpp-rule);
  color: var(--lpp-ink-soft);
  font-size: 0.96rem;
}
.lp-body .lpp-qa dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.lp-body .lpp-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-body .lpp-voice {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--lpp-paper);
  border: 1px solid var(--lpp-rule);
  box-shadow: 0 10px 30px rgba(15, 30, 61, 0.06);
  padding: 28px 24px 24px;
}
.lp-body .lpp-voice-body {
  margin: 0;
  flex: 1 0 auto;
}
.lp-body .lpp-voice-body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-voice-foot {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 22px;
}
.lp-body .lpp-voice-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lpp-ink);
}
.lp-body .lpp-voice-loc {
  font-size: 0.85rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp .lpcf {
  max-width: 100% !important;
  margin: 2.5rem 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-top: 1px solid var(--lpp-rule);
}
.lp-body .lpp .lpcf-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}
.lp-body .lpp .lpcf-form .lpcf-field {
  border-bottom: 1px solid var(--lpp-rule);
  padding: 18px 0;
  margin: 0 !important;
}
.lp-body .lpp .lpcf-form .lpcf-field--subject,
.lp-body .lpp .lpcf-form .lpcf-field--message {
  grid-column: 1/-1;
}
.lp-body .lpp .lpcf-form label {
  color: var(--lpp-ink) !important;
  letter-spacing: 0.02em;
}
.lp-body .lpp .lpcf-form input,
.lp-body .lpp .lpcf-form textarea {
  border: 1px solid var(--lpp-rule) !important;
  border-radius: 2px !important;
  background: var(--lpp-paper);
}
.lp-body .lpp .lpcf-form input:focus-visible,
.lp-body .lpp .lpcf-form textarea:focus-visible {
  outline: 2px solid var(--lpp-ink);
  outline-offset: 1px;
}
.lp-body .lpp .lpcf-submit {
  grid-column: 1/-1;
  margin-top: 28px;
  padding: 17px !important;
  background: var(--lpp-seal) !important;
  border-radius: 2px !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
}
.lp-body .lpp .lpcf-message {
  grid-column: 1/-1;
  margin-top: 18px !important;
  border-radius: 2px !important;
}
@media (max-width: 720px) {
  .lp-body .lpp .lpcf-form {
    grid-template-columns: 1fr;
  }
}
.lp-body .lpp-note {
  margin: 2.4rem 0 0;
  font-size: 0.8rem;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-footer {
  margin-top: 56px;
  padding: 26px 24px 8px;
  border-top: 1px solid var(--lpp-rule);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--lpp-ink-soft);
}
.lp-body .lpp-section--contact .lpp-h2,
.lp-body .lpp-section--contact .lpp-lead {
  color: var(--lpp-paper);
}
.lp-body .lpp-section--contact .lpp-h2 {
  border-bottom-color: var(--lpp-paper);
}
.lp-body .lpp-section--contact .lpp-footer {
  color: rgba(255, 255, 255, 0.72);
  border-top-color: rgba(255, 255, 255, 0.22);
}
.lp-body .lpp-section--contact .lpp-flow {
  background: var(--lpp-paper);
  border-color: var(--lpp-rule);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.lp-body .lpp-section--contact .lpcf {
  background: var(--lpp-paper) !important;
  padding: 32px 28px !important;
  border-top: 0;
  border-radius: 4px !important;
  box-shadow: 0 12px 32px rgba(15, 30, 61, 0.06);
}
.lp-body .lpp .lpcf-form .lpcf-field--employee_count {
  grid-column: 1/-1;
}
@media (max-width: 720px) {
  .lp-body .lpp-section {
    padding: 48px 0;
  }
  .lp-body .lpp-row--total {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .lp-body .lpp-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .lp-body .lpp-voices {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lp-body .lpp-flow {
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-body .lpp-cta {
    transition: none;
  }
  .lp-body .lpp-cta:hover {
    transform: none;
  }
}

.lp-body .lpp-wrap {
  max-width: 780px;
}
.lp-body .lpp {
  line-height: 1.7;
  line-break: strict;
}
.lp-body .lpp-cell p,
.lp-body .lpp-qa dd,
.lp-body .lpp-step p,
.lp-body .lpp-plan-list li,
.lp-body .lpp-bubble {
  font-size: 1rem;
}
.lp-body .lpp-h1,
.lp-body .lpp-h2,
.lp-body .lpp-cell h3,
.lp-body .lpp-plan-head h3,
.lp-body .lpp-step h3,
.lp-body .lpp-phase-note {
  text-wrap: balance;
}
.lp-body .lpp-lead,
.lp-body .lpp-bubble,
.lp-body .lpp-cell p,
.lp-body .lpp-step p,
.lp-body .lpp-qa dd,
.lp-body .lpp-plan-list li {
  text-wrap: pretty;
}
.lp-body .lpp-who {
  font-size: 0.75rem;
}
.lp-body .lpp-qa dt,
.lp-body .lpp-qa dd {
  line-height: 1.7;
}
.lp-body .lpp-qa dt {
  padding-top: 18px;
}
.lp-body .lpp-qa dd {
  margin-bottom: 18px;
  padding-bottom: 18px;
}
.lp-body .lpp-cell > h3,
.lp-body .lpp-plan-head > h3 {
  display: flex;
  align-items: center;
}
.lp-body .lpp-ic {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-right: 13px;
  background: var(--lpp-paper);
  border: 1.5px solid var(--lpp-rule-strong);
  border-radius: 7px;
  color: var(--lpp-ink);
}
.lp-body .lpp-ic::before {
  content: "";
  width: 21px;
  height: 21px;
  background-color: currentColor;
  -webkit-mask: var(--lpp-ic-src) center/contain no-repeat;
  mask: var(--lpp-ic-src) center/contain no-repeat;
}
.lp-body .lpp-cell:has(.lpp-worry) > h3 > .lpp-ic {
  display: none;
}
.lp-body .lpp-plan--add .lpp-plan-head > h3 > .lpp-ic {
  border-color: var(--lpp-seal);
  color: var(--lpp-seal);
}
.lp-body .lpp-ic--clock {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%278.3%27%2F%3E%3Cpath%20d%3D%27M12%207.6V12l3%201.8%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--verify {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203.2l6.6%202.6v4.6c0%204-2.7%207-6.6%208-3.9-1-6.6-4-6.6-8V5.8z%27%2F%3E%3Cpath%20d%3D%27M9.2%2011.6l2%202%203.4-3.6%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--payslip {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%276%27%20y%3D%273.4%27%20width%3D%2712%27%20height%3D%2717.2%27%20rx%3D%271.4%27%2F%3E%3Cpath%20d%3D%27M9%207.5h6M9%2010.5h6M9%2013.5h4%27%2F%3E%3Cpath%20d%3D%27M13.6%2017.6l1.4%201.4%202.4-2.6%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--renew {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M19.5%2011a7.5%207.5%200%2010-2%205.4%27%2F%3E%3Cpath%20d%3D%27M19.5%206.2V11h-4.8%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--coin {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%278.3%27%2F%3E%3Cpath%20d%3D%27M9.4%208.6l2.6%203%202.6-3M12%2011.6V16M10%2013h4M10%2015h4%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--gift {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%274.4%27%20y%3D%278.6%27%20width%3D%2715.2%27%20height%3D%273.8%27%20rx%3D%271%27%2F%3E%3Cpath%20d%3D%27M6%2012.4V20h12v-7.6M12%208.6V20%27%2F%3E%3Cpath%20d%3D%27M12%208.6C10%206%206.6%206.6%207.4%209c.5%201.4%203%201.6%204.6%201.6M12%208.6C14%206%2017.4%206.6%2016.6%209c-.5%201.4-3%201.6-4.6%201.6%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--users {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%279%27%20cy%3D%278%27%20r%3D%272.8%27%2F%3E%3Cpath%20d%3D%27M3.8%2018.6c0-2.9%202.4-4.8%205.2-4.8s5.2%201.9%205.2%204.8%27%2F%3E%3Ccircle%20cx%3D%2717.4%27%20cy%3D%279.4%27%20r%3D%272.2%27%2F%3E%3Cpath%20d%3D%27M15%2018.6c0-2.3%201.3-3.8%203-3.8%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-ic--nencho {
  --lpp-ic-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%276%27%20y%3D%274%27%20width%3D%2712%27%20height%3D%2716.4%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%279%27%20y%3D%272.7%27%20width%3D%276%27%20height%3D%272.8%27%20rx%3D%271%27%2F%3E%3Cpath%20d%3D%27M9%2010h6M9%2013h6M9%2016h4%27%2F%3E%3C%2Fsvg%3E");
}
.lp-body .lpp-flow-list li {
  position: relative;
  padding: 0 0 22px 52px;
  line-height: 1.7;
}
.lp-body .lpp-flow-list li:last-child {
  padding-bottom: 0;
}
.lp-body .lpp-flow-list li b {
  display: block;
  color: var(--lpp-ink);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.lp-body .lpp-flow-list li::before {
  content: counter(lpp-flow, decimal-leading-zero);
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--lpp-ink);
  border: 0;
  color: var(--lpp-paper);
  font-size: 0.84rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.lp-body .lpp-flow-list li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: rgba(15, 30, 61, 0.18);
}
.lp-body .lpp-flow-list li:last-child::after {
  display: none;
}
.lp-body .lpp-sticky {
  display: none;
}

@media (max-width: 720px) {
  .lp-body .lpp .lpp-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--lpp-rule);
    box-shadow: 0 -6px 20px rgba(15, 30, 61, 0.08);
  }
  .lp-body .lpp .lpp-sticky a {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--lpp-seal);
    color: #fff;
    font-weight: 800;
    border-radius: 2px;
    text-decoration: none;
    font-size: 1.02rem;
  }
  .lp-body .lpp {
    padding-bottom: 80px;
  }
}
body.lp-page:has(.lpp) {
  --lp-width: 940px;
}

body.lp-page:has(.lps) {
  background: #f4f7fb;
}

.lp-body:has(.lps) {
  max-width: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}

.lp-body .lps {
  --lps-ink: #0f1e3d;
  --lps-ink-2: #47536b;
  --lps-bg: #cdd9ec;
  --lps-surface: #ffffff;
  --lps-line: #d8dee9;
  --lps-accent: #c8102e;
  --lps-accent-d: #a50d22;
  --lps-on-dark: #ffffff;
  --lps-on-dark-2: #c3ccde;
  color-scheme: light;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  color: var(--lps-ink);
  background: var(--lps-surface);
}
.lp-body .lps * {
  box-sizing: border-box;
}
.lp-body .lps h1, .lp-body .lps h2, .lp-body .lps h3, .lp-body .lps p, .lp-body .lps dl, .lp-body .lps dd, .lp-body .lps ul, .lp-body .lps ol {
  margin: 0;
  color: inherit;
  text-align: left;
}
.lp-body .lps ul, .lp-body .lps ol {
  padding: 0;
  list-style: none;
}
.lp-body .lps a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}
.lp-body .lps a:hover {
  border-bottom: 0;
}
.lp-body .lps .lps-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-body .lps .lps-wrap--narrow {
  max-width: 760px;
}
.lp-body .lps .lps-hero {
  background: radial-gradient(1200px 420px at 82% -8%, rgba(200, 16, 46, 0.22), transparent 60%), linear-gradient(158deg, #14284b 0%, #0f1e3d 60%, #0b1730 100%);
  color: var(--lps-on-dark);
  padding: 72px 0 64px;
}
.lp-body .lps .lps-hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.lp-body .lps .lps-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lps-accent);
  margin-bottom: 18px;
}
.lp-body .lps .lps-title {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.lp-body .lps .lps-sub {
  margin-top: 18px;
  max-width: 30em;
  color: var(--lps-on-dark-2);
  font-size: 1.02rem;
  line-height: 1.9;
}
.lp-body .lps .lps-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.lp-body .lps .lps-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lps-on-dark);
}
.lp-body .lps .lps-pill--hi {
  background: var(--lps-accent);
  border-color: var(--lps-accent);
  color: #fff;
  font-weight: 800;
}
.lp-body .lps .lps-hero-actions {
  margin-top: 30px;
}
.lp-body .lps .lps-hero-side {
  display: grid;
  gap: 16px;
}
.lp-body .lps .lps-datecard {
  background: var(--lps-surface);
  color: var(--lps-ink);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(6, 14, 33, 0.42);
}
.lp-body .lps .lps-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.lp-body .lps .lps-badge--venue {
  background: var(--lps-accent);
}
.lp-body .lps .lps-badge--online {
  background: #2c4a6b;
}
.lp-body .lps .lps-date {
  margin-top: 12px;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.lp-body .lps .lps-date small {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 2px;
  color: var(--lps-ink-2);
}
.lp-body .lps .lps-date .lps-dow {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 4px;
  color: var(--lps-ink-2);
}
.lp-body .lps .lps-meta {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.lp-body .lps .lps-meta > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 0.92rem;
}
.lp-body .lps .lps-meta dt {
  color: var(--lps-ink-2);
  font-weight: 700;
}
.lp-body .lps .lps-meta dd {
  color: var(--lps-ink);
}
.lp-body .lps .lps-section {
  padding: 68px 0;
  background: var(--lps-surface);
}
.lp-body .lps .lps-section--tint {
  background: var(--lps-bg);
}
.lp-body .lps .lps-head {
  margin-bottom: 32px;
}
.lp-body .lps .lps-head--center {
  text-align: center;
}
.lp-body .lps .lps-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lp-body .lps .lps-lead {
  margin-bottom: 24px;
  color: var(--lps-ink-2);
  font-size: 1.02rem;
}
.lp-body .lps .lps-lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 40em;
}
.lp-body .lps .lps-fineprint {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--lps-ink-2);
}
.lp-body .lps .lps-issues {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lp-body .lps .lps-issue {
  background: var(--lps-surface);
  border: 1px solid var(--lps-line);
  border-radius: 12px;
  padding: 24px;
}
.lp-body .lps .lps-issue h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.lp-body .lps .lps-issue p {
  color: var(--lps-ink-2);
  font-size: 0.95rem;
  line-height: 1.85;
}
.lp-body .lps .lps-agenda {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 8px;
}
.lp-body .lps .lps-agenda::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--lps-line);
}
.lp-body .lps .lps-agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.lp-body .lps .lps-agenda-no {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lps-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 0 5px var(--lps-surface);
}
.lp-body .lps .lps-agenda-body {
  padding-top: 4px;
}
.lp-body .lps .lps-agenda-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.lp-body .lps .lps-agenda-body p {
  color: var(--lps-ink-2);
  font-size: 0.96rem;
  line-height: 1.85;
}
.lp-body .lps .lps-schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.lp-body .lps .lps-datecard--wide {
  box-shadow: 0 10px 30px rgba(15, 30, 61, 0.1);
  border: 1px solid var(--lps-line);
}
.lp-body .lps .lps-checklist {
  display: grid;
  gap: 12px;
}
.lp-body .lps .lps-checklist li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: var(--lps-surface);
  border: 1px solid var(--lps-line);
  border-radius: 10px;
  font-size: 0.98rem;
}
.lp-body .lps .lps-checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lps-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-body .lps .lps-faq {
  display: grid;
  gap: 12px;
}
.lp-body .lps .lps-faq dt {
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 18px 8px;
  background: var(--lps-surface);
  border: 1px solid var(--lps-line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.lp-body .lps .lps-faq dd {
  color: var(--lps-ink-2);
  font-size: 0.95rem;
  line-height: 1.85;
  padding: 0 18px 16px;
  background: var(--lps-surface);
  border: 1px solid var(--lps-line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.lp-body .lps .lps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--lps-accent);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.lp-body .lps .lps-btn:hover {
  background: var(--lps-accent-d);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(200, 16, 46, 0.28);
  border-bottom: 0;
}
.lp-body .lps .lps-btn:focus-visible {
  outline: 3px solid var(--lps-ink);
  outline-offset: 3px;
}
.lp-body .lps .lps-cta-band {
  background: radial-gradient(900px 340px at 50% -10%, rgba(200, 16, 46, 0.2), transparent 60%), linear-gradient(160deg, #14284b, #0b1730);
  color: var(--lps-on-dark);
  padding: 64px 0 0;
}
.lp-body .lps .lps-cta-band .lps-lead {
  color: var(--lps-on-dark-2);
}
.lp-body .lps .lps-footer {
  margin-top: 56px;
  padding: 22px 24px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--lps-on-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lp-body .lps .lps-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 30, 61, 0.94);
  backdrop-filter: blur(6px);
}
.lp-body .lps .lps-sticky a {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--lps-accent);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
}

@media (max-width: 860px) {
  .lp-body .lps .lps-hero {
    padding: 52px 0 44px;
  }
  .lp-body .lps .lps-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lp-body .lps .lps-issues {
    grid-template-columns: 1fr;
  }
  .lp-body .lps .lps-schedule {
    grid-template-columns: 1fr;
  }
  .lp-body .lps .lps-section {
    padding: 48px 0;
  }
  .lp-body .lps .lps-sticky {
    display: block;
  }
  .lp-body .lps .lps-cta-band {
    padding-bottom: 84px;
  }
}
body.lp-page:has(.lps) {
  --lp-width: 1040px;
}

.promotion-body-preview {
  margin-top: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  max-height: 400px;
  overflow: auto;
}
.promotion-body-preview pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-size: 12px;
}

.promotion-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.promotion-asset-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.promotion-asset-card__thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.promotion-asset-card__body {
  padding: 8px;
}

.promotion-asset-card__name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  word-break: break-all;
}

.promotion-image-preview {
  display: block;
  max-width: 240px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.promotion-image-thumb {
  max-width: 300px;
  border-radius: 4px;
}

.card .status-control-btn.active--draft {
  background-color: #6c757d;
  border-color: #6c757d;
}
.card .status-control-btn.active--published {
  background-color: #28a745;
  border-color: #28a745;
}

.promotion-contact-form {
  border-top: 1px solid #ddd;
  padding: 12px 0;
}
.promotion-contact-form:first-of-type {
  border-top: 0;
}

.promotion-contact-form__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.promotion-contact-form__head .btn-group {
  margin-left: auto;
}

.promotion-contact-form__name {
  font-weight: 600;
}

.promotion-contact-form__fields {
  margin-top: 8px;
}

.promotion-contact-form__field-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.promotion-contact-form__field-list > li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #ddd;
}
.promotion-contact-form__field-list > li:last-child {
  border-bottom: 0;
}
.promotion-contact-form__field-list > li > span:nth-child(2) {
  margin-left: auto;
}

.meeting-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.meeting-form__field {
  flex: 1;
  min-width: 200px;
}

.meeting-form__field--narrow {
  min-width: 120px;
}

.meeting-form__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.meeting-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meeting-card__title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.meeting-card__meta {
  font-size: 0.8rem;
  color: #6c757d;
}

.meeting-card__actions {
  display: flex;
  gap: 0.5rem;
}

.meeting-card__link {
  text-decoration: none;
}

.meeting-empty {
  text-align: center;
  color: #6c757d;
  padding: 2rem 0;
}

.meeting-room__icon {
  font-size: 2rem;
}

.meeting-room__meta {
  font-size: 0.8rem;
  color: #6c757d;
}

.meeting-room__label {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

.negotiation-timeline {
  position: relative;
  padding-left: 24px;
}
.negotiation-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

.negotiation-timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.negotiation-timeline-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6565a4;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #6565a4;
}

.negotiation-timeline-date {
  font-size: 0.8em;
  color: #6c757d;
  margin-bottom: 4px;
}

.negotiation-timeline-content {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9em;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
}

.negotiation-activity-form .status-control-btn:disabled,
.card .status-control-btn:disabled {
  opacity: 1;
  cursor: default;
}
.negotiation-activity-form .status-control-btn.active--new-lead,
.card .status-control-btn.active--new-lead {
  background-color: #1e40af;
  border-color: #1e40af;
}
.negotiation-activity-form .status-control-btn.active--first-contact,
.card .status-control-btn.active--first-contact {
  background-color: #f57c00;
  border-color: #f57c00;
}
.negotiation-activity-form .status-control-btn.active--negotiated,
.card .status-control-btn.active--negotiated {
  background-color: #65426c;
  border-color: #65426c;
}
.negotiation-activity-form .status-control-btn.active--lost,
.card .status-control-btn.active--lost {
  background-color: #b71c1c;
  border-color: #b71c1c;
}
.negotiation-activity-form .status-control-btn.active--won,
.card .status-control-btn.active--won {
  background-color: #28a745;
  border-color: #28a745;
}

.negotiation-activity-form {
  background: #e7f3ff;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.negotiation-activity-form .form-row {
  flex-direction: column;
  gap: 12px;
}
.negotiation-activity-form .form-row .form-group-inline {
  width: 100%;
}
.negotiation-activity-form .form-row .form-group-inline .form-input {
  width: 100%;
  box-sizing: border-box;
}

.ncm-empty {
  margin: 0 0 16px;
}
.ncm-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ncm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}
.ncm-item-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}
.ncm-item-name {
  color: #333;
}
.ncm-item-meta {
  color: #6c757d;
  font-size: 0.85rem;
  word-break: break-all;
}
.ncm-remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}
.ncm-remove:hover:not(:disabled) {
  color: #dc3545;
  background: #f8d7da;
}
.ncm-remove:disabled {
  opacity: 0.5;
  cursor: default;
}
.ncm-add {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ncm-add-select {
  flex: 1 1 auto;
  min-width: 0;
}
.ncm-add-btn {
  flex-shrink: 0;
}

.org-chart-wrap {
  overflow-x: auto;
  padding: 24px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  margin-bottom: 32px;
}

.org-tree-root {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}

.org-node-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-node-card {
  background: #fff;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 160px;
  font-size: 12px;
  text-align: center;
}
.org-node-card.is-root {
  border-color: #6565a4;
}

.org-node-name {
  font-weight: 700;
  color: #333;
}

.org-node-head {
  font-size: 11px;
  color: #6c757d;
  margin-top: 4px;
}

.org-node-count {
  font-size: 11px;
  color: #6c757d;
  margin-top: 4px;
}

.org-connector-v {
  width: 2px;
  height: 20px;
  background: #ddd;
  margin: 0 auto;
}

.org-children-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.org-empty {
  text-align: center;
  color: #6c757d;
  padding: 32px;
}

.assignment-row {
  display: grid;
  grid-template-columns: 1fr 1fr 4em;
  column-gap: 1rem;
  align-items: center;
  margin-bottom: 8px;
}

.assignment-row .assignment-suffix {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.assignment-status {
  font-size: 15px;
  line-height: 1.8;
}

.assignment-line--prev {
  color: #6c757d;
}

.assignment-line--current {
  color: #333;
  font-weight: 500;
}

.assignment-line--scheduled {
  color: #6565a4;
}

.assignment-date {
  font-size: 11px;
  color: #6c757d;
  margin-left: 4px;
}

.dept-item {
  padding: 8px 0;
}

.position-child-panel {
  margin: 8px 20px 16px;
  padding: 16px;
  background: #f8f9fa;
  border-left: 3px solid #6565a4;
  border-radius: 4px;
}

.dept-item__header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.sale-table th:nth-child(6),
.sale-table td:nth-child(6) {
  white-space: nowrap;
}

.sale-item-row {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fff;
  transition: box-shadow 0.15s ease;
}
.sale-item-row:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sale-item-fields {
  display: grid;
  grid-template-columns: 1fr 90px 110px 110px 60px;
  gap: 8px;
  align-items: flex-end;
}

.sale-item-desc {
  margin-top: 8px;
}

.sale-amount-display {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f8f9fa;
  font-size: 15px;
  line-height: 1.5;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #333;
}

.sale-total {
  text-align: right;
  font-weight: 600;
}

@media (max-width: 768px) {
  .sale-item-fields {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
  }
  .sale-item-fields > :last-child {
    grid-column: 2;
    justify-self: end;
  }
}
.schedule-grid {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  padding-top: 12px;
}
.schedule-grid-hours {
  width: 56px;
  flex: 0 0 56px;
  border-right: 1px solid #eee;
}
.schedule-grid-hour {
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
  position: relative;
}
.schedule-grid-hour-label {
  position: absolute;
  top: -8px;
  right: 8px;
  font-size: 11px;
  color: #6c757d;
}
.schedule-grid-column {
  position: relative;
  flex: 1 1 auto;
  cursor: pointer;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, #eee 43px, #eee 44px);
}

.schedule-event {
  position: absolute;
  left: 4px;
  right: 4px;
  box-sizing: border-box;
  padding: 4px 8px;
  border: 1px solid #6565a4;
  border-radius: 4px;
  background: #f8f9fa;
  color: #333;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}
.schedule-event-time {
  display: block;
  font-size: 11px;
  color: #666;
}
.schedule-event-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
