:root {
  --g:#285d49;
  --gl:#eaf2ed;
  --line:#dfe7e1;
  --ink:#24362b;
  --muted:#69776e;
  --bg:#f7f9f7;
  --red:#a34635
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font:14px/1.6 'Noto Sans KR','Malgun Gothic',sans-serif
}
a {
  text-decoration:none;
  color:inherit
}
button,input,select,textarea {
  font:inherit
}
button {
  cursor:pointer
}
input,select,textarea {
  max-width:100%
}
.wrap {
  max-width:1320px;
  margin:auto;
  padding:0 26px
}
.utility {
  background:#f8faf8;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.utility .wrap {
  display:flex;
  justify-content:flex-end;
  gap:18px;
  padding-top:8px;
  padding-bottom:8px
}
.head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-top:21px;
  padding-bottom:21px
}
.brand {
  font-size:25px;
  letter-spacing:-1px;
  font-weight:800;
  color:var(--g);
  line-height:1.3
}
.brand small {
  display:block;
  font-size:11px;
  color:var(--muted);
  letter-spacing:0;
  font-weight:400
}
.headright {
  display:flex;
  gap:10px;
  align-items:center
}
.nav {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff
}
.nav .wrap {
  display:flex;
  gap:32px;
  overflow:auto;
  white-space:nowrap
}
.nav a {
  display:block;
  padding:13px 0;
  font-weight:700;
  font-size:13px
}
.nav a.active,.nav a:hover {
  color:var(--g);
  box-shadow:inset 0 -2px var(--g)
}
.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  padding:10px 16px;
  border-radius:6px;
  background:#fff;
  color:var(--g);
  border:1px solid #b8c9be;
  font-weight:700;
  font-size:13px
}
.btn.primary {
  background:var(--g);
  color:#fff;
  border-color:var(--g)
}
.btn:hover {
  filter:brightness(.96)
}
.btn.small {
  padding:7px 11px;
  font-size:12px
}
.btn.ghost {
  border-color:var(--line);
  color:var(--ink)
}
.breadcrumb {
  font-size:12px;
  color:var(--muted);
  padding:23px 0 8px
}
.pagehead {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:15px;
  margin:7px 0 24px
}
.pagehead h1 {
  font-size:27px;
  letter-spacing:-1px;
  margin:0 0 5px
}
.pagehead p {
  margin:0;
  color:var(--muted)
}
main {
  padding-bottom:75px
}
.panel {
  border:1px solid var(--line);
  background:#fff;
  border-radius:9px;
  padding:22px;
  margin-bottom:18px
}
.panel h2 {
  font-size:18px;
  margin:0 0 16px
}
.panel h3 {
  font-size:15px;
  margin:0 0 12px
}
.muted {
  color:var(--muted)
}
.hint {
  padding:15px 18px;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:7px;
  color:#526558;
  margin:15px 0
}
.flex {
  display:flex;
  gap:12px;
  align-items:center
}
.between {
  justify-content:space-between
}
.grid {
  display:grid;
  gap:16px
}
.cols2 {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.cols3 {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.cols4 {
  grid-template-columns:repeat(4,minmax(0,1fr))
}
.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:15px
}
.field label {
  font-weight:700;
  font-size:13px
}
.field input,.field select,.field textarea,.search input,.search select {
  width:100%;
  border:1px solid #cbd7cf;
  background:#fff;
  border-radius:6px;
  padding:11px 12px;
  outline-color:var(--g)
}
.field textarea {
  min-height:110px;
  resize:vertical
}
.search {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:18px
}
.search input {
  flex:1;
  min-width:170px
}
.search select {
  width:170px
}
.catgrid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:9px
}
.catlink {
  border:1px solid var(--line);
  border-radius:7px;
  padding:13px 6px;
  text-align:center;
  font-weight:700;
  font-size:12px
}
.catlink:hover,.catlink.on {
  background:var(--gl);
  border-color:var(--g);
  color:var(--g)
}
.catlink span {
  display:block;
  font-size:22px
}
.item {
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden
}
.banner {
  position:relative;
  aspect-ratio:2.3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:5px;
  padding:12px;
  overflow:hidden
}
.banner:before {
  content:'';
  position:absolute;
  inset:8px;
  border:1px solid currentColor;
  opacity:.24
}
.banner strong {
  font-size:clamp(14px,1.5vw,22px);
  line-height:1.3
}
.banner span {
  font-size:11px
}
.gold {
  background:#f3e7c8;
  color:#873b2e
}
.cream {
  background:#f5eee3;
  color:#725136
}
.green {
  background:#dfece3;
  color:#285c46
}
.blue {
  background:#e3edf5;
  color:#315779
}
.iteminfo {
  padding:15px
}
.iteminfo strong {
  display:block;
  font-size:14px
}
.iteminfo p {
  margin:4px 0 12px;
  font-size:12px;
  color:var(--muted)
}
.iteminfo .btn {
  width:100%
}
.tablewrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:7px
}
table {
  border-collapse:collapse;
  width:100%;
  min-width:650px
}
th,td {
  padding:13px 15px;
  border-bottom:1px solid var(--line);
  text-align:left
}
th {
  background:#f5f8f6;
  color:#54685a;
  font-size:12px
}
tr:last-child td {
  border-bottom:0
}
.status {
  display:inline-block;
  padding:4px 9px;
  border-radius:30px;
  background:#eaf2ed;
  color:var(--g);
  font-size:12px;
  font-weight:700
}
.status.warn {
  background:#fff3df;
  color:#9b6516
}
.status.gray {
  background:#eef1ef;
  color:#67766c
}
.dash {
  display:grid;
  grid-template-columns:225px minmax(0,1fr);
  gap:22px
}
.side {
  background:#f8faf8;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px;
  height:max-content
}
.side a {
  display:block;
  padding:12px;
  border-radius:5px;
  font-weight:650;
  font-size:13px
}
.side a:hover,.side a.on {
  background:var(--gl);
  color:var(--g)
}
.metric {
  border:1px solid var(--line);
  padding:19px;
  border-radius:8px
}
.metric b {
  display:block;
  font-size:27px;
  color:var(--g)
}
.metric span {
  color:var(--muted);
  font-size:12px
}
.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}
.step {
  border:1px solid var(--line);
  padding:20px;
  border-radius:8px
}
.step b {
  color:var(--g)
}
.step h3 {
  margin:8px 0
}
.step p {
  color:var(--muted);
  font-size:13px;
  margin:0
}
.faq details {
  border-bottom:1px solid var(--line);
  padding:15px 2px
}
.faq summary {
  font-weight:700;
  cursor:pointer
}
.faq details p {
  color:var(--muted)
}
.tabs {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:20px
}
.tabs button {
  border:1px solid var(--line);
  background:white;
  border-radius:6px;
  padding:10px 15px;
  cursor:pointer
}
.tabs button.on {
  background:var(--gl);
  color:var(--g);
  border-color:var(--g);
  font-weight:700
}
.footer {
  background:#f5f7f5;
  border-top:1px solid var(--line);
  padding:28px 0;
  color:var(--muted);
  font-size:12px
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  padding:13px 20px;
  background:#263c2e;
  color:white;
  border-radius:7px;
  box-shadow:0 7px 22px #0002;
  z-index:50;
  display:none
}
.empty {
  padding:30px;
  text-align:center;
  color:var(--muted);
  border:1px dashed var(--line);
  border-radius:7px
}
.noticebox {
  border-left:3px solid var(--g);
  padding:12px 16px;
  background:var(--bg)
}
@media(max-width:980px) {
  .catgrid {
    grid-template-columns:repeat(3,1fr)
  }
  .cols4 {
    grid-template-columns:repeat(3,1fr)
  }
  .dash {
    grid-template-columns:1fr
  }
  .side {
    display:flex;
    overflow:auto;
    white-space:nowrap
  }
  .side a {
    flex-shrink:0
  }
  .steps {
    grid-template-columns:repeat(2,1fr)
  }
}
@media(max-width:640px) {
  .wrap {
    padding:0 16px
  }
  .utility {
    display:none
  }
  .head {
    padding-top:14px;
    padding-bottom:14px
  }
  .brand {
    font-size:21px
  }
  .headright .btn:first-child {
    display:none
  }
  .nav .wrap {
    gap:20px
  }
  .nav a {
    font-size:12px
  }
  .pagehead {
    align-items:start;
    flex-direction:column
  }
  .pagehead h1 {
    font-size:23px
  }
  .panel {
    padding:16px
  }
  .cols2,.cols3,.cols4 {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .catgrid {
    grid-template-columns:repeat(3,1fr)
  }
  .iteminfo {
    padding:10px
  }
  .banner strong {
    font-size:13px
  }
  .steps {
    grid-template-columns:1fr
  }
  .search select {
    width:100%
  }
  .search input {
    min-width:100%
  }
  .headright {
    gap:5px
  }
  .btn {
    padding:9px 11px
  }
}
/* 형태별 디자인 분류 */ .shapegrid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px
}
.shapegrid .catlink {
  padding:19px 8px
}
.shapegrid .catlink span {
  font-size:32px
}
.shape-stage {
  height:205px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f6f4;
  padding:12px
}
.shape-stage .banner {
  aspect-ratio:auto;
  flex-shrink:0;
  box-shadow:0 2px 8px #0001
}
.shape-horizontal {
  width:100%;
  height:115px
}
.shape-vertical {
  width:93px;
  height:180px
}
.shape-square {
  width:178px;
  height:178px
}
.shape-vertical strong {
  font-size:15px!important;
  word-break:keep-all
}
.shape-square strong {
  font-size:19px!important
}
.shape-vertical span {
  font-size:9px
}
.shape-square span {
  font-size:10px
}
@media(max-width:640px) {
  .shapegrid {
    grid-template-columns:repeat(2,1fr)
  }
  .shape-stage {
    height:160px;
    padding:7px
  }
  .shape-horizontal {
    height:70px
  }
  .shape-vertical {
    width:70px;
    height:145px
  }
  .shape-square {
    width:138px;
    height:138px
  }
  .shape-square strong {
    font-size:15px!important
  }
  .shape-vertical strong {
    font-size:12px!important
  }
}
/* Dashboard-specific responsive improvements */ .dashboard-page .dashboard-layout {
  align-items:start
}
.dashboard-page .dashboard-content {
  min-width:0;
  width:100%
}
.dashboard-page .dashboard-side {
  min-width:0
}
.dashboard-page .dashboard-metrics,.dashboard-page .dashboard-actions {
  min-width:0
}
.dashboard-page .dashboard-actions .btn {
  min-width:0;
  white-space:normal;
  text-align:center;
  line-height:1.45;
  overflow-wrap:anywhere
}
.dashboard-page .panel .flex.between {
  flex-wrap:wrap
}
.dashboard-page .dashboard-table {
  max-width:100%
}
@media(max-width:980px) {
  .dashboard-page .dashboard-side {
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    gap:5px;
    scrollbar-width:thin
  }
  .dashboard-page .dashboard-side a {
    flex:0 0 auto;
    padding:11px 14px
  }
  .dashboard-page .dashboard-actions {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:640px) {
  .dashboard-page .dashboard-metrics {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px
  }
  .dashboard-page .dashboard-metrics .metric {
    padding:12px 8px;
    text-align:center
  }
  .dashboard-page .dashboard-metrics .metric b {
    font-size:23px
  }
  .dashboard-page .dashboard-metrics .metric span {
    font-size:11px;
    line-height:1.35;
    display:block;
    word-break:keep-all
  }
  .dashboard-page .dashboard-actions {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px
  }
  .dashboard-page .dashboard-actions .btn {
    padding:13px 7px;
    font-size:12px
  }
  .dashboard-page .dashboard-table {
    border:0;
    overflow:visible
  }
  .dashboard-page .dashboard-table table,.dashboard-page .dashboard-table tbody,.dashboard-page .dashboard-table tr,.dashboard-page .dashboard-table td {
    display:block;
    width:100%;
    min-width:0
  }
  .dashboard-page .dashboard-table thead {
    display:none
  }
  .dashboard-page .dashboard-table tr {
    border:1px solid var(--line);
    border-radius:8px;
    padding:9px 12px;
    margin-bottom:10px;
    background:#fff
  }
  .dashboard-page .dashboard-table td {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:8px 0;
    border-bottom:1px dashed var(--line);
    text-align:right;
    overflow-wrap:anywhere
  }
  .dashboard-page .dashboard-table td:last-child {
    border-bottom:0
  }
  .dashboard-page .dashboard-table td::before {
    content:attr(data-label);
    font-size:12px;
    font-weight:700;
    color:var(--muted);
    flex:0 0 78px;
    text-align:left
  }
  .dashboard-page .dashboard-table .btn {
    max-width:100%
  }
}
@media(max-width:370px) {
  .dashboard-page .dashboard-metrics {
    grid-template-columns:1fr
  }
  .dashboard-page .dashboard-metrics .metric {
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:left
  }
  .dashboard-page .dashboard-metrics .metric span {
    font-size:12px
  }
}

/* v17 shared, stable header across all pages */
html { scrollbar-gutter: stable; }
body { overflow-x: hidden; }
.site-header { display:grid !important; grid-template-columns:minmax(245px,1fr) minmax(260px,430px) minmax(245px,1fr); align-items:center; gap:20px; min-height:98px; padding-top:18px !important; padding-bottom:18px !important; }
.site-header .brand { justify-self:start; }
.site-headsearch { display:flex; width:100%; height:44px; border:1px solid #bdcbc2; border-radius:7px; overflow:hidden; background:#fff; }
.site-headsearch input { min-width:0; flex:1; width:1%; border:0; outline:0; padding:10px 14px; font:inherit; background:#fff; }
.site-headsearch button { flex:none; border:0; background:#285d49; color:#fff; padding:0 19px; font-weight:700; }
.site-header-spacer { min-width:0; }
.site-nav .wrap { display:flex; gap:32px; min-height:49px; align-items:center; }
.site-nav a { padding:13px 0; font-size:13px; font-weight:700; white-space:nowrap; }
.shapegrid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.shape-option { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; border:1px solid var(--line,#dfe7e1); border-radius:8px; padding:19px 10px; background:#fff; text-align:center; font-weight:700; color:inherit; cursor:pointer; }
.shape-option:hover,.shape-option.on { background:#eaf2ed; border-color:#285d49; color:#285d49; }
.shape-option .shape-icon { display:block; font-size:27px; line-height:1.3; }
.catalog-summary { color:#69776e; font-size:13px; }
.catalog-empty { grid-column:1/-1; padding:36px; text-align:center; border:1px dashed #dfe7e1; border-radius:8px; color:#69776e; }
.catalog-card .banner { min-height:130px; }
.catalog-card .banner.vertical { aspect-ratio:auto; width:45%; height:170px; margin:0 auto; }
.catalog-card .banner.square { aspect-ratio:1; width:75%; margin:0 auto; }
@media(max-width:980px){ .site-header { grid-template-columns:minmax(170px,1fr) minmax(220px,390px); min-height:90px; } .site-header-spacer { display:none; } .site-nav .wrap { gap:24px; } }
@media(max-width:640px){ .site-header { grid-template-columns:1fr; min-height:70px; padding-top:14px !important; padding-bottom:14px !important; } .site-headsearch { display:none; } .site-nav .wrap { gap:22px; overflow-x:auto; white-space:nowrap; } .shapegrid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Normalize the home page's legacy inline styles against subpages. */
.utility .wrap { padding-top:8px !important; padding-bottom:8px !important; }
.site-header .brand { font-size:25px !important; letter-spacing:-1px !important; line-height:1.3 !important; }
.site-header .brand small { font-size:11px !important; margin-top:0 !important; }
.site-nav .wrap { padding-top:0 !important; padding-bottom:0 !important; }
.site-nav a { display:block; padding:13px 0 !important; font-size:13px !important; }
@media(max-width:640px){ .site-header .brand { font-size:21px !important; } .site-nav a { font-size:12px !important; } }
