:root { --cb-menu-shadow: 0 3px 6px -4px rgb(0 0 0 / .12), 0 6px 16px rgb(0 0 0 / .08), 0 9px 28px 8px rgb(0 0 0 / .05); }
html body select:not([multiple]) {
  appearance: none; height: 36px; min-height: 36px; padding: 0 30px 0 10px;
  border: 1px solid #dededd; border-radius: 5px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23999999' stroke-width='1.2' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 12px;
  color: #1b1c1a; font-size: 14px; font-weight: 400; line-height: 22px; cursor: pointer;
}
html body select:not([multiple]):hover { border-color: #999; }
html body select:not([multiple]):focus-visible, html body select[aria-expanded="true"] { outline: none; border-color: #1b1c1a; box-shadow: 0 0 0 2px rgb(27 28 26 / .06); }
html body select:disabled { color: #999; background-color: #f5f5f5; border-color: #dededd; opacity: 1; cursor: not-allowed; }
.cb-select-menu { position: fixed; inset: auto; box-sizing: border-box; margin: 0; padding: 4px 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 5px; background: #fff; color: #1b1c1a; box-shadow: var(--cb-menu-shadow); font: 400 14px/22px 'PretendardVariable-v1', sans-serif; }
.cb-select-option { display: flex; align-items: center; box-sizing: border-box; min-height: 32px; padding: 5px 12px; gap: 8px; cursor: pointer; white-space: nowrap; }
.cb-select-option > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cb-select-option > svg { flex: none; width: 18px; height: 18px; }
.cb-select-option.is-active { background: #f5f5f5; }
.cb-select-option[aria-selected="true"] { background: #f2f3f2; font-weight: 600; color: #999; }
.cb-select-option[aria-disabled="true"] { color: #bbb; cursor: not-allowed; }
.cb-select-menu::-webkit-scrollbar { width: 6px; }
.cb-select-menu::-webkit-scrollbar-thumb { background: #c9cbca; border-radius: 4px; }
html body :is(#list-status, select[name="status"][aria-label="상태 필터"]) { width: 112px; min-width: 112px; }
html body :is(#list-schedule, select[name="schedule"][aria-label="노출 기간 필터"]) { width: 128px; min-width: 128px; }
html body select[data-field="scheduleRepeat"] { width: 120px; height: 32px; min-height: 32px; }
html body select:is([data-field="showScrollUnit"],[data-field="closeScrollUnit"]) { width: 53px; min-width: 53px; padding-left: 8px; padding-right: 20px; background-position: right 6px center; border-radius: 0 5px 5px 0; }
html body .layer-zoom select { height: 36px; min-height: 36px; }
html body .layer-zoom select[data-layer-view] { width: 144px; }
html body .layer-zoom select[aria-label^="편집 배경"] { width: 144px; }
html body .layer-zoom select[data-layer-surface] { width: 144px; }
html body select[data-layer-field="positionMode"] { width: 62px; padding-right: 21px; background-position: right 6px center; }
html body select[data-layer-field="fontWeight"], html body select[data-layer-field="fontFamily"] { width: 256px; max-width: 100%; }
.layer-inspector-fields .field-row:has([data-layer-field="fontWeight"]) { grid-template-columns: 1fr; }
html body .layer-inspector-fields select:is([data-layer-field="widthMode"],[data-layer-field="heightMode"]) { width: 130px; max-width: 100%; }
html body .layer-inspector-fields select:is([data-layer-field="overflow"],[data-layer-field="layout"],[data-layer-field="shadow"],[data-layer-field="backgroundSize"],[data-layer-field="backgroundAnchor"],[data-layer-field="backgroundType"]) { width: 192px; max-width: 100%; }
html body .layer-area-position select[data-layer-field="positionMode"] { width: 62px; padding-left: 10px; padding-right: 21px; background-position: right 6px center; }
html body select[data-layer-field^="paddingUnit-"] { width: 55px; min-height: 32px; height: 32px; border-radius: 0 5px 5px 0; padding-left: 10px; padding-right: 22px; background-position: right 7px center; }
.layer-padding-unit { display: flex; align-items: center; }
.layer-padding-unit > .field { flex: 1; min-width: 0; }
.layer-padding-unit input { border-radius: 5px 0 0 5px; height: 32px; min-height: 32px; }
.layer-padding-unit > select { flex: none; margin-top: 23px; margin-left: -1px; }
.layer-font-unit { display: flex; align-items: end; width: 256px; max-width: 100%; }
.layer-font-unit > .field:first-child { flex: 1; min-width: 0; }
.layer-font-unit > .field:last-child > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.layer-font-unit > .field:last-child, .layer-font-unit > select { width: 64px; flex: none; }
html body .layer-font-unit select { height: 32px; min-height: 32px; border-radius: 0 5px 5px 0; padding-right: 22px; background-position: right 6px center; }
.layer-font-unit input { min-height: 32px; height: 32px; border-radius: 5px 0 0 5px; }
.layer-exposed-properties { padding: 0; margin: 8px 0; list-style: none; }
.layer-exposed-properties li { display: flex; align-items: center; justify-content: space-between; min-height: 36px; font-size: 14px; }
.layer-exposed-properties .icon-btn { width: 28px; height: 28px; }
html body select.member-role-select { width: 90px; min-height: 32px; height: 32px; }
.source-chart-section { margin-block: 24px; padding: 16px 0; }
.source-chart-section > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.source-chart-section h2 { font-size: 16px; font-weight: 400; margin: 0; }
.source-chart-section > svg { display: block; width: 100%; max-height: 260px; margin-top: 24px; }
.source-chart-empty { min-height: 180px; display: grid; place-items: center; color: #999; font-size: 14px; }
.source-value-result { padding-block: 32px; }
.source-trend-menu { width: 108px; padding: 0; }
.source-value-menu { width: 83px; min-width: 83px; padding: 0; }
.source-chart-menu [role="menuitem"] { min-height: 36px; padding: 0 12px; }
html body select[name="icon"] { color: transparent; background-image: var(--dropdown-option-icon),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23999999' stroke-width='1.2' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E"); background-position: 12px center,right 10px center; background-size: 18px,12px; }
html body select[name="site-attribution"] { width: 80px; }
.field:has(> select[name="site-attribution"]) { display: grid; grid-template-columns: 80px 24px; align-items: center; gap: 5px 8px; }
.field:has(> select[name="site-attribution"]) > span:first-child { grid-column: 1 / -1; }
.site-attribution-suffix { font-size: 14px; font-weight: 400; }
.layer-inspector-fields .field > span:not(.sr-only) { font-size: 14px; font-weight: 400; line-height: 22px; }
.site-attribution-unit { display: flex; align-items: center; gap: 8px; }
.goal-picker-row { display: flex; gap: 8px; align-items: center; }
html body .goal-picker-row select { width: 96px; flex: none; }
.goal-picker-row input { flex: 1; min-width: 80px; }
.goal-kind-fields[hidden], .goal-types[hidden] { display: none; }
.profile-menu { width: 256px; padding: 0; border-radius: 4px; }
.profile-greeting { padding: 16px 12px 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.profile-avatar { display: grid; flex: none; width: 32px; height: 32px; border-radius: 50%; place-items: center; background: #f2f3f2; }
.profile-avatar svg { width: 18px; height: 18px; }
.profile-workspace { margin: 0 8px 8px; border: 1px solid #dededd; border-radius: 4px; }
.profile-menu .profile-workspace > button { width: 100%; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; background: #fff; text-align: left; border-radius: 4px; font-size: 14px; }
.profile-workspace small { margin-left: auto; color: #999; }
.profile-workspace-options { border-top: 1px solid #dededd; padding: 4px; }
.profile-workspace-options[hidden] { display: none; }
.profile-workspace-options > span { display: flex; gap: 8px; align-items: center; min-height: 36px; padding: 0 8px; border-radius: 3px; background: #f2f3f2; }
.profile-menu > :is(button,a), .profile-local-tools > :is(button,a) { min-height: 36px; padding: 0 8px; gap: 8px; }
.profile-local-tools { border-top: 1px solid #dededd; margin-top: 4px; padding: 4px 0; }
.profile-local-tools summary { cursor: pointer; padding: 8px 12px; color: #666; font-size: 12px; }
.site-menu [role="menuitem"][data-action="switch-site"] { min-height: 36px; padding: 0 6px; gap: 8px; }
.site-menu-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f2f3f2; flex: none; position: relative; }
.site-menu-icon svg { width: 14px; height: 14px; }
.site-menu-icon::after { content: ''; position: absolute; right: -1px; bottom: 0; width: 6px; height: 6px; border: 1px solid #fff; background: #397c62; border-radius: 50%; }
.stats-filter-popover { width: var(--stats-menu-width,216px); padding: 0; border: 0; border-radius: 5px; box-shadow: var(--cb-menu-shadow); }
.stats-filter-popover:popover-open { display: block; }
.stats-filter-popover h3 { box-sizing: border-box; display: flex; align-items: center; height: 38px; padding: 9px 8px; margin: 0; border-bottom: 1px solid #ededed; font-size: 12px; font-weight: 400; color: #666; white-space: nowrap; }
.stats-filter-actions { border-top: 1px solid #ededed; padding: 4px 8px; gap: 8px; flex-wrap: nowrap; justify-content: space-between; }
.stats-filter-actions .btn { flex: none; min-height: 33px; height: 33px; padding: 0 16px; font-size: 13px; font-weight: 400; border: 0; background: #fff; color: #1b1c1a; }
.stats-filter-actions .btn-primary { background: #fff; color: #1b1c1a; border: 0; }
.stats-filter-actions .btn:hover { background: #f5f5f5; }
.stats-filter-popover input:is([type="checkbox"],[type="radio"]) { appearance: none; flex: none; width: 15px; height: 15px; margin: 0; border: 1px solid #d9dae4; border-radius: 2px; background: transparent; }
.stats-filter-popover input:is([type="checkbox"],[type="radio"]):checked { border-color: #1b1c1b; background: #1b1c1b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6 2.3 2.3 4.7-4.7' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E") center/12px no-repeat; }
.stats-filter-actions [data-action="stats-filter-close"] { display: none; }
.stats-filter-options, .stats-device-options { padding: 4px 0; margin: 0; border: 0; border-radius: 0; gap: 4px; max-height: 208px; }
.stats-filter-popover label.check { min-height: 36px; margin: 0; padding: 0 12px; gap: 8px; border-radius: 2px; font-size: 14px; font-weight: 400; line-height: 22px; }
.stats-filter-options .check:hover, .stats-device-options .check:hover { background: #f5f5f5; }
.stats-filter-popover .field:has([data-stats-filter-search]) { position: relative; inset: auto; width: auto; height: auto; padding: 8px; margin: 0; }
.stats-filter-popover .field:has([data-stats-filter-search]) > span { display: none; }
.stats-filter-popover .field:has([data-stats-filter-search]) > input { height: 32px; min-height: 32px; padding: 0 4px; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.stats-filter-popover .field:has([data-stats-filter-search]) > input:focus-visible { outline: none; }
.stats-filter-popover [data-stats-option-group] { display: contents; }
.stats-source-group { display: none; }
.stats-filter-options .dashboard-empty { box-sizing: border-box; margin: 0; padding: 16px 12px; min-height: 152px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 400; }
.stats-filter-options .dashboard-empty[hidden] { display: none; }
#stats-attribution-form { --stats-menu-width:279px; }
#stats-attribution-form h3, #stats-attribution-form .stats-filter-actions { display: none; }
.cb-attribution-options { display: flex; flex-direction: column; max-height: 208px; padding: 4px 0; overflow: auto; }
.cb-attribution-options button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 0; background: #fff; text-align: left; font-size: 14px; }
.cb-attribution-options button:hover, .cb-attribution-options button[aria-selected="true"] { background: #f2f3f2; }
#stats-product-form { --stats-menu-width:212px; }
#stats-campaign-form { --stats-menu-width:204px; }
#report-filter-purchase, #report-filter-membership { --stats-menu-width:220px; }
#report-filter-product { --stats-menu-width:192px; }
#report-filter-utm-source, #report-filter-utm-medium { --stats-menu-width:226px; }
#report-filter-utm-campaign, #report-filter-utm-content, #report-filter-utm-term { --stats-menu-width:239px; }
.stats-filter-rail > .btn, .stats-filter-rail > button { height: 36px; min-height: 36px; }
.stats-open-label { flex: none; font-size: 14px; font-weight: 400; }
.stats-open-label + svg { flex: none; width: 12px; height: 12px; margin-left: auto; color: #999; }
.stats-filter-options [data-stats-option]:has(input[value=""]) { display: none; }
.report-device-tabs { margin-bottom: 16px; }
.report-period-modal :is(.stats-compare-switch,.stats-compare-choices,[data-action="stats-period-all"]) { display: none; }
html body .slide-time-unit, html body .layer-time-unit { width: 59px; min-width: 59px; height: 32px; min-height: 32px; border-radius: 0 5px 5px 0; padding-left: 10px; padding-right: 20px; background-position: right 5px center; }
.layer-field-unit:has(.layer-time-unit) { display: flex; }
.layer-field-unit:has(.layer-time-unit) input { min-width: 0; padding: 5px 8px; border-radius: 5px 0 0 5px; }
.action-popover.stats-outcome-menu { width: 192px; padding: 8px 0; }
.action-popover.stats-outcome-menu [role="menuitem"] { min-height: 36px; padding: 0 12px; }
.action-popover.attribution-menu { width: 279px; max-height: 208px; padding: 4px 0; }
.action-popover.attribution-menu [role="menuitem"] { min-height: 36px; padding: 0 12px; }
.condition-page-popover { box-sizing: border-box; width: 256px; height: 118px; padding: 4px 0; border: 0; border-radius: 5px; box-shadow: var(--cb-menu-shadow); }
.condition-page-popover > p { box-sizing: border-box; font-size: 12px; padding: 8px; margin: 0; height: 38px; min-height: 38px; color: #666; }
.condition-page-popover .btn { height: 36px; min-height: 36px; padding: 0 12px; font-size: 14px; font-weight: 400; }
html body select[data-rule-field="effect"] { width: 80px; min-width: 80px; max-width: 80px; flex: 0 0 80px; }
.document-menu { border-radius: 5px; box-shadow: var(--cb-menu-shadow); }
@media(max-width:600px) { .goal-picker-row { flex-wrap: wrap; } .goal-picker-row input { flex-basis: 100%; } }
