/* 원본과 다시 측정한 프로필·소식·피드백의 간격과 조작 상태 */
.main:has(.local-profile) { padding-top: 0; }
.local-profile .profile-tabs { margin-bottom: 24px; }
.profile-avatar-picker { width: 88px; height: 88px; padding: 1px; }
.profile-avatar-picker > span { inset: 1px; }
.profile-identity { margin-bottom: 11px; }
.profile-phone :is(input, select, button) { min-height: 36px; }
.profile-preferences { margin-top: 49px; }
.profile-preference small { margin-top: 8px; line-height: 24px; }
.profile-security { position: relative; margin-top: 49px; margin-bottom: 24px; padding-top: 0; border-top: 0; min-height: 60px; }
.profile-security::before { content: ''; position: absolute; top: -25px; width: 100%; border-top: 1px solid #eee; }
.profile-password-modal .modal-head { height: 52px; min-height: 52px; }
.profile-password-modal .modal-head h2 { line-height: 20px; }
.profile-password-modal .modal-head .icon-btn { width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; }
.profile-password-modal .modal-body { gap: 0; }
.profile-password-fields { gap: 24px; }
.profile-password-fields label { line-height: 22px; }
.profile-password-fields input { min-height: 36px; height: 36px; }
.profile-password-modal .modal-actions { justify-content: flex-end; }
.profile-password-modal .modal-actions button { width: 96px; min-height: 36px; height: 36px; padding: 0 16px; }
.dashboard-news-head { position: relative; height: 49px; min-height: 49px; padding: 6px 8px; justify-content: center; }
.dashboard-news-head button { position: absolute; left: 8px; width: 36px; height: 36px; padding: 8px; border-radius: 8px; }
.dashboard-news-item { padding: 16px 0; border: 0; box-shadow: inset 0 -1px #eee; }
.dashboard-news-item h3 { margin: 0; line-height: 22px; }
.dashboard-news-item p { height: 32px; margin: 2px 0 8px; line-height: 16px; font-weight: 420; }
.dashboard-news-item small { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 6px; font-size: 12px; line-height: 20px; }
.dashboard-news-footer { display: flex; align-items: center; justify-content: space-between; flex: none; height: 33px; padding: 2px 16px; border-top: 1px solid #eee; }
.dashboard-news-footer > span { color: #6b7589; font-size: 12px; font-weight: 500; }
.dashboard-news-footer .dashboard-news-all { height: 28px; border: 0; padding: 0; }
.dashboard-trend .dashboard-period-value { line-height: 36px; margin: 24px 0 8px; }
.dashboard-trend:has(.dashboard-visitor-summary,.dashboard-page-summary) .dashboard-period-value { margin-bottom: 0; }
.dashboard-visitor-summary { margin: 0 0 8px; font-size: 14px; line-height: 24px; }
.dashboard-visitor-summary > span { display: block; margin-top: 4px; font-size: 14px; line-height: 22px; }
.dashboard-page-summary { margin: 4px 0 8px; font-size: 14px; line-height: 22px; color: #727772; }
.dashboard-trend #dashboard-chart { padding: 0; display: block; }
.dashboard-trend .dashboard-chart { display: block; position: relative; }
.dashboard-trend .chart-surface { height: 100%; max-height: none; aspect-ratio: auto; }
.dashboard-trend .chart-plot { max-height: none; }
.dashboard-trend .chart-legend { position: absolute; left: -10px; bottom: 10px; width: calc(100% + 10px); padding-top: 24px; min-height: 46px; }
.dashboard-trend .chart-legend.visitor-periods { align-items: flex-start; gap: 0; flex-wrap: nowrap; }
.dashboard-visitor-legend { display: flex; flex-wrap: wrap; flex: 1; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 22px; }
.dashboard-visitor-legend::before { display: none; }
.dashboard-visitor-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.dashboard-visitor-legend i { display: inline-block; width: 10px; height: 10px; }
.dashboard-trend .chart-legend strong { font-size: 14px; font-weight: 600; color: #222b45; }
.chart-period-divider { flex: none; width: 1px; height: 22px; margin: 0 16px; border-left: 1px solid #e9e9e9; }
.visitor-periods .chart-period-divider { margin-inline: 32px; }
.feedback-roadmap { grid-template-columns: repeat(3,minmax(0,1fr)); }
#feedback-editor { position: fixed; width: min(512px,calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border-radius: 16px; }
#feedback-editor #feedback-form { display: block; }
#feedback-editor .feedback-editor-heading { height: 24px; margin-bottom: 12px; }
#feedback-editor .feedback-editor-heading button { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; }
#feedback-editor #feedback-form > label { display: grid; gap: 4px; height: 56px; margin-bottom: 12px; font-size: 12px; line-height: 16px; }
#feedback-editor #feedback-form > label:nth-of-type(2) { margin-bottom: 16px; }
#feedback-description-label { font-size: 12px; line-height: 16px; height: 16px; margin-bottom: 4px; }
.feedback-rich-field { height: auto; min-height: 96px; display: flex; flex-direction: column; margin: 0 0 16px; overflow: visible; }
#feedback-rich-editor { flex: 1; min-height: 44px; max-height: 180px; padding: 8px 12px; font-size: 16px; line-height: 28px; }
.feedback-rich-field:focus-within { height: auto; min-height: 96px; }
.feedback-toolbar { flex: none; height: 50px; min-height: 50px; padding: 8px 10px; border: 0; flex-wrap: nowrap; gap: 2px; }
#feedback-editor .feedback-toolbar button { width: 32px; height: 32px; padding: 6px; flex-shrink: 0; }
#feedback-editor .feedback-toolbar [aria-pressed=true] { background: #edf0f4; color: #1b1c1b; }
.feedback-toolbar svg { width: 20px; height: 20px; }
.feedback-editor-author { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; }
#feedback-editor .feedback-editor-author label { gap: 4px; font-size: 12px; line-height: 16px; }
#feedback-editor #feedback-form > .hint { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
#feedback-editor .actions { margin: 0; }
#feedback-editor .actions > button[type=submit]:first-child { width: 109px; height: 36px; background: var(--brand-lemon); color: #000; border: 0; }
#feedback-editor :is([contenteditable],.feedback-rich-body) h2 { font-size: 22px; line-height: 30px; }
#feedback-rich-editor pre,.feedback-rich-body pre { padding: 12px; background: #f3f4f6; border-radius: 6px; white-space: pre-wrap; }
#feedback-rich-editor code,.feedback-rich-body code { font-family: Consolas,monospace; font-size: .9em; background: #f3f4f6; padding: 1px 4px; border-radius: 3px; }
.feedback-tool-dialog { width: min(320px,calc(100vw - 32px)); padding: 16px; border: 0; border-radius: 12px; color: #111827; box-shadow: 0 8px 32px #0002; }
.feedback-tool-dialog::backdrop { background: #0001; }
.feedback-tool-dialog input { width: 100%; height: 36px; min-height: 36px; padding: 6px 12px; margin: 0 0 12px; border-radius: 8px; font-size: 14px; }
.feedback-tool-actions { display: flex; gap: 8px; justify-content: flex-end; }
.feedback-tool-actions button,.feedback-file-picker { min-height: 32px; padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; font-size: 14px; }
.feedback-tool-actions [data-tool-apply] { color: #1b1c1b; border: 0; background: var(--brand-lemon); }
.feedback-image-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid #eee; }
.feedback-image-tabs button { width: 50%; height: 36px; border: 0; background: transparent; font-size: 14px; }
.feedback-image-tabs [aria-selected=true] { border-bottom: 2px solid #1b1c1b; }
.feedback-file-picker { display: block; width: 100%; margin-bottom: 12px; }
#feedback-selected-file { display: block; overflow-wrap: anywhere; margin: 0 0 12px; font-size: 12px; color: #6b7589; }
@media (max-width: 480px) {
 .feedback-toolbar { flex-wrap: wrap; height: auto; }
 .feedback-rich-field { min-height: 128px; height: auto; }
 #feedback-editor { padding: 20px; }
}
@media (max-width: 480px) {
 .profile-preferences { margin-top: 32px; }
 .profile-security { margin-top: 40px; }
}

@font-face { font-family: FeedbackInter; src: url('fonts/InterVariable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: FeedbackInter; src: url('fonts/InterVariable-Italic.woff2') format('woff2'); font-style: italic; font-weight: 100 900; font-display: swap; }
.feedback-page { font-family: FeedbackInter,Arial,system-ui,ui-sans-serif,-apple-system; }
.feedback-header { height: 57px; }
.feedback-layout { margin-top: 70px; }
@media (min-width: 741px) {
 .shell[data-page] { --sidebar-width: 224px; }
 .shell[data-page=dashboard],.shell:has(.local-profile) { --sidebar-width: 224px; min-width: 1280px; }
 .shell[data-page] .sidebar { padding-inline: 12px; border-inline-end: 0; box-shadow: inset -1px 0 var(--nav-line); }
 .dashboard-grid:has(.dashboard-trend) { grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 24px; }
 .profile-columns { grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); }
}
@media (max-width:740px) { .feedback-layout { margin-top: 32px; } }

.feedback-board-picker { position: relative; }
#feedback-board-trigger { height: 36px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 14px; }
#feedback-board-trigger:hover,#feedback-board-trigger[aria-expanded=true] { background: #f3f4f6; }
#feedback-board-trigger span { margin-left: 4px; color: #6b7589; }
#feedback-board-menu { position: fixed; inset: auto; margin: 0; width: 200px; padding: 4px; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 6px 16px #0001; background: white; }
#feedback-board-menu a { display: block; padding: 8px 12px; border-radius: 4px; }
#feedback-board-menu a:hover,#feedback-board-menu a:focus-visible { background: #f3f4f6; }
@media(min-width:741px) { .main:has(.local-profile) { padding-right: 28px; } }

.feedback-header nav { align-items: center; }
.feedback-controls > button { background: var(--brand-lemon); color: #000; }
.feedback-page :is(input,select,button,textarea) { font-family: inherit; }
#feedback-editor input:focus-visible { outline: 0; border-color: #9ba5b9; box-shadow: none; }
#feedback-editor::backdrop { background: #0006; }
.feedback-board-icon { display: inline-block; font-size: .8em; margin-right: 12px; vertical-align: middle; }

#feedback-editor { box-shadow: 16px 40px 72px #19213f1a,0 4px 24px #19213f1a; }

@media(min-width:741px) {
 .dashboard-grid:has(.dashboard-trend) { display: flex; gap: 24px; }
 .dashboard-grid:has(.dashboard-trend) > .dashboard-trend { flex: 3 1 588px; min-width: 588px; }
 .dashboard-grid:has(.dashboard-trend) > .dashboard-insights { flex: 2 1 397px; min-width: 397px; max-width: 500px; }
 .dashboard-feedback { height: auto; min-height: 0; aspect-ratio: 1 / .272; flex-shrink: 0; }
}
@media(min-width:1280px) { .dashboard-grid:has(.dashboard-trend) { gap: 32px; } }
.dashboard-banner-controls { width: 45px; min-height: 25px; right: 12px; bottom: 12px; padding: 2px 5px; justify-content: center; background: #0006; font: 14px/21px FeedbackInter,sans-serif; letter-spacing: .1em; }
.dashboard-banner-controls button:not(:focus-visible) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.dashboard-banner-controls:has(button:focus-visible) { width: auto; }

.feedback-tool-dialog[data-tool=link] { position: fixed; inset: auto; margin: 0; width: 240px; padding: 8px; border-radius: 8px; box-shadow: 0 4px 24px #19213f1a; }
.feedback-tool-dialog[data-tool=link]::backdrop { background: transparent; }
.feedback-tool-dialog[data-tool=link] input { margin: 0 0 8px; }
.feedback-tool-dialog[data-tool=link] [data-tool-apply] { background: #1b1c1b; color: white; }
.feedback-tool-dialog[data-tool=image] { width: min(800px,calc(100vw - 32px)); padding: 24px 12px; max-height: calc(100dvh - 48px); overflow: auto; border-radius: 16px; box-shadow: 16px 40px 72px #19213f1a,0 4px 24px #19213f1a; }
.feedback-tool-dialog[data-tool=image]::backdrop { background: #0006; }
.feedback-tool-dialog[data-tool=image] .feedback-image-tabs { height: 43px; padding: 0 4px; margin: 0; border: 0; gap: 8px; }
.feedback-tool-dialog[data-tool=image] .feedback-image-tabs button { width: auto; height: 43px; padding: 12px 12px 10px; line-height: 19px; }
.feedback-tool-dialog[data-tool=image] .feedback-image-tabs [aria-selected=true] { border-color: var(--brand-lemon); }
.feedback-tool-dialog [data-image-pane=upload] { padding: 16px 0 0; margin-bottom: 8px; }
.feedback-file-drop { height: 240px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px dashed var(--brand-lemon); border-radius: 16px; }
.feedback-file-drop .feedback-file-picker { position: relative; width: auto; margin: 0; color: white; background: #1b1c1b; height: 36px; border: 0; }
.feedback-file-drop img { position: absolute; width: 100%; height: 100%; object-fit: contain; opacity: .55; }
.feedback-file-drop #feedback-selected-file { position: absolute; bottom: 8px; margin: 0; background: white; color: #111827; padding: 2px 8px; max-width: 100%; }
.feedback-file-drop #feedback-selected-file:empty { display: none; }
.feedback-tool-dialog [data-image-pane=url] { padding-top: 8px; margin-bottom: 8px; }
.feedback-tool-dialog[data-tool=image] input { margin: 0; }
.feedback-tool-dialog[data-tool=image] .feedback-tool-actions { margin-top: 8px; }
.feedback-tool-dialog[data-tool=image] [data-tool-apply] { background: #1b1c1b; color: white; }
.feedback-tool-dialog[data-image-mode=url] [data-tool-close] { display: none; }
.feedback-tool-dialog[data-image-mode=url] [data-tool-apply] { height: 36px; }

.feedback-tool-actions button { height: 32px; padding: 5px 12px; line-height: 20px; }

.feedback-tool-dialog input:focus-visible { outline: 0; border-color: #9ba5b9; box-shadow: none; }
.feedback-image-tabs button:focus-visible { outline-color: #9ba5b9; }

.feedback-unlink-mark { display: none; }
.is-link .feedback-unlink-mark { display: block; }
.dashboard-chart-tooltip { width: max-content; min-width: 0; max-width: calc(100% - 16px); padding: 8px; border-radius: 2px; background: rgba(0,0,0,.88); opacity: .9; color: #fafafa; box-shadow: none; transition: left 400ms,top 400ms; }
.dashboard-chart-tooltip .chart-tip-current { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-bottom: 4px; border-bottom: 1px solid #dcdcdc; }
.dashboard-chart-tooltip .chart-tip-prior { display: flex; flex-direction: column; align-items: flex-end; padding-top: 7px; color: inherit; }
.dashboard-chart-tooltip .chart-tip-period { display: flex; align-items: center; width: 100%; color: #989e96; font-size: 13px; line-height: 18px; white-space: nowrap; }
.dashboard-chart-tooltip .chart-tip-period > i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin: 0 5px; background: var(--brand-lemon); }
.dashboard-chart-tooltip .chart-tip-prior .chart-tip-period > i { background: #dcdcdc; }
.dashboard-chart-tooltip .chart-tip-period > span { margin-left: 4px; }
.dashboard-chart-tooltip strong { color: #fafafa; font-size: 14px; font-weight: 600; line-height: 22px; text-align: right; margin: 0; }
@media(prefers-reduced-motion:reduce) { .dashboard-chart-tooltip { transition: none; } }

.dashboard-feedback { touch-action: pan-y; user-select: none; }
.dashboard-banner-track { display: flex; width: 100%; height: 100%; }
.dashboard-banner-track > .dashboard-banner-link { flex: 0 0 100%; min-width: 0; }
.dashboard-banner-track [data-banner-card=feedback] { background: center/cover no-repeat url('reference-assets/dashboard-feedback-bg.jpg'); }
.dashboard-banner-track [data-banner-card=proposal] { background: center/cover no-repeat url('reference-assets/dashboard-proposal-bg.jpg'); }
.dashboard-banner-track [data-banner-card=proposal] h3 { font-size: clamp(19px,5.85cqw,26px); line-height: 1; }
.dashboard-banner-track [data-banner-card=feedback] h3 { font-size: clamp(20px,6.3cqw,28px); line-height: 1.3; }
.dashboard-banner-target { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.dashboard-feedback.is-dragging .dashboard-banner-target { cursor: grabbing; }
.dashboard-banner-controls { z-index: 2; }

.dashboard-chart-tooltip { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* 시험 이미지의 실제 삽입 상태를 원본과 재측정해 보정한다. */
.feedback-rich-field { border: 0; box-shadow: inset 0 0 0 1px #d9dae4; }
#feedback-rich-editor { min-height: 52px; max-height: 340px; }
.feedback-toolbar { height: 44px; min-height: 44px; padding: 6px 6px 6px 10px; }
#feedback-rich-editor img,.feedback-rich-body img { display: block; width: 100%; height: auto; max-height: 1000px; border-radius: 12px; object-fit: cover; }
.feedback-file-drop.has-image { border: 0; }
.feedback-file-drop.has-image img { opacity: 1; object-fit: cover; }
.feedback-file-drop.has-image .feedback-file-picker { position: absolute; top: auto; bottom: 8px; left: 8px; width: auto; height: 32px; min-height: 32px; padding: 5px 12px; opacity: 0; pointer-events: none; z-index: 2; }
.feedback-file-drop.has-image::after { content: ''; position: absolute; inset: auto 0 0; height: 48px; background: linear-gradient(to top,#fff8,#fff1); opacity: 0; pointer-events: none; }
.feedback-file-drop.has-image:is(:hover,:focus-within) .feedback-file-picker { opacity: 1; pointer-events: auto; }
.feedback-file-drop.has-image:is(:hover,:focus-within)::after { opacity: 1; }
.feedback-file-drop #feedback-selected-file { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }

@media(max-width:480px) { .feedback-toolbar { height: auto; min-height: 44px; flex-wrap: wrap; } }
.editor-grid .zoom-control > button {
  display:inline-flex !important; align-items:center; justify-content:center;
  width:24px; min-width:24px; height:24px; min-height:24px; padding:0;
}
.placement-control-block {padding:16px 0;display:grid;gap:10px;}
.placement-control-block .placement-adjustment {display:grid;grid-template-columns:minmax(100px,1fr) 150px;align-items:center;gap:12px;}
.placement-unit {display:grid;grid-template-columns:88px 54px;gap:8px;}
.placement-unit .field {gap:0;min-width:0;}
.placement-unit .field > span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.placement-unit input,.placement-unit select {height:34px;min-height:34px;}
.placement-controls > section:first-child {grid-template-columns:1fr 1fr;align-items:center;}
.placement-controls > section:first-child h3,.placement-controls > section:first-child .checks {grid-column:1/-1;}
.placement-controls .checks {display:flex;flex-wrap:wrap;gap:12px;}
.placement-controls .field {margin:0;}
.editor-workspace > .group-material-grid:has(.material-rules-panel) {grid-template-columns:430px minmax(0,1fr);}
.group-material-grid:has(.material-rules-panel) > .editor-preview {display:none;}
.group-material-grid:has(.material-rules-panel) .editor-panel {overflow:visible;}
.group-material-grid:has(.material-rules-panel) #editor-form {position:static;}
.material-rules-panel {position:absolute;left:510px;top:70px;bottom:0;right:0;padding:24px 32px;overflow:auto;background:#fff;border-left:1px solid var(--line);z-index:2;}
.material-rules-panel .condition-editor {width:100%;}
.layer-inspector-fields:has(.layer-page-width) {gap:12px;}
.layer-page-width,.layer-page-maximum {align-items:center;gap:8px;}
.layer-page-width input,.layer-page-maximum input {height:34px;min-height:34px;}
.editor-feedback-link {margin-left:auto;margin-right:16px;font-size:13px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand-lemon);}
.sidebar-brand-link {display:flex;align-items:center;}
.sidebar-brand-link img {width:84px;height:auto;}
.sidebar .sidebar-footer .brand-logo {width:84px;max-width:84px;height:auto;object-fit:contain;}
@media (min-width: 741px) { .sidebar .site-trigger { min-height: 47px; } }
.sidebar nav > .nav-item {margin-bottom:2px;}
.sidebar .nav-sub .nav-item {min-height:38px;}
.top-actions [data-action="workspace-news"] {width:36px;height:36px;min-height:36px;padding:8px;}
.dashboard-pulse-link {padding:0;border:0;background:none;font-size:14px;}
.dashboard-pulse-period {font-size:12px;}
.dashboard-revenue-setup {transform:translateY(-39px);gap:16px;}
.dashboard-revenue-setup p {margin:0;}
.dashboard-revenue-setup .btn {height:36px;min-height:36px;}
.dashboard-revenue-setup [data-dash="support"] {height:30px;min-height:30px;}
.dashboard-panel-head .metric-switch > button {min-width:76px;text-align:center;padding:8px 12px;font-size:14px;}
.dashboard-breakdown-action .btn {height:36px;min-height:36px;padding:0 16px;}
.journey-signup .btn,.journey-step .btn {height:35px;min-height:35px;padding:0 16px;white-space:nowrap;}
.local-funnel {min-height:236px;}
.journey-step {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;}
.journey-step .btn {margin-top:auto;}
.dashboard-goals .dashboard-empty {align-items:flex-start;padding:32px;gap:8px;}
.dashboard-goals .dashboard-empty > .btn {align-self:flex-end;z-index:1;height:36px;padding:0 16px;background:var(--ink);color:white;border:0;}
.dashboard-goal-banner {height:100%;opacity:1;object-fit:cover;}
.dashboard-goals .dashboard-empty p,.dashboard-goals .dashboard-empty {color:var(--ink);}
.dashboard-top {display:block;border:0;}
.dashboard-top .dashboard-section-head {padding:0;margin-bottom:20px;}
.dashboard-top .ranking-controls {display:flex;justify-content:flex-start;margin-bottom:16px;gap:16px;}
.dashboard-top .ranking-controls .check {margin-left:auto;}
.dashboard-top .category-filter {margin:0;}
.dashboard-top .category-filter button {min-height:36px;height:36px;padding:0 16px;}
.dashboard-top .ranking-controls > .btn {height:36px;padding:0 12px;}
.compact-switch {appearance:none;width:36px;height:20px;background:#bfc1bf;border-radius:20px;position:relative;vertical-align:middle;cursor:pointer;}
.compact-switch:checked {background:var(--ink);}
.compact-switch::after {content:"";position:absolute;width:14px;height:14px;top:3px;left:3px;background:#fff;border-radius:50%;transition:transform .15s;}
.compact-switch:checked::after {transform:translateX(16px);}
.dashboard-top .reference-campaign-table th:last-child,.dashboard-top .reference-campaign-table td:last-child {width:72px;text-align:center;}
.reference-recipes h3 {line-height:22px;margin:12px 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.reference-recipes p {line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.dashboard-news-menu {left:auto !important;right:24px !important;}
.goal-code {position:relative;padding-right:0;}
.goal-code textarea {overflow:auto;white-space:pre;resize:none;scrollbar-width:thin;}
.goal-code [data-action*="copy"] {position:relative;justify-self:end;}
.profile-local-tools {border-top:1px solid var(--line);margin-top:8px;padding-top:8px;}
.site-settings-actions {padding:24px 0;justify-content:flex-start;}
.site-ip-rules {gap:12px;}
.site-settings-actions .btn {height:33px;min-height:33px;}
.section-with-action > .btn {min-height:33px;height:33px;padding:0 16px;font-size:13px;}
.profile-integrations .btn {min-height:33px;padding:0 16px;}
.group-calendar-live .btn {height:48px !important;min-height:48px !important;width:166.625px;}
.report-device-tabs .btn {height:36px;min-height:36px;padding:0 16px;font-size:14px;}
.reference-site-table input {height:34px;min-height:34px;width:100%;min-width:100px;}
.reference-site-table td {vertical-align:middle;}
.reference-site-table .actions {flex-wrap:nowrap;}
@media(max-width:740px) {
  .material-rules-panel {left:80px;top:70px;padding:20px;z-index:5;}
  .dashboard-news-menu {right:8px !important;}
  .editor-feedback-link {display:none;}
  .dashboard-top .ranking-controls {flex-wrap:wrap;}
  .placement-control-block .placement-adjustment {grid-template-columns:1fr;}
  .local-funnel {min-height:0;}
}

.stats-primary-filters {display:flex;align-items:center;gap:8px;margin-bottom:16px;flex-wrap:wrap;}
.stats-primary-filters > .analytics-download {margin-left:auto;}
.stats-filter-rail {margin-bottom:16px;}
.stats-primary-filters .btn {height:33px;min-height:33px;font-size:13px;}
.main:has(.report-device-tabs) > .page-head {min-height:32px;height:32px;margin-bottom:8px;}
.report-device-tabs {margin:0 0 16px;}
.local-report-filters {padding:0;border:0;gap:12px;}
.local-report-filters .local-report-toolbar {margin:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.local-report-toolbar [data-action="site-report-export-menu"] {margin-left:auto;}
.local-report-toolbar > .field:has([name="sourceDimension"]) {display:none;}
.sidebar-documents > summary {padding:10px 12px;font-size:14px;cursor:pointer;}
.sidebar-documents > .nav-item {padding-left:36px;}
.assistant-welcome {min-height:0;max-width:772px;margin:100px auto 0;}
.assistant-task-cards {gap:12px;}
.assistant-task-cards button {min-height:57px;height:57px;padding:8px 16px;gap:3px;justify-content:center;}
.assistant-task-cards span {line-height:16px;}
.assistant-compose {margin-top:24px;}
.reference-site-settings .site-settings-actions {margin-top:24px;}
.main:has(.campaign-list-toolbar) .page-head {margin-bottom:24px;}
.campaign-list-toolbar input[type="search"] {width:280px;}
.group-detail .group-calendar-toolbar {min-height:48px;gap:16px;}
.main:has(.reference-site-table) > .section-with-action {min-height:33px;margin-bottom:24px;}
.main:has(.reference-site-table) [data-action="site-add"] {width:115.453px;height:33px;}
@media(max-width:740px) {
  .assistant-welcome {margin:24px 16px 0;}
  .assistant-task-cards button {height:auto;min-height:57px;}
  .stats-primary-filters .analytics-download {margin-left:0;}
}

#document-dialog.form-share-dialog {width:min(416px,calc(100vw - 32px));min-height:240px;}
#document-dialog.form-share-link-dialog {width:min(420px,calc(100vw - 32px));min-height:375px;}
.form-share-choices {display:grid;gap:12px;padding:24px 0;}
.form-share-choices button {display:flex;width:100%;justify-content:space-between;height:44px;padding:0 16px;}
.form-share-choices button::after {content:"→";}
.form-share-dialog .share-qr {display:grid;place-items:center;}
.form-share-dialog canvas {width:160px;height:160px;}
.form-share-dialog textarea {width:100%;min-height:100px;font:12px/1.5 monospace;}

.schedule-modal .schedule-grid-wrap {max-height:none;overflow:visible;}
.schedule-occasion {width:max-content;max-width:100%;}
.schedule-grid [data-today="true"] {background:transparent;}
.schedule-grid .schedule-cell.is-today {background:transparent;}
.group-calendar-live .group-calendar-live-heading {width:auto;height:32px !important;min-height:32px !important;}

.top-actions [data-dash="news"] {width:32px;height:36px;min-height:36px;padding:6px;border:0;box-shadow:none;background:transparent;}
.dashboard-pulse-link {height:36px;min-height:36px;}
.dashboard-pulse-link::after {content:"›";margin-left:6px;}
.dashboard-pulse-period [data-action="dashboard-refresh"] {width:16px;height:16px;min-width:16px;min-height:16px;padding:0;border:0;}
.dashboard-panel-head .metric-switch > button {width:77px;min-width:77px;height:28px;min-height:28px;padding:0 8px;}
.dashboard-breakdown-action .btn {width:95.8px;}
.dashboard-journey .local-funnel {align-items:stretch;}
.journey-signup {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}
.journey-signup > .btn {margin-top:auto;}
.local-funnel :is(.journey-signup,.journey-step) {padding:20px 0;}
.local-funnel [data-action="goal-open"] {width:124.1px;max-width:100%;height:36px;min-height:36px;padding:0 8px;}
.dashboard-editorial > .metric-switch .btn {height:36px;min-height:36px;width:56.2px;padding:0 12px;}
.profile-menu [data-action="workspace-sites"] {margin-top:8px;}
.profile-menu [data-action="workspace-sites"] + button {margin-top:17px;}
.profile-menu .action-menu-item {width:254px;max-width:100%;height:36px;}
.profile-integrations section .btn,.profile-integrations section button {width:86.9px;height:33px;min-height:33px;}
.profile-integrations section {padding-block:16px;}
.reference-site-settings [data-action="site-ip-add"] {width:106.4px;min-height:33px;height:33px;margin-top:12px;}
.reference-site-settings .site-setting-row {padding-block:16px;}


.reference-site-settings [data-action="site-ip-add"] {margin-left:0;}
.main:has(.team-navigation) > .section-with-action {margin-top:-16px;}
.main:has(.team-navigation) [data-action="site-member-open"] {height:33px;min-height:33px;padding:0 16px;}
.group-detail .group-calendar-toolbar {margin-top:58.5px;}
.group-detail [data-action="area-calendar-today"] {min-width:72.3px;}
@media(max-width:740px) {
  .reference-site-settings .site-ip-rules {transform:none;width:100%;}
  .reference-site-settings .site-ip-rule-list {padding-left:0;}
  .local-funnel [data-action="goal-open"] {width:auto;}
  .main:has(.team-navigation) > .section-with-action {margin-top:0;}
}

.material-rules-panel {padding-left:32px;padding-right:32px;padding-top:24px;}
.material-rules-panel .condition-tips h3 {height:34px;line-height:34px;margin:0 0 16px;}
.material-rules-panel .condition-tip-notice {min-height:82px;}
.condition-empty-notice {padding:16px;border:1px solid var(--line);border-radius:4px;margin:16px 0;font-size:13px;}
.condition-empty-notice p {margin:8px 0 0;color:var(--muted);}
.material-rules-panel .condition-empty-group {min-height:70px;display:flex;justify-content:flex-end;align-items:center;padding:16px 40px 16px 16px;}
.material-rules-panel .condition-footer {display:flex;justify-content:flex-end;margin-top:16px;}
.material-rules-panel [data-action="condition-select"] {height:36px;min-height:36px;min-width:109.9px;padding:0 16px;}
.reference-site-settings .site-setting-row:has(.site-ip-rules) {grid-template-columns:1fr;gap:12px;}
.reference-site-settings .site-ip-rules {width:680px;max-width:100%;margin-left:17px;}
.layer-inspector-fields:has(.layer-page-width) > .layer-field {display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:8px;}
.layer-workbench > .layer-guide {position:absolute;right:24px;bottom:16px;font-size:12px;z-index:2;}
.profile-integrations section > button {width:86.9px;}
#dashboard-floating {right:38px;bottom:39px;gap:16px;}
#dashboard-floating button {width:56px;height:56px;}
@media(max-width:740px){
 .reference-site-settings .site-ip-rules {width:100%;margin-left:0;}
 #dashboard-floating {right:16px;}
 .material-rules-panel .condition-empty-group {padding-right:16px;}
}

.dashboard-journey .local-funnel {min-height:197px;}
.dashboard-goals .dashboard-empty {min-height:180px;}
.dashboard-goals .dashboard-empty > .btn {width:144.2px;}
.dashboard-top {margin-top:-6px;}
#topbar [data-dash="news"] {width:32px;height:36px;min-height:36px;border:0;box-shadow:none;}
@media(max-width:740px){
 .dashboard-journey .local-funnel {min-height:0;}
 .dashboard-top {margin-top:0;}
}

.dashboard-revenue-setup {transform:translateY(-43px);}
.dashboard-revenue-setup .btn-primary {width:196.1px;}
.dashboard-goals .dashboard-empty > .btn {position:relative;left:1px;top:-10px;}
.main:has(.team-navigation) [data-action="site-member-open"]:not([data-member]) {width:110.2px;}

.goal-code .goal-code-box {display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:0;background:#1b1c1b;color:white;border-radius:4px;overflow:hidden;}
.goal-modal .goal-code-box textarea {width:100%;height:48px;min-height:48px;margin:0;padding:14px 12px;border:0;background:transparent;color:white;line-height:20px;overflow-y:hidden;overflow-x:auto;}
.goal-code .goal-code-box [data-action="goal-copy"] {position:static;width:40px;height:48px;min-height:48px;margin:0;border:0;border-radius:0;background:transparent;color:white;}
.campaign-list-head>.editor-feedback-link{flex-shrink:0;margin-right:0;align-self:center}
.campaign-list-help{display:flex;justify-content:center;margin-top:40px;font-size:14px;line-height:22px}
.campaign-list-help a{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none}
.campaign-list-help a>span:last-child{display:flex;align-items:center;gap:8px;padding:0 16px;color:var(--muted)}
.campaign-list-help a:hover>span:last-child{text-decoration:underline}
.goal-modal #goal-path-error{margin-top:0;grid-column:auto}
