/* 광고 홈 대시보드 */
.ex-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 300px 262px; }
.em-hero { grid-column: 1; grid-row: 1 / 3; }
.pn-trap { grid-column: 2 / 4; }
.wf-box { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2.5px; align-content: start; flex: 1; min-height: 0; margin: 2px 0 6px; }
.wf-box i { display: block; aspect-ratio: 1; border-radius: 3px; background: #dcd8d0; opacity: 0; transform: scale(.6); transition: opacity .35s ease var(--d), transform .35s ease var(--d); }
.wf-box i.on { background: #ea4b71; }
.dash.is-on .wf-box i { opacity: 1; transform: none; }
.ah-lg, .mk-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-soft); margin: 0 0 6px; }
.ah-lg i, .mk-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: #dcd8d0; }
.ah-lg i.on, .mk-lg i.o { background: #ea4b71; } .mk-lg i.b { background: #2b2d42; }
.ah-bars { display: grid; gap: 4px; margin-bottom: 6px; }
.ah-bars div { display: grid; grid-template-columns: 50px 1fr 58px; gap: 8px; align-items: center; font-size: 12px; }
.ah-bars em { height: 9px; background: #f2f0eb; border-radius: 5px; overflow: hidden; display: block; }
.ah-bars em i { display: block; height: 100%; width: 0; background: #ea4b71; border-radius: 5px; transition: width .9s cubic-bezier(.2,.8,.2,1) .3s; }
.ah-bars em i.c { background: #2b2d42; }
.dash.is-on .ah-bars em i { width: var(--w); }
.ah-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.mk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; flex: 1; min-height: 0; }
.mk-c { display: flex; flex-direction: column; min-height: 0; }
.mk-s { flex: 1; display: flex; align-items: flex-end; gap: 2px; min-height: 0; }
.mk-s i { flex: 1; height: 0; border-radius: 3px 3px 0 0; position: relative; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.dash.is-on .mk-s i { height: var(--h); }
.mk-s i.o { background: #ea4b71; } .mk-s i.b { background: #2b2d42; }
.mk-s i b { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 9.5px; color: var(--text-soft); font-weight: 700; white-space: nowrap; }
.mk-s i.b b { display: none; }
.mk-s i.b:hover b { display: block; }
.mk-c span { text-align: center; font-size: 10.5px; color: var(--mut); margin-top: 3px; white-space: nowrap; }
.at-list { display: grid; gap: 7px; flex: 1; align-content: center; }
.at-r { display: grid; grid-template-columns: 66px 1fr 44px; gap: 6px; align-items: center; font-size: 11.5px; }
.at-k { color: var(--text-soft); white-space: nowrap; }
.at-b { display: grid; gap: 2px; }
.at-b em { height: 7px; background: #f2f0eb; border-radius: 4px; overflow: hidden; display: block; }
.at-b em i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.dash.is-on .at-b em i { width: var(--w); }
.at-b i.l { background: #2b2d42; } .at-b i.t { background: #ea4b71; }
.at-r b { text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; }
.at-r b small { color: #ea4b71; font-size: 10.5px; }
.tp-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; flex: 1; min-height: 0; }
.tp { display: flex; flex-direction: column; gap: 4px; padding: 7px 11px; justify-content: center; border: 1px solid var(--line); border-radius: 9px; color: inherit; background: #fcfbf8; text-decoration: none; }
.tp:hover { border-color: #ea4b71; }
.tp-h { display: flex; justify-content: space-between; font-size: 12.5px; }
.tp-h span { color: var(--mut); font-size: 10.5px; }
.tp-r { display: grid; grid-template-columns: 1fr auto; gap: 1px 6px; font-size: 11px; color: var(--text-soft); align-items: baseline; }
.tp-r .tp-b { grid-column: 1 / -1; grid-row: 2; }
.tp-r .tp-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-b { height: 6px; background: #f0eeea; border-radius: 3px; overflow: hidden; display: block; }
.tp-b i { display: block; height: 100%; width: 0; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.dash.is-on .tp-b i { width: var(--w); }
.tp-b.ok i { background: #14b8a6; } .tp-b.ng i { background: #ea4b71; }
.tp-r em { font-style: normal; font-weight: 800; color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .em-hero { grid-column: 1 / -1; grid-row: auto; }
  .pn-trap { grid-column: 1 / -1; }
  .wf-box { grid-template-columns: repeat(27, 1fr); }
  .pn-mk, .pn-at { min-height: 260px; }
}
@media (max-width: 720px) {
  .ex-grid { grid-template-columns: 1fr; }
  .wf-box { grid-template-columns: repeat(24, 1fr); }
  .tp-list { grid-template-columns: 1fr; grid-template-rows: none; }
}
