:root {
  --ink: #16233a;
  --muted: #6d7890;
  --line: #e5eaf2;
  --canvas: #f5f7fb;
  --panel: #fff;
  --nav: #101a31;
  --nav-2: #182644;
  --brand: #4d68f6;
  --brand-dark: #354fd8;
  --brand-soft: #eef1ff;
  --success: #117c60;
  --success-soft: #e7f7f1;
  --warning: #ac6b08;
  --warning-soft: #fff5dc;
  --danger: #c73a4a;
  --danger-soft: #ffeaed;
  --shadow: 0 12px 32px rgba(25, 45, 85, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  width: 258px; flex: 0 0 258px; min-height: 100vh; position: sticky; top: 0;
  display: flex; flex-direction: column; padding: 18px 12px 13px; color: #dbe5fb;
  background: radial-gradient(110% 50% at 10% -10%, #304981 0%, transparent 54%), linear-gradient(180deg, #111d38 0%, #0d1730 100%);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 7px 9px 22px; color: #fff; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(140deg,#8296ff,#4d68f6); font-weight: 800; font-size: 19px; box-shadow: 0 8px 18px rgba(77,104,246,.35); }
.brand strong { display: block; font-size: 16px; letter-spacing: .2px; }
.brand small { display: block; color: #9babca; font-size: 11px; margin-top: 2px; }
.nav-list { min-width: 0; display: flex; flex-direction: column; }
.nav-list-main { flex: 1 1 auto; min-height: 0; gap: 17px; overflow-y: auto; padding: 4px 3px 14px; scrollbar-width: thin; scrollbar-color: rgba(156,174,218,.28) transparent; }
.nav-list-main::-webkit-scrollbar { width: 5px; }
.nav-list-main::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(156,174,218,.28); }
.nav-section { display: grid; gap: 6px; }
.nav-group-label { margin: 0; padding: 0 9px 2px; color: #8393b7; font-size: 10px; font-weight: 750; letter-spacing: .12em; line-height: 1.2; }
.nav-links { display: grid; gap: 3px; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 42px; border: 1px solid transparent; border-radius: 10px; padding: 10px 11px; color: #b9c7e2; font-size: 13px; font-weight: 620; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.nav-link:hover { color:#fff; border-color: rgba(180,195,242,.13); background: rgba(255,255,255,.075); transform: translateX(1px); }
.nav-link.active { color:#fff; border-color: rgba(151,170,255,.28); background: linear-gradient(100deg, rgba(104,130,255,.5), rgba(92,118,235,.16)); box-shadow: inset 2px 0 0 #a8b7ff, 0 7px 15px rgba(5,13,38,.14); }
.nav-link svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: .92; }
.nav-account { flex: 0 0 auto; margin: 0 3px; padding: 12px 0 8px; border-top: 1px solid rgba(167,184,229,.16); }
.nav-account .nav-section { gap: 0; }
.nav-account .nav-link { color: #c9d5ec; background: rgba(255,255,255,.035); }
.nav-account .nav-link:hover { background: rgba(255,255,255,.09); }
.sidebar-foot { display: flex; gap: 8px; align-items: flex-start; padding: 10px 9px 2px; border-top: 1px solid rgba(167,184,229,.11); font-size: 10px; line-height: 1.5; color: #8d9dbd; }
.status-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #50d5a7; box-shadow: 0 0 0 3px rgba(80,213,167,.13); }

.main-area { min-width: 0; flex: 1; }
.topbar { height: 66px; display: flex; align-items: center; gap: 16px; padding: 0 31px; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); }
.crumb { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.topbar-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.user-email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.text-button, .icon-button { border: 0; background: transparent; color: var(--muted); }
.text-button:hover { color: var(--brand); }
.menu-button { display: none; font-size: 22px; padding: 4px; }
.view { width: min(1400px, 100%); padding: 30px 31px 48px; margin: auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
.page-head h1 { margin: 0; font-size: 25px; line-height: 1.25; letter-spacing: -.025em; }
.page-head p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.page-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.button { border: 1px solid transparent; border-radius: 8px; padding: 9px 13px; font-size: 13px; font-weight: 650; transition: .18s ease; white-space: nowrap; }
.button.primary { background: var(--brand); color:#fff; box-shadow: 0 5px 12px rgba(77,104,246,.22); }
.button.primary:hover { background:var(--brand-dark); transform:translateY(-1px); }
.button.secondary { background:#fff; color:var(--ink); border-color:var(--line); }
.button.secondary:hover { border-color:#bbc6d8; background:#fbfcff; }
.button.danger { color:var(--danger); background:#fff; border-color:#f2c8cf; }
.button.danger:hover { background:var(--danger-soft); }
.button.small { padding:6px 9px; font-size:12px; }
.button:disabled { opacity:.52; cursor:not-allowed; transform:none!important; }

.grid { display:grid; gap:18px; }
.grid.metrics { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:22px; }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.card { background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); }
.card.pad { padding:20px; }
.metric { padding:19px 20px; }
.metric span { display:block; color:var(--muted); font-size:12px; }
.metric strong { display:block; margin-top:8px; font-size:28px; line-height:1; letter-spacing:-.04em; }
.metric em { display:block; margin-top:8px; color:var(--success); font-size:11px; font-style:normal; }
.card-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; }
.card-title h2 { margin:0; font-size:15px; }
.card-title small { color:var(--muted); }

.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:10px; background:#fff; }
table { width:100%; border-collapse:collapse; min-width:720px; }
th { padding:11px 14px; text-align:left; color:#78839a; background:#fafbfe; border-bottom:1px solid var(--line); font-size:11px; letter-spacing:.045em; text-transform:uppercase; white-space:nowrap; }
td { padding:13px 14px; border-bottom:1px solid #edf0f5; font-size:13px; vertical-align:middle; }
tbody tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fbfcff; }
.table-actions { display:flex; justify-content:flex-end; gap:6px; }
.empty { display:grid; place-items:center; min-height:195px; padding:30px; text-align:center; color:var(--muted); font-size:13px; }
.empty b { display:block; color:var(--ink); margin:7px 0 3px; font-size:15px; }
.muted { color:var(--muted); }
.nowrap { white-space:nowrap; }
.ellipsis { display:block; max-width:260px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.submission-record-row td { vertical-align:top; }
.submission-values { display:grid; gap:7px; min-width:260px; }
.submission-value { display:grid; grid-template-columns:minmax(72px,auto) minmax(120px,1fr); gap:10px; align-items:start; }
.submission-value strong { color:#65718a; font-size:11px; overflow-wrap:anywhere; }
.submission-value span,.record-source { display:block; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; }
.record-source { min-width:180px; max-width:420px; }
.code-inline { display:inline-block; padding:3px 6px; border-radius:5px; color:#48536c; background:#f1f4f8; font:11px ui-monospace,SFMono-Regular,Consolas,monospace; }
.badge { display:inline-flex; align-items:center; gap:5px; border-radius:99px; padding:4px 8px; font-size:11px; font-weight:700; white-space:nowrap; }
.badge.success { color:var(--success); background:var(--success-soft); }
.badge.warning { color:var(--warning); background:var(--warning-soft); }
.badge.neutral { color:#59667f; background:#eef1f6; }
.badge.danger { color:var(--danger); background:var(--danger-soft); }
.badge .dot { width:5px; height:5px; border-radius:50%; background:currentColor; }

.toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:15px; }
.toolbar .search { min-width:220px; flex:1; }
.field, .search { width:100%; height:38px; border:1px solid #dce2ed; border-radius:8px; padding:0 10px; color:var(--ink); background:#fff; outline:0; transition:.16s ease; }
textarea.field { height:auto; min-height:92px; padding:10px; resize:vertical; }
.field:focus, .search:focus { border-color:#9aaafa; box-shadow:0 0 0 3px rgba(77,104,246,.12); }
.filters { display:flex; flex-wrap:wrap; gap:9px; }
.filters .field { width:auto; min-width:160px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.form-grid .span-2 { grid-column:span 2; }
.form-field { min-width:0; }
.form-field label { display:block; margin:0 0 6px; color:#4a5670; font-size:12px; font-weight:700; }
.form-field label .hint { margin-left:5px; color:#8a94a9; font-weight:400; }
.form-field .help { margin:6px 0 0; color:#8791a6; font-size:11px; line-height:1.45; }
.password-field { position:relative; }
.password-field .field { padding-right:58px; }
.password-toggle { position:absolute; top:50%; right:7px; min-width:42px; transform:translateY(-50%); border:0; border-radius:6px; padding:4px 6px; color:#53617b; background:#edf1f8; font-size:11px; font-weight:700; line-height:1.35; }
.password-toggle:hover { color:var(--brand); background:#e3e9fb; }
.password-toggle:focus-visible { outline:2px solid rgba(77,104,246,.38); outline-offset:1px; }
.checkbox-line { display:flex; align-items:center; gap:9px; min-height:38px; color:#4b5770; font-size:13px; }

.notice { display:flex; gap:11px; padding:12px 14px; border:1px solid #d9e1ff; border-radius:9px; color:#45547f; background:#f3f5ff; font-size:12px; line-height:1.6; }
.notice.warning { color:#81510c; border-color:#f3dcaa; background:#fff8e7; }
.notice.success { color:#0e7458; border-color:#ccebdc; background:#effbf5; }
.notice strong { color:inherit; }
.notice + .notice { margin-top:10px; }
.code-box { position:relative; overflow:auto; margin:0; padding:17px; border-radius:9px; color:#e8eeff; background:#17213a; font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre; }

.integration-tabs { display:flex; gap:8px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.integration-tab { position:relative; border:0; padding:11px 13px; color:var(--muted); background:transparent; font-size:13px; font-weight:700; }
.integration-tab.active { color:var(--brand); }
.integration-tab.active::after { position:absolute; right:8px; bottom:-1px; left:8px; height:2px; border-radius:9px; background:var(--brand); content:""; }
.integration-selector { margin-bottom:0; }.integration-selector .toolbar { align-items:end; margin:0; }.form-field.compact { width:min(390px,100%); }.integration-state { padding-bottom:9px; font-size:12px; }
.integration-layout { display:grid; grid-template-columns:minmax(310px,1.08fr) minmax(280px,.84fr) minmax(300px,.94fr); gap:18px; align-items:start; }
.integration-visitor-layout { grid-template-columns:minmax(300px,1fr) minmax(360px,1.15fr); }
.integration-field-list { margin-top:21px; }.integration-field-list h3 { margin:0 0 10px; font-size:13px; }
.integration-field-row { padding:13px; border:1px solid #e7ebf2; border-radius:10px; background:#fbfcff; }.integration-field-row + .integration-field-row { margin-top:9px; }
.integration-field-head { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:10px; }.integration-field-head strong { margin-right:auto; font-size:13px; }.integration-field-head .checkbox-line { min-height:auto; font-size:12px; }
.compact-grid { gap:10px; }.compact-grid .field { height:36px; }
.phone-preview { display:grid; place-items:center; min-height:560px; padding:13px; border-radius:13px; background:linear-gradient(145deg,#edf1f8,#e1e8f4); }
.phone-shell { position:relative; width:min(100%,300px); min-height:520px; overflow:hidden; padding:8px; border:8px solid #17213a; border-radius:34px; background:#17213a; box-shadow:0 18px 34px rgba(27,43,76,.2); }.phone-bar { width:92px; height:16px; margin:0 auto 9px; border-radius:0 0 12px 12px; background:#17213a; }
.integration-preview-card { min-height:465px; padding:20px 15px; border-radius:22px; color:var(--embed-text); background:var(--embed-bg); }.integration-preview-card h3 { margin:0 0 7px; font-size:18px; }.integration-preview-card > p { margin:0 0 17px; color:#667085; font-size:12px; line-height:1.55; }
.integration-preview-field { margin-bottom:12px; }.integration-preview-field label { display:block; margin-bottom:5px; color:var(--embed-text); font-size:12px; font-weight:700; }.integration-preview-field input { width:100%; height:39px; border:1px solid #d4dbe7; border-radius:9px; padding:0 10px; color:#7c8798; background:var(--embed-card); font-size:12px; }.integration-preview-field small { display:block; margin-top:4px; color:#d05d69; font-size:10px; }
.integration-preview-card button { width:100%; margin-top:6px; border:0; border-radius:9px; padding:11px; color:#fff; background:var(--embed-accent); font-size:13px; font-weight:750; }
.integration-preview-float { position:absolute; right:0; bottom:50px; width:max-content; margin:0; padding:2px; border-radius:10px; color:#fff; background:#2563eb; box-shadow:0 6px 14px rgba(37,99,235,.34); font-size:10px; font-weight:750; line-height:1.35; text-align:center; white-space:normal; word-break:normal; overflow-wrap:normal; }
.embed-code { min-height:250px; white-space:pre-wrap; word-break:break-word; }.integration-steps { margin:16px 0 0; padding-left:20px; color:#526078; font-size:13px; line-height:1.8; }

.platform-card { padding:18px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.platform-card h3 { display:flex; align-items:center; gap:8px; margin:0 0 7px; font-size:14px; }
.platform-mark { display:grid; place-items:center; width:24px; height:24px; border-radius:7px; color:#fff; font-size:11px; font-weight:900; }
.platform-mark.meta { background:#1877f2; }.platform-mark.tiktok { background:#111; box-shadow:2px 2px 0 #25f4ee,-2px -2px 0 #fe2c55; }
.platform-card p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.event-row { padding:12px; border:1px solid #e7ebf2; border-radius:9px; background:#fbfcff; }
.event-row + .event-row { margin-top:8px; }
.event-row label { display:block; margin-bottom:5px; color:#6e7990; font-size:11px; font-weight:700; }
.event-params { display:grid; gap:7px; margin-top:11px; }
.event-param-row { display:grid; grid-template-columns:1fr .9fr 1.15fr auto; gap:7px; align-items:center; }
.event-param-column-labels { display:grid; grid-template-columns:1fr .9fr 1.15fr auto; gap:7px; padding:0 2px; color:#6e7990; font-size:10px; font-weight:700; }
.ad-config-event-builder { margin-top:21px; padding-top:18px; border-top:1px solid var(--line); }
.builder-title { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }.builder-title h3 { margin:0; font-size:15px; }.builder-title p { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.event-rows-inside { margin-top:13px; }
.event-map-editor-grid { display:grid; grid-template-columns:minmax(230px,.72fr) 34px minmax(460px,1.45fr); gap:10px; align-items:stretch; }
.event-map-editor-panel { min-width:0; padding:14px; border:1px solid #e1e6f0; border-radius:10px; background:#fff; }.event-map-editor-panel > header { display:flex; gap:9px; margin-bottom:13px; }.event-map-editor-panel h3 { margin:0; font-size:13px; }.event-map-editor-panel header p { margin:3px 0 0; color:var(--muted); font-size:10px; line-height:1.45; }
.event-section-number { display:grid; place-items:center; flex:0 0 24px; width:24px; height:24px; border-radius:7px; color:#fff; background:var(--brand); font-size:11px; font-weight:800; }.platform-event-editor .event-section-number { background:#17213a; }
.event-map-editor-arrow { display:grid; place-items:center; color:var(--brand); font-size:22px; font-weight:800; }
.event-selector-row { min-width:0; }
.event-dropdown { width:100%; }
.event-dropdown > summary { list-style:none; cursor:pointer; }
.event-dropdown > summary::-webkit-details-marker { display:none; }
.event-dropdown-button { width:100%; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; text-align:left; }
.event-dropdown-button > span { color:#33415e; font-weight:800; }
.event-dropdown-button > strong { min-width:0; overflow:hidden; color:#65718a; font-size:11px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.event-dropdown-button > i { color:#7b879d; font-size:14px; font-style:normal; transition:transform .16s ease; }
.event-dropdown[open] .event-dropdown-button { border-color:#aebaf2; box-shadow:0 0 0 3px rgba(77,104,246,.09); }
.event-dropdown[open] .event-dropdown-button > i { transform:rotate(180deg); }
.event-dropdown-menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:8px; padding:10px; border:1px solid #dce4f1; border-radius:9px; background:#f9fbff; }
.event-dropdown-option { min-width:0; display:grid !important; grid-template-columns:auto minmax(0,1fr); grid-template-areas:'check label' 'check hint'; column-gap:8px; align-items:center; min-height:47px; margin:0 !important; padding:8px 9px; border:1px solid #dce4f1; border-radius:8px; color:#34425d !important; background:#fff; cursor:pointer; }.event-dropdown-option input { grid-area:check; margin:0; }.event-dropdown-option span { grid-area:label; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:800; }.event-dropdown-option small { grid-area:hint; overflow:hidden; color:var(--muted); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.event-parameter-panels { display:grid; gap:12px; margin-top:14px; }
.event-parameter-panel { min-width:0; padding:13px; border:1px solid #dce4f1; border-radius:10px; background:#f8faff; }
.event-parameter-panel[hidden] { display:none !important; }
.event-parameter-panel > header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:9px; }
.event-parameter-panel > header div { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.event-parameter-panel > header strong { color:#25334f; font-size:13px; }
.event-parameter-panel > header code { padding:3px 6px; border-radius:5px; color:#3153a4; background:#e9efff; font-size:10px; }
.event-parameter-panel > header > span { color:var(--muted); font-size:10px; line-height:1.45; }
.fixed-json-note { margin-bottom:10px; padding:8px 10px; border-radius:7px; color:#53617a; background:#eef2f9; font-size:10px; line-height:1.55; }
.event-param-controls { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.event-param-row.backend-mode .event-param-value:disabled { color:#3153a4; border-color:#ccd8fb; background:#e9efff; opacity:1; cursor:not-allowed; -webkit-text-fill-color:#3153a4; }
.event-param-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }.parameter-help { margin:8px 0 0; }
.event-row-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; padding-top:10px; border-top:1px dashed #dce2ec; color:var(--muted); font-size:11px; }

.modal-backdrop { position:fixed; z-index:50; inset:0; display:grid; place-items:center; padding:20px; background:rgba(13,24,48,.48); backdrop-filter:blur(2px); }
.modal { width:min(730px,100%); max-height:min(calc(100dvh - 32px),960px); display:flex; flex-direction:column; overflow:hidden; border-radius:13px; background:#fff; box-shadow:0 24px 80px rgba(8,18,43,.3); }
.modal.wide { width:min(1080px,100%); }
.modal > form { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; overflow:hidden; }
.modal-head { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 21px; border-bottom:1px solid var(--line); }
.modal-head h2 { margin:0; font-size:17px; }.modal-head p { margin:3px 0 0; color:var(--muted); font-size:12px; }
.modal-close { width:31px; height:31px; border:0; border-radius:7px; color:#6d7890; background:#f1f3f7; font-size:21px; line-height:1; }
.modal-body { flex:1 1 auto; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; -webkit-overflow-scrolling:touch; touch-action:pan-y; padding:20px 21px; }
.modal-foot { flex:0 0 auto; display:flex; justify-content:flex-end; gap:9px; padding:14px 21px; border-top:1px solid var(--line); background:#fcfdff; }
.login-wrap { min-height:100vh; display:grid; place-items:center; padding:20px; background:radial-gradient(50% 60% at 20% 10%,#dce3ff 0%,transparent 100%),#f6f8fc; }
.login-card { width:min(420px,100%); padding:35px; border:1px solid #e3e9f4; border-radius:16px; background:#fff; box-shadow:0 22px 65px rgba(34,55,107,.13); }
.login-brand { display:flex; align-items:center; gap:11px; margin-bottom:26px; }.login-brand .brand-mark{width:42px;height:42px}.login-brand strong{font-size:19px}.login-brand small{font-size:12px;color:var(--muted);display:block;margin-top:2px}
.login-card h1 { margin:0 0 7px; font-size:22px; }.login-card p { margin:0 0 22px; color:var(--muted); font-size:13px; line-height:1.6; }
.login-card .form-field + .form-field { margin-top:14px; }
.login-card .button { width:100%; margin-top:20px; }
.login-error { min-height:20px; margin-top:10px; color:var(--danger); font-size:12px; }
.flash-region { position:fixed; z-index:70; top:17px; right:20px; display:grid; gap:8px; width:min(390px,calc(100vw - 40px)); pointer-events:none; }
.flash { padding:12px 14px; border-radius:10px; color:#29415b; background:#fff; box-shadow:0 9px 28px rgba(18,37,79,.17); border-left:4px solid var(--brand); font-size:13px; }.flash.error{border-left-color:var(--danger)}.flash.success{border-left-color:var(--success)}
.loading { display:flex; align-items:center; justify-content:center; gap:10px; min-height:200px; color:var(--muted); font-size:13px; }.loading i{width:18px;height:18px;border:2px solid #d6dcef;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width: 1180px) { .integration-layout { grid-template-columns:minmax(310px,1fr) minmax(280px,1fr); }.integration-layout > :last-child { grid-column:span 2; }.integration-visitor-layout { grid-template-columns:repeat(2,minmax(0,1fr)); }.integration-visitor-layout > :last-child { grid-column:auto; } }
@media (max-width: 1000px) { .grid.metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.sidebar{width:224px;flex-basis:224px}.view{padding:24px}.topbar{padding:0 24px}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width: 760px) { .sidebar { position:fixed; z-index:40; width:258px; transform:translateX(-101%); transition:.2s ease; box-shadow:18px 0 42px rgba(7,17,41,.22); }.app-shell.nav-open .sidebar{transform:none}.menu-button{display:block}.topbar{height:60px;padding:0 16px}.view{padding:22px 16px 38px}.user-email{display:none}.page-head{display:block}.page-actions{margin-top:14px}.grid.metrics,.grid.two,.grid.three,.integration-layout,.integration-visitor-layout{grid-template-columns:1fr}.integration-layout > :last-child{grid-column:auto}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.event-param-row,.event-map-editor-grid,.event-dropdown-menu{grid-template-columns:1fr}.event-param-column-labels{display:none}.event-map-editor-arrow{transform:rotate(90deg)}.event-row-actions,.builder-title,.event-parameter-panel > header{align-items:stretch;flex-direction:column}.event-param-controls{justify-content:space-between;flex-wrap:wrap}.event-row .button{width:100%}.modal-backdrop{padding:10px}.modal-body{padding:16px}.modal-head,.modal-foot{padding-left:16px;padding-right:16px}.card.pad{padding:16px}.phone-preview{min-height:500px}.integration-selector .toolbar{align-items:stretch}.integration-state{padding-bottom:0} }
