.ag-model-v2 {
  --ag-model-bg: #f1f3f6;
  --ag-model-surface: #ffffff;
  --ag-model-text: #202633;
  --ag-model-muted: #697180;
  --ag-model-line: #d9dde4;
  --ag-model-brand: #263b67;
  --ag-model-brand-strong: #182a50;
  --ag-model-brand-soft: #edf0f6;
  --ag-model-accent: #b32632;
  --ag-model-shadow: 0 18px 45px rgba(19, 31, 55, 0.2);
  color: var(--ag-model-text);
  font-family: "Noto Sans KR", "Nanum Gothic", system-ui, sans-serif;
  line-height: 1.45;
}

.ag-model-v2,
.ag-model-v2 * {
  box-sizing: border-box;
}

.ag-model-v2 a {
  color: inherit;
  text-decoration: none;
}

.ag-model-v2 button,
.ag-model-v2 input,
.ag-model-v2 select {
  font: inherit;
}

.ag-model-v2-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 24px;
  border: 1px solid var(--ag-model-line);
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #ffffff 0%, #f2f4f8 100%);
}

.ag-model-v2-heading h1 {
  margin: 3px 0 6px;
  color: var(--ag-model-text);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.ag-model-v2-heading p {
  margin: 0;
  color: var(--ag-model-muted);
  font-size: 14px;
}

.ag-model-v2-eyebrow {
  color: var(--ag-model-brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ag-model-v2-mode-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--ag-model-line);
  border-radius: 12px;
  background: #eceef2;
}

.ag-model-v2-mode-tabs a {
  min-width: 96px;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--ag-model-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.ag-model-v2-mode-tabs a.is-active {
  color: #ffffff;
  background: var(--ag-model-brand);
  box-shadow: 0 4px 12px rgba(38, 59, 103, 0.24);
}

.ag-model-v2-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-right: 1px solid var(--ag-model-line);
  border-left: 1px solid var(--ag-model-line);
  color: var(--ag-model-muted);
  background: #f8f9fb;
  font-size: 13px;
}

.ag-model-v2-guide strong {
  color: var(--ag-model-brand-strong);
}

.ag-model-v2-guide b {
  color: var(--ag-model-accent);
}

.ag-model-v2-notice {
  padding: 24px;
  border: 1px solid var(--ag-model-line);
  color: var(--ag-model-muted);
  background: var(--ag-model-surface);
  text-align: center;
}

.ag-model-v2-notice.is-error {
  color: #a2322a;
  background: #fff4f2;
}

.ag-model-v2-pc {
  width: min(1560px, 100%);
  margin: 10px auto 60px;
}

.ag-model-v2-pc .ag-model-v2-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ag-model-v2-pc .ag-model-v2-heading > div {
  display: flex;
  grid-column: 1;
  flex: 1 1 auto;
  align-items: baseline;
  min-width: 0;
  gap: 12px;
}

.ag-model-v2-pc .ag-model-v2-eyebrow {
  display: none;
}

.ag-model-v2-pc .ag-model-v2-heading h1 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ag-model-brand-strong);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.ag-model-v2-pc .ag-model-v2-heading p {
  overflow: hidden;
  color: #777d88;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-model-v2-pc .ag-model-v2-mode-tabs {
  grid-column: 2;
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #d3d8e2;
  border-radius: 10px;
  background: #edf0f5;
  box-shadow: 0 2px 7px rgba(38, 59, 103, 0.12);
}

.ag-model-v2-pc .ag-model-v2-mode-tabs a {
  min-width: 108px;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

.ag-model-v2-pc .ag-model-v2-mode-tabs a.is-active {
  box-shadow: 0 2px 6px rgba(38, 59, 103, 0.22);
}

.ag-model-v2-pc .ag-model-v2-guide {
  gap: 8px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.ag-model-v2-pc-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  scrollbar-color: #9ca5b6 transparent;
  scrollbar-width: thin;
}

.ag-model-v2-pc-scroll:focus-visible {
  outline: 3px solid rgba(38, 59, 103, 0.28);
  outline-offset: 2px;
}

.ag-model-v2-pc-grid {
  display: grid;
  grid-template-columns: 150px repeat(9, 140px) 150px;
  min-width: 1560px;
}

.ag-model-v2-pc.is-without-all .ag-model-v2-pc-grid {
  grid-template-columns: repeat(10, minmax(110px, 1fr));
  width: 100%;
  min-width: 1100px;
  max-width: 1400px;
  margin-inline: auto;
}

.ag-model-v2-maker-column {
  position: relative;
  min-width: 0;
  background: var(--ag-model-surface);
}

.ag-model-v2-maker-column.is-all {
  background: #ffffff;
}

.ag-model-v2-maker-head {
  position: relative;
  display: flex;
  justify-content: flex-start;
  background: #ffffff;
}

.ag-model-v2-maker-head::after {
  position: absolute;
  top: 22px;
  bottom: -5px;
  left: 9px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #9da3ad 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-maker-head a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: calc(100% - 26px);
  min-width: 0;
  min-height: 34px;
  margin: 5px 7px 8px 19px;
  gap: 5px;
  padding: 5px 7px 5px 10px;
  border: 1px solid #cbd2df;
  border-radius: 6px;
  background: #f8f9fb;
  box-shadow: 0 2px 5px rgba(38, 59, 103, 0.1);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ag-model-v2-maker-head a::before {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 9px;
  width: 10px;
  height: 1px;
  background: repeating-linear-gradient(to right, #9da3ad 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-maker-identity {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
}

.ag-model-v2-maker-name {
  color: var(--ag-model-brand-strong);
  font-size: 14px;
  font-weight: 800;
  line-height: 21px;
  white-space: nowrap;
}

.ag-model-v2-maker-head .ag-model-v2-maker-count {
  flex: 0 0 auto;
  margin-left: 2px;
  padding: 1px 5px;
  border-radius: 10px;
  color: var(--ag-model-brand);
  background: var(--ag-model-brand-soft);
  font-size: 12px;
  font-weight: 400;
}

.ag-model-v2-maker-count::before {
  content: none;
}

.ag-model-v2-maker-count::after {
  content: none;
}

.ag-model-v2-maker-head a:hover,
.ag-model-v2-maker-head a:focus-visible {
  border-color: var(--ag-model-brand);
  color: #ffffff;
  background: var(--ag-model-brand);
  box-shadow: 0 3px 8px rgba(38, 59, 103, 0.24);
  transform: translateY(-1px);
}

.ag-model-v2-maker-head a:hover .ag-model-v2-maker-name,
.ag-model-v2-maker-head a:hover .ag-model-v2-maker-count,
.ag-model-v2-maker-head a:focus-visible .ag-model-v2-maker-name,
.ag-model-v2-maker-head a:focus-visible .ag-model-v2-maker-count {
  color: #ffffff;
}

.ag-model-v2-maker-head a:hover .ag-model-v2-maker-count,
.ag-model-v2-maker-head a:focus-visible .ag-model-v2-maker-count {
  background: rgba(255, 255, 255, 0.18);
}

.ag-model-v2-products {
  padding: 5px 3px 12px 4px;
}

.ag-model-v2-product {
  position: relative;
  padding-left: 15px;
}

.ag-model-v2-product::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #c9cdd4 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-product::after {
  position: absolute;
  top: 16px;
  left: 5px;
  width: 9px;
  height: 1px;
  background: repeating-linear-gradient(to right, #c9cdd4 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-product:last-child::before {
  bottom: auto;
  height: 16px;
}

.ag-model-v2-product-head,
.ag-model-v2-categories li {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.ag-model-v2-product-head {
  min-height: 32px;
  background: transparent;
}

.ag-model-v2-product-head > a,
.ag-model-v2-disabled-label,
.ag-model-v2-categories li > a {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 3px;
  padding: 3px 2px;
}

.ag-model-v2-product-head > a > span,
.ag-model-v2-disabled-label > span,
.ag-model-v2-categories li > a > span {
  overflow: visible;
  font-weight: 700;
  white-space: nowrap;
}

.ag-model-v2-product-head > a > span,
.ag-model-v2-product-head > .ag-model-v2-disabled-label > span {
  color: var(--ag-model-accent);
  font-size: 14px;
  font-weight: 800;
}

.ag-model-v2-product-head small,
.ag-model-v2-categories small {
  flex: 0 0 auto;
  color: #747b87;
  font-size: 14px;
  font-weight: 500;
}

.ag-model-v2-product-head small::before,
.ag-model-v2-categories small::before {
  content: "(";
}

.ag-model-v2-product-head small::after,
.ag-model-v2-categories small::after {
  content: ")";
}

.ag-model-v2-product-head small:empty,
.ag-model-v2-categories small:empty {
  display: none;
}

.ag-model-v2-product-head > a:hover,
.ag-model-v2-product-head > a:focus-visible,
.ag-model-v2-categories li > a:hover,
.ag-model-v2-categories li > a:focus-visible,
.ag-model-v2-model-trigger.is-current {
  color: var(--ag-model-brand-strong);
  border-radius: 3px;
  background: #f0f1f4;
}

.ag-model-v2-categories {
  margin: 0 0 2px 2px;
  padding: 0;
  list-style: none;
}

.ag-model-v2-categories li {
  min-height: 28px;
  padding-left: 13px;
  background: transparent;
}

.ag-model-v2-categories li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #d0d3d9 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-categories li::after {
  position: absolute;
  top: 14px;
  left: 4px;
  width: 8px;
  height: 1px;
  background: repeating-linear-gradient(to right, #d0d3d9 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-categories li:last-child::before {
  bottom: auto;
  height: 14px;
}

.ag-model-v2-categories li > a,
.ag-model-v2-categories li > .ag-model-v2-disabled-label {
  padding: 2px 1px;
  font-size: 14px;
}

.ag-model-v2-categories li > a > span {
  font-weight: 400;
}

.ag-model-v2-product.is-disabled,
.ag-model-v2-categories li.is-disabled {
  color: #aaaaaa;
  background: transparent;
}

.ag-model-v2-product.is-disabled .ag-model-v2-product-head > .ag-model-v2-disabled-label > span {
  color: #aaaaaa;
  font-weight: 400;
}

.ag-model-v2-categories li.is-disabled > .ag-model-v2-disabled-label > span {
  color: #c8c8c8;
  font-weight: 400;
}

.ag-model-v2-pc .ag-model-v2-popover {
  width: min(520px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 24px));
  border-radius: 6px;
}

.ag-model-v2-pc .ag-model-v2-popover-head {
  min-height: 46px;
  padding: 8px 9px 8px 13px;
  border-bottom-width: 2px;
}

.ag-model-v2-pc .ag-model-v2-popover-head span {
  font-size: 16px;
}

.ag-model-v2-pc .ag-model-v2-popover-head strong {
  font-size: 11px;
}

.ag-model-v2-pc .ag-model-v2-popover-head button {
  width: 28px;
  height: 28px;
  font-size: 20px;
}

.ag-model-v2-pc .ag-model-v2-popover-tools {
  padding: 7px;
}

.ag-model-v2-pc .ag-model-v2-popover-tools input,
.ag-model-v2-pc .ag-model-v2-popover-tools select {
  height: 34px;
  border-radius: 4px;
  font-size: 13px;
}

.ag-model-v2-pc .ag-model-v2-model-list {
  max-height: 400px;
}

.ag-model-v2-pc .ag-model-v2-model-list a,
.ag-model-v2-pc .ag-model-v2-model-state {
  min-height: 41px;
  padding: 8px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 24px;
}

.ag-model-v2-popover {
  position: fixed;
  z-index: 2147483000;
  width: min(540px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid #c9ced8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--ag-model-shadow);
}

.ag-model-v2-popover[hidden] {
  display: none !important;
}

.ag-model-v2-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 14px 12px 18px;
  color: var(--ag-model-brand-strong);
  background: #e9ebef;
  border-bottom: 2px solid var(--ag-model-accent);
}

.ag-model-v2-popover-head > div {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  min-width: 0;
  gap: 8px;
}

.ag-model-v2-popover-head span,
.ag-model-v2-popover-head strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-model-v2-popover-head span {
  flex: 0 1 auto;
  color: var(--ag-model-brand-strong);
  font-size: 16px;
  font-weight: 800;
}

.ag-model-v2-popover-head strong {
  flex: 0 0 auto;
  margin-top: 0;
  color: var(--ag-model-muted);
  font-size: 11px;
}

.ag-model-v2-popover-head button {
  width: 36px;
  height: 36px;
  border: 1px solid #c9ced8;
  border-radius: 50%;
  color: #596273;
  background: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ag-model-v2-popover-tools {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--ag-model-line);
  background: #f4f5f8;
}

.ag-model-v2-popover-tools label {
  flex: 1 1 auto;
}

.ag-model-v2-popover-tools input,
.ag-model-v2-popover-tools select {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #c9ced8;
  border-radius: 9px;
  color: var(--ag-model-text);
  background: #ffffff;
  font-size: 13px;
}

.ag-model-v2-popover-tools select {
  flex: 0 0 90px;
  width: 90px;
}

.ag-model-v2-popover-tools input:focus,
.ag-model-v2-popover-tools select:focus {
  border-color: var(--ag-model-brand);
  outline: 3px solid rgba(38, 59, 103, 0.13);
}

.ag-model-v2-model-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 430px;
  overflow: auto;
  padding: 8px;
  background: #ffffff;
}

.ag-model-v2-model-list a,
.ag-model-v2-model-state {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  word-break: break-word;
}

.ag-model-v2-model-list a:hover,
.ag-model-v2-model-list a:focus-visible {
  color: var(--ag-model-brand-strong);
  border-color: #c8ceda;
  background: var(--ag-model-brand-soft);
  outline: 0;
}

.ag-model-v2-model-state {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 110px;
  color: var(--ag-model-muted);
  text-align: center;
}

.ag-model-v2-mobile {
  width: 100%;
  padding: 12px 12px 30px;
  background: var(--ag-model-bg);
}

.ag-model-v2-mobile .ag-model-v2-heading {
  display: block;
  padding: 20px 18px 17px;
  border-radius: 16px;
}

.ag-model-v2-mobile .ag-model-v2-heading h1 {
  margin-top: 2px;
  font-size: 23px;
}

.ag-model-v2-mobile .ag-model-v2-heading p {
  font-size: 13px;
}

.ag-model-v2-mobile .ag-model-v2-mode-tabs {
  display: flex;
  width: 100%;
  margin-top: 17px;
}

.ag-model-v2-mobile .ag-model-v2-mode-tabs a {
  flex: 1 1 50%;
  min-height: 42px;
}

.ag-model-v2-mobile [hidden] {
  display: none !important;
}

.ag-model-v2-mobile-tree {
  margin-top: 12px;
  border-top: 2px solid var(--ag-model-brand-strong);
  background: #ffffff;
}

.ag-model-v2-mobile-maker {
  border-bottom: 0;
}

.ag-model-v2-mobile-maker-row,
.ag-model-v2-mobile-product-row,
.ag-model-v2-mobile-category-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ag-model-v2-mobile-maker-row {
  min-height: 58px;
  gap: 8px;
  padding: 6px 8px 6px 12px;
}

.ag-model-v2-mobile-maker-link {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.ag-model-v2-mobile-maker-name {
  color: var(--ag-model-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  white-space: nowrap;
}

.ag-model-v2-mobile-maker-link span {
  color: var(--ag-model-brand);
  font-size: 14px;
  font-weight: 700;
}

.ag-model-v2-mobile-maker-link span::before {
  content: "(";
}

.ag-model-v2-mobile-maker-link span::after {
  content: ")";
}

.ag-model-v2-mobile-tree-toggle,
.ag-model-v2-mobile-model-button {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #aeb7c8;
  border-radius: 5px;
  color: var(--ag-model-brand-strong);
  background: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ag-model-v2-mobile-tree-toggle[aria-expanded="true"] {
  color: var(--ag-model-brand-strong);
  border-color: #8d99ad;
  background: #eef1f5;
}

.ag-model-v2-mobile-model-button {
  min-width: 76px;
  color: var(--ag-model-accent);
  border-color: #d2aeb2;
}

.ag-model-v2-mobile-model-button[aria-expanded="true"] {
  color: #ffffff;
  border-color: var(--ag-model-accent);
  background: var(--ag-model-accent);
}

.ag-model-v2-mobile-maker-branch {
  position: relative;
  margin-left: 12px;
  padding: 3px 0 9px 18px;
}

.ag-model-v2-mobile-maker-branch::before {
  position: absolute;
  top: 0;
  bottom: 9px;
  left: 7px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #9da3ad 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-mobile-product {
  position: relative;
}

.ag-model-v2-mobile-product::before {
  position: absolute;
  top: 25px;
  left: -11px;
  width: 11px;
  height: 1px;
  background: repeating-linear-gradient(to right, #9da3ad 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-mobile-product-row {
  min-height: 50px;
  gap: 7px;
  padding: 5px 8px 5px 2px;
}

.ag-model-v2-mobile-product-row > a,
.ag-model-v2-mobile-product-row > .ag-model-v2-mobile-disabled-label,
.ag-model-v2-mobile-category-row > a,
.ag-model-v2-mobile-category-row > .ag-model-v2-mobile-disabled-label {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: 4px;
}

.ag-model-v2-mobile-product-row strong {
  color: var(--ag-model-accent);
  font-size: 18px;
  font-weight: 800;
}

.ag-model-v2-mobile-product-row small,
.ag-model-v2-mobile-category-row small {
  color: #747b87;
  font-size: 14px;
  font-weight: 400;
}

.ag-model-v2-mobile-product-row small::before,
.ag-model-v2-mobile-category-row small::before {
  content: "(";
}

.ag-model-v2-mobile-product-row small::after,
.ag-model-v2-mobile-category-row small::after {
  content: ")";
}

.ag-model-v2-mobile-product.is-disabled .ag-model-v2-mobile-product-row strong,
.ag-model-v2-mobile-categories li.is-disabled .ag-model-v2-mobile-category-row span {
  color: #aaaaaa;
  font-weight: 400;
}

.ag-model-v2-mobile-categories {
  position: relative;
  margin: 0 0 4px 8px;
  padding: 0 0 0 18px;
  list-style: none;
}

.ag-model-v2-mobile-categories::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #c9cdd4 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-mobile-categories li {
  position: relative;
}

.ag-model-v2-mobile-categories li::before {
  position: absolute;
  top: 22px;
  left: -12px;
  width: 12px;
  height: 1px;
  background: repeating-linear-gradient(to right, #c9cdd4 0 1px, transparent 1px 2px);
  content: "";
}

.ag-model-v2-mobile-category-row {
  min-height: 44px;
  gap: 7px;
  padding: 4px 8px 4px 1px;
}

.ag-model-v2-mobile-category-row > a > span,
.ag-model-v2-mobile-category-row > .ag-model-v2-mobile-disabled-label > span {
  color: var(--ag-model-text);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.ag-model-v2-mobile-product.is-model-open > .ag-model-v2-mobile-product-row,
.ag-model-v2-mobile-categories li.is-model-open > .ag-model-v2-mobile-category-row {
  background: #f2f3f6;
}

.ag-model-v2-mobile-model-slot:empty {
  display: none;
}

.ag-model-v2-mobile-backdrop {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(20, 27, 40, 0.28);
  cursor: default;
  touch-action: none;
}

.ag-model-v2-mobile-inline-model {
  position: fixed;
  z-index: 2147483001;
  top: 50%;
  left: 50%;
  width: calc(100vw - 24px);
  max-width: 500px;
  max-height: calc(100dvh - 24px);
  margin: 0;
  overflow: hidden;
  border: 1px solid #c9ced8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(19, 31, 55, 0.28);
  transform: translate(-50%, -50%);
}

.ag-model-v2-mobile-inline-model .ag-model-v2-popover-head {
  height: 61px;
  min-height: 61px;
  padding: 9px 10px 9px 13px;
  color: var(--ag-model-brand-strong);
  border-bottom: 2px solid var(--ag-model-accent);
  background: #e9ebef;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-popover-head span {
  color: var(--ag-model-brand-strong);
  font-size: 16px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-popover-head strong {
  color: var(--ag-model-muted);
  font-size: 12px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-popover-head button {
  width: 32px;
  height: 32px;
  border: 1px solid #c9ced8;
  color: #596273;
  background: #ffffff;
  font-size: 22px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-popover-tools {
  padding: 8px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-popover-tools input,
.ag-model-v2-mobile-inline-model .ag-model-v2-popover-tools select {
  height: 40px;
  border-radius: 5px;
  font-size: 14px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list {
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  grid-template-columns: none;
  grid-template-rows: repeat(7, 44px);
  height: 320px;
  max-height: 320px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 6px;
  scroll-behavior: smooth;
  scrollbar-color: #8d96a6 #eceef2;
  scrollbar-width: thin;
  touch-action: pan-x;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list.is-state {
  display: flex;
  height: 320px;
  max-height: 320px;
  overflow: hidden;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list.is-state .ag-model-v2-model-state {
  flex: 1 1 auto;
  min-height: 100%;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list::-webkit-scrollbar {
  height: 7px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list::-webkit-scrollbar-track {
  background: #eceef2;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #8d96a6;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list a,
.ag-model-v2-mobile-inline-model .ag-model-v2-model-state {
  min-height: 44px;
  padding: 8px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 24px;
}

.ag-model-v2-mobile-inline-model .ag-model-v2-model-list a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ag-model-v2-mobile-scroll-hint {
  position: absolute;
  z-index: 3;
  right: 4px;
  bottom: 144px;
  display: block;
  width: 40px;
  height: 45px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(76, 80, 87, 0.22);
  box-shadow: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ag-model-v2-mobile-scroll-hint-left {
  right: auto;
  left: 4px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.ag-model-v2-mobile-scroll-hint:hover,
.ag-model-v2-mobile-scroll-hint:focus-visible {
  background: rgba(76, 80, 87, 0.32);
}

.ag-model-v2-mobile-scroll-hint[hidden] {
  display: none !important;
}

.ag-model-v2-mobile-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0 8px;
}

.ag-model-v2-mobile-progress button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 7px;
  border: 1px solid var(--ag-model-line);
  border-radius: 10px;
  color: var(--ag-model-muted);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.ag-model-v2-mobile-progress button span {
  display: grid;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  place-items: center;
  color: #747c8a;
  background: #eceef2;
  font-size: 10px;
}

.ag-model-v2-mobile-progress button.is-active,
.ag-model-v2-mobile-progress button.is-complete {
  color: var(--ag-model-brand-strong);
  border-color: #bdc5d4;
  background: var(--ag-model-brand-soft);
}

.ag-model-v2-mobile-progress button.is-active span,
.ag-model-v2-mobile-progress button.is-complete span {
  color: #ffffff;
  background: var(--ag-model-brand);
}

.ag-model-v2-selection {
  display: flex;
  gap: 6px;
  min-height: 1px;
  overflow-x: auto;
  padding: 2px 0;
}

.ag-model-v2-selection:empty {
  display: none;
}

.ag-model-v2-selection button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #c0c7d4;
  border-radius: 18px;
  color: var(--ag-model-brand-strong);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.ag-model-v2-selection button::after {
  margin-left: 6px;
  color: #8c95a6;
  content: "수정";
  font-size: 10px;
}

.ag-model-v2-mobile-panel {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid var(--ag-model-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(24, 42, 80, 0.08);
}

.ag-model-v2-mobile-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.ag-model-v2-mobile-panel-head h2 {
  margin: 0;
  color: var(--ag-model-text);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.ag-model-v2-mobile-panel-head span {
  color: var(--ag-model-muted);
  font-size: 11px;
}

.ag-model-v2-mobile-filter {
  width: 100%;
  height: 44px;
  margin-bottom: 12px;
  padding: 0 13px;
  border: 1px solid #cbd0d9;
  border-radius: 11px;
  color: var(--ag-model-text);
  background: #fbfbfc;
  font-size: 14px;
}

.ag-model-v2-mobile-filter:focus {
  border-color: var(--ag-model-brand);
  outline: 3px solid rgba(38, 59, 103, 0.12);
}

.ag-model-v2-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ag-model-v2-mobile-options {
  display: grid;
  gap: 7px;
}

.ag-model-v2-mobile-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #d6dae1;
  border-radius: 12px;
  color: var(--ag-model-text);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.ag-model-v2-mobile-option:hover,
.ag-model-v2-mobile-option:focus-visible,
.ag-model-v2-mobile-option.is-selected {
  color: var(--ag-model-brand-strong);
  border-color: #9da8bd;
  background: var(--ag-model-brand-soft);
  outline: 0;
}

.ag-model-v2-mobile-option > span {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-model-v2-mobile-option small {
  flex: 0 0 auto;
  color: var(--ag-model-muted);
  font-size: 11px;
}

.ag-model-v2-mobile-option:disabled {
  color: #989faa;
  border-color: #eceef2;
  background: #fafafa;
  cursor: default;
}

.ag-model-v2-mobile-broad-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 13px;
  border-radius: 12px;
  color: #ffffff !important;
  background: var(--ag-model-brand);
  font-size: 14px;
  font-weight: 800;
}

.ag-model-v2-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
}

.ag-model-v2-sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 23, 42, 0.56);
}

.ag-model-v2-sheet-dialog {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 86vh;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #ffffff;
  box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.2);
}

.ag-model-v2-sheet-dialog .ag-model-v2-model-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: calc(86vh - 120px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

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

body.ag-model-v2-sheet-open {
  overflow: hidden;
}

.ag-model-v2-manual {
  width: min(900px, calc(100vw - 36px));
  margin: -34px auto 60px;
  padding: 24px;
  border: 1px solid var(--ag-model-line, #d9dde4);
  border-radius: 16px;
  color: #202633;
  background: #ffffff;
  font-family: "Noto Sans KR", "Nanum Gothic", system-ui, sans-serif;
}

.ag-model-v2-manual h2 {
  margin: 0 0 5px;
  font-size: 19px;
}

.ag-model-v2-manual p {
  margin: 0 0 16px;
  color: #697180;
  font-size: 13px;
}

.ag-model-v2-manual form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.ag-model-v2-manual label {
  font-size: 13px;
  font-weight: 800;
}

.ag-model-v2-manual input,
.ag-model-v2-manual button {
  height: 44px;
  border-radius: 10px;
  font: inherit;
}

.ag-model-v2-manual input {
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #c9ced8;
}

.ag-model-v2-manual button {
  padding: 0 18px;
  border: 0;
  color: #ffffff;
  background: #b32632;
  font-weight: 800;
}

.ag-model-v2-manual.is-mobile {
  width: auto;
  margin: -18px 12px 32px;
  padding: 18px;
}

.ag-model-v2-manual.is-mobile form {
  grid-template-columns: 1fr auto;
}

.ag-model-v2-manual.is-mobile label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .ag-model-v2-pc {
    width: 100%;
  }

  .ag-model-v2-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .ag-model-v2-mobile {
    padding-right: 8px;
    padding-left: 8px;
  }

  .ag-model-v2-mobile-panel {
    padding: 13px;
  }

  .ag-model-v2-mobile-progress button {
    gap: 3px;
    padding: 5px 3px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-model-v2 * {
    scroll-behavior: auto !important;
  }
}
