[hidden] {
  display: none !important;
}

.admin-entry {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
}

.topbar .admin-entry {
  margin-left: 12px;
}

.topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar {
  justify-content: flex-end;
}

.topbar > span,
.topbar > div > a {
  display: none;
}

.orderIntro {
  display: none;
}

.orderSection {
  display: block;
}

.orderSection > .orderPanel {
  width: min(100%, 900px);
  margin: 0 auto;
}

.managed-price {
  margin: 16px 0 5px;
  color: #095de8;
  font-size: 20px;
  font-weight: 800;
}

.managed-description {
  min-height: 40px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.managed-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.managed-gallery {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.managed-gallery button {
  width: 39px;
  height: 39px;
  padding: 2px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .75);
  background: #fff;
}

.managed-gallery button.active {
  border-color: #095de8;
}

.managed-gallery img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

.managedProductCard .quickAdd {
  top: 15px;
  right: 15px;
  bottom: auto;
}

.managed-option-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.managed-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #d8e3ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.managed-option-image {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #d8e3ec;
  border-radius: 7px;
  background: #fff;
  object-fit: cover;
}

.managed-option-row > span {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.managed-option-row b {
  overflow: hidden;
  color: #173b57;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.managed-option-row small {
  flex: 0 0 auto;
  color: #095de8;
  font-size: 11px;
  font-weight: 800;
}

.managed-option-row button,
.product-option-table button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #095de8;
  font-size: 18px;
  font-weight: 700;
}

.managed-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #d8e3ec;
  padding-top: 10px;
}

.managed-actions button {
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  font-size: 11px;
  font-weight: 750;
}

.managed-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  color: #fff;
  background: #095de8;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.managed-detail {
  color: #092f52;
  background: #eaf2f8;
}

.managed-actions .managed-add {
  color: #fff;
  background: #095de8;
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(3, 24, 43, .72);
  backdrop-filter: blur(8px);
}

.admin-dialog {
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 23, 47, .35);
}

.admin-dialog.login-mode {
  width: min(470px, 100%);
}

.admin-head {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8e3ec;
  background: rgba(255, 255, 255, .96);
}

.admin-head div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-head strong {
  font-size: 18px;
}

.admin-head span {
  padding: 5px 8px;
  color: #095de8;
  background: #eaf4ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
}

.admin-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f2f8fd;
  font-size: 23px;
}

.admin-login {
  padding: 42px 36px 45px;
}

.admin-login h2 {
  margin: 0 0 10px;
  font-size: 29px;
  letter-spacing: -.04em;
}

.admin-login > p {
  margin: 0 0 28px;
  color: #60778a;
  font-size: 12px;
  line-height: 1.7;
}

.admin-form,
.product-register-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-form label,
.product-register-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #092f52;
  font-size: 11px;
  font-weight: 800;
}

.admin-form input,
.product-register-form input,
.product-register-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd9e4;
  border-radius: 5px;
  outline: none;
  background: #fff;
  font-size: 13px;
  font-weight: 450;
}

.admin-form input:focus,
.product-register-form input:focus,
.product-register-form textarea:focus {
  border-color: #095de8;
  box-shadow: 0 0 0 3px rgba(9, 93, 232, .08);
}

.admin-primary,
.admin-secondary,
.admin-danger,
.admin-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.admin-primary {
  color: #fff;
  background: #095de8;
}

.admin-secondary {
  color: #092f52;
  background: #eaf2f8;
}

.admin-danger {
  color: #bb2131;
  background: #fff0f2;
}

.admin-login .admin-primary {
  width: 100%;
  margin-top: 4px;
}

.admin-layout {
  min-height: 610px;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.admin-sidebar {
  padding: 24px 17px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #092f52;
}

.admin-tab {
  min-height: 50px;
  text-align: left;
  color: #c9dce9;
  background: transparent;
}

.admin-tab.active {
  color: #092f52;
  background: #fff;
}

.admin-logout {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: transparent;
}

.admin-content {
  padding: 34px;
}

.admin-panel-head {
  margin-bottom: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.admin-panel-head h2 {
  margin: 0 0 7px;
  font-size: 27px;
  letter-spacing: -.04em;
}

.admin-panel-head p {
  margin: 0;
  color: #60778a;
  font-size: 11px;
}

.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-product-row {
  min-height: 92px;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid #d8e3ec;
}

.product-drag-handle {
  width: 34px;
  height: 48px;
  padding: 0;
  border: 1px solid #cbdbe7;
  border-radius: 7px;
  background: #eef6fb;
  color: #176a99;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.product-drag-handle:active {
  cursor: grabbing;
}

.admin-product-row.dragging {
  opacity: .65;
  border-color: #095de8;
  background: #eef6ff;
  box-shadow: 0 8px 22px rgba(9, 93, 232, .14);
}

.admin-product-list.saving-order {
  pointer-events: none;
  opacity: .72;
}

.admin-product-row img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  background: #f2f8fd;
}

.admin-product-row > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-product-row small {
  color: #095de8;
  font-size: 9px;
  font-weight: 800;
}

.admin-product-row strong {
  font-size: 13px;
}

.admin-product-row span {
  color: #60778a;
  font-size: 11px;
}

.admin-product-row > .admin-product-actions {
  display: flex;
  flex-direction: row;
  gap: 7px;
}

.admin-product-actions button {
  min-width: 62px;
}

.admin-product-actions .admin-edit-product {
  min-width: 94px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #095de8;
  border-radius: 5px;
  color: #fff;
  background: #095de8;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 7px 16px rgba(9, 93, 232, .2);
}

.admin-product-actions .admin-edit-product:hover,
.admin-product-actions .admin-edit-product:focus-visible {
  background: #064fca;
  outline: 2px solid rgba(9, 93, 232, .22);
  outline-offset: 2px;
}

.admin-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd9e4;
  color: #718798;
  font-size: 12px;
  text-align: center;
}

.product-register-form {
  max-width: 680px;
}

#basePriceField small {
  color: #718798;
  font-size: 10px;
  font-weight: 500;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.upload-zone {
  padding: 22px;
  border: 1px dashed #9cb3c5;
  background: #f6faff;
}

.upload-zone input {
  padding: 0;
  border: 0;
  background: transparent;
}

.upload-zone small {
  color: #718798;
  font-weight: 450;
}

.admin-image-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.admin-image-preview img,
.admin-detail-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #d8e3ec;
}

.sortable-photo {
  position: relative;
  padding: 7px;
  border: 1px solid #cbd9e4;
  border-radius: 5px;
  background: #fff;
  cursor: grab;
}

.sortable-photo:first-child {
  border-color: #095de8;
  box-shadow: 0 0 0 2px rgba(9, 93, 232, .09);
}

.sortable-photo.dragging {
  opacity: .4;
}

.sortable-photo.drop-target {
  border-color: #095de8;
  background: #eaf4ff;
}

.sortable-photo span {
  position: absolute;
  left: 11px;
  top: 11px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 3px;
  color: #fff;
  background: rgba(9, 47, 82, .85);
  font-size: 8px;
  font-weight: 850;
}

.sortable-photo .photo-remove {
  position: absolute;
  right: 11px;
  top: 11px;
  z-index: 3;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(187, 33, 49, .9);
  font-size: 17px;
  line-height: 25px;
}

.sortable-photo footer {
  padding: 7px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  font-size: 9px;
}

.sortable-photo footer div {
  display: flex;
  gap: 3px;
}

.sortable-photo footer button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #cbd9e4;
  background: #f6faff;
}

.admin-detail-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.detail-preview-item {
  position: relative;
  padding: 5px;
  border: 1px solid transparent;
  background: #fff;
  transition: opacity .15s, box-shadow .15s, transform .15s;
}

.detail-preview-item.dragging {
  z-index: 3;
  opacity: .72;
  border-color: #70b0ff;
  box-shadow: 0 9px 24px rgba(9, 93, 232, .2);
  transform: scale(.98);
}

.detail-preview-item .detail-remove {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(187, 33, 49, .9);
  font-size: 17px;
}

.detail-drag-handle {
  position: absolute;
  left: 7px;
  top: 7px;
  z-index: 2;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 5px;
  color: #fff;
  background: rgba(9, 47, 82, .82);
  font-size: 14px;
  letter-spacing: -4px;
  cursor: grab;
  touch-action: none;
}

.detail-drag-handle:active {
  cursor: grabbing;
}

.detail-order {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  min-width: 25px;
  padding: 4px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 93, 232, .9);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.option-editor {
  padding: 18px;
  border: 1px solid #cbd9e4;
  border-radius: 5px;
}

.option-editor-head {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.option-editor-head strong {
  font-size: 12px;
}

.option-editor-head strong small {
  display: block;
  margin-top: 4px;
  color: #6d8192;
  font-size: 10px;
  font-weight: 500;
}

.option-table {
  border-top: 1px solid #cbd9e4;
}

.option-table-head,
.option-row {
  display: grid;
  grid-template-columns: 36px 104px 1.35fr 1fr .8fr 58px;
  gap: 8px;
  align-items: center;
}

.option-image-editor {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 6px;
  align-items: center;
}

.option-image-preview {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #b8cad8;
  border-radius: 7px;
  color: #7890a2;
  background: #f5f9fc;
  font-size: 8px;
  text-align: center;
}

.option-image-preview.has-image {
  border-style: solid;
  background: #fff;
}

.option-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-register-form label.option-image-picker {
  min-height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 4px;
  color: #095de8;
  background: #eaf2ff;
  font-size: 8px;
  cursor: pointer;
}

.option-image-picker input {
  display: none;
}

.option-image-clear {
  min-height: 22px;
  padding: 0 5px;
  border: 0;
  border-radius: 4px;
  color: #bb2131;
  background: #fff0f2;
  font-size: 8px;
  font-weight: 800;
}

.option-table-head {
  padding: 10px 8px;
  color: #60778a;
  background: #f2f8fd;
  font-size: 9px;
  font-weight: 800;
}

.option-row {
  padding: 8px 0;
  border-bottom: 1px solid #e2ebf1;
  transition: opacity .15s, box-shadow .15s, transform .15s;
}

.option-row.dragging {
  z-index: 2;
  opacity: .72;
  background: #eef6ff;
  box-shadow: 0 8px 22px rgba(9, 93, 232, .18);
  transform: scale(.995);
}

.option-drag-handle {
  width: 34px;
  min-height: 40px;
  padding: 0;
  border: 1px solid #cbd9e4;
  border-radius: 5px;
  color: #60778a;
  background: #f2f8fd;
  font-size: 15px;
  letter-spacing: -4px;
  cursor: grab;
  touch-action: none;
}

.option-drag-handle:active {
  cursor: grabbing;
}

.option-row input {
  padding: 11px 12px;
}

.option-remove {
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  color: #bb2131;
  background: #fff0f2;
  font-size: 10px;
  font-weight: 800;
}

.product-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  padding: 28px;
  display: grid;
  place-items: center;
  background: rgba(3, 24, 43, .76);
  backdrop-filter: blur(8px);
}

.product-detail-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 23, 47, .35);
}

.product-detail-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin: 18px 18px -60px 0;
  border: 0;
  border-radius: 50%;
  color: #092f52;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 20px rgba(9, 47, 82, .15);
  font-size: 25px;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-detail-gallery {
  min-height: 470px;
  padding: 34px;
  background: #f2f8fd;
}

.product-detail-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.product-detail-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-detail-thumbs button {
  width: 58px;
  height: 58px;
  padding: 2px;
  border: 2px solid transparent;
  background: #fff;
}

.product-detail-thumbs button.active {
  border-color: #095de8;
}

.product-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  padding: 60px 42px 42px;
}

.product-detail-info > span {
  color: #095de8;
  font-size: 10px;
  font-weight: 850;
}

.product-detail-info h2 {
  margin: 12px 0 17px;
  font-size: 31px;
  letter-spacing: -.05em;
}

.product-detail-price {
  margin-bottom: 25px;
  color: #095de8;
  font-size: 27px;
  font-weight: 800;
}

.product-detail-copy {
  color: #60778a;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-line;
}

.product-option-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 11px;
}

.product-option-table th,
.product-option-table td {
  padding: 11px 10px;
  border: 1px solid #d8e3ec;
  text-align: left;
}

.product-option-table th {
  color: #60778a;
  background: #f2f8fd;
}

.product-option-table th:first-child,
.product-option-table td:first-child {
  width: 62px;
  text-align: center;
}

.product-option-image {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
  background: #f2f8fd;
}

.product-option-table td:last-child,
.product-option-table th:last-child {
  width: 58px;
  text-align: center;
}

.cart-product-copy span {
  display: block;
  margin-top: 4px;
  color: #095de8;
  font-size: 10px;
  font-weight: 750;
}

.cart-line-total {
  color: #173b57;
  font-size: 11px;
  white-space: nowrap;
}

.cartItem {
  grid-template-columns: 72px 1fr auto auto;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 2px;
  border-top: 1px solid #cbd9e4;
}

.cart-total span {
  color: #587186;
  font-size: 12px;
  font-weight: 700;
}

.cart-total strong {
  color: #095de8;
  font-size: 20px;
}

.admin-order-list {
  display: grid;
  gap: 14px;
}

.admin-order-card {
  padding: 18px;
  border: 1px solid #d8e3ec;
  border-radius: 10px;
  background: #fff;
}

.admin-order-card > header,
.admin-order-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-order-card h3,
.admin-order-card h4,
.admin-order-card p {
  margin: 0;
}

.admin-order-card header small {
  color: #718697;
}

.admin-order-card h3 {
  margin-top: 3px;
  font-size: 18px;
}

.order-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff4df;
  color: #a65a00;
  font-size: 12px;
  font-weight: 800;
}

.order-status.confirmed {
  background: #e8f7ee;
  color: #14733b;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr .75fr;
  gap: 14px;
  margin: 16px 0;
}

.admin-order-grid section {
  padding: 13px;
  border-radius: 7px;
  background: #f4f8fb;
}

.admin-order-grid h4 {
  margin-bottom: 7px;
  color: #095de8;
  font-size: 12px;
}

.admin-order-grid p {
  color: #526b7d;
  font-size: 12px;
  line-height: 1.7;
}

.admin-order-amount > strong {
  display: block;
  margin-top: 7px;
  font-size: 19px;
}

.admin-order-card > footer {
  justify-content: flex-end;
  padding-top: 13px;
  border-top: 1px solid #e2eaf0;
}

.admin-order-card > footer a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.receipt-waiting {
  margin-right: auto;
  color: #8494a0;
  font-size: 12px;
}

.admin-empty {
  padding: 35px;
  border: 1px dashed #cbd9e4;
  text-align: center;
  color: #718697;
}

.cost-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.cost-summary > div {
  padding: 14px;
  border: 1px solid #d8e3ec;
  border-radius: 10px;
  background: #f5f9fc;
}

.cost-summary small,
.cost-summary strong {
  display: block;
}

.cost-summary small {
  margin-bottom: 5px;
  color: #6b8091;
  font-size: 10px;
}

.cost-summary strong {
  color: #113c5d;
  font-size: 18px;
}

.cost-summary .negative,
.cost-table .negative {
  color: #c72738;
}

.cost-table-scroll {
  width: 100%;
  overflow: auto;
  border: 1px solid #d7e2eb;
  border-radius: 10px;
  background: #fff;
}

.cost-table {
  width: 100%;
  min-width: 1780px;
  border-collapse: separate;
  border-spacing: 0;
  color: #17314c;
  font-size: 11px;
}

.cost-table th,
.cost-table td {
  min-width: 118px;
  padding: 9px;
  border-right: 1px solid #e1e9ef;
  border-bottom: 1px solid #e1e9ef;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.cost-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eaf3fa;
  color: #31546e;
  text-align: center;
  font-weight: 850;
}

.cost-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 245px;
  background: #fff;
  text-align: left;
}

.cost-table thead th:first-child {
  z-index: 3;
  background: #eaf3fa;
  text-align: center;
}

.cost-table tr:last-child th,
.cost-table tr:last-child td {
  border-bottom: 0;
}

.cost-table input {
  width: 112px;
  min-height: 39px;
  box-sizing: border-box;
  border: 1px solid #c8d8e4;
  border-radius: 7px;
  background: #fff;
  padding: 7px 8px;
  text-align: right;
}

.cost-table input:focus {
  outline: 3px solid rgba(9, 93, 232, .12);
  border-color: #095de8;
}

.cost-product {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: normal;
}

.cost-product img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  background: #eef4f8;
}

.cost-product span,
.cost-product strong,
.cost-product small {
  display: block;
}

.cost-product strong {
  margin-bottom: 3px;
  font-size: 12px;
}

.cost-product small {
  color: #718697;
  font-weight: 600;
}

.cost-sale-price,
.cost-table [data-cost-output] {
  font-weight: 850;
}

.cost-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
}

.cost-form-actions small {
  color: #6a7f91;
  line-height: 1.55;
}

.cost-form-actions button {
  flex: 0 0 auto;
}

.cost-empty {
  padding: 30px !important;
  text-align: center !important;
  color: #718697;
}

@media (max-width: 800px) {
  .cost-summary {
    grid-template-columns: 1fr 1fr;
  }

  .cost-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-card > header,
  .admin-order-card > footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (width <= 720px) {
  .cartItem {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 12px 0;
    gap: 9px;
  }

  .cartItem img {
    width: 52px;
    height: 52px;
  }

  .cart-product-copy {
    min-width: 0;
  }

  .cart-product-copy strong,
  .cart-product-copy span {
    overflow-wrap: anywhere;
  }

  .cartItem .quantity {
    grid-column: 2;
    justify-self: start;
  }

  .cart-line-total {
    grid-column: 2;
    justify-self: end;
  }
}

.product-detail-body {
  padding: 55px 8%;
  border-top: 1px solid #d8e3ec;
}

.product-detail-body h3 {
  margin: 0 0 24px;
  font-size: 25px;
}

.product-detail-body p {
  margin: 0 0 35px;
  color: #415c72;
  font-size: 14px;
  line-height: 1.95;
  white-space: pre-line;
}

.product-detail-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.admin-message {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  color: #1d6a39;
  background: #e9f7ed;
  font-size: 11px;
  line-height: 1.6;
}

.admin-message.error {
  color: #a41e2d;
  background: #fff0f2;
}

.photo-panel-head {
  align-items: flex-start;
}

.photo-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d8e3ec;
  border-radius: 8px;
  background: #f7fbfe;
}

.photo-toolbar > span {
  color: #095de8;
  font-size: 11px;
  font-weight: 800;
}

.photo-toolbar > div {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

.photo-toolbar button {
  min-height: 36px;
}

.photo-select-all {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 750;
}

.photo-select-all input,
.photo-album-card input {
  accent-color: #095de8;
}

.photo-help {
  margin: 0 0 18px;
  color: #718798;
  font-size: 10px;
  line-height: 1.65;
}

.photo-album {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.photo-album-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e3ec;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.photo-album-card.selected {
  border-color: #095de8;
  box-shadow: 0 0 0 2px rgba(9, 93, 232, .16);
}

.photo-album-card > input {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.photo-album-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #edf4f9;
}

.photo-album-card footer {
  padding: 10px;
}

.photo-album-card strong,
.photo-album-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-album-card strong {
  font-size: 10px;
}

.photo-album-card small {
  margin-top: 4px;
  color: #718798;
  font-size: 9px;
}

.photo-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd9e4;
  color: #718798;
  font-size: 12px;
}

.photo-crop-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 24, 43, .82);
  backdrop-filter: blur(8px);
}

.photo-crop-dialog {
  width: min(900px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 23, 47, .4);
}

.photo-crop-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #d8e3ec;
}

.photo-crop-dialog header > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.photo-crop-dialog header strong {
  font-size: 16px;
}

.photo-crop-dialog header span {
  color: #718798;
  font-size: 10px;
}

.photo-crop-dialog header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf4f9;
  font-size: 22px;
}

.photo-crop-stage {
  padding: 20px;
  background: #10283d;
  text-align: center;
}

.photo-crop-stage canvas {
  display: block;
  max-width: 100%;
  max-height: 62vh;
  margin: 0 auto;
  touch-action: none;
  cursor: crosshair;
}

.photo-crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 22px;
}

@media (width <= 800px) {
  .photo-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .photo-toolbar > div {
    width: 100%;
    margin-left: 0;
  }

  .photo-toolbar button {
    flex: 1;
  }

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

body.admin-locked {
  overflow: hidden;
}

.contactActions > .kakao-contact-card {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(220px, 1fr);
  align-items: center;
  gap: 30px;
}

.contactActions > a[href^="mailto:"],
.contactActions > div:not(.kakao-contact-card),
.contactInner > .localNotice {
  display: none;
}

.kakao-contact-card > img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 22px 55px rgba(0, 14, 29, .35);
}

.contactActions .kakao-contact-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.contactActions .kakao-contact-copy small {
  color: #78c3ff;
  letter-spacing: .14em;
  font-weight: 850;
}

.contactActions .kakao-contact-copy strong {
  color: #fff;
  font-size: clamp(25px, 3vw, 40px);
}

.contactActions .kakao-contact-copy p {
  max-width: 330px;
  margin: 2px 0 10px;
  color: #bdd2e3;
  font-size: 12px;
  line-height: 1.7;
}

.kakao-contact-copy .button.light {
  min-width: 210px;
}
.business-contact-summary{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;width:100%;margin-top:18px;padding:16px 18px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;text-align:left}
.business-contact-summary strong{font-size:15px}
.business-contact-summary span,.business-contact-summary a{color:#d7e8f5;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.business-contact-summary a{text-decoration:underline}

@media (max-width: 720px) {
  .admin-overlay {
    padding: 0;
  }

  .admin-dialog,
  .admin-dialog.login-mode {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .contactActions > .kakao-contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kakao-contact-card > img {
    width: min(100%, 360px);
  }

  .admin-head {
    padding: 0 20px;
  }

  .admin-layout {
    min-height: calc(100vh - 72px);
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    padding: 12px 16px;
    flex-direction: row;
  }

  .admin-tab {
    flex: 1;
    min-height: 44px;
    text-align: center;
  }

  .admin-logout {
    margin: 0;
    flex: 0 0 auto;
  }

  .admin-content {
    padding: 26px 19px 45px;
  }

  .admin-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-product-row {
    grid-template-columns: 32px 58px minmax(0, 1fr);
  }

  .admin-product-row img {
    width: 58px;
    height: 58px;
  }

  .admin-product-row > .admin-product-actions {
    grid-column: 1 / -1;
  }

  .product-drag-handle {
    width: 32px;
    height: 48px;
  }

  .admin-product-actions button {
    flex: 1;
  }

  .admin-image-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-detail-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  .option-table-head,
  .option-row {
    grid-template-columns: 34px 86px 1.2fr 1fr .75fr 50px;
  }

  .product-detail-overlay {
    padding: 0;
  }

  .product-detail-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery {
    min-height: auto;
    padding: 22px;
  }

  .product-detail-info {
    padding: 40px 23px;
  }

  .product-detail-body {
    padding: 44px 23px;
  }
}
.payment-config-form{display:grid;gap:16px;max-width:900px}.payment-config-form>label,.payment-config-form .admin-form-row label,.payment-url-box label{display:grid;gap:7px;font-weight:700;color:#17314c}.payment-config-form input,.payment-config-form select{width:100%;box-sizing:border-box;border:1px solid #cbd9e6;border-radius:8px;padding:12px;background:#fff;color:#10283f}.payment-switch{display:flex!important;align-items:center;gap:10px;padding:14px;border-radius:10px;background:#edf7f1}.payment-switch input{width:auto}.payment-url-box{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:#f4f7fa;border-radius:10px}.payment-url-box input{font-size:12px;background:#edf1f5}.payment-security-note{margin:0;padding:14px;border-left:4px solid #176a44;background:#eef8f3;color:#294b3c;line-height:1.65}.payment-config-form small{color:#6b7f91;font-weight:500}@media(max-width:760px){.payment-url-box{grid-template-columns:1fr}}
.payment-method-settings{display:grid;gap:7px;margin:0;padding:0;border:0}.payment-method-settings legend{margin-bottom:7px;font-weight:700;color:#17314c}.payment-config-form .payment-method-settings label{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid #cbd9e6;border-radius:8px;background:#fff;cursor:pointer}.payment-config-form .payment-method-settings input{width:auto;padding:0;accent-color:#095de8}.payment-method-settings span{font-weight:700}
.order-stage-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.order-stage-card{display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center;text-align:left;border:1px solid #d4e0ea;border-radius:12px;padding:15px;background:#fff;color:#17314c;cursor:pointer}.order-stage-card span{font-weight:900}.order-stage-card strong{grid-row:1/3;grid-column:2;font-size:30px;color:#126946}.order-stage-card small{color:#6a7f91}.order-stage-card.active{border-color:#126946;box-shadow:0 0 0 2px rgba(18,105,70,.12);background:#f2faf6}.order-stage-all{grid-column:1/-1;justify-self:start;border:0;background:none;color:#35617f;text-decoration:underline;cursor:pointer}.order-stage-all.active{font-weight:900;color:#126946}.shipping-link-form{display:flex;flex:1 1 430px;gap:8px}.shipping-link-form input{flex:1;min-width:220px;border:1px solid #cad8e5;border-radius:8px;padding:10px}.order-completed-at{color:#13724d;font-weight:800}@media(max-width:760px){.order-stage-summary{grid-template-columns:1fr}.order-stage-all{grid-column:1}.shipping-link-form{flex-direction:column}.shipping-link-form input{min-width:0}}
.customer-admin-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.customer-admin-toolbar label{display:grid;gap:6px;flex:1;max-width:520px;font-weight:800}.customer-admin-toolbar input{border:1px solid #cad8e5;border-radius:9px;padding:12px}.customer-admin-toolbar strong{color:#176a44}.admin-customer-list{display:grid;gap:14px}.admin-customer-card{border:1px solid #d5e1eb;border-radius:13px;background:#fff;overflow:hidden}.admin-customer-card>header{display:flex;justify-content:space-between;gap:12px;padding:16px;background:#f4f8fb}.admin-customer-card header h3,.admin-customer-card header small{margin:0}.admin-customer-card header span{align-self:center;border-radius:999px;padding:5px 9px;background:#e9f7ef;color:#126b45;font-size:12px;font-weight:900}.customer-admin-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e0e8ef;border-bottom:1px solid #e0e8ef}.customer-admin-stats>div{padding:13px;border-right:1px solid #e0e8ef}.customer-admin-stats>div:last-child{border-right:0}.customer-admin-stats small,.customer-admin-stats strong{display:block}.customer-admin-stats small{color:#6a7d8e;margin-bottom:4px}.admin-customer-card details{padding:14px 16px}.admin-customer-card summary{cursor:pointer;font-weight:900;color:#174b72}.customer-address-summary{margin:14px 0;padding:12px;border-radius:9px;background:#f5f8fa}.customer-address-summary h4{margin:0 0 8px}.customer-address-summary p{display:grid;grid-template-columns:minmax(90px,auto) 1fr;gap:10px;margin:6px 0}.customer-address-summary span{color:#5d7183}.admin-customer-form{display:grid;gap:13px}.admin-customer-form>label{display:grid;gap:6px;font-weight:800}.admin-customer-form textarea{width:100%;box-sizing:border-box;border:1px solid #cad8e5;border-radius:9px;padding:11px;resize:vertical}.admin-customer-actions{display:flex;justify-content:space-between;gap:10px}.admin-danger{border:1px solid #df3345;border-radius:8px;padding:10px 14px;background:#fff0f2;color:#bd1f31;font-weight:900;cursor:pointer}@media(max-width:760px){.customer-admin-toolbar{align-items:stretch;flex-direction:column}.customer-admin-stats{grid-template-columns:1fr 1fr}.customer-admin-stats>div:nth-child(2){border-right:0}.customer-address-summary p{grid-template-columns:1fr}.admin-customer-actions{flex-direction:column}.admin-danger{order:2}}

/* v7.42: import invoice management layout */
.import-invoice-list{display:grid;gap:9px;margin-bottom:18px}.import-invoice-card{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid #d7e2eb;border-radius:10px;background:#f6f9fb}.import-invoice-card>div:first-child{display:grid;min-width:0;gap:4px}.import-invoice-card small,.import-invoice-card span{color:#6a7f91;font-size:10px;line-height:1.55}.import-invoice-card strong{color:#173b57;font-size:15px}.import-invoice-card>div:last-child{display:flex;flex:0 0 auto;gap:7px}.import-invoice-form{display:grid;gap:18px;padding-top:18px;border-top:1px solid #dbe5ec}.import-invoice-form label{display:grid;gap:6px;color:#29485f;font-size:11px;font-weight:800}.import-invoice-form input,.import-invoice-form select{box-sizing:border-box;width:100%;min-height:41px;border:1px solid #c8d8e4;border-radius:7px;padding:7px 9px;background:#fff;color:#17314c}.invoice-editor-section,.invoice-shipping{padding:16px;border:1px solid #d7e2eb;border-radius:11px;background:#fbfdfe}.invoice-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.invoice-section-head h3,.invoice-section-head p{margin:0}.invoice-section-head h3{color:#173b57;font-size:16px}.invoice-section-head p{margin-top:3px;color:#6a7f91;font-size:10px}.invoice-table-scroll{width:100%;overflow-x:auto;border:1px solid #dfe8ee;border-radius:8px;background:#fff}.invoice-item-table{width:100%;min-width:940px;border-collapse:collapse;font-size:10px}.invoice-item-table th,.invoice-item-table td{padding:8px;border:1px solid #dfe8ee;text-align:right;vertical-align:middle}.invoice-item-table th{position:sticky;top:0;z-index:1;background:#eaf3fa;color:#173b57;text-align:center;white-space:nowrap}.invoice-item-table td:first-child,.invoice-item-table td:nth-child(2){min-width:200px;text-align:left}.invoice-item-table td:nth-child(3){width:80px}.invoice-item-table td:nth-child(4){width:88px}.invoice-item-table td:nth-child(5),.invoice-item-table td:nth-child(6){width:110px}.invoice-item-table .invoice-remove{padding:8px 10px;white-space:nowrap}.invoice-packages{display:grid;gap:12px}.invoice-package-card{padding:14px;border:1px solid #cfdde7;border-radius:9px;background:#fff}.invoice-package-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.invoice-package-card h4{margin:0;color:#173b57;font-size:14px}.package-measures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.package-weight-result{display:flex;flex-wrap:wrap;gap:16px;margin:11px 0;padding:10px;border-radius:7px;background:#edf7f2;color:#315b48;font-size:11px}.package-weight-result strong{color:#0c7547}.package-contents-head{margin:12px 0 7px;color:#29485f;font-size:11px;font-weight:850}.package-contents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.package-contents label{grid-template-columns:minmax(0,1fr) 90px;align-items:center}.package-contents span{min-width:0;overflow-wrap:anywhere}.invoice-shipping .admin-form-row{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-shipping-note{margin:9px 0 0;color:#526c80;font-size:11px;line-height:1.55}.invoice-import-costs{margin-top:16px;padding-top:16px;border-top:1px solid #d6e2ec}.invoice-calculation-summary{margin-top:13px}.invoice-weight-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.invoice-weight-summary span{padding:10px;border-radius:7px;background:#eaf3fa;color:#526c80;font-size:10px}.invoice-weight-summary b,.invoice-weight-summary strong{display:block;margin-top:3px;color:#173f68;font-size:13px}.invoice-weight-summary small{display:block;margin-top:3px;color:#6d8294;font-size:9px}.invoice-calculation-summary table{display:table;width:100%;min-width:760px;border-collapse:collapse;background:#fff;font-size:10px}.invoice-calculation-summary:has(table){overflow-x:auto}.invoice-calculation-summary th,.invoice-calculation-summary td{padding:8px;border:1px solid #dfe8ee;text-align:right;white-space:nowrap}.invoice-calculation-summary th{background:#eaf3fa;color:#173b57}.invoice-calculation-summary th:first-child,.invoice-calculation-summary td:first-child{text-align:left;white-space:normal}.invoice-calculation-summary .negative{color:#c72738;font-weight:900}

/* v7.42: FAQ management rows */
.admin-faq-list{display:grid;gap:12px}.admin-faq-row{display:grid;grid-template-columns:92px minmax(220px,.85fr) minmax(320px,1.4fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid #d3e0ea;border-radius:12px;background:#fff;transition:opacity .15s,box-shadow .15s}.admin-faq-row.dragging{opacity:.48;box-shadow:0 12px 30px rgba(9,47,82,.2)}.admin-faq-row>label{display:grid;gap:6px;color:#29485f;font-size:12px;font-weight:900}.admin-faq-row input,.admin-faq-row textarea{box-sizing:border-box;width:100%;border:1px solid #cad8e5;border-radius:8px;padding:10px 11px;background:#fff;color:#102f4c;font:inherit}.admin-faq-row textarea{min-height:92px;resize:vertical;line-height:1.55}.admin-faq-order{display:grid;grid-template-columns:38px 1fr;gap:6px;align-items:center}.admin-faq-order>strong{font-size:18px;color:#095de8}.admin-faq-order>div{grid-column:1/-1;display:flex;gap:5px}.faq-drag-handle,.admin-faq-order [data-faq-up],.admin-faq-order [data-faq-down]{border:1px solid #c9d9e6;border-radius:7px;background:#f1f7fb;color:#18496e;font-weight:900}.faq-drag-handle{width:38px;height:38px;cursor:grab;font-size:17px;letter-spacing:-4px}.faq-drag-handle:active{cursor:grabbing}.admin-faq-order [data-faq-up],.admin-faq-order [data-faq-down]{width:30px;height:28px;cursor:pointer}.admin-faq-order button:disabled{opacity:.35;cursor:not-allowed}.admin-faq-row>.admin-danger{align-self:center}.faq-save-button{width:100%;margin-top:16px}.faq-empty{margin:0;padding:30px;border-top:1px solid #d8e3ec;border-bottom:1px solid #d8e3ec;color:#60778a;text-align:center}

@media(max-width:1050px){.admin-faq-row{grid-template-columns:80px 1fr}.admin-faq-row>label{grid-column:2}.admin-faq-row>.admin-danger{grid-column:2;justify-self:end}}
@media(max-width:800px){.import-invoice-card,.invoice-section-head{align-items:stretch;flex-direction:column}.package-measures,.package-contents,.invoice-weight-summary{grid-template-columns:1fr}.invoice-shipping .admin-form-row{grid-template-columns:1fr}.invoice-editor-section,.invoice-shipping{padding:12px}.import-invoice-card>div:last-child button{flex:1}.invoice-calculation-summary table{min-width:700px}}
@media(max-width:700px){.admin-faq-row{grid-template-columns:1fr;padding:12px}.admin-faq-order,.admin-faq-row>label,.admin-faq-row>.admin-danger{grid-column:1}.admin-faq-order{grid-template-columns:38px auto 1fr}.admin-faq-order>div{grid-column:3;justify-self:end}.admin-faq-row>.admin-danger{justify-self:stretch}.invoice-item-table{min-width:860px}}

/* v7.43: full-screen desktop admin and compact sticky cost table */
@media(min-width:721px){
  .admin-overlay{padding:8px}
  .admin-dialog:not(.login-mode){width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:none;overflow:hidden;border-radius:12px}
  .admin-dialog:not(.login-mode) .admin-head{position:relative;min-height:64px;padding:0 22px}
  .admin-dialog:not(.login-mode) .admin-dashboard{height:calc(100% - 65px);overflow:hidden}
  .admin-dialog:not(.login-mode) .admin-layout{height:100%;min-height:0;grid-template-columns:180px minmax(0,1fr)}
  .admin-dialog:not(.login-mode) .admin-sidebar{overflow-y:auto;padding:14px 12px;gap:6px}
  .admin-dialog:not(.login-mode) .admin-tab{min-height:42px;padding:0 13px}
  .admin-dialog:not(.login-mode) .admin-content{box-sizing:border-box;min-width:0;height:100%;overflow:auto;padding:18px 20px 24px}
  .admin-dialog:not(.login-mode) .admin-panel-head{margin-bottom:16px}
  .admin-dialog:not(.login-mode) .admin-panel-head h2{font-size:24px}
}

#adminCostsPanel .cost-summary{gap:7px;margin-bottom:11px}
#adminCostsPanel .cost-summary>div{padding:9px 10px;border-radius:7px}
#adminCostsPanel .cost-summary small{margin-bottom:3px;font-size:9px}
#adminCostsPanel .cost-summary strong{font-size:15px}
#adminCostsPanel .cost-table-scroll{max-height:calc(100vh - 285px);overflow:auto;overscroll-behavior:contain;border-radius:7px}
#adminCostsPanel .cost-table{min-width:1240px;table-layout:fixed;font-size:10px}
#adminCostsPanel .cost-table th,#adminCostsPanel .cost-table td{min-width:0;padding:5px 6px;line-height:1.3}
#adminCostsPanel .cost-table th:first-child{box-sizing:border-box;width:210px;min-width:210px;max-width:210px;box-shadow:2px 0 4px rgba(9,47,82,.08)}
#adminCostsPanel .cost-table th:not(:first-child),#adminCostsPanel .cost-table td:not(:first-child){width:103px}
#adminCostsPanel .cost-table thead th{top:0;z-index:4;height:38px}
#adminCostsPanel .cost-table tbody th:first-child{z-index:3}
#adminCostsPanel .cost-table thead th:first-child{z-index:5}
#adminCostsPanel .cost-table input{width:100%;min-height:31px;padding:4px 6px;border-radius:5px;font-size:10px}
#adminCostsPanel .cost-product{gap:7px}
#adminCostsPanel .cost-product img{width:34px;height:34px;border-radius:4px}
#adminCostsPanel .cost-product>span{min-width:0}
#adminCostsPanel .cost-product strong{margin-bottom:1px;font-size:10px;line-height:1.25}
#adminCostsPanel .cost-product small{font-size:8px;line-height:1.25}
#adminCostsPanel .invoice-cost-source{margin-top:2px}
#adminCostsPanel .cost-form-actions{margin-top:10px}

@media(max-width:1100px){#adminCostsPanel .cost-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){#adminCostsPanel .cost-table-scroll{max-height:calc(100vh - 260px)}#adminCostsPanel .cost-table{min-width:1160px}#adminCostsPanel .cost-summary{grid-template-columns:1fr 1fr}}

/* v7.45: member status summary and administrator order deletion */
.customer-status-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:16px}.customer-status-summary>div{padding:12px 13px;border:1px solid #d7e2eb;border-radius:9px;background:#f5f9fc}.customer-status-summary small,.customer-status-summary strong{display:block}.customer-status-summary small{margin-bottom:4px;color:#6a7f91;font-size:10px}.customer-status-summary strong{color:#113c5d;font-size:18px}.admin-order-card footer .order-delete-button{margin-left:auto;border:1px solid #e3a9b0;background:#fff5f6;white-space:nowrap}.admin-order-card footer .order-delete-button:hover{border-color:#c72738;background:#ffecee}.admin-order-card footer .order-delete-button:disabled{opacity:.5;cursor:wait}@media(max-width:1100px){.customer-status-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.customer-status-summary{grid-template-columns:1fr 1fr}.customer-status-summary>div:last-child{grid-column:1/-1}.admin-order-card footer .order-delete-button{width:100%;margin-left:0}}
/* Payment provider management v7.46 */
.payment-admin-tabs{display:flex;gap:8px;margin:0 0 18px;padding:6px;border:1px solid #d7e3ef;border-radius:14px;background:#f4f8fc}
.payment-admin-tabs button{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:#49647d;font-weight:800;cursor:pointer}
.payment-admin-tabs button.active{background:#0e62e8;color:#fff;box-shadow:0 4px 12px rgba(14,98,232,.18)}
.bank-transfer-admin-grid{display:grid;grid-template-columns:minmax(240px,360px) minmax(0,1fr);gap:24px;align-items:start}
.bank-transfer-preview-box{display:grid;gap:10px;justify-items:center;padding:18px;border:1px solid #d7e3ef;border-radius:14px;background:#f7fafc;text-align:center}
.bank-transfer-preview-box img{display:block;width:min(100%,300px);max-height:430px;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 6px 20px rgba(12,47,78,.1)}
.bank-transfer-preview-box small{max-width:100%;overflow-wrap:anywhere;color:#6c8296}
.bank-transfer-fields{display:grid;gap:18px}
.bank-transfer-fields textarea{width:100%;min-height:150px;resize:vertical}
@media(max-width:760px){.bank-transfer-admin-grid{grid-template-columns:1fr}.payment-admin-tabs{position:sticky;top:0;z-index:5}}
/* v7.50: administrator consultation workflow */
.admin-consultation-box{display:grid;gap:7px;margin:0 16px 14px;padding:13px 15px;border-left:4px solid #2679b9;border-radius:8px;background:#edf6fc;color:#294f69}
.admin-consultation-box h4,.admin-consultation-box p{margin:0}
.admin-consultation-box p{line-height:1.55;white-space:pre-wrap}
.admin-consultation-box em{color:#12704b;font-style:normal;font-weight:850}
.consultation-state{border-color:#9cc8e8!important;background:#eef7fd!important;color:#185d8d!important}
@media(min-width:1180px){.order-stage-summary{grid-template-columns:repeat(5,minmax(0,1fr))}}
