/* Admin renewal dashboard components */
body.dashboard-page {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow-x: hidden;
}

body.dashboard-page .adminuiux-wrap {
  width: 100vw !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: hidden;
}

body.dashboard-page .adminuiux-header .container-fluid {
  width: 100% !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.dashboard-main {
  box-sizing: border-box;
  width: 100vw !important;
  max-width: 430px !important;
  min-height: 100vh;
  margin: 0 auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  background: #fff;
  padding: 20px 15px 120px !important;
  overflow-x: hidden;
}

@media (max-width: 430px) {
  body.dashboard-page .adminuiux-wrap,
  body.dashboard-page .adminuiux-header .container-fluid {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc((100vw - 100%) / 2) !important;
    margin-right: calc((100vw - 100%) / 2) !important;
  }

  body.dashboard-page .adminuiux-content.dashboard-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.dashboard-profile-section {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 38px;
}

.dashboard-profile-section.is-store-account {
  margin-bottom: 15px;
}

.dashboard-profile-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.dashboard-profile-logout {
  flex: 0 0 auto;
}

.dashboard-profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 46px;
}

.dashboard-profile-text {
  margin-left: 10px;
  min-width: 0;
}

.dashboard-profile-date {
  color: #6a6e74;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.dashboard-profile-greeting {
  color: #121314;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.dashboard-profile-edit {
  width: 64px;
  height: 26px;
  border: 1px solid #e2e4e9;
  border-radius: 6px;
  background: #fff;
  color: #000 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.5px;
  text-decoration: none !important;
  flex: 0 0 64px;
}

.dashboard-profile-edit:hover,
.dashboard-profile-edit:focus,
.dashboard-profile-edit:active {
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.dashboard-store-summary-section {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0 0 38px;
}

.dashboard-store-summary-row {
  box-sizing: border-box;
  width: 100%;
  height: 41px;
  border-radius: 8px;
  background: #f5f6f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.dashboard-store-summary-row.is-period {
  background: #f8fafc;
}

.dashboard-store-summary-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.dashboard-store-summary-main .summary-label {
  width: 50px;
  color: #6e7780;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.dashboard-store-summary-main .summary-value {
  margin-left: 5px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}

.dashboard-store-summary-main .summary-value.is-strong {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.dashboard-store-summary-row .summary-action {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #3f6d9a !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.5px;
  text-decoration: none !important;
  white-space: nowrap;
}

.dashboard-store-summary-row .summary-action.is-extend {
  color: #1289ff !important;
}

.dashboard-store-summary-row .summary-action:hover,
.dashboard-store-summary-row .summary-action:focus,
.dashboard-store-summary-row .summary-action:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.dashboard-request-modal .modal-dialog {
  width: calc(100% - 28px);
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-request-modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.dashboard-request-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #eef2f7;
}

.dashboard-request-title-box {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.dashboard-request-title-box p {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: -0.04em;
}

.dashboard-request-title-box span:not(.dashboard-request-icon) {
  display: block;
  margin-top: 3px;
  color: #7b8794;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.04em;
}

.dashboard-request-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  font-size: 18px;
}

.dashboard-request-icon.is-money {
  background: #edf5ff;
  color: #2563eb;
}

.dashboard-request-icon.is-alim {
  background: #eff8ff;
  color: #0b83d8;
}

.dashboard-request-icon.is-period {
  background: #f0f7ff;
  color: #1289ff;
}

.dashboard-request-close {
  width: 30px;
  height: 30px;
  padding: 0 !important;
  border-radius: 50%;
  background-size: 11px;
  opacity: 0.55;
}

.dashboard-request-modal-body {
  padding: 16px 18px 18px;
}

.dashboard-request-field {
  margin-top: 15px;
}

.dashboard-request-field:first-child,
.dashboard-request-price-row + .dashboard-request-field {
  margin-top: 14px;
}

.dashboard-request-field label {
  display: block;
  margin: 0 0 8px;
  color: #293241;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: -0.04em;
}

.dashboard-request-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-request-option {
  height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.dashboard-request-option.is-active {
  border-color: #4279ff;
  background: #edf3ff;
  color: #2563eb;
}

.dashboard-request-input,
.dashboard-request-input-wrap {
  width: 100%;
}

.dashboard-request-input {
  height: 42px;
  border: 1px solid #e4e9f1;
  border-radius: 11px;
  background: #fff;
  padding: 0 13px;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.04em;
}

.dashboard-request-input::placeholder {
  color: #b2bcc8;
}

.dashboard-request-input:focus {
  border-color: #4279ff;
  box-shadow: 0 0 0 3px rgba(66, 121, 255, 0.12);
  outline: none;
}

.dashboard-request-input-wrap {
  position: relative;
}

.dashboard-request-input-wrap .dashboard-request-input {
  padding-right: 42px;
}

.dashboard-request-input-wrap > span {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.dashboard-request-price-row,
.dashboard-request-total {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: #f6f9ff;
  padding: 0 13px;
}

.dashboard-request-price-row span,
.dashboard-request-total span {
  color: #5f6f84;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.04em;
}

.dashboard-request-price-row strong,
.dashboard-request-total strong {
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: -0.03em;
}

.dashboard-request-total {
  margin-top: 15px;
  background: #fff;
  border: 1px solid #e7edf6;
}

.dashboard-request-guide {
  margin-top: 16px;
  padding: 14px 15px;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  background: #f8fbff;
}

.dashboard-request-guide p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: -0.04em;
}

.dashboard-request-guide dl {
  margin: 0;
}

.dashboard-request-guide dl > div {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 8px;
  align-items: start;
}

.dashboard-request-guide dl > div + div {
  margin-top: 5px;
}

.dashboard-request-guide dt,
.dashboard-request-guide dd {
  margin: 0;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: -0.04em;
}

.dashboard-request-guide dt {
  color: #7b8794;
  font-weight: 600;
}

.dashboard-request-guide dd {
  color: #1f2937;
  font-weight: 700;
}

.dashboard-request-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 18px 18px;
  border-top: 0;
}

.dashboard-request-modal-footer > * {
  margin: 0;
}

.dashboard-request-cancel,
.dashboard-request-submit {
  height: 42px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.04em;
}

.dashboard-request-cancel {
  background: #f1f4f8;
  color: #344054;
}

.dashboard-request-submit {
  background: #4279ff;
  color: #fff;
}

@media (max-width: 390px) {
  .dashboard-request-modal .modal-dialog {
    width: calc(100% - 20px);
  }

  .dashboard-request-modal-header,
  .dashboard-request-modal-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dashboard-request-modal-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

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

.dashboard-order-section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 38px;
}

.dashboard-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 18px;
}

.dashboard-section-title {
  color: #292929;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 21px;
  margin: 0;
}

.dashboard-section-side-stat {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #16a34a;
  padding: 0 10px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.dashboard-section-side-stat .bi {
  color: inherit;
  font-size: 12px;
  line-height: 1;
}

.dashboard-section-side-stat span,
.dashboard-section-side-stat strong,
.dashboard-section-side-stat em {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-style: normal;
  font-weight: inherit;
}

.dashboard-section-side-stat strong {
  font-weight: 700;
}

.dashboard-period-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-period-date {
  min-width: 0;
}

.dashboard-period-label {
  display: block;
  margin: 0 0 6px;
  color: #8a929f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.32px;
}

.dashboard-date-card {
  position: relative;
  display: block;
  margin: 0 !important;
}

/* 임시 미노출: 접속회원/주문회원 지표는 추후 재노출 가능성이 있어 DOM/JS/API 연결은 유지합니다. */
.dashboard-member-grid {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
}

.dashboard-member-card {
  min-height: 58px;
  border: 1px solid rgba(67, 107, 237, 0.10);
  border-radius: 12px;
  background: rgba(67, 107, 237, 0.05);
  padding: 10px;
}

.dashboard-member-card span {
  display: block;
  color: #6e7780;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: -0.04em;
  margin-bottom: 5px;
}

.dashboard-member-card strong {
  display: block;
  color: #121314;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  text-align: right;
}

.dashboard-member-card em {
  color: #2563eb;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
}

.dashboard-period-date .admin-date-range {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2e4e9;
  border-radius: 11px;
  background: #fff;
  color: #373737;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dashboard-period-date .admin-date-value {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
}

.dashboard-period-date .admin-date-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.dashboard-period-date .admin-calendar-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  justify-self: center;
  display: block;
}

.dashboard-range-divider {
  color: #373737;
  text-align: center;
}

.dashboard-month-picker {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.dashboard-month-picker.is-open {
  display: flex;
}

.dashboard-month-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.28);
}

.dashboard-month-panel {
  position: relative;
  box-sizing: border-box;
  width: min(400px, calc(100vw - 30px));
  margin-bottom: calc(env(safe-area-inset-bottom) + 18px);
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  animation: monthPickerUp 0.18s ease-out;
}

@keyframes monthPickerUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.dashboard-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dashboard-month-title {
  color: #121314;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.5px;
}

.dashboard-month-nav {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f6;
  color: #303441;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-month-nav:hover,
.dashboard-month-nav:focus,
.dashboard-month-nav:active {
  background: #e9edf3 !important;
  box-shadow: none !important;
}

.dashboard-month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dashboard-month-option {
  height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f7f8fa;
  color: #303441;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.dashboard-month-option:hover,
.dashboard-month-option:focus {
  background: #eef4ff !important;
  color: #3182f6;
  box-shadow: none !important;
}

.dashboard-month-option.is-selected {
  border-color: #3182f6;
  background: #3182f6 !important;
  color: #fff;
}

.dashboard-month-today {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f6;
  color: #4e5968;
  font-size: 15px;
  font-weight: 700;
}

.dashboard-month-today:hover,
.dashboard-month-today:focus,
.dashboard-month-today:active {
  background: #e9edf3 !important;
  box-shadow: none !important;
}

.dashboard-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.dashboard-stat-card {
  min-height: 59px;
  border-radius: 10px;
  padding: 10px;
  background: #f5f6f7;
  color: var(--card-color, #303441);
  overflow: hidden;
}

.dashboard-stat-card.is-tall {
  min-height: 111px;
}

.dashboard-stat-card.is-wide {
  grid-column: span 1;
}

.dashboard-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.dashboard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 33px;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--badge-bg, #303441);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-count {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.dashboard-amount {
  color: var(--card-color, #303441);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 19px;
  text-align: right;
  white-space: nowrap;
}

.dashboard-amount .unit {
  font-size: inherit;
  font-weight: inherit;
  margin-left: 0;
}

.dashboard-detail-line {
  height: 1px;
  background: var(--line-color, rgba(48, 52, 65, 0.16));
  margin: 10px 0 10px;
}

.dashboard-sub-row {
  display: grid;
  grid-template-columns: 32px 48px 1fr;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 13px;
  margin-top: 5px;
}

.dashboard-sub-row .sub-amount {
  color: var(--card-color, #303441);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.dashboard-loading,
.dashboard-empty {
  grid-column: 1 / -1;
  min-height: 160px;
  border-radius: 12px;
  background: #f7f8fa;
  color: #8b95a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 380px) {
  .dashboard-main { padding-left: 12px !important; padding-right: 12px !important; }
  .dashboard-period-row { gap: 8px; }
  .dashboard-period-date .admin-date-range { padding: 0 10px; }
  .dashboard-period-date .admin-date-value { gap: 6px; }
  .dashboard-sub-row { gap: 5px; }
}


.dashboard-quick-section {
  margin: -24px 0 30px;
}

.dashboard-quick-link {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
  color: #111827 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(50, 94, 140, 0.06);
}

.dashboard-quick-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(38, 119, 255, 0.09);
}

.dashboard-quick-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.dashboard-quick-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dashboard-quick-text strong {
  color: #1b2a3a;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.04em;
}

.dashboard-quick-text em {
  color: #697482;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: -0.04em;
}

.dashboard-quick-link > i {
  color: #9aa6b2;
  font-size: 15px;
}


.dashboard-management-section {
  margin: 0;
}

.dashboard-management-title {
  margin: 0 0 16px;
  color: #292929;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.04em;
}

.dashboard-management-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
}

.dashboard-management-link {
  min-height: 44px;
  display: grid;
  grid-template-columns: 26px 1fr 18px;
  align-items: center;
  column-gap: 12px;
  padding: 0;
  color: #17191d !important;
  text-decoration: none !important;
}

.dashboard-management-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.dashboard-management-icon i {
  font-size: 21px;
  line-height: 1;
}

.dashboard-management-text {
  color: #17191d;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.04em;
}

.dashboard-management-arrow {
  color: #c7cdd5;
  font-size: 21px;
  line-height: 1;
  justify-self: end;
}

.dashboard-management-link:hover,
.dashboard-management-link:focus,
.dashboard-management-link:active {
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-management-link + .dashboard-management-link {
  margin-top: 10px;
}

/* Master request publishing pages and dashboard widgets */
.dashboard-master-request-section {
  margin: -18px 0 30px;
  padding-bottom: 4px;
}

.dashboard-master-request-head {
  margin-bottom: 12px;
}

.dashboard-master-request-eyebrow {
  display: none;
}

.dashboard-master-request-head h2 {
  display: inline-block;
  margin: 0;
  color: #292929;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.04em;
}

.dashboard-master-request-head p {
  display: inline-block;
  margin: 0 0 0 7px;
  color: #8b95a1;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.03em;
  vertical-align: 1px;
}


.dashboard-master-request-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #f0f1f3;
  border-bottom: 1px solid #f0f1f3;
}

.dashboard-master-request-card {
  min-height: 46px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: #fff;
  color: #111 !important;
  text-decoration: none !important;
}

.dashboard-master-request-card + .dashboard-master-request-card {
  border-top: 1px solid #f5f6f7;
}

.dashboard-master-request-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #4279ff;
  font-size: 17px;
}

.dashboard-master-request-copy {
  min-width: 0;
  display: contents;
}

.dashboard-master-request-copy em {
  min-width: 0;
  color: #292929;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.dashboard-master-request-copy strong {
  justify-self: end;
  min-width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(66, 121, 255, .1);
  color: #4279ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.dashboard-master-request-copy small {
  display: none;
}

.dashboard-master-request-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 7px;
  margin-top: 10px;
}

.dashboard-master-request-actions a {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef4ff;
  color: #4279ff !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none !important;
}

.dashboard-master-request-actions a:last-child {
  background: #111827;
  color: #fff !important;
}

.admin-header-page-nav {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-header-back-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f5f7fb;
  color: #222 !important;
  font-size: 18px;
  text-decoration: none !important;
}

.admin-header-page-title {
  min-width: 0;
  color: #1f2933;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.master-request-main {
  padding-top: 20px !important;
  background: #fff;
}


.master-request-settings-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 16px;
  margin-bottom: 16px;
  border-top: 1px solid #d7e3ff;
  border-bottom: 1px solid #d7e3ff;
  background: #fff;
}

.master-request-hero-label {
  display: block;
  margin-bottom: 4px;
  color: #6a6e74;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
}

.master-request-settings-hero strong {
  display: block;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.03em;
}

.master-request-settings-hero p {
  margin: 4px 0 0;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
}

.master-request-settings-hero a,
.master-request-setting-link {
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  border: 1px solid #4279ff;
  border-radius: 8px;
  background: #4279ff;
  color: #fff !important;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none !important;
  white-space: nowrap;
}

.master-request-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.master-request-form-card,
.master-request-application-card {
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  background: #fff;
}

.master-request-form-card {
  padding: 14px;
}

.master-request-form-card + .master-request-form-card {
  padding-top: 14px;
}

.master-request-form-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.master-request-form-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  color: #4279ff;
  background: #fff;
  font-size: 14px;
}

.master-request-form-icon.is-green {
  color: #17834b;
}

.master-request-form-head h2 {
  margin: 0;
  color: #292929;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.04em;
}

.master-request-form-head p {
  margin: 3px 0 0;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
}

.master-request-field-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.master-request-field {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin: 0;
}

.master-request-field > span {
  color: #596273;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.04em;
}

.master-request-field input,
.master-request-field select,
.master-request-unit-input {
  width: 100%;
  height: 40px;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  background: #fff;
  color: #292929;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.master-request-field input,
.master-request-field select {
  padding: 0 11px;
  outline: none;
}

.master-request-field select {
  appearance: none;
  -webkit-appearance: none;
}

.master-request-unit-input,
.master-request-select-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  overflow: hidden;
}

.master-request-unit-input input {
  height: 38px;
  border: 0;
  border-radius: 0;
}

.master-request-unit-input em {
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #edf1f6;
  color: #6a6e74;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
}

.master-request-select-wrap {
  position: relative;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
}

.master-request-select-wrap select {
  border: 0;
  border-radius: 0;
}

.master-request-select-wrap i {
  justify-self: center;
  color: #8b95a1;
  font-size: 13px;
}

.master-request-save-bar,
.master-request-application-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.master-request-save-bar {
  margin-top: 6px;
}

.master-request-save-bar .master-request-sub-button {
  border: 1px solid #d8e0ec;
}

.master-request-primary-button,
.master-request-sub-button {
  height: 41px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.master-request-primary-button {
  background: #4279ff;
  color: #fff;
}

.master-request-sub-button {
  border: 1px solid #d8e0ec;
  background: #fff;
  color: #292929;
}


.master-request-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  margin-bottom: 12px;
  border-bottom: 0;
}

.master-request-filter-row {
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.master-request-filter-row::-webkit-scrollbar { display: none; }

.master-request-filter {
  height: 32px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid #e6e9ee;
  border-radius: 999px;
  background: #fff;
  color: #6a6e74;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.master-request-filter.is-active {
  border-color: #4279ff;
  background: #4279ff;
  color: #fff;
}

.master-request-application-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.master-request-application-card {
  padding: 14px;
}


.master-request-application-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.master-request-type,
.master-request-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.master-request-type,
.master-request-status {
  border: 1px solid transparent;
  background: #fff;
}

.master-request-type.is-money { border-color: #b8cdfd; color: #2c6ee8; }
.master-request-type.is-alim { border-color: #b9e8cb; color: #16834d; }
.master-request-type.is-period { border-color: #d5c9ff; color: #6b4ee6; }

.master-request-status.is-pending { border-color: #f5cf95; background: #fff3d8; color: #d97706; }
.master-request-status.is-complete { border-color: #aee3c7; background: #e8fff1; color: #17945a; }
.master-request-status.is-hold { border-color: #b8cdfd; background: #eef5ff; color: #2f66d8; }

.master-request-application-top h2 {
  margin: 7px 0 0;
  color: #292929;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.04em;
}

.master-request-application-body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.master-request-application-body dl > div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
}

.master-request-application-body dt {
  margin-bottom: 4px;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
}

.master-request-application-body dd {
  margin: 0;
  color: #292929;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.master-request-application-body p {
  margin: 9px 0 11px;
  color: #6a6e74;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
}

@media (max-width: 380px) {
  .master-request-field {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* Store review report management page */
.review-report-toolbar-note {
  flex: 0 0 auto;
  color: #8b95a1;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  white-space: nowrap;
}

.review-report-card-title {
  min-width: 0;
}

.review-report-card-title p {
  margin: 4px 0 0;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: -0.03em;
}

.review-report-card .master-request-application-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-report-card .master-request-sub-button.is-danger {
  border-color: #fecaca;
  background: #fff7f8;
  color: #e11d48;
}

.review-report-review-box {
  margin-bottom: 9px;
  padding: 10px 11px;
  border: 1px solid #edf1f7;
  border-radius: 9px;
  background: #fff;
}

.review-report-review-box span {
  display: block;
  margin-bottom: 4px;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
}

.review-report-review-box p {
  margin: 0;
  color: #292929;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.03em;
}

.review-report-empty {
  margin-top: 8px;
  padding: 22px 12px;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  color: #7a7f87;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.review-report-card .master-request-application-actions {
  margin-top: 11px;
}

.review-report-card .master-request-sub-button:not(.is-danger) {
  border-color: #d7e3ff;
  background: #eef5ff;
  color: #2f66d8;
}
