.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.development-shell {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.development-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  border: 1px solid #d7e3f8;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f2f7ff;
}

.development-heading > div:first-child {
  min-width: 160px;
}

.development-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.development-heading p {
  margin: 3px 0 0;
  color: #58708f;
  font-size: 12px;
}

.development-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.development-toolbar button {
  flex: 0 0 auto;
  min-height: 38px;
  white-space: nowrap;
}

.development-search {
  display: block;
  width: min(320px, 32vw);
  min-width: 210px;
}

.development-search input {
  min-height: 38px;
  height: 38px;
  background: #fff;
}

.development-metric-summary {
  display: grid;
  gap: 8px;
}

.development-metric-period {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.development-metric-month-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 5px 2px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.development-metric-month-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.development-metric-month-field select {
  width: 132px;
  min-height: 28px;
  border: 0;
  outline: 0;
  padding: 0 26px 0 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.development-metric-month-field .custom-select-shell {
  width: 132px;
  min-width: 132px;
}

.development-metric-month-field .custom-select-trigger {
  min-height: 28px;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 0 7px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

.development-metric-month-field .custom-select-trigger:hover {
  background: #f8fbff !important;
}

.development-metric-month-field .custom-select-menu {
  min-width: 150px;
}

.development-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.development-metric {
  position: relative;
  display: grid;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  border-right: 1px solid var(--line);
  padding: 12px 14px 11px 18px;
  appearance: none;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.development-metric:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .1);
  transform: translateY(-1px);
}

.development-metric:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .2);
  outline-offset: 2px;
}

.development-metric.active {
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .14), 0 5px 14px rgba(37, 99, 235, .12);
}

.development-metric:last-child {
  border-right: 0;
}

.development-metric::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  background: #2563eb;
  content: '';
}

.development-metric.teal::before {
  background: #0f8a79;
}

.development-metric.orange::before {
  background: #f97316;
}

.development-metric.red::before {
  background: #d92d20;
}

.development-metric.gray::before {
  background: #667085;
}

.development-metric span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.development-metric strong {
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.3;
}

.development-metric small {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
}

.development-browser {
  min-height: calc(100vh - 246px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  padding: 8px 13px;
  background: var(--surface-soft);
}

.folder-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
}

.folder-breadcrumb button {
  min-height: 30px;
  border-color: transparent;
  padding: 0 7px;
  background: transparent;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.folder-breadcrumb button:hover {
  border-color: #d0dcf4;
  background: #fff;
}

.folder-breadcrumb button[aria-current="page"] {
  color: var(--primary);
}

.breadcrumb-divider {
  color: #98a2b3;
  font-size: 12px;
}

.month-unassigned-toggle {
  display: inline-flex;
  min-height: 30px;
  margin-left: 10px;
  border: 2px solid #f97316;
  border-radius: 6px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #c2410c;
  background: #fff7ed;
  box-shadow: 0 2px 6px rgba(249, 115, 22, .18);
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.month-unassigned-toggle:hover {
  border-color: #c2410c;
  background: #ffedd5;
}

.month-unassigned-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #f97316;
}

.month-unassigned-toggle.is-selected,
.month-unassigned-toggle:has(input:checked) {
  border-color: #fb923c;
  color: #c2410c;
  background: #ffedd5;
  box-shadow: 0 3px 9px rgba(249, 115, 22, .18);
}

.month-unassigned-toggle:has(input:disabled) {
  cursor: default;
}

.month-unassigned-toggle.is-updating {
  opacity: .72;
}

.month-shop-filter {
  display: inline-flex;
  min-height: 34px;
  margin-left: 8px;
  border: 1px solid #a9c7ff;
  border-radius: 10px;
  padding: 0 8px 0 11px;
  align-items: center;
  gap: 8px;
  color: #475467;
  background: #fff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, .08);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  max-width: min(520px, 68vw);
}

.month-shop-filter select {
  width: clamp(260px, 34vw, 420px);
  max-width: none;
  min-height: 30px;
  border: 0;
  outline: 0;
  padding: 0 28px 0 4px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.month-shop-filter:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.month-shop-filter .custom-select-shell {
  width: var(--month-shop-filter-width, 260px);
  min-width: 0;
}

.month-shop-filter .custom-select-trigger {
  min-height: 30px;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent;
  box-shadow: none !important;
}

.month-shop-filter .custom-select-value {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  line-height: 1.3;
}

.month-shop-filter .custom-select-menu {
  overflow-x: hidden;
}

.month-shop-filter .custom-select-option {
  width: 100%;
  white-space: nowrap;
  line-height: 1.35;
}

.month-shop-filter .custom-select-option span {
  overflow-wrap: anywhere;
}

.month-shop-filter .custom-select-trigger:hover {
  background: #f8fbff;
}

.month-shop-filter .custom-select-arrow {
  display: none;
}

.month-shop-filter .custom-select-trigger span::before,
.month-shop-filter .custom-select-option span::before {
  content: none !important;
  display: none !important;
}

.folder-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.browser-content {
  min-height: 360px;
  padding: 14px;
}

.module-loading,
.settings-empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.module-load-error {
  border: 1px solid #fecdca;
  border-radius: 8px;
  padding: 14px;
  color: #b42318;
  background: #fef3f2;
  font-size: 14px;
  font-weight: 700;
}

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

.folder-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-rows: 16px minmax(0, 1fr);
  column-gap: 11px;
  row-gap: 4px;
  min-width: 0;
  min-height: 82px;
  padding: 11px 12px;
  text-align: left;
  background: #fff;
}

.folder-item:hover {
  border-color: #9ab5eb;
  background: #f8fbff;
}

.folder-item.has-status-stack {
  grid-template-rows: 32px minmax(0, 1fr);
  min-height: 94px;
}

.folder-icon {
  position: relative;
  display: block;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 46px;
  height: 34px;
  border: 1px solid #8fb0ed;
  border-radius: 4px 4px 0 0;
  background: #dce8ff;
}

.folder-icon::before {
  position: absolute;
  top: -8px;
  left: 4px;
  width: 21px;
  height: 9px;
  border: 1px solid #8fb0ed;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: #dce8ff;
  content: '';
}

.folder-icon > span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #2563eb;
}

.custom-owner-folder .folder-icon,
.custom-owner-folder .folder-icon::before {
  border-color: #75c69a;
  background: #dff6e8;
}

.custom-owner-folder .folder-icon > span {
  background: #078a5f;
}

.month-folder .folder-icon,
.month-folder .folder-icon::before {
  border-color: #f4b37e;
  background: #ffead5;
}

.month-folder .folder-icon > span {
  background: #f97316;
}

.month-folder.submitted-folder .folder-icon,
.month-folder.submitted-folder .folder-icon::before {
  border-color: #7cc9a0;
  background: #dff6e9;
}

.month-folder.submitted-folder .folder-icon > span {
  background: #087f5b;
}

.shop-folder .folder-icon,
.shop-folder .folder-icon::before {
  border-color: #79c6ba;
  background: #d5f3ed;
}

.shop-folder .folder-icon > span {
  background: #0f8a79;
}

.developer-folder .folder-icon,
.developer-folder .folder-icon::before {
  border-color: #b5a1e9;
  background: #ebe5fb;
}

.developer-folder .folder-icon > span {
  background: #6941c6;
}

.person-folder-submission-section,
.approved-product-folder-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.approved-product-folder-grid {
  grid-template-columns: minmax(250px, 320px);
}

.approved-products-folder,
.approved-owner-folder {
  border-color: #8bc7a8;
  background: #f6fcf8;
}

.approved-products-folder:hover,
.approved-owner-folder:hover {
  border-color: #55ad7f;
  background: #effaf4;
}

.approved-products-folder .folder-icon,
.approved-products-folder .folder-icon::before,
.approved-owner-folder .folder-icon,
.approved-owner-folder .folder-icon::before {
  border-color: #75bd96;
  background: #dcf3e6;
}

.approved-products-folder .folder-icon > span,
.approved-owner-folder .folder-icon > span {
  background: #138a50;
}

.approved-products-folder .folder-copy strong {
  color: #087443;
}

.approved-month-filter,
.approved-owner-filter,
.approved-shop-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-left: 4px;
  border: 1px solid #b9c9e8;
  border-radius: 12px;
  padding: 1px 7px 1px 10px;
  background: #fff;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  box-sizing: border-box;
}

.approved-month-filter:focus-within,
.approved-owner-filter:focus-within,
.approved-shop-filter:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.approved-month-filter select,
.approved-owner-filter select,
.approved-shop-filter select {
  width: clamp(110px, 9vw, 150px);
  min-height: 26px;
  border: 0;
  padding: 0 28px 0 7px;
  background-color: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.approved-owner-filter .custom-select-shell,
.approved-shop-filter .custom-select-shell {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 28px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}

.approved-owner-filter select,
.approved-shop-filter select {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.approved-owner-filter,
.approved-shop-filter {
  flex: 0 0 222px;
  width: 222px;
  height: 34px;
  min-height: 34px;
  gap: 6px;
  border-radius: 10px;
  padding: 0 6px 0 9px;
}

.approved-owner-filter select,
.approved-shop-filter select,
.approved-owner-filter .custom-select-shell,
.approved-shop-filter .custom-select-shell,
.approved-shop-filter .custom-select-trigger,
.approved-owner-filter .custom-select-trigger {
  height: 28px;
  min-height: 28px;
}

.approved-owner-filter .custom-select-trigger,
.approved-shop-filter .custom-select-trigger {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-sizing: border-box;
  font-size: 12px !important;
}

.approved-owner-filter .custom-select-value {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.approved-owner-filter .custom-select-trigger,
.approved-shop-filter .custom-select-trigger {
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.approved-owner-filter .custom-select-trigger:hover,
.approved-shop-filter .custom-select-trigger:hover {
  background: #f8fbff;
}

.approved-owner-filter .custom-select-menu,
.approved-shop-filter .custom-select-menu {
  min-width: 170px;
}

.approved-owner-filter .custom-select-menu {
  min-width: 145px;
}

html.qn-pc-theme #developmentBreadcrumb .approved-owner-filter .custom-select-trigger span::before,
html.qn-pc-theme #developmentBreadcrumb .approved-shop-filter .custom-select-trigger span::before,
html.qn-pc-theme #developmentBreadcrumb .approved-owner-filter .custom-select-option span::before,
html.qn-pc-theme #developmentBreadcrumb .approved-shop-filter .custom-select-option span::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

#developmentBreadcrumb .approved-owner-filter select[data-native-select],
#developmentBreadcrumb .approved-shop-filter select[data-native-select],
#developmentBreadcrumb .month-shop-filter select[data-native-select] {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.approved-product-table-scroll {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
  background: #fff;
}

.approved-product-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.approved-product-table > thead th {
  height: 42px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  color: #475467;
  background: #f7f9fc;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.approved-product-table .approved-col-image {
  width: 88px;
}

.approved-product-table .approved-col-product {
  width: 270px;
}

.approved-product-table .approved-col-note {
  width: 260px;
}

.approved-product-table .approved-col-infringement {
  width: 120px;
}

.approved-product-table .approved-col-process {
  width: 155px;
}

.approved-product-table .approved-col-actions {
  width: 205px;
}

.approved-owner-group-row th,
.approved-shop-group-row th {
  text-align: left;
}

.approved-owner-group-row th {
  border-top: 8px solid #e9eef5;
  border-bottom: 1px solid #c9d8f1;
  padding: 12px 14px;
  background: #eef4ff;
}

.approved-owner-group-row:first-child th {
  border-top: 0;
}

.approved-owner-group-row span,
.approved-shop-group-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-right: 9px;
  border: 1px solid #b2c6ee;
  border-radius: 4px;
  padding: 0 7px;
  color: #2459b7;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.approved-owner-group-row strong {
  color: var(--ink);
  font-size: 15px;
}

.approved-owner-group-row b,
.approved-shop-group-row b {
  float: right;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.approved-shop-group-row th {
  border-bottom: 1px solid #bfe3d1;
  padding: 9px 16px 9px 28px;
  background: #f1faf5;
}

.approved-shop-group-row span {
  border-color: #a9d8be;
  color: #087443;
}

.approved-shop-group-row strong {
  color: #344054;
  font-size: 13px;
}

.approved-product-row td {
  border-bottom: 1px solid #e8edf4;
  padding: 10px 12px;
  vertical-align: middle;
  color: #344054;
  font-size: 12px;
}

.approved-product-row:last-child td {
  border-bottom: 0;
}

.approved-product-row:hover td {
  background: #fbfcfe;
}

.approved-product-image {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
}

.approved-product-image.image-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.approved-product-image.image-count-3,
.approved-product-image.image-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.approved-product-image-button {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}

.approved-product-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.approved-product-link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.approved-product-link-actions a,
.approved-product-link-actions button {
  margin: 0;
  font-size: 11px;
}

.approved-product-link-actions a span {
  display: inline;
}

.approved-product-main-cell strong,
.approved-product-main-cell span,
.approved-product-main-cell a {
  display: block;
}

.approved-product-main-cell strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.approved-product-main-cell > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.approved-product-main-cell a {
  width: fit-content;
  margin-top: 7px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.approved-product-main-cell a:hover {
  text-decoration: underline;
}

.approved-product-note-cell {
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.approved-product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.approved-product-actions button {
  min-height: 31px;
  padding: 0 9px;
  font-size: 11px;
}

.approved-product-actions .review-button {
  border-color: #b5a1e9;
  color: #5925dc;
  background: #f4f3ff;
}

.approved-product-actions .materials-view-button {
  border-color: #86c5b5;
  color: #067647;
  background: #ecfdf3;
  font-weight: 700;
}

.approved-empty-value {
  color: #98a2b3;
}

.approved-product-groups,
.approved-owner-shop-list {
  display: grid;
  gap: 16px;
}

.approved-owner-product-group,
.approved-shop-product-group {
  min-width: 0;
}

.approved-owner-product-heading,
.approved-shop-product-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.approved-owner-product-heading {
  min-height: 50px;
  padding: 10px 14px;
  border-top: 1px solid #c9d8f1;
  border-bottom: 1px solid #c9d8f1;
  background: #eef4ff;
}

.approved-owner-product-heading > div,
.approved-shop-product-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.approved-owner-product-heading span,
.approved-shop-product-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #b2c6ee;
  border-radius: 4px;
  padding: 0 7px;
  color: #2459b7;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.approved-owner-product-heading strong {
  color: var(--ink);
  font-size: 15px;
}

.approved-owner-product-heading b,
.approved-shop-product-heading b {
  flex: 0 0 auto;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.approved-owner-shop-list {
  padding: 14px 0 4px;
}

.approved-shop-product-heading {
  min-height: 38px;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid #bfe3d1;
  background: #f1faf5;
}

.approved-shop-product-heading span {
  border-color: #a9d8be;
  color: #087443;
}

.approved-shop-product-heading strong {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approved-product-grid {
  width: 100%;
}

.folder-copy {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  gap: 4px;
  min-width: 0;
}

.folder-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.folder-title-row strong {
  min-width: 0;
}

.folder-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.folder-plan-status {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}

.folder-plan-status.green {
  color: #079455;
}

.folder-plan-status.red {
  color: #d92d20;
}

.folder-plan-status.yellow {
  color: #7f56d9;
}

.folder-plan-status.blue {
  color: #2563eb;
}

.folder-plan-status.gray {
  color: #98a2b3;
}

.folder-status-corner {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
  min-width: 0;
}

.folder-status-corner.multiple {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.folder-status-corner.multiple.has-counts {
  grid-row: 1 / span 2;
  gap: 3px;
}

.folder-plan-status-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.folder-plan-count {
  color: #667085;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.folder-submit-date {
  margin-top: 2px;
  color: #667085;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.person-plan-dot {
  position: static;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.person-plan-dot.red {
  color: #d92d20;
  background: #d92d20;
}

.person-plan-dot.green {
  color: #079455;
  background: #079455;
}

.person-plan-dot.yellow {
  color: #f79009;
  background: #f79009;
}

.person-plan-dot.blue {
  color: #2563eb;
  background: #2563eb;
}

.person-plan-dot.gray {
  color: #98a2b3;
  background: #98a2b3;
}

.folder-copy strong,
.folder-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-copy strong {
  color: var(--ink);
  font-size: 14px;
}

.folder-copy small {
  color: var(--muted);
  font-size: 11px;
}

.folder-total {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  color: #667085;
  font-size: 11px;
  white-space: nowrap;
}

.folder-item[data-folder-type="approved-month"] > .folder-total {
  display: none;
}

.folder-item[data-folder-type="approved-month"] .folder-meta-row {
  position: absolute;
  right: 12px;
  bottom: 11px;
}

.folder-item[data-folder-type="approved-month"] .folder-meta-row small {
  color: #1f3a5f;
}

.folder-item[data-folder-type="approved-month"] .folder-completed-count {
  color: #079455;
}

.folder-icon.large {
  width: 62px;
  height: 46px;
}

.folder-icon.large::before {
  width: 28px;
}

.development-empty {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  padding: 28px 16px;
  text-align: center;
}

.development-empty.compact {
  min-height: 230px;
}

.development-empty strong {
  margin-top: 17px;
  font-size: 15px;
}

.development-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.empty-mark {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 6px;
  width: 62px;
  height: 62px;
  border: 1px solid #c9d8f5;
  border-radius: 8px;
  place-content: center;
  background: #f4f7fd;
}

.empty-mark span {
  width: 12px;
  height: 25px;
  border-radius: 2px;
  background: #9ab5eb;
}

.empty-mark span:nth-child(2) {
  height: 34px;
  background: #2563eb;
}

.empty-mark span:nth-child(3) {
  height: 19px;
  background: #0f8a79;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  align-items: stretch;
  gap: 10px;
}

.development-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, .45);
}

.product-image-wrap {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  height: 210px;
  padding: 0;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background: #f8fafc;
}

.product-image-wrap.image-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-image-wrap.image-count-3,
.product-image-wrap.image-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.product-image-button {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-image-button:hover,
.approved-product-image-button:hover {
  filter: brightness(0.98);
}

.product-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}

.product-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 9px 10px 10px;
}

.product-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 8px;
}

.product-card-header > div {
  min-width: 0;
}

.product-card-header h3 {
  display: block;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-header p {
  display: block;
  margin: 5px 0 0;
  overflow: hidden;
  color: #1f3a5f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-meta {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.status-badge,
.shop-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid #fedf89;
  border-radius: 8px;
  padding: 0 8px;
  color: #93370d;
  background: #fffaeb;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.approved {
  border-color: #a6f4c5;
  color: #067647;
  background: #ecfdf3;
}

.status-badge.rejected {
  border-color: #fecdca;
  color: #b42318;
  background: #fef3f2;
}

.status-badge.completed {
  border-color: #a6f4c5;
  color: #067647;
  background: #ecfdf3;
}

.status-badge.in-progress {
  border-color: #b2ccff;
  color: #175cd3;
  background: #eff4ff;
}

.status-badge.reviewing {
  border-color: #d9d6fe;
  color: #7f56d9;
  background: #f4f3ff;
}

.development-status-select,
.infringement-status-select {
  min-width: 92px;
  min-height: 30px;
  height: 30px;
  border: 1px solid #b2ccff;
  border-radius: 999px;
  padding: 0 30px 0 10px;
  color: #175cd3;
  background-color: #eff4ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.infringement-status-select {
  min-width: 102px;
  padding-right: 24px;
}

.product-review-summary .custom-select-shell:has(> .infringement-status-select),
.product-review-summary .custom-select-shell:has(> .infringement-status-select) > .custom-select-trigger {
  box-sizing: border-box !important;
  width: 102px !important;
  min-width: 102px !important;
  max-width: 102px !important;
}

.product-review-summary .custom-select-shell:has(> .infringement-status-select) .custom-select-value {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.product-review-summary .custom-select-shell:has(> .infringement-status-select) .custom-select-option {
  white-space: nowrap;
}

.development-status-select.in-progress {
  border-color: #b2ccff;
  color: #175cd3;
  background-color: #eff4ff;
}

.development-status-select.completed {
  border-color: #a6f4c5;
  color: #067647;
  background-color: #ecfdf3;
}

.development-status-select.rejected {
  border-color: #fecdca;
  color: #b42318;
  background-color: #fef3f2;
}

.infringement-status-select.pending {
  border-color: #fedf89;
  color: #b54708;
  background-color: #fffaeb;
}

.infringement-status-select.approved {
  border-color: #a6f4c5;
  color: #067647;
  background-color: #ecfdf3;
}

.infringement-status-select.rejected {
  border-color: #fecdca;
  color: #b42318;
  background-color: #fef3f2;
}

.development-status-select:disabled,
.infringement-status-select:disabled {
  cursor: wait;
  opacity: 0.7;
}

.product-link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  justify-content: space-between;
  margin-top: 8px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

.product-copy-link {
  width: 102px;
  min-width: 102px;
  min-height: 20px;
  padding: 0;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

#developmentView .product-copy-link {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary) !important;
}

.product-copy-link:hover {
  text-decoration: underline;
}

.product-copy-feedback {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.product-sales-note {
  margin-top: 7px;
  padding: 0;
  background: transparent;
}

.product-sales-note strong,
.product-sales-note label > span {
  color: #101828;
  font-size: 11px;
  font-weight: 800;
}

.product-sales-note p {
  display: -webkit-box;
  margin: 3px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
  color: #dc2626;
  font-size: 12px;
  line-height: 1.5;
}

.product-sales-note-editor {
  padding: 0;
}

.product-sales-note-editor label {
  display: grid;
  gap: 4px;
}

.product-sales-note-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-sales-note-editor textarea {
  width: 100%;
  min-height: 52px;
  resize: vertical;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  padding: 6px 7px;
  color: #dc2626;
  background: #fff;
  font-size: 12px;
  line-height: 1.45;
}

#developmentView .product-sales-note-editor textarea,
html.tablet-desktop-mode #developmentView .product-sales-note-editor textarea {
  color: #dc2626 !important;
  -webkit-text-fill-color: #dc2626 !important;
}

#developmentView .product-sales-note-editor textarea::placeholder,
html.tablet-desktop-mode #developmentView .product-sales-note-editor textarea::placeholder {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
}

.product-sales-note-editor textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
  outline: 0;
}

.product-sales-note-editor small {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}

.product-sales-note-editor small.is-saving {
  color: #b54708;
}

.product-sales-note-editor small.is-saved {
  color: #067647;
}

.product-sales-note-editor small.is-error {
  color: #b42318;
}

.product-review-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin: 8px 0 0;
}

.product-review-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  padding: 6px 7px;
  background: #fafbfc;
}

.product-review-summary dt {
  color: #344054;
  font-size: 11px;
  font-weight: 700;
}

.product-review-summary dd {
  margin: 0;
}

.reject-reason {
  margin-top: 9px;
  border-left: 3px solid #d92d20;
  padding: 7px 9px;
  background: #fff7f6;
}

.reject-reason strong {
  color: #b42318;
  font-size: 11px;
}

.reject-reason p {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: #7a271a;
  font-size: 12px;
  line-height: 1.5;
}

.product-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: auto;
  padding-top: 9px;
}

.product-card-actions button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.product-card-actions .review-button {
  border-color: #b5a1e9;
  color: #5925dc;
  background: #f4f3ff;
}

.product-card-actions .materials-view-button {
  border-color: #86c5b5;
  color: #067647;
  background: #ecfdf3;
  font-weight: 700;
}

.product-card-actions button[data-edit-product] {
  border-color: #c4b5fd;
  color: #6d28d9;
  background: #f5f3ff;
  font-weight: 800;
}

.product-card-actions button[data-edit-product]:hover {
  border-color: #8b5cf6;
  background: #ede9fe;
}

.product-card-actions .delete-draft-product-button {
  border-color: #fecaca;
  color: #dc2626;
  background: #fff7f7;
}

.product-card-actions .delete-draft-product-button:hover {
  border-color: #f87171;
  background: #fff1f1;
}

.product-card-actions .delete-draft-product-button:focus,
.product-card-actions .delete-draft-product-button:focus-visible,
.product-card-actions .delete-draft-product-button:active {
  border-color: #f87171;
  color: #dc2626;
  background: #fff1f1;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .14);
}

.development-product-card.is-rejected {
  border-color: #d0d5dd;
  background: #f2f4f7;
}

.development-product-card.is-rejected .product-image-wrap {
  border-color: #d0d5dd;
  background: #eaecf0;
}

.development-product-card.is-rejected .product-image-wrap img {
  filter: grayscale(1);
  opacity: 0.55;
}

.development-product-card.is-rejected .product-card-body {
  color: #667085;
  background: #f5f6f7;
}

.development-product-card.is-rejected .product-card-header h3,
.development-product-card.is-rejected .product-card-header p,
.development-product-card.is-rejected .review-meta,
.development-product-card.is-rejected .product-link,
.development-product-card.is-rejected .product-review-summary dt {
  color: #667085;
}

.development-product-card.is-rejected .product-review-summary > div,
.development-product-card.is-rejected .reject-reason {
  border-color: #cfd4dc;
  background: #eceff2;
}

.development-product-card.is-rejected .product-sales-note strong,
.development-product-card.is-rejected .product-sales-note p,
.development-product-card.is-rejected .reject-reason strong,
.development-product-card.is-rejected .reject-reason p {
  color: #667085;
}

.development-product-card.is-rejected .status-badge {
  border-color: #fda29b;
  color: #b42318;
  background: #fef3f2;
}

.module-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(86vh, 860px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(16, 24, 40, .22);
}

.module-dialog::backdrop {
  background: rgba(16, 24, 40, .48);
}

.module-dialog-body {
  padding: 18px;
}

.module-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.module-dialog-header h2 {
  margin: 0;
  font-size: 18px;
}

.module-dialog-header p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.module-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.module-dialog label {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.module-dialog label > span:first-child {
  display: block;
  margin-bottom: 7px;
}

.folder-create-fields {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.folder-create-fields input,
.folder-create-fields select {
  width: 100%;
  min-height: 38px;
  background: #fff;
}

.product-form-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.product-image-field > span:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.product-image-field em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.product-image-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.image-drop-zone {
  display: block !important;
  width: 100%;
  min-height: 230px;
  max-height: 310px;
  margin: 0 !important;
  overflow: auto;
  border: 1px dashed #98a2b3;
  border-radius: 8px;
  color: #475467;
  background: #f8fafc;
  cursor: pointer;
}

.image-drop-zone:hover {
  border-color: var(--primary);
  background: #f4f7ff;
}

.image-drop-zone > #developmentImagePlaceholder {
  display: grid;
  min-height: 228px;
  gap: 5px;
  place-content: center;
  text-align: center;
}

.image-drop-zone strong {
  font-size: 14px;
}

.image-drop-zone small {
  color: var(--muted);
  font-size: 10px;
}

.product-image-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.product-image-preview-grid:not([hidden]) {
  display: grid;
}

.multi-image-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.multi-image-thumb {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.multi-image-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.multi-image-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  color: #fff;
  background: rgba(180, 35, 24, .9);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.multi-image-add-hint {
  display: block;
  width: 100%;
  margin-top: 7px !important;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.product-form-fields {
  display: grid;
  align-content: start;
  gap: 15px;
}

.module-form-error {
  margin: 13px 0 0;
  border-left: 3px solid var(--danger);
  padding: 7px 9px;
  color: #b42318;
  background: #fff6f5;
  font-size: 12px;
}

.module-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.product-materials-dialog {
  width: min(640px, calc(100vw - 28px));
}

.product-materials-content {
  display: grid;
  max-height: min(58vh, 520px);
  margin-top: 14px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.product-material-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(240px, auto);
  align-items: center;
  gap: 18px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 4px;
}

.product-material-row > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-material-row > div:first-child strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.product-material-row > div:first-child span,
.product-material-row dt {
  color: var(--muted);
  font-size: 11px;
}

.product-material-row dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 0;
  min-width: 0;
  margin: 0;
}

.product-material-row dl > div {
  display: grid;
  gap: 3px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.product-material-row dd {
  margin: 0;
  color: #172033;
  font-size: 16px;
  font-weight: 800;
}

.product-materials-loading,
.product-materials-empty,
.product-materials-error {
  padding: 26px 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.product-materials-error {
  color: #b42318;
}

.danger-button {
  border-color: #d92d20;
  color: #ffffff;
  background: #d92d20;
  font-weight: 700;
}

.danger-button:hover {
  border-color: #b42318;
  background: #b42318;
}

.delete-confirm-dialog {
  width: min(420px, calc(100vw - 36px));
}

.delete-confirm-content {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 8px 0 4px;
  border: 1px solid #fee4e2;
  border-radius: 12px;
  padding: 18px 16px;
  color: #7a271a;
  background: #fff7f7;
  text-align: center;
}

.delete-confirm-content strong {
  color: #b42318;
  font-size: 14px;
}

.delete-confirm-content span {
  color: #475467;
  font-size: 12px;
}

.delete-confirm-actions {
  justify-content: center;
}

.delete-confirm-actions button {
  min-width: 92px;
}

.review-choice-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  border: 0;
  padding: 0;
}

.review-choice-group legend {
  margin-bottom: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.review-choice-group label {
  display: block;
  min-width: 90px;
}

.review-choice-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.review-choice-group label span {
  display: grid !important;
  min-height: 38px;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  place-items: center;
  background: #fff;
  cursor: pointer;
}

.review-choice-group input:checked + span {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.reject-reason-field {
  display: block;
  margin-top: 18px;
}

.reject-reason-field textarea {
  resize: vertical;
}

.review-actions {
  flex-wrap: wrap;
}

.development-process-stack {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.development-process-stack .development-status-select,
.development-process-stack .development-assign-button {
  box-sizing: border-box;
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  height: 30px;
  min-height: 30px;
}

.development-process-stack .custom-select-shell:has(> .development-status-select),
.development-process-stack .custom-select-shell:has(> .development-status-select) > .custom-select-trigger {
  box-sizing: border-box !important;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
}

.development-process-stack .custom-select-shell:has(> .development-status-select) > .custom-select-trigger .custom-select-value {
  grid-column: 2;
  padding-left: 0;
  text-align: center;
}

.development-process-stack .custom-select-shell:has(> .development-status-select) > .custom-select-trigger .custom-select-arrow {
  grid-column: 3;
  justify-self: end;
}

.development-process-stack .custom-select-shell:has(> .development-status-select.in-progress) > .custom-select-trigger {
  border-color: #84adff !important;
  color: #175cd3;
  background: #eff4ff;
}

.development-process-stack .custom-select-shell:has(> .development-status-select.completed) > .custom-select-trigger {
  border-color: #75e0a7 !important;
  color: #067647;
  background: #ecfdf3;
}

.development-process-stack .custom-select-shell:has(> .development-status-select.rejected) > .custom-select-trigger {
  border-color: #fda29b !important;
  color: #b42318;
  background: #fef3f2;
}

.development-assignee-summary {
  display: block;
  box-sizing: border-box;
  width: 128px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

#developmentView .development-assignee-summary.is-assigned {
  color: #079455 !important;
  -webkit-text-fill-color: #079455 !important;
  opacity: 1 !important;
}

.development-assignee-summary.is-empty {
  color: #98a2b3;
}

.development-card-assignee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  margin-top: auto;
  padding: 7px 10px;
  border: 1px solid #a6f4c5;
  border-radius: 9px;
  background: #ecfdf3;
  color: #067647;
  font-size: 12px;
}

.development-card-assignee span {
  color: #475467;
  font-weight: 700;
}

.development-card-assignee strong {
  font-weight: 900;
}

.development-card-assignee.is-empty {
  border-color: #e4e7ec;
  background: #f8fafc;
  color: #98a2b3;
}

.development-assign-button {
  border-color: #32d583;
  color: #067647;
  background: #ecfdf3;
  font-size: 11px;
  font-weight: 700;
}

.development-assign-button:hover {
  border-color: #12b76a;
  background: #d1fadf;
}

.development-assign-button.is-unassigned {
  border-color: #f79009;
  color: #b54708;
  background: #fffaeb;
}

.development-assign-button.is-unassigned:hover {
  border-color: #dc6803;
  background: #fef0c7;
}

.development-assign-button.is-assigned {
  border-color: #32d583;
}

.development-assignment-dialog {
  width: min(560px, calc(100vw - 28px));
}

.development-assignee-options {
  margin: 18px 0 0;
  border: 0;
  padding: 0;
}

.development-assignee-options legend {
  margin-bottom: 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.development-assignee-options > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.development-assignee-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 12px;
  background: #fff;
  cursor: pointer;
}

.development-assignee-options label:has(input:checked) {
  border-color: #12b76a;
  color: #067647;
  background: #ecfdf3;
}

.development-assignee-options input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  box-sizing: border-box !important;
  flex: 0 0 16px !important;
  align-self: center;
  aspect-ratio: 1 / 1;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0;
  border: 1px solid #98a2b3;
  border-radius: 3px !important;
  padding: 0 !important;
  outline: none;
  background: #fff;
  box-shadow: none;
  transition: none;
  cursor: pointer;
}

.development-assignee-options input::before {
  content: "";
  width: 7px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.development-assignee-options input:checked {
  border-color: #12b76a;
  background: #12b76a;
}

.development-assignee-options input:checked::before {
  opacity: 1;
}

.development-assignee-options input:focus,
.development-assignee-options input:focus-visible {
  outline: none;
  box-shadow: none;
}

.settings-dialog {
  width: min(940px, calc(100vw - 28px));
  height: min(84vh, 820px);
}

.settings-body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
}

.settings-tabs {
  display: flex;
  gap: 4px;
  margin-top: 12px;
  border-bottom: 1px solid var(--line);
}

.settings-tabs button {
  min-height: 36px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 13px;
  background: transparent;
}

.settings-tabs button.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.settings-content {
  min-height: 0;
  overflow: auto;
  padding: 14px 2px 2px;
}

.development-permission-note {
  border: 1px solid #bcd1f5;
  border-radius: 8px;
  padding: 10px 12px;
  color: #344054;
  background: #f4f7ff;
  font-size: 12px;
  line-height: 1.6;
}

.development-permission-note + .settings-list {
  margin-top: 12px;
}

.settings-form {
  border: 1px solid #d9e2f2;
  border-radius: 8px;
  padding: 12px;
  background: #f7faff;
}

.compact-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 180px auto;
  align-items: end;
  gap: 10px;
}

.settings-form label > span:first-child {
  margin-bottom: 6px;
  font-size: 11px;
}

.settings-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.compact-form .module-form-error {
  grid-column: 1 / -1;
}

.settings-list {
  margin-top: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.settings-list > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  background: var(--surface-soft);
  font-size: 13px;
}

.settings-list > header span {
  color: var(--muted);
  font-size: 11px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
}

.settings-row:last-child {
  border-bottom: 0;
}

.settings-row > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.settings-row strong,
.settings-row span,
.settings-row small {
  overflow-wrap: anywhere;
}

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

.settings-row button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.shop-type {
  min-height: 22px;
}

.shop-type.operating {
  border-color: #a6f4c5;
  color: #067647;
  background: #ecfdf3;
}

.shop-type.outbound {
  border-color: #fecdca;
  color: #b42318;
  background: #fef3f2;
}

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

.shop-assignment {
  margin: 12px 0 0;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.shop-assignment legend {
  padding: 0 5px;
  color: #475467;
  font-size: 11px;
  font-weight: 700;
}

.shop-assignment > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shop-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0 9px;
  background: #fff;
  font-weight: 500 !important;
}

.shop-check input {
  width: 15px;
  min-height: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--primary);
}

.shop-check span {
  margin: 0 !important;
  font-size: 11px;
}

.user-form .settings-form-actions {
  margin-top: 12px;
}

.user-form > .module-form-error {
  margin-bottom: 0;
}

.settings-row.user-row > div {
  display: grid;
  gap: 2px;
}

.user-row span,
.user-row small {
  color: var(--muted);
  font-size: 11px;
}

.development-permission-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(260px, 360px);
  align-items: center;
}

.development-permission-account {
  min-width: 0;
}

.development-permission-control {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.development-permission-control select {
  min-width: 0;
}

.development-permission-row > .module-form-error {
  grid-column: 1 / -1;
  margin: 0;
}

.settings-empty.inline {
  display: inline-block;
  padding: 6px;
}

.monthly-plan-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  margin-bottom: 12px;
  border: 1px solid #cddcf7;
  border-left: 3px solid #2563eb;
  border-radius: 16px;
  padding: 11px 12px;
  background: #f4f7ff;
}

.monthly-plan-panel.locked {
  min-height: 64px;
  border-color: #86efac;
  border-left-color: #16a34a;
  padding-top: 16px;
  padding-bottom: 16px;
  background: #f0fdf4;
}

.monthly-plan-panel.locked .status-badge {
  min-height: 32px;
  padding: 0 14px;
  border-color: #86efac;
  color: #166534;
  background: #dcfce7;
  font-size: 14px;
  font-weight: 900;
}

.monthly-plan-panel > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.monthly-plan-panel strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.monthly-plan-panel p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.monthly-plan-draft-badge {
  margin-top: 7px;
}

.monthly-plan-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  margin-right: 12px;
  flex: 0 0 auto;
}

.monthly-plan-actions button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.monthly-plan-actions .monthly-plan-submit,
.monthly-plan-actions button.primary.monthly-plan-submit {
  position: relative;
  z-index: 0;
  min-width: 108px;
  min-height: 40px;
  border: 1px solid #c2410c !important;
  border-radius: 12px;
  padding: 0 10px;
  color: #fff !important;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  box-shadow: 0 6px 14px rgba(249, 115, 22, .26) !important;
  font-size: 15px;
  font-weight: 900;
  animation: monthlySubmitPulse 1.8s ease-in-out infinite;
}

.monthly-plan-actions .monthly-plan-submit::after,
.monthly-plan-actions button.primary.monthly-plan-submit::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border: 2px solid rgba(249, 115, 22, .58);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  animation: monthlySubmitRing 1.5s ease-out infinite;
}

.monthly-plan-actions .monthly-plan-submit:hover:not(:disabled),
.monthly-plan-actions button.primary.monthly-plan-submit:hover:not(:disabled) {
  border-color: #9a3412 !important;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%) !important;
  box-shadow: 0 8px 16px rgba(234, 88, 12, .3) !important;
  transform: translateY(-1px);
}

@keyframes monthlySubmitPulse {
  0%,
  100% {
    box-shadow: 0 6px 14px rgba(249, 115, 22, .24), 0 0 0 0 rgba(249, 115, 22, .24);
  }
  50% {
    box-shadow: 0 8px 18px rgba(249, 115, 22, .36), 0 0 0 7px rgba(249, 115, 22, .1);
  }
}

@keyframes monthlySubmitRing {
  0% {
    opacity: .72;
    transform: scale(1);
  }
  70% {
    opacity: .16;
    transform: scale(1.22);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.monthly-plan-actions .monthly-plan-submit:disabled,
.monthly-plan-actions button.primary.monthly-plan-submit:disabled {
  border-color: #f97316 !important;
  color: #fff !important;
  background: #f97316 !important;
  cursor: not-allowed;
  opacity: 1;
}

.monthly-plan-actions .monthly-plan-reopen {
  min-width: 92px;
  min-height: 34px;
  border-color: #f97316;
  color: #c2410c;
  background: #fff7ed;
  font-weight: 800;
}

.monthly-plan-actions .monthly-plan-reopen:hover:not(:disabled) {
  border-color: #ea580c;
  background: #ffedd5;
}

.monthly-shop-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.monthly-shop-section {
  --shop-accent: #2563eb;
  --shop-soft: #eef4ff;
  border-left: 5px solid var(--shop-accent);
}

.monthly-shop-section:nth-child(3n + 2) {
  --shop-accent: #087f5b;
  --shop-soft: #ecfdf3;
}

.monthly-shop-section:nth-child(3n) {
  --shop-accent: #c2410c;
  --shop-soft: #fff4ed;
}

.monthly-shop-section.unassigned-shop-section {
  --shop-accent: #475467;
  --shop-soft: #f2f4f7;
}

.monthly-shop-section + .monthly-shop-section {
  border-top: 8px solid #e9eef5;
}

.monthly-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 9px 14px;
  background: var(--shop-soft);
}

.monthly-shop-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.monthly-shop-index {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--shop-accent) 38%, white);
  border-radius: 4px;
  color: var(--shop-accent);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.monthly-shop-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.monthly-shop-header strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.monthly-shop-kind,
.monthly-shop-count {
  color: var(--muted);
  font-size: 11px;
}

.monthly-shop-count {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--shop-accent) 28%, white);
  border-radius: 4px;
  color: var(--shop-accent);
  background: #fff;
  font-weight: 700;
}

.monthly-shop-products {
  padding: 12px;
}

.monthly-shop-empty {
  padding: 22px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.development-new-product-card {
  display: flex;
  min-width: 0;
  min-height: 410px;
  border: 1px dashed #84a7ec;
  border-radius: 8px;
  padding: 11px;
  flex-direction: column;
  gap: 10px;
  background: #f8fbff;
}

.new-product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.new-product-card-header > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.new-product-card-header strong {
  color: var(--ink);
  font-size: 15px;
}

.new-product-plus {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  place-items: center;
  color: #fff;
  background: #2563eb;
  font-size: 20px;
  line-height: 1;
}

.new-product-dropzone {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px dashed #98a2b3;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: #475467;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.new-product-dropzone:hover,
.new-product-dropzone.is-dragging {
  border-color: #2563eb;
  color: #175cd3;
  background: #eef4ff;
}

.new-product-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.new-product-image-preview {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 12px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.new-product-dropzone.has-image .new-product-image-preview {
  align-content: start;
  padding: 8px;
}

.new-product-image-preview strong {
  font-size: 13px;
}

.new-product-image-preview small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.new-product-field {
  display: grid;
  gap: 4px;
}

.new-product-field > span {
  color: #475467;
  font-size: 11px;
  font-weight: 700;
}

.new-product-field input,
.new-product-field textarea {
  min-width: 0;
  min-height: 36px;
  font-size: 12px;
}

.new-product-field input {
  height: 36px;
}

.new-product-field textarea {
  height: 64px;
  padding: 8px 10px;
  resize: none;
}

.development-new-product-card .module-form-error {
  margin: 0;
}

.development-new-product-card > button {
  width: 100%;
  min-height: 36px;
  margin-top: auto;
  font-size: 12px;
}

.fixed-shop-name {
  display: block;
  overflow-wrap: anywhere;
  color: #344054;
  font-size: 12px;
  line-height: 1.4;
}

.month-submit-dialog {
  width: min(480px, calc(100vw - 28px));
}

.month-submit-confirmation {
  margin-top: 16px;
  border: 1px solid #fedf89;
  border-radius: 8px;
  padding: 13px;
  background: #fffaeb;
}

.month-submit-confirmation strong {
  color: #93370d;
  font-size: 15px;
}

.month-submit-confirmation p {
  margin: 5px 0 0;
  color: #7a2e0e;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1600px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, 270px);
  }
}

@media (max-width: 1240px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 960px) {
  .development-heading {
    align-items: flex-start;
  }

  .development-toolbar {
    flex-wrap: wrap;
  }

  .development-search {
    width: min(300px, 42vw);
  }

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

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

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

@media (max-width: 720px) {
  .development-heading {
    flex-direction: column;
    gap: 10px;
  }

  .development-toolbar {
    justify-content: flex-start;
    width: 100%;
  }

  .month-shop-filter {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }

  .approved-month-filter,
  .approved-owner-filter,
  .approved-shop-filter {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }

  .month-shop-filter select,
  .approved-month-filter select,
  .approved-owner-filter select,
  .approved-shop-filter select {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .month-shop-filter .custom-select-shell,
  .approved-owner-filter .custom-select-shell,
  .approved-shop-filter .custom-select-shell {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .approved-product-table {
    min-width: 980px;
  }

  .development-search {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

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

  .development-metric:nth-child(2) {
    border-right: 0;
  }

  .development-metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .folder-grid {
    grid-template-columns: 1fr;
  }

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

  .product-image-field {
    width: min(260px, 100%);
  }

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

  .compact-form .settings-form-actions {
    justify-content: flex-start;
  }

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

  .monthly-plan-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .monthly-plan-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .browser-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .month-unassigned-toggle {
    width: 100%;
    margin-left: 0;
  }

  .browser-content {
    padding: 9px;
  }

  .monthly-shop-header {
    align-items: flex-start;
  }

  .monthly-shop-header > div {
    display: grid;
    gap: 2px;
  }

  .monthly-shop-products {
    padding: 8px;
  }

  .folder-item {
    grid-template-columns: 45px minmax(0, 1fr) auto;
  }

  .folder-total {
    grid-column: 3;
    justify-self: end;
  }

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

  .development-product-card,
  .development-new-product-card {
    min-height: 0;
  }

  .product-image-wrap {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
  }

  .product-image-wrap img {
    min-height: 0;
    aspect-ratio: auto;
  }

  .product-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-review-summary {
    grid-template-columns: 1fr;
  }

  .product-card-actions {
    flex-wrap: wrap;
  }

  .product-material-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .product-material-row dl > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .module-dialog-body {
    padding: 14px;
  }

  .review-choice-group {
    align-items: stretch;
    flex-direction: column;
  }

  .review-choice-group label {
    width: 100%;
  }

  .review-actions {
    justify-content: stretch;
  }

  .review-actions button {
    flex: 1 1 100%;
  }

  .settings-dialog {
    height: calc(100vh - 20px);
  }

  .settings-row {
    align-items: flex-start;
  }

  .settings-row > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Match the current formal ERP component hierarchy without changing module behavior. */
.development-shell {
  gap: 16px;
}

.development-heading {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.development-heading h2 {
  font-size: 18px;
}

.development-heading p {
  color: var(--muted);
  font-size: 13px;
}

.development-search input {
  height: 40px;
  min-height: 40px;
}

.development-metrics {
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.development-metrics.approved-summary-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.development-metric {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 13px 15px 12px 19px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.development-metric:last-child {
  border-right: 1px solid var(--line);
}

.development-browser {
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.browser-header {
  min-height: 52px;
  padding: 9px 14px;
}

.browser-content {
  padding: 16px;
}

.folder-grid {
  gap: 12px;
}

.folder-item {
  min-height: 86px;
  border-color: #cbd8e8;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow:
    0 3px 0 rgba(16, 24, 40, .10),
    0 8px 18px rgba(16, 24, 40, .12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.folder-item:hover {
  border-color: #2563eb;
  background: #fffefb !important;
  transform: translateY(-3px);
  box-shadow:
    0 4px 0 rgba(52, 64, 84, .18),
    0 13px 26px rgba(16, 24, 40, .16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.month-unassigned-toggle,
.monthly-plan-panel,
.product-review-summary > div,
.month-submit-confirmation,
.empty-mark {
  border-radius: var(--radius-md);
}

.status-badge,
.shop-type {
  border-radius: 999px;
}

.development-product-card,
.development-new-product-card {
  border-radius: 13px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

#developmentView .development-product-card {
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 13px !important;
  background: #fff !important;
}

.product-sales-note,
.reject-reason {
  border-radius: var(--radius-sm);
}

.module-dialog {
  border-radius: var(--radius-xl);
}

.settings-form,
.settings-list,
.monthly-shop-board {
  border-radius: var(--radius-lg);
}

.shop-assignment,
.shop-check,
.new-product-dropzone {
  border-radius: var(--radius-md);
}

.monthly-shop-index,
.monthly-shop-count,
.new-product-plus {
  border-radius: var(--radius-sm);
}

#developmentView .folder-grid {
  grid-auto-rows: minmax(86px, auto);
  align-items: stretch;
}

#developmentView .person-folder-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: minmax(108px, auto);
  gap: 14px;
}

#developmentView .person-folder-grid .folder-item {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  column-gap: 14px;
  min-height: 108px !important;
  padding: 14px 16px !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

#developmentView .person-folder-grid .folder-item.status-border-green,
#developmentView .person-folder-grid .folder-item.status-border-green:hover {
  --folder-status-rgb: 18, 183, 106;
  border-color: #12b76a;
}

#developmentView .person-folder-grid .folder-item.status-border-red,
#developmentView .person-folder-grid .folder-item.status-border-red:hover {
  --folder-status-rgb: 240, 68, 56;
  border-color: #f04438;
}

#developmentView .person-folder-grid .folder-item.status-border-yellow,
#developmentView .person-folder-grid .folder-item.status-border-yellow:hover {
  --folder-status-rgb: 127, 86, 217;
  border-color: #7f56d9;
}

#developmentView .person-folder-grid .folder-item.status-border-blue,
#developmentView .person-folder-grid .folder-item.status-border-blue:hover {
  --folder-status-rgb: 46, 144, 250;
  border-color: #2e90fa;
}

#developmentView .person-folder-grid .folder-item.status-border-gray,
#developmentView .person-folder-grid .folder-item.status-border-gray:hover {
  --folder-status-rgb: 152, 162, 179;
  border-color: #98a2b3;
}

#developmentView .person-folder-grid .folder-item[class*="status-border-"] {
  border-color: #cbd8e8;
  box-shadow:
    0 3px 0 rgba(52, 64, 84, .18),
    0 8px 18px rgba(16, 24, 40, .12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

#developmentView .person-folder-grid .folder-item[class*="status-border-"]:hover {
  border-color: #2563eb;
  background: #fffefb !important;
  transform: translateY(-3px);
  box-shadow:
    0 4px 0 rgba(52, 64, 84, .22),
    0 13px 28px rgba(16, 24, 40, .18),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

#developmentView .person-folder-grid .folder-icon {
  width: 50px;
  height: 38px;
}

#developmentView .person-folder-grid .folder-status-corner.multiple.has-counts {
  gap: 16px;
}

#developmentView .person-folder-grid .folder-status-corner {
  position: absolute;
  top: 10px;
  right: 16px;
  grid-row: 1 / span 2;
  align-self: start;
}

#developmentView .person-folder-grid .folder-plan-status-group {
  justify-content: center;
  gap: 7px;
}

#developmentView .person-folder-grid .folder-plan-status {
  font-size: 14px;
  line-height: 1.25;
}

#developmentView .person-folder-grid .folder-plan-count {
  font-size: 12px;
  line-height: 1.3;
}

#developmentView .person-folder-grid .folder-submit-date {
  position: absolute;
  right: 16px;
  bottom: 7px;
  margin-top: 0;
  color: #1f3a5f;
  font-size: 11px;
  line-height: 1.3;
}

#developmentView .folder-item {
  width: 100%;
  height: auto !important;
  min-height: 86px !important;
  max-height: none !important;
  padding: 11px 12px !important;
  overflow: visible;
  box-sizing: border-box;
}

#developmentView .development-product-card .product-image-wrap {
  display: grid !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 210px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-bottom: 1px solid #dbe5f1 !important;
  background: #fff !important;
}

#developmentView .development-product-card .product-image-wrap.image-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

#developmentView .development-product-card .product-image-wrap.image-count-3,
#developmentView .development-product-card .product-image-wrap.image-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

#developmentView .development-product-card .product-image-button {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

#developmentView .development-product-card .product-image-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

#developmentReviewDialog .review-actions button.danger-button[data-review-decision="rejected"] {
  border-color: #dc2626 !important;
  background: #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(220, 38, 38, .22) !important;
}

#developmentReviewDialog .review-actions button.danger-button[data-review-decision="rejected"]:hover,
#developmentReviewDialog .review-actions button.danger-button[data-review-decision="rejected"]:focus-visible {
  border-color: #b91c1c !important;
  background: #b91c1c !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  .development-shell {
    gap: 12px;
  }

  .development-heading {
    padding: 12px;
  }

  .development-metrics {
    gap: 8px;
  }

  .development-metrics.approved-summary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .development-metric,
  .development-metric:nth-child(2),
  .development-metric:nth-child(-n+2) {
    border: 1px solid var(--line);
  }

  .browser-content {
    padding: 12px;
  }

  .approved-product-folder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .development-heading,
  .development-browser,
  .development-metric,
  .settings-form,
  .settings-list,
  .monthly-shop-board {
    border-radius: var(--radius-md);
  }

  .browser-content {
    padding: 9px;
  }

  .development-permission-row {
    grid-template-columns: 1fr;
  }
}

.development-analysis-open-button {
  border-color: #c4b5fd;
  color: #6d28d9;
  background: #faf5ff;
  font-weight: 800;
}

.development-analysis-open-button:hover,
.development-analysis-open-button:focus-visible {
  border-color: #8b5cf6;
  color: #5b21b6;
  background: #f5f3ff;
}

.development-analysis-dialog {
  width: min(1120px, calc(100vw - 28px));
}

.development-analysis-body {
  max-height: min(86vh, 860px);
  overflow-y: auto;
}

.development-analysis-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.development-analysis-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.development-analysis-controls label > span:first-child {
  margin: 0;
  white-space: nowrap;
}

.development-analysis-controls select {
  width: 180px;
  min-height: 36px;
  background: #fff;
}

.development-analysis-content {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.development-analysis-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.development-analysis-stat {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px 10px 15px;
  overflow: hidden;
  background: #fff;
}

.development-analysis-stat::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #2563eb;
  content: '';
}

.development-analysis-stat.orange::before {
  background: #f97316;
}

.development-analysis-stat.teal::before {
  background: #0f8a79;
}

.development-analysis-stat.gray::before {
  background: #667085;
}

.development-analysis-stat.red::before {
  background: #d92d20;
}

.development-analysis-stat span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.development-analysis-stat strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.development-analysis-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.development-analysis-section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.development-analysis-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--surface-soft);
}

.development-analysis-section h3 {
  margin: 0;
  font-size: 14px;
}

.development-analysis-section > header span {
  color: var(--muted);
  font-size: 11px;
}

.development-analysis-table-wrap {
  max-height: min(46vh, 430px);
  overflow: auto;
}

.development-analysis-section table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 11px;
}

.development-analysis-section th,
.development-analysis-section td {
  border-bottom: 1px solid var(--line);
  padding: 9px 8px;
  text-align: right;
  white-space: nowrap;
}

.development-analysis-section thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #475467;
  background: #fff;
}

.development-analysis-section th:first-child {
  width: 180px;
  max-width: 180px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
}

.development-analysis-section tbody tr:last-child th,
.development-analysis-section tbody tr:last-child td {
  border-bottom: 0;
}

.development-analysis-empty {
  padding: 38px 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .development-analysis-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .development-analysis-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .development-analysis-controls {
    justify-content: stretch;
  }

  .development-analysis-controls label,
  .development-analysis-controls select {
    width: 100%;
  }
}


/* 已派发列表按接收人分组，卡片与操作沿用原样式。 */
.development-assigned-groups { display: grid; gap: 18px; }
.development-assigned-group { min-width: 0; }
.development-assigned-group + .development-assigned-group { border-top: 1px solid #dce2ec; padding-top: 14px; }
.development-assigned-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 30px; color: var(--ink); }
.development-assigned-heading > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.development-assigned-heading span, .development-assigned-heading b { color: #64748b; font-size: 12px; }
.development-assigned-heading strong { font-size: 14px; overflow-wrap: anywhere; }
.development-assigned-heading b { flex-shrink: 0; }

/* 已派发卡片：派发姓名在右上角，流程状态在左下角。 */
#developmentView .product-card-header:has(> .product-assignment-badge) {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
}
#developmentView .product-card-header > .product-assignment-badge {
  max-width: 128px;
  padding: 3px 7px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.4;
}

#developmentView .product-card-header > .product-assignment-badge.is-empty {
  border-color: #e4e7ec;
  background: #f8fafc;
  color: #667085;
}

#developmentView .development-product-card .product-image-wrap {
  position: relative;
}
#developmentView .product-image-wrap > .product-image-status {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  pointer-events: none;
  max-width: calc(100% - 16px);
}
