* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3f6fb;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef3f9;
}

.login-card {
  width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 24px 34px;
  background: #001b37;
  color: #ffffff;
}

.login-logo {
  display: block;
  width: 315px;
  max-width: 86%;
  height: auto;
}

.login-form {
  display: grid;
  gap: 16px;
  padding: 30px 34px 34px;
}

.login-form h1 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 20px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #374151;
}

.login-form input {
  height: 38px;
  padding: 7px 10px;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  font-size: 14px;
}

.login-form input:focus {
  border-color: #1677ff;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.14);
}

.login-form button {
  height: 38px;
  margin-top: 4px;
  border: 1px solid #1677ff;
  border-radius: 4px;
  background: #1677ff;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

.login-form .login-password-link {
  height: auto;
  justify-self: end;
  margin-top: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1677ff;
  font-size: 12px;
  font-weight: 400;
}

.login-error {
  padding: 9px 11px;
  border: 1px solid #ffd6d6;
  border-radius: 4px;
  background: #fff2f0;
  color: #cf1322;
}

.login-password-modal[hidden] {
  display: none;
}

.login-password-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.login-password-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.login-password-panel {
  position: relative;
  width: 430px;
  max-width: calc(100vw - 32px);
  margin: 120px auto 0;
  padding: 24px 42px 30px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.login-password-panel h3 {
  margin: 0 0 20px;
  text-align: center;
  color: #111827;
  font-size: 18px;
}

.login-password-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.login-password-panel label {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #4b5563;
}

.login-password-panel label span {
  text-align: right;
}

.login-password-panel input {
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.login-password-panel input:focus {
  border-color: #1677ff;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.login-password-message {
  margin: 4px 0 14px 104px;
  font-size: 12px;
}

.login-password-message.error {
  color: #cf1322;
}

.login-password-message.ok {
  color: #168a3a;
}

.login-password-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}

a {
  color: #155eef;
  text-decoration: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 172px;
  background: #001b37;
  color: #b8c7d9;
  overflow-y: auto;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 4px 16px;
  min-height: 88px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo img {
  display: block;
  width: 160px;
  max-height: 72px;
  object-fit: contain;
}

.side-nav {
  display: grid;
  padding: 12px 0;
}

.side-nav a,
.side-group {
  min-height: 40px;
  padding: 11px 18px;
  color: #b8c7d9;
}

.side-nav a:hover,
.side-nav a.active {
  background: #0758c8;
  color: #ffffff;
}

.side-nav .sub {
  padding-left: 52px;
  background: #001427;
}

.side-nav em {
  margin-left: 4px;
  padding: 1px 4px;
  border-radius: 3px;
  background: #ff8a00;
  color: #ffffff;
  font-size: 9px;
  font-style: normal;
}

.side-group {
  color: #ffffff;
  background: #05213f;
}

.side-group.open {
  border-left: 3px solid #1677ff;
}

.app-shell {
  min-height: 100vh;
  margin-left: 172px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 18px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.module-title {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f3f6fb;
}

.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.user-logout {
  position: absolute;
  top: 36px;
  right: 0;
  z-index: 50;
  display: none;
  min-width: 86px;
  padding: 6px;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.user-menu:hover .user-logout,
.user-menu:focus-within .user-logout {
  display: block;
}

.user-logout button {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #1f2937;
  cursor: pointer;
  text-align: center;
}

.user-logout button:hover {
  background: #eef5ff;
  color: #155eef;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 14px;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  border-right: 0;
  color: #5f6b7a;
  white-space: nowrap;
}

.tabs a + a::before {
  content: ">";
  color: #9ca3af;
  font-weight: 400;
  margin-right: 8px;
}

.tabs a.active {
  color: #111827;
  font-weight: 700;
  background: transparent;
}

.page {
  max-width: none;
  margin: 0;
  padding: 12px 16px 24px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

h1,
h2 {
  margin: 0;
  color: #111827;
}

h1 {
  font-size: 28px;
}

h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

p {
  margin: 8px 0 0;
  color: #6b7280;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #1677ff;
  border-radius: 3px;
  background: #ffffff;
  color: #1677ff;
  font-size: 13px;
  cursor: pointer;
}

.button.primary {
  border-color: #1677ff;
  background: #1677ff;
  color: #ffffff;
}

.button.disabled {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
  pointer-events: none;
}

.button.warning {
  border-color: #ff9f1a;
  background: #ff9f1a;
  color: #ffffff;
}

.button.danger {
  border-color: #ff4d4f;
  background: #ff4d4f;
  color: #ffffff;
}

.button.ghost {
  border-color: transparent;
  color: #4b5563;
}

.button.tiny {
  min-height: 26px;
  padding: 3px 9px;
  font-size: 12px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid #e7edf5;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.toolbar-spacer {
  flex: 1;
}

.order-batch-wrap {
  position: relative;
}

.order-batch-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  width: 128px;
  padding: 4px 0;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.order-batch-menu.open {
  display: block;
}

.order-batch-menu button {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.order-batch-menu button:last-child {
  border-bottom: 0;
}

.order-batch-menu button:hover {
  background: #eef5ff;
  color: #155eef;
}

.switch {
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #d5dbe4;
  position: relative;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.switch.on {
  background: #1677ff;
}

.switch.on::after {
  left: 21px;
}

.muted {
  color: #6b7280;
}

.icon-button {
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #fff;
}

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

.search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.search input {
  flex: 1;
}

.order-filter-panel {
  margin: -12px -16px 10px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e7edf5;
  background: #ffffff;
}

.order-filter-panel.is-collapsed {
  display: none;
}

.order-filter-grid {
  display: grid;
  grid-template-columns: 300px repeat(5, minmax(190px, 1fr)) 300px minmax(190px, 1fr);
  gap: 12px 24px;
  align-items: center;
}

.order-filter-grid label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
}

.order-filter-grid label > span {
  text-align: right;
  white-space: nowrap;
}

.order-filter-grid input {
  height: 32px;
  min-height: 32px;
  border-color: #dfe5ee;
  border-radius: 2px;
  color: #475569;
}

.filter-date-range > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.filter-date-range em {
  color: #111827;
  font-style: normal;
  text-align: center;
}

.order-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.order-filter-actions .button {
  min-width: 66px;
}

.panel,
.table-wrap {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background: #ffffff;
}

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

.table-wrap.naked {
  padding: 0;
  border: 0;
  margin: 0;
}

.dense-card {
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 8px 10px;
  border: 1px solid #e9edf4;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f7f9fc;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.data-table {
  min-width: 1380px;
}

.data-table td {
  white-space: nowrap;
  font-size: 12px;
  height: 40px;
  line-height: 1.4;
}

.data-table tr.selected td {
  background: #e8f4ff;
}

.data-table tr.order-completed-row td {
  background: #f1f2f4;
  color: #6b7280;
}

.data-table tr.order-completed-row.selected td {
  background: #e5e7eb;
}

.data-table tr.order-click-row {
  cursor: pointer;
}

.data-table tr.order-click-row:hover td {
  background: #f0f7ff;
}

.data-table tr.order-click-row.selected:hover td {
  background: #e0f0ff;
}

.data-table tr.order-click-row.order-completed-row:hover td {
  background: #e5e7eb;
}

.ellipsis {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  color: #1677ff;
}

.status.ok {
  color: #1769ff;
}

.empty {
  color: #9ca3af;
  text-align: center;
}

.grid.two,
.grid.three {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 14px;
  margin: 0;
}

dt {
  color: #6b7280;
}

dd {
  margin: 0;
}

.form-page {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.fee-table input,
.fee-table select {
  min-width: 100px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-bottom: 28px;
}

.ops-form {
  display: grid;
  gap: 6px;
}

.ops-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.order-status-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  font-size: 13px;
  color: #1f2937;
}

.order-status-control select {
  height: 32px;
  min-width: 110px;
  border: 1px solid #cfd8e3;
  border-radius: 3px;
  padding: 0 8px;
  background: #fff;
}

.order-status-control strong {
  min-width: 66px;
  color: #1677ff;
}

.order-status-control strong.completed {
  color: #6b7280;
}

.ops-form.order-readonly input,
.ops-form.order-readonly select,
.ops-form.order-readonly textarea {
  background: #f6f7f9;
  color: #6b7280;
}

.ops-section {
  padding: 14px 16px 20px;
  background: #ffffff;
  border: 1px solid #e7edf5;
}

.ops-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-left: 8px;
  border-left: 3px solid #1677ff;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.ops-section-title em {
  color: #6b7280;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.ops-toggle {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #d1d5db;
  position: relative;
}

.ops-toggle::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.ops-grid {
  display: grid;
  gap: 13px 30px;
}

.ops-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ops-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ops-grid label,
.ops-bl-grid label,
.ops-notes label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.ops-grid label > span,
.ops-bl-grid label > span,
.ops-notes label > span {
  color: #374151;
}

.ops-grid input,
.ops-grid select,
.ops-grid textarea,
.ops-bl-grid input,
.ops-bl-grid select,
.ops-bl-grid textarea,
.ops-notes textarea {
  min-height: 32px;
  border-color: #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.ops-grid small {
  color: #f04438;
  font-size: 11px;
  font-weight: 400;
}

.ops-grid .wide {
  grid-column: span 2;
}

.ops-bl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.ops-bl-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.ops-bl-grid label:nth-child(5) textarea,
.ops-bl-grid label:nth-child(6) textarea {
  min-height: 116px;
}

.bl-section {
  padding: 0 16px 18px;
  border-color: #edf1f6;
}

.bl-section-title {
  justify-content: space-between;
  min-height: 48px;
  margin: 0 -16px 10px;
  padding: 0 16px 0 12px;
  border-left: 0;
  border-bottom: 1px solid #edf1f6;
}

.bl-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 3px solid #1677ff;
}

.bl-title-left strong {
  color: #111827;
  font-size: 15px;
}

.bl-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.bl-block {
  display: grid;
  gap: 8px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
}

.bl-block > span {
  min-height: 18px;
}

.bl-block textarea {
  min-height: 116px;
  padding: 10px 12px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  resize: vertical;
}

.party-lookup {
  position: relative;
}

.party-lookup textarea:focus {
  border-color: #1677ff;
  outline: 0;
  box-shadow: 0 0 0 1px rgba(22, 119, 255, 0.12);
}

.party-dropdown {
  display: none;
  position: fixed;
  z-index: 500;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  text-align: left;
}

.party-dropdown.open {
  display: block;
}

.party-dropdown::before {
  display: none;
}

.party-menu {
  display: block !important;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  border: 0;
  box-shadow: none;
}

.party-menu button {
  position: relative;
  min-height: 30px;
  padding: 6px 54px 6px 10px;
  border-bottom: 1px solid #edf1f6;
  color: #4b5563;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.party-menu button:hover,
.party-menu button:focus {
  background: #eaf3ff;
  color: #155eef;
}

.party-menu button a {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1677ff;
  font-style: normal;
  pointer-events: none;
}

.party-add {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 30px;
  padding: 6px 10px;
  border: 0;
  border-top: 1px solid #edf1f6;
  background: #ffffff;
  color: #1677ff;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.party-modal[hidden] {
  display: none;
}

.party-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.party-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.party-modal-panel {
  position: relative;
  width: 430px;
  margin: 110px auto 0;
  padding: 20px 40px 28px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.party-modal-panel h3 {
  margin: 0 0 18px;
  text-align: center;
  color: #111827;
  font-size: 18px;
}

.party-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.party-modal-panel label {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 16px;
  color: #4b5563;
  font-size: 14px;
}

.party-modal-panel label span {
  padding-top: 8px;
  text-align: right;
}

.party-modal-panel input,
.party-modal-panel textarea {
  min-height: 34px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.party-modal-panel textarea {
  min-height: 136px;
  resize: vertical;
}

.party-modal-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}

.bl-cargo-fields {
  display: grid;
  grid-template-columns: 300px 360px 360px;
  gap: 14px 48px;
  max-width: 1120px;
  margin-top: 20px;
}

.bl-field {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.bl-field > span {
  text-align: right;
  white-space: nowrap;
}

.bl-field input,
.bl-field select {
  min-height: 34px;
  border-color: #dfe5ee;
  border-radius: 2px;
}

.package-field {
  grid-template-columns: 86px 96px 126px;
}

.package-unit-lookup {
  position: relative;
}

.package-unit-lookup input,
.bl-type-lookup input {
  width: 100%;
  padding-right: 26px;
}

.package-unit-lookup::after,
.bl-type-lookup::after {
  content: "⌄";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

.bl-type-lookup {
  position: relative;
}

.package-unit-menu {
  width: 180px;
  max-height: 300px;
}

.bl-type-menu {
  width: 300px;
  max-height: 420px;
}

.suffix-field > div {
  position: relative;
}

.suffix-field input {
  padding-right: 42px;
}

.suffix-field b {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a7b2;
  font-size: 12px;
}

.air-weight-field,
.air-chargeable-field {
  grid-template-columns: 86px minmax(180px, 1fr) auto;
  column-gap: 12px;
}

.air-weight-field > div,
.air-chargeable-field > div {
  min-width: 180px;
}

.air-weight-field em,
.air-chargeable-field em {
  color: #9aa3af;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  white-space: nowrap;
}

.air-chargeable-field input[readonly],
.air-weight-field input[readonly] {
  background: #ffffff;
}

.bl-remark-hidden {
  display: none;
}

.compact-row {
  margin-top: 16px;
}

.customer-edit-form .ops-toolbar {
  margin-bottom: 10px;
}

.customer-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px 28px;
  padding: 18px 20px 24px;
}

.customer-form-grid label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.customer-form-grid label > span {
  justify-self: end;
  white-space: nowrap;
}

.customer-form-grid label.required > span::before {
  content: "*";
  color: #ff4d4f;
  margin-right: 2px;
}

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

.customer-form-grid input,
.customer-form-grid select,
.customer-form-grid textarea {
  width: 100%;
  min-height: 34px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.customer-form-grid textarea {
  min-height: 36px;
  resize: vertical;
}

.ops-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 14px 16px 18px;
  background: #ffffff;
  border: 1px solid #e7edf5;
}

.ops-notes label {
  padding-left: 0;
  border-left: 0;
}

.ops-notes label > span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-left: 8px;
  border-left: 3px solid #1677ff;
}

.ops-notes textarea {
  min-height: 86px;
  margin-left: 0;
}

.booking-remark-field {
  position: relative;
}

.remark-template-panel {
  display: none;
  position: absolute;
  left: -8px;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  margin: 0;
  border: 1px solid #e7edf5;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.remark-template-panel.open {
  display: block;
}

.remark-template-list {
  display: grid;
}

.remark-template-list:empty {
  display: none;
}

.remark-template-list button {
  min-height: 32px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  text-align: left;
  padding: 6px 14px;
}

.remark-template-list button:hover {
  background: #eaf3ff;
}

.remark-template-add {
  width: 100%;
  min-height: 34px;
  border: 0;
  background: #ffffff;
  color: #1677ff;
  cursor: pointer;
  font-weight: 600;
}

.remark-modal[hidden] {
  display: none;
}

.remark-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
}

.remark-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.remark-modal-panel {
  position: relative;
  width: 420px;
  margin: 90px auto 0;
  padding: 22px 30px 30px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.remark-modal-panel h3 {
  margin: 0 0 28px;
  color: #111827;
  text-align: center;
  font-size: 18px;
}

.remark-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.remark-modal-panel label {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 20px;
  color: #4b5563;
  font-size: 14px;
}

.remark-modal-panel label span {
  padding-top: 8px;
  text-align: right;
}

.remark-modal-panel label em {
  color: #f04438;
  font-style: normal;
}

.remark-modal-panel input,
.remark-modal-panel textarea {
  min-height: 36px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.remark-modal-panel textarea {
  min-height: 96px;
  resize: vertical;
}

.remark-modal-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.stowage-exact {
  display: grid;
  gap: 14px;
}

.stowage-line {
  display: grid;
  align-items: center;
  column-gap: 54px;
}

.stowage-line.two-fields {
  grid-template-columns: 300px 300px;
}

.stowage-line.six-fields {
  grid-template-columns: repeat(6, minmax(220px, 1fr));
}

.stowage-line.six-fields .express-address-field {
  grid-column: span 3;
}

.stowage-line.one-field {
  grid-template-columns: 300px;
}

.stowage-line.express-master-line {
  grid-template-columns: 980px;
}

.stowage-pair {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.stowage-pair > span,
.stowage-label {
  justify-self: end;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.stowage-pair input,
.stowage-pair select,
.container-control select,
.container-control input {
  width: 100%;
  min-height: 34px;
  border-color: #dfe5ee;
  border-radius: 2px;
}

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

.inline-help input {
  flex: 1;
}

.inline-help a {
  color: #1677ff;
  white-space: nowrap;
  font-weight: 600;
}

.express-master-help {
  gap: 12px;
}

.express-battery-label {
  margin-left: 56px;
  color: #374151;
  font-weight: 600;
  white-space: nowrap;
}

.express-customs-label {
  margin-left: 30px;
}

.express-battery-options .form-control,
.express-battery-options ul {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.express-battery-options .form-control div,
.express-battery-options li,
.express-battery-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
}

.express-battery-options input[type="radio"] {
  width: 13px;
  min-height: 13px;
  height: 13px;
  margin: 0;
  accent-color: #1677ff;
  flex: 0 0 13px;
}

.air-track-links {
  min-width: 430px;
}

.stowage-boxline {
  display: grid;
  grid-template-columns: 74px max-content max-content;
  align-items: center;
  column-gap: 10px;
}

.container-groups {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.container-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.container-control select {
  width: 86px;
}

.box-type-lookup {
  position: relative;
  width: 104px;
  flex: 0 0 104px;
}

.stowage-boxline .box-type-lookup > input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  min-height: 34px;
  border: 1px solid #dfe5ee !important;
  border-radius: 2px 0 0 2px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  line-height: 32px;
  padding: 0 28px 0 10px;
}

.box-type-menu {
  left: 0;
  right: auto;
  width: 150px;
  max-height: 360px;
  border-color: #dfe5ee;
}

.stowage-boxline .container-control > input[type="number"],
.stowage-boxline .container-control > input[data-box-count] {
  box-sizing: border-box;
  width: 58px;
  height: 34px;
  min-height: 34px;
  text-align: center;
  border: 1px solid #dfe5ee !important;
  border-left: 0 !important;
  border-right: 0 !important;
  flex: 0 0 58px;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 0;
}

.stowage-boxline .container-control > .container-step {
  box-sizing: border-box;
  width: 40px;
  height: 34px;
  min-height: 34px;
  border: 1px solid #dfe5ee !important;
  background: #f8fafc !important;
  color: #667085;
  cursor: pointer;
  border-radius: 0 !important;
  padding: 0;
}

.stowage-boxline .container-control > .container-step[data-action="minus"] {
  border-left: 0 !important;
}

.stowage-boxline .container-control > .container-step[data-action="plus"] {
  border-radius: 0 2px 2px 0 !important;
}

.container-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  width: 14px;
  height: 14px;
  min-height: 14px;
  border: 0 !important;
  border-radius: 50%;
  background: #c9cdd4 !important;
  color: #ffffff;
  cursor: pointer;
  font-size: 10px;
  line-height: 14px;
  padding: 0;
}

.container-remove[hidden] {
  display: none !important;
}

.container-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #1677ff;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0 0 2px;
}

.container-add span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1677ff;
  color: #ffffff;
  font-size: 12px;
  line-height: 14px;
}

.port-lookup {
  position: relative;
  width: 100%;
}

.port-lookup input {
  width: 100%;
}

.port-menu {
  width: 260px;
  max-height: 320px;
}

.date-click-picker {
  cursor: pointer;
}

.readonly-input {
  color: #9ca3af;
  background: #f8fafc !important;
}

.lookup-field {
  position: relative;
}

.lookup-box {
  position: relative;
  display: flex;
  align-items: stretch;
}

.lookup-box > input {
  flex: 1;
  padding-right: 38px;
}

.lookup-icon {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 26px;
  height: 24px;
  border: 0;
  border-radius: 3px;
  background: #8b9097;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
}

.lookup-menu {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 2px solid #f04444;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.lookup-menu.open {
  display: block;
}

.lookup-menu button {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 8px 14px;
  border: 0;
  background: #ffffff;
  color: #5f6671;
  text-align: left;
  cursor: pointer;
}

.lookup-menu button.option-hidden {
  display: none !important;
}

.lookup-menu button:hover,
.lookup-menu button:focus {
  background: #eaf3ff;
  color: #1f2937;
}

.lookup-add {
  display: block;
  position: sticky;
  bottom: 0;
  width: 100%;
  min-height: 34px;
  padding: 8px 14px;
  border-top: 1px solid #e5e7eb;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: #ffffff;
  color: #1677ff;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.lookup-box > .lookup-menu {
  position: fixed;
  z-index: 500;
  top: auto;
  right: auto;
  left: auto;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  text-align: left;
}

.lookup-box > .lookup-menu button {
  min-height: 30px;
  padding: 6px 10px;
  border-bottom: 1px solid #edf1f6;
  color: #4b5563;
}

.lookup-box > .lookup-menu button:hover,
.lookup-box > .lookup-menu button:focus {
  background: #eaf3ff;
  color: #155eef;
}

.lookup-box > .lookup-menu .lookup-add {
  color: #1677ff;
  text-align: center;
}

.company-modal[hidden] {
  display: none;
}

.company-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
}

.company-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.company-modal-panel {
  position: relative;
  width: 420px;
  margin: 90px auto 0;
  padding: 22px 30px 30px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.company-modal-panel h3 {
  margin: 0 0 34px;
  color: #111827;
  text-align: center;
  font-size: 18px;
}

.company-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.company-modal-panel label {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #4b5563;
  font-size: 14px;
}

.company-modal-panel label span {
  text-align: right;
}

.company-modal-panel input {
  min-height: 36px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.company-modal-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}

.fee-detail-section {
  padding-bottom: 14px;
  overflow: visible;
}

.fee-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 10px;
}

.fee-batch-wrap {
  position: relative;
  display: inline-flex;
}

.fee-batch-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 520;
  display: none;
  width: 162px;
  padding: 8px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.fee-batch-menu.open {
  display: block;
}

.fee-batch-menu button {
  display: block;
  width: 100%;
  height: 32px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}

.fee-batch-menu button:last-child {
  border-bottom: 0;
}

.salary-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 12px;
  border: 1px solid #e5eaf2;
  background: #ffffff;
}

.salary-filter-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.salary-filter-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
}

.salary-filter-form input {
  height: 32px;
  border: 1px solid #dbe3ee;
  border-radius: 2px;
  padding: 0 8px;
}

.salary-readonly-note {
  color: #ef4444;
  font-size: 13px;
}

.salary-panel {
  overflow: auto;
}

.salary-table th,
.salary-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.salary-table input,
.salary-table select,
.salary-remark textarea {
  border: 1px solid #dbe3ee;
  border-radius: 2px;
  background: #ffffff;
  color: #111827;
}

.salary-table input:disabled,
.salary-table select:disabled,
.salary-remark textarea:disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

.salary-money-input {
  width: 86px;
  height: 28px;
  padding: 0 8px;
}

.salary-rate-input {
  width: 64px;
  height: 28px;
  padding: 0 8px;
}

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

.salary-detail-row td {
  background: #fbfdff;
}

.salary-detail-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 360px;
  gap: 16px;
  padding: 12px 8px;
}

.salary-detail-title {
  margin-bottom: 8px;
  color: #111827;
  font-weight: 600;
}

.salary-remark {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 600;
}

.salary-remark textarea {
  min-height: 106px;
  padding: 8px;
  resize: vertical;
  font-weight: 400;
}

.fee-batch-menu button:hover {
  background: #f5f9ff;
  color: #1677ff;
}

.fee-detail-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  border-top: 1px solid #e5e7eb;
}

.fee-detail-table th,
.fee-detail-table td {
  min-width: 96px;
  text-align: center;
  white-space: nowrap;
}

.fee-detail-table th:nth-child(1),
.fee-detail-table td:nth-child(1),
.fee-detail-table th:nth-child(2),
.fee-detail-table td:nth-child(2) {
  min-width: 56px;
}

.fee-detail-table th:nth-child(4),
.fee-detail-table td:nth-child(4),
.fee-detail-table th:nth-child(5),
.fee-detail-table td:nth-child(5) {
  min-width: 150px;
}

.fee-detail-table input,
.fee-detail-table select {
  width: 100%;
  min-width: 86px;
  height: 28px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #1f2937;
  text-align: center;
}

.fee-detail-table input:focus,
.fee-detail-table select:focus {
  border-color: #1677ff;
  background: #ffffff;
  outline: 0;
}

.fee-detail-table input[readonly] {
  color: #4b5563;
}

.fee-detail-table input:disabled,
.fee-detail-table select:disabled {
  color: #4b5563;
  cursor: not-allowed;
  opacity: 1;
}

.fee-name-lookup,
.fee-settlement-lookup,
.fee-billing-lookup,
.fee-currency-lookup {
  position: relative;
}

.fee-name-menu,
.fee-settlement-menu,
.fee-billing-menu,
.fee-currency-menu {
  position: fixed;
  z-index: 500;
  display: none;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  text-align: left;
}

.fee-drag-handle {
  color: #4b5563;
  cursor: move;
  font-weight: 700;
  user-select: none;
}

.fee-detail-table tr.dragging {
  opacity: 0.45;
}

.fee-total-row td {
  height: 36px;
  border-top: 3px solid #d9dde5;
  background: #ffffff;
  font-weight: 600;
}

.fee-total-row td:first-child {
  padding-left: 16px;
  color: #374151;
  text-align: left;
}

.fee-total-row [data-fee-table-total] {
  color: #111827;
  text-align: center;
}

.fee-name-menu.open,
.fee-settlement-menu.open,
.fee-billing-menu.open,
.fee-currency-menu.open {
  display: block;
}

.fee-name-menu button,
.fee-settlement-menu button,
.fee-billing-menu button,
.fee-currency-menu button {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  text-align: left;
}

.fee-name-menu button:hover,
.fee-name-menu button.active,
.fee-settlement-menu button:hover,
.fee-billing-menu button:hover,
.fee-currency-menu button:hover {
  background: #eaf3ff;
  color: #155eef;
}

.fee-name-menu .fee-add-option,
.fee-settlement-menu .fee-add-option {
  color: #1677ff;
  text-align: center;
}

.fee-total-section {
  padding-bottom: 22px;
}

.fee-total-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px 28px;
  padding: 14px 18px 4px;
}

.fee-total-grid label {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 8px;
}

.fee-total-grid label span {
  color: #1f2937;
  font-weight: 600;
  text-align: right;
}

.fee-total-grid input {
  height: 32px;
  padding: 6px 9px;
  border: 1px solid #e0e6ef;
  border-radius: 2px;
  background: #f4f6f9;
  color: #1f2937;
}

.settings-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.exchange-rate-page {
  min-height: 520px;
  padding: 12px 14px 24px;
  background: #ffffff;
}

.exchange-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.button.danger-outline {
  border: 1px solid #ff4d4f;
  background: #ffffff;
  color: #ff4d4f;
}

.exchange-table th,
.exchange-table td {
  height: 38px;
  text-align: left;
  vertical-align: middle;
}

.exchange-table th:nth-child(1),
.exchange-table td:nth-child(1),
.exchange-table th:nth-child(2),
.exchange-table td:nth-child(2) {
  width: 48px;
  text-align: center;
}

.exchange-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.exchange-modal[hidden] {
  display: none;
}

.exchange-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.exchange-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.exchange-modal-panel {
  position: relative;
  width: 414px;
  margin: 32px auto 0;
  padding: 22px 30px 30px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.exchange-modal-panel h3 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.exchange-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.exchange-modal-panel label {
  display: grid;
  grid-template-columns: 12px 70px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.exchange-modal-panel em {
  color: #f04438;
  font-style: normal;
}

.exchange-modal-panel label span {
  color: #4b5563;
  text-align: right;
}

.exchange-modal-panel input,
.exchange-modal-panel select {
  height: 36px;
  padding: 7px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.exchange-modal-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 20px;
}

.save-warning-modal[hidden] {
  display: none;
}

.save-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
}

.save-warning-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.save-warning-panel {
  position: relative;
  width: 405px;
  margin: 70px auto 0;
  padding: 16px 28px 30px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2);
  text-align: center;
}

.save-warning-panel h3 {
  margin: 0 0 18px;
  color: #333333;
  font-size: 18px;
  font-weight: 500;
}

.save-warning-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.save-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #ffa300;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.save-warning-panel p {
  margin: 0 0 26px;
  color: #555b66;
  font-size: 14px;
}

.save-warning-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.save-warning-actions .button {
  min-width: 80px;
}

.fee-catalog-modal[hidden] {
  display: none;
}

.fee-catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 270;
}

.fee-catalog-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.fee-catalog-panel {
  position: relative;
  width: 420px;
  margin: 20px auto 0;
  padding: 22px 38px 30px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.fee-catalog-panel h3 {
  margin: 0 0 28px;
  color: #111827;
  font-size: 20px;
  text-align: center;
}

.fee-catalog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.fee-catalog-panel label {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fee-catalog-panel label span {
  color: #374151;
  line-height: 1.25;
  text-align: right;
}

.fee-catalog-panel em {
  color: #f04438;
  font-style: normal;
}

.fee-catalog-panel input {
  height: 36px;
  padding: 7px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.fee-catalog-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 26px;
}

.bill-export-modal[hidden] {
  display: none;
}

.bill-export-modal {
  position: fixed;
  inset: 0;
  z-index: 275;
}

.bill-export-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.bill-export-panel {
  position: relative;
  width: 425px;
  margin: 4px auto 0;
  padding: 20px 32px 30px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.bill-export-panel h3 {
  margin: 0 0 26px;
  color: #111827;
  font-size: 20px;
  text-align: center;
}

.bill-export-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.bill-export-panel label {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.bill-export-panel label span {
  text-align: right;
}

.bill-export-panel em {
  color: #f04438;
  font-style: normal;
}

.bill-export-panel input,
.bill-export-panel select {
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.bill-export-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.invoice-modal[hidden] {
  display: none;
}

.invoice-modal {
  position: fixed;
  inset: 0;
  z-index: 278;
}

.invoice-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.invoice-modal-panel {
  position: relative;
  width: 560px;
  max-width: calc(100vw - 48px);
  margin: 54px auto 0;
  padding: 20px 32px 28px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.invoice-modal-panel h3 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 20px;
  text-align: center;
}

.invoice-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.invoice-modal-panel pre {
  min-height: 340px;
  max-height: 58vh;
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
  color: #111827;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.invoice-modal-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
}

.doc-export-modal[hidden] {
  display: none;
}

.doc-export-modal {
  position: fixed;
  inset: 0;
  z-index: 276;
}

.doc-export-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.doc-export-panel {
  position: relative;
  width: 425px;
  margin: 10px auto 0;
  padding: 20px 32px 30px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.doc-export-panel h3 {
  margin: 0 0 26px;
  color: #111827;
  font-size: 20px;
  text-align: center;
}

.doc-export-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.doc-export-panel label {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.doc-export-panel label span {
  text-align: right;
}

.doc-export-panel em {
  color: #f04438;
  font-style: normal;
}

.doc-export-panel input,
.doc-export-panel select {
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.doc-export-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.settlement-modal[hidden] {
  display: none;
}

.settlement-modal {
  position: fixed;
  inset: 0;
  z-index: 278;
}

.settlement-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.settlement-modal-panel {
  position: relative;
  width: 414px;
  margin: 14px auto 0;
  padding: 22px 30px 30px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.settlement-modal-panel h3 {
  margin: 0 0 28px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.settlement-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.settlement-kind-row {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 24px;
}

.settlement-kind-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
}

.settlement-name-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.settlement-name-row span {
  text-align: right;
}

.settlement-name-row input {
  height: 36px;
  padding: 7px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.settlement-modal-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.batch-settlement-modal[hidden] {
  display: none;
}

.batch-settlement-modal {
  position: fixed;
  inset: 0;
  z-index: 286;
}

.batch-settlement-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.batch-settlement-panel {
  position: relative;
  width: 414px;
  margin: 28px auto 0;
  padding: 20px 30px 30px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.batch-settlement-panel h3 {
  margin: 0 0 30px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.batch-settlement-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.batch-settlement-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.batch-settlement-row span {
  color: #4b5563;
  text-align: right;
}

.batch-settlement-lookup {
  position: relative;
}

.batch-settlement-lookup input {
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #1677ff;
  border-radius: 2px;
  outline: 0;
}

.batch-settlement-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 288;
  display: none;
  width: 350px;
  max-height: 302px;
  overflow-y: auto;
  border: 1px solid #dbe3ee;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.batch-settlement-menu.open {
  display: block;
}

.batch-settlement-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 28px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #dbe3ee;
  border-left: 1px solid #dbe3ee;
  background: #ffffff;
  transform: rotate(45deg);
}

.batch-settlement-menu button {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 7px 14px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  text-align: left;
}

.batch-settlement-menu button:hover {
  background: #eaf3ff;
  color: #155eef;
}

.batch-settlement-menu .fee-add-option {
  color: #1677ff;
  text-align: center;
}

.batch-settlement-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 6px;
}

.batch-status-modal[hidden] {
  display: none;
}

.batch-status-modal {
  position: fixed;
  inset: 0;
  z-index: 286;
}

.batch-status-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.batch-status-panel {
  position: relative;
  width: 414px;
  margin: 10px auto 0;
  padding: 20px 30px 30px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.batch-status-panel h3 {
  margin: 0 0 34px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.batch-status-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.batch-status-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.batch-status-row span {
  color: #4b5563;
  text-align: right;
}

.batch-status-row select {
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #1677ff;
  border-radius: 2px;
  background: #ffffff;
  outline: 0;
}

.batch-status-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.batch-date-modal[hidden] {
  display: none;
}

.batch-date-modal {
  position: fixed;
  inset: 0;
  z-index: 287;
}

.batch-date-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.batch-date-panel {
  position: relative;
  width: 414px;
  margin: 10px auto 0;
  padding: 20px 30px 30px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.batch-date-panel h3 {
  margin: 0 0 34px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.batch-date-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.batch-date-row {
  display: grid;
  grid-template-columns: 12px 72px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.batch-date-row em {
  color: #f04438;
  font-style: normal;
}

.batch-date-row span {
  color: #4b5563;
  text-align: right;
}

.batch-date-row input {
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.batch-date-row input:focus {
  border-color: #1677ff;
  outline: 0;
}

.batch-date-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.member-page {
  background: #ffffff;
  padding: 24px 28px;
}

.member-admin h3 {
  margin: 0 0 18px;
  font-size: 16px;
}

.admin-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #27b7aa;
  font-size: 30px;
}

.admin-card strong,
.admin-card b {
  display: block;
  color: #111827;
  font-size: 16px;
}

.admin-card p {
  margin: 4px 0 0;
}

.admin-card span {
  color: #4aa3a2;
  font-weight: 700;
}

.admin-card a,
.member-table a {
  color: #1677ff;
}

.member-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.member-table {
  max-width: 1080px;
}

.member-note {
  margin: 12px 0 0;
  color: #ff4d4f;
}

.employee-modal[hidden] {
  display: none;
}

.employee-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
}

.employee-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.employee-modal-panel {
  position: relative;
  width: 580px;
  margin: 4px auto 0;
  padding: 22px 30px 32px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.employee-modal-panel h3 {
  margin: 0 0 28px;
  color: #111827;
  text-align: center;
  font-size: 18px;
}

.employee-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
}

.employee-modal-panel label {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: #4b5563;
  font-size: 14px;
}

.employee-modal-panel input,
.employee-modal-panel select {
  min-height: 34px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
}

.permission-desc {
  margin: 0 0 32px 80px;
  color: #6b7280;
  line-height: 1.7;
}

.employee-modal-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.import-result {
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid #d7e7ff;
  background: #f2f8ff;
  color: #155eef;
}

.customer-import-modal[hidden] {
  display: none;
}

.customer-import-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
}

.customer-import-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.customer-import-panel {
  position: relative;
  width: 420px;
  min-height: 430px;
  margin: 70px auto 0;
  padding: 22px 30px 28px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.customer-import-panel h3 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.customer-import-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.customer-import-template {
  width: 100%;
  height: 34px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.customer-import-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  color: #111827;
  font-size: 15px;
}

.customer-import-download {
  color: #1677ff;
}

.customer-import-download::before {
  content: "↓ ";
}

.customer-import-drop {
  display: grid;
  place-items: center;
  width: 100%;
  height: 140px;
  padding: 14px;
  border: 1px dashed #cfd8e3;
  border-radius: 4px;
  background: #f8fafc;
  color: #6b7280;
  cursor: pointer;
  text-align: center;
}

.customer-import-drop.dragging {
  border-color: #1677ff;
  background: #eef6ff;
}

.customer-import-folder {
  color: #f59e0b;
  font-size: 34px;
  line-height: 1;
}

.customer-import-drop small {
  display: block;
  margin-top: 4px;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.45;
}

.customer-import-drop em {
  display: block;
  margin-top: 5px;
  color: #1677ff;
  font-style: normal;
}

.customer-import-note {
  margin: 14px 0 0;
  color: #ff4d4f;
  text-align: center;
}

.customer-assign-modal[hidden] {
  display: none;
}

.customer-assign-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
}

.customer-assign-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.customer-assign-panel {
  position: relative;
  width: 420px;
  margin: 70px auto 0;
  padding: 24px 44px 30px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.customer-assign-panel h3 {
  margin: 0 0 34px;
  color: #111827;
  font-size: 18px;
  text-align: center;
}

.customer-assign-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9098a3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.customer-assign-panel label {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: #4b5563;
  font-size: 14px;
}

.customer-assign-panel label span {
  text-align: right;
}

.customer-assign-panel select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #ffffff;
}

.customer-assign-note {
  margin: 0 0 26px;
  color: #ff4d4f;
  text-align: center;
}

.customer-assign-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.carrier-menu {
  max-height: 520px;
}

.compact {
  padding: 12px;
  margin-bottom: 10px;
}

.compact h2 {
  padding-left: 8px;
  border-left: 3px solid #1677ff;
  font-size: 16px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  color: #7b8794;
  text-align: center;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 9px;
  height: 1px;
  background: #cfd7e3;
}

.timeline span {
  position: relative;
  padding-top: 22px;
}

.timeline span::before {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd7e3;
}

.field-grid {
  display: grid;
  gap: 12px 18px;
}

.field-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.field-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.field-grid.seven {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.field-grid div,
.summary-grid div {
  min-height: 34px;
}

.field-grid label,
.summary-grid label,
.bl-grid label {
  display: block;
  margin-bottom: 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.field-grid span,
.field-grid strong,
.summary-grid strong {
  display: block;
  min-height: 32px;
  padding: 7px 9px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #374151;
}

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

pre {
  min-height: 76px;
  margin: 0;
  padding: 10px;
  overflow: auto;
  white-space: pre-wrap;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-family: inherit;
}

.mt {
  margin-top: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.total-line {
  padding: 10px 12px;
  border: 1px solid #e9edf4;
  border-top: 0;
  text-align: center;
  background: #ffffff;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.metric-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.metric-card span {
  display: block;
  color: #6b7280;
  margin-bottom: 8px;
}

.metric-card strong {
  color: #111827;
  font-size: 24px;
}

.compact-table {
  min-width: 0;
}

.finance-panel {
  overflow-x: auto;
}

.finance-group-table th:last-child,
.finance-group-table td:last-child {
  width: 42px;
  text-align: center;
}

.finance-expand {
  width: 24px;
  height: 24px;
  border: 1px solid #dbe3ee;
  border-radius: 3px;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  line-height: 1;
}

.finance-expand.open {
  transform: rotate(180deg);
}

.finance-detail-row td {
  padding: 0;
  background: #fbfdff;
}

.finance-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.finance-detail-table th,
.finance-detail-table td {
  height: 34px;
  padding: 7px 12px;
  border-color: #edf1f6;
  background: #ffffff;
  color: #4b5563;
}

.finance-detail-table th {
  background: #f8fafc;
}

.workbench-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
  margin: 8px 0 16px;
}

.workbench-card {
  min-height: 116px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #d9e5ef;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.workbench-card span {
  display: block;
  margin-bottom: 10px;
  color: #597287;
  font-size: 14px;
}

.workbench-card strong {
  display: block;
  color: #0b3f57;
  font-size: 22px;
  line-height: 1.2;
}

.workbench-card .danger {
  color: #c81e1e;
}

.workbench-card .warning-text {
  color: #c35a00;
}

.workbench-panel {
  margin-bottom: 16px;
  padding: 16px 18px 22px;
  background: #ffffff;
  border: 1px solid #d9e5ef;
  border-radius: 4px;
}

.workbench-panel h2 {
  margin: 0 0 6px;
  color: #0b3f57;
  font-size: 18px;
}

.workbench-panel p {
  margin: 0 0 14px;
  color: #111827;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.soft-button,
.soft-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid #b7d7e8;
  border-radius: 4px;
  background: #eaf6fb;
  color: #0b4f6c;
  font-weight: 600;
}

.fee-edit input,
.fee-edit select {
  min-width: 95px;
  border: 0;
  background: transparent;
}

.data-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-height: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.data-table th:first-child,
.data-table td:first-child {
  width: 42px;
  text-align: center;
}

.pagination-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d9e5ef;
  font-size: 13px;
}

.pagination-info {
  color: #5f6b7a;
}

.pagination-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-links a,
.pagination-links span {
  min-width: 30px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid #d9e5ef;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1a73e8;
}

.pagination-links .active {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

.pagination-links .disabled,
.pagination-links .ellipsis-page {
  color: #9ca3af;
  background: #f5f7fa;
}

@media (max-width: 860px) {
  .page-head,
  .search {
    flex-direction: column;
  }

  .grid.two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 18px;
  }
}
