.gscan-subsidy-editor {
    --gscan-subsidy-color-primary: #f08300;
    --gscan-subsidy-color-primary-light: #fff7ee;
    --gscan-subsidy-color-text: #333;
    --gscan-subsidy-color-muted: #666;
    --gscan-subsidy-color-link: #036;
    --gscan-subsidy-color-border: #dcdcdc;
    --gscan-subsidy-color-danger: #d93025;
    --gscan-subsidy-filter-primary: brightness(0) saturate(100%) invert(58%) sepia(34%) saturate(5210%) hue-rotate(7deg) brightness(98%) contrast(107%);
    --gscan-subsidy-filter-white: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7454%) hue-rotate(64deg) brightness(99%) contrast(107%);
    --gscan-subsidy-filter-muted: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(2%) hue-rotate(99deg) brightness(96%) contrast(85%);;
    color: var(--gscan-subsidy-color-text);
    line-height: 1.9;
}

.gscan-subsidy-editor__link {
  color: var(--gscan-subsidy-color-link);
  text-decoration: underline;
}

.gscan-subsidy-editor * {
  box-sizing: border-box;
}

.gscan-subsidy-editor__header {
  margin-bottom: 28px;
  text-align: center;
}

.gscan-subsidy-editor__svg {
  filter: var(--gscan-subsidy-filter-white);
}

.gscan-subsidy-editor__svg.icon-primary {
  filter: var(--gscan-subsidy-filter-primary);
}

.gscan-subsidy-editor__svg.icon-white {
  filter: var(--gscan-subsidy-filter-white);
}

.gscan-subsidy-editor__svg.icon-muted {
  filter: var(--gscan-subsidy-filter-muted);
}

.gscan-subsidy-editor__label {
  color: var(--gscan-subsidy-color-primary);
  font-size: 14px;
  font-weight: bold;
}

.gscan-subsidy-editor__date {
  color: var(--gscan-subsidy-color-muted);
  font-size: 13px;
}

.gscan-subsidy-editor__title {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--gscan-subsidy-color-primary);
  font-size: 32px;
  line-height: 1.45;
}

.gscan-subsidy-editor__link {
  color: #036;
  text-decoration: underline;
}

.gscan-subsidy-editor__lead {
  margin-top: 22px;
  font-size: 16px;
}

.gscan-subsidy-editor-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 20px;
  background: #fff8ef;
  border: 1px solid #f3c995;
  border-radius: 4px;
}

.gscan-subsidy-editor-summary__item {
  padding: 12px 8px;
  text-align: center;
}

.gscan-subsidy-editor-summary__item:nth-of-type(n + 2) {
  border-left: 1px dashed var(--gscan-subsidy-color-primary);
}

.gscan-subsidy-editor-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  color: #fff;
  background: var(--gscan-subsidy-color-primary);
  border-radius: 50%;
  font-weight: bold;
}

.gscan-subsidy-editor-summary__label {
  display: block;
  color: var(--gscan-subsidy-color-muted);
  font-size: 13px;
  font-weight: bold;
}

.gscan-subsidy-editor-summary__value {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.45;
}

.gscan-subsidy-editor-summary__note {
  display: block;
  margin-top: 4px;
  color: var(--gscan-subsidy-color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.gscan-subsidy-editor-inpage {
  background: #f6f6f6;
  padding: 16px;
  margin-top: 24px;
  border-radius: 4px;
}

.gscan-subsidy-editor-inpage__title {
  font-weight: bold;
  text-align: center;
}

.gscan-subsidy-editor-inpage__list {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gscan-subsidy-editor-inpage__item {
  background: #fff;
  border: 2px solid var(--gscan-subsidy-color-border);
  border-radius: 4px;
}

.gscan-subsidy-editor-inpage__anker {
  padding: 4px;
  gap: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gscan-subsidy-editor-inpage__label {
  text-align: center;
}

.gscan-subsidy-editor-section {
  margin-top: 24px;
  border-radius: 4px;
  border: 1px solid var(--gscan-subsidy-color-border);
}

.gscan-subsidy-editor-article {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--gscan-subsidy-color-border);
}

.gscan-subsidy-editor-article:last-of-type {
  border-bottom: 1px solid var(--gscan-subsidy-color-border);
}

.gscan-subsidy-editor-article__head {
  display: flex;
  gap: 8px;
  padding: 20px 14px;
  background: #fcfcfc;
  border-right: 1px solid var(--gscan-subsidy-color-border);
}

.gscan-subsidy-editor-article__number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--gscan-subsidy-color-primary);
  border-radius: 5px;
  font-weight: bold;
  line-height: 1;
}

.gscan-subsidy-editor-article__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.2px;
}

.gscan-subsidy-editor-article__body {
  padding: 22px 26px;
}

.gscan-subsidy-editor-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.gscan-subsidy-editor-list:first-child {
  margin-top: 0;
}

.gscan-subsidy-editor-list li {
  position: relative;
  margin-top: 6px;
  padding-left: 18px;
}

.gscan-subsidy-editor-list li:first-of-type {
  margin-top: 0;
}

.gscan-subsidy-editor-list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gscan-subsidy-color-primary);
  border-radius: 50%;
}

.gscan-subsidy-editor-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  color: var(--gscan-subsidy-color-danger);
  background: #fff8f6;
  border: 1px solid #f2a29a;
  font-size: 12px;
  font-weight: bold;
}

.gscan-subsidy-editor-alert__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #fff;
  background: var(--gscan-subsidy-color-danger);
  border-radius: 50%;
  line-height: 1;
}

.gscan-subsidy-editor-note {
  color: var(--gscan-subsidy-color-muted);
  font-size: 13px;
  padding-left: 13px;
  margin-top: 16px;
  text-indent: -13px;
  line-height: 1.6;
}

.gscan-subsidy-editor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  margin-top: 8px;
  gap: 8px;
  border: 1px solid #111;
  border-radius: 4px;
  font-weight: bold;
  color: #fff !important;
  text-decoration: none !important;
}

.gscan-subsidy-editor-button--primary {
  background: var(--gscan-subsidy-color-primary);
  border-color: var(--gscan-subsidy-color-primary);
}

.gscan-subsidy-editor-button--outline {
  color: var(--gscan-subsidy-color-text) !important;
  background: #fff;
  border-color: #bbb;
}

.gscan-subsidy-editor-products {
  margin-top: 16px;
  border: 1px solid var(--gscan-subsidy-color-border);
}

.gscan-subsidy-editor-product {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 24px;
  padding: 8px 16px 14px;
}

.gscan-subsidy-editor-product__image {
  width: 100%;
}

.gscan-subsidy-editor-product + .gscan-subsidy-editor-product {
  border-top: 1px solid var(--gscan-subsidy-color-border);
}

.gscan-subsidy-editor-product__name {
  font-weight: bold;
  margin-top: 0;
  border-bottom: 1px dashed #999;
}
.gscan-subsidy-editor-product__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  margin-top: 8px;
}

.gscan-subsidy-editor-product__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  background: #333;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  gap: 8px;
  line-height: 1.3;
  color: #fff !important;
  text-decoration: none !important;
}

.gscan-subsidy-editor-product__button-label {
  width: 100%;
  text-align: center;
}

.gscan-subsidy-editor-footer-note {
  margin-top: 24px;
  color: var(--gscan-subsidy-color-muted);
  font-size: 12px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .gscan-subsidy-editor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gscan-subsidy-editor-article {
    grid-template-columns: 1fr;
  }

  .gscan-subsidy-editor-article__head {
    border-right: 0;
    border-bottom: 1px solid var(--gscan-subsidy-color-border);
  }

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