@charset "UTF-8";

.shop-notice-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  padding: 12px;
  background: #f3f6fa;
}

.shop-notice-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.shop-notice-filter {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 72px 34px 88px 82px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.shop-notice-filter span {
  color: #4e5b72;
  font-size: 12px;
  white-space: nowrap;
}

.shop-notice-filter input,
.shop-notice-filter select,
.shop-notice-list-search input,
.shop-notice-list-search select {
  width: 100%;
  min-width: 0;
  height: 30px;
  border: 1px solid #d5deea;
  border-radius: 5px;
  padding: 0 7px;
  outline: none;
  background: #fff;
  color: #253143;
  font-family: "Jeju Gothic", "Malgun Gothic", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.shop-notice-filter input:focus,
.shop-notice-filter select:focus,
.shop-notice-list-search input:focus,
.shop-notice-list-search select:focus {
  border-color: #3149b7;
  box-shadow: 0 0 0 3px rgba(49, 73, 183, .10);
}

.shop-notice-filter button,
.shop-notice-list-search button {
  height: 30px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 5px;
  padding: 0 6px;
  color: #fff;
  background: #52647c;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.shop-notice-filter button.primary,
.shop-notice-list-search button.primary {
  background: #3149b7;
}

.shop-notice-filter button:hover,
.shop-notice-list-search button:hover {
  background: #516178;
  cursor: pointer;
}

.shop-notice-filter button.primary:hover,
.shop-notice-list-search button.primary:hover {
  background: #223aa2;
}

.shop-notice-work {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(286px, 3fr) minmax(0, 5fr);
  gap: 8px;
  overflow: hidden;
}

.shop-notice-list-panel,
.shop-notice-detail-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.shop-notice-list-panel {
  grid-template-rows: 38px minmax(0, 1fr) 36px;
}

.shop-notice-detail-panel {
  grid-template-rows: 38px minmax(0, 1fr);
}

.shop-notice-list-head,
.shop-notice-detail-head {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #e7edf5;
  padding: 0 10px;
  background: #f8faff;
}

.shop-notice-list-head {
  grid-template-columns: auto minmax(0, 1fr);
}

.shop-notice-detail-head {
  grid-template-columns: auto minmax(0, 1fr);
}

.shop-notice-list-head > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-notice-list-head strong,
.shop-notice-detail-head strong {
  color: #253143;
  font-family: "Youth", "Jeju Gothic", sans-serif;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.shop-notice-list-search {
  min-width: 0;
  display: grid;
  grid-template-columns: 55px 58px 55px minmax(58px, 1fr) 58px;
  gap: 4px;
  justify-self: end;
  align-items: center;
  width: min(100%, 348px);
}

.shop-notice-list-head span,
.shop-notice-detail-head span {
  min-width: 0;
  overflow: hidden;
  color: #596579;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(2px);
}

.shop-notice-list-head b {
  color: #3149b7;
  font-weight: 400;
}

.shop-notice-table {
  min-height: 0;
  display: grid;
  grid-template-rows: 32px minmax(0, 1fr);
  overflow: hidden;
}

.shop-notice-table-body,
.shop-notice-detail-view {
  min-height: 0;
  overflow: auto;
}

.shop-notice-row {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr) 84px;
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  color: #253143;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.shop-notice-row.head {
  min-height: 32px;
  color: #48627c;
  background: #f7faff;
  font-family: "Youth", "Jeju Gothic", sans-serif;
  font-size: 10px;
  cursor: default;
}

.shop-notice-table-body .shop-notice-row:nth-child(even) {
  background: #fbfdff;
}

.shop-notice-row:not(.head):hover {
  background: #f7fbff;
}

.shop-notice-row.active {
  color: #b54708;
  background: #fff8ed;
}

.shop-notice-row > div {
  min-width: 0;
  overflow: hidden;
  padding: 0 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-notice-row.head > div,
.shop-notice-row .center {
  text-align: center;
}

.shop-notice-row.head > div {
  font-size: 10px;
}

.shop-notice-row.head > div:nth-child(3),
.shop-notice-row .title {
  text-align: left;
}

.shop-notice-target-mode {
  min-width: 0;
  display: grid;
  gap: 2px;
  justify-items: center;
  align-content: center;
}

.shop-notice-date {
  min-width: 0;
  display: grid;
  gap: 2px;
  justify-items: center;
  align-content: center;
  color: #536174;
}

.shop-notice-date span,
.shop-notice-date b {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-notice-title-wrap {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
  vertical-align: middle;
}

.shop-notice-title-wrap span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-notice-reply-icon {
  flex: 0 0 auto;
  color: #8792a6;
  font-size: 11px;
  transform: rotate(180deg);
}

.shop-notice-file-mark {
  flex: 0 0 auto;
  color: #52647c;
  font-size: 11px;
}

.shop-notice-new {
  flex: 0 0 auto;
  color: #c72f66;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.shop-notice-badge,
.shop-notice-mode {
  min-width: 34px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 0 6px;
  font-size: 10px;
  line-height: 18px;
  white-space: nowrap;
}

.shop-notice-badge.biz { color: #344da0; background: #e4e9fb; }
.shop-notice-badge.member { color: #425b12; background: #edf5d7; }
.shop-notice-badge.cust { color: #9f2455; background: #fde2ec; }
.shop-notice-mode.normal { color: #3e4a5c; background: #e7ecf3; }
.shop-notice-mode.live { color: #1f6c55; background: #ddf4e9; }
.shop-notice-mode.all { color: #b4234d; background: #ffe5ec; }

.shop-notice-empty,
.shop-notice-detail-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 30px 12px;
  color: #8b95a7;
  font-size: 13px;
  text-align: center;
}

.shop-notice-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid #e7edf5;
  background: #fbfcff;
}

.shop-notice-pager button {
  width: 28px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d7e0eb;
  border-radius: 5px;
  color: #53647d;
  background: #fff;
  font-size: 11px;
}

.shop-notice-pager button:disabled {
  color: #a8b2c1;
  background: #f2f5f9;
  cursor: default;
}

.shop-notice-pager span {
  min-width: 86px;
  color: #596579;
  font-size: 12px;
  text-align: center;
}

.shop-notice-pager b,
.shop-notice-pager em {
  font-style: normal;
  font-weight: 400;
}

.shop-notice-detail-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 6px;
  padding: 5px;
}

.shop-notice-detail-title {
  min-width: 0;
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  padding: 10px 6px;
  background: #fbfcff;
}

.shop-notice-detail-top {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.shop-notice-detail-top > div {
  min-width: 0;
  display: flex;
  gap: 5px;
  align-items: center;
}

.shop-notice-detail-writer {
  min-width: 0;
  overflow: hidden;
  justify-self: end;
  color: #4e5b72;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-notice-detail-title h2 {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #253143;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-notice-detail-date-line {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #667285;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-notice-detail-body {
  min-height: 0;
  overflow: auto;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  padding: 8px 6px;
  color: #253143;
  background: #fff;
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.shop-notice-detail-body p {
  margin: 0 0 9px;
}

.shop-notice-detail-body p:last-child {
  margin-bottom: 0;
}

.shop-notice-detail-body img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  margin: 9px 0;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  object-fit: cover;
}

.shop-notice-files {
  min-height: 0;
  display: grid;
  gap: 6px;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  padding: 6px;
  background: #fbfcff;
}

.shop-notice-files strong {
  color: #4e5b72;
  font-size: 12px;
  font-weight: 400;
}

.shop-notice-files > div {
  display: grid;
  gap: 5px;
}

.shop-notice-files a {
  min-width: 0;
  min-height: 28px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 42px;
  gap: 5px;
  align-items: start;
  border: 1px solid #e3eaf4;
  border-radius: 5px;
  padding: 6px 7px;
  color: #253143;
  background: #fff;
  font-size: 12px;
  text-decoration: none;
}

.shop-notice-files a:hover {
  border-color: #b8c5d8;
  background: #f7fbff;
}

.shop-notice-files a i {
  color: #4263e7;
  padding-top: 2px;
  text-align: center;
}

.shop-notice-files a span {
  min-width: 0;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.shop-notice-files a em {
  color: #7b879a;
  font-size: 10px;
  font-style: normal;
  text-align: right;
  white-space: nowrap;
  padding-top: 2px;
}

.shop-notice-files.empty p {
  min-height: 24px;
  display: flex;
  align-items: center;
  margin: 0;
  color: #9aa5b6;
  font-size: 12px;
}

.manage-toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: grid;
  gap: 8px;
}

.manage-toast {
  min-width: 220px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(34, 34, 34, 0.92);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  font-size: 14px;
}

.manage-toast.success { background: rgba(22, 163, 74, 0.94); }
.manage-toast.error { background: rgba(225, 29, 72, 0.94); }

@media (max-width: 760px) {
  .shop-notice-work {
    grid-template-columns: minmax(0, 1fr);
  }
}
