:root{--ink:#13233f;--muted:#6f7d91;--line:#dfe6ee;--panel:#fff;--blue:#246bfd;--blue-dark:#164fc8;--green:#168a62;--red:#c43f4e;--canvas:#f3f6fa;--shadow:0 16px 40px rgba(27,47,79,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-decoration:none}button,input,textarea{font:inherit}header{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:10}.logo{display:flex;align-items:center;gap:10px;color:var(--ink)}.logo span,.brand-mark{display:grid;place-items:center;background:linear-gradient(135deg,#245df4,#43a7ff);color:#fff;font-weight:800;border-radius:11px}.logo span{width:36px;height:36px}.logo strong{font-size:17px}nav{display:flex;gap:24px}nav a{color:#4d5a70;font-weight:600}.shell{width:min(1180px,calc(100% - 40px));margin:48px auto 80px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.page-head h1{font-size:34px;line-height:1.15;margin:4px 0 8px}.page-head p{margin:0;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px!important;font-weight:800;color:var(--blue)!important}.button,button{border:0;border-radius:9px;padding:11px 17px;font-weight:700;cursor:pointer}.primary{background:var(--blue);color:#fff}.primary:hover{background:var(--blue-dark)}.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stats div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:var(--shadow)}.stats span{display:block;color:var(--muted);font-size:13px}.stats strong{display:block;font-size:28px;margin-top:6px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.search{display:flex;gap:8px;flex:1;max-width:560px}.search input{flex:1}.search button{background:#eaf0ff;color:var(--blue)}input,textarea{width:100%;border:1px solid #cfd8e5;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,107,253,.12)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:17px 20px;border-bottom:1px solid var(--line)}th{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}tbody tr:last-child td{border:0}.link-title{font-weight:750}.short-url{display:inline-block;margin-top:3px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.tag,.status{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.tag{background:#eef2f7;color:#526078}.status.active{background:#e5f6ef;color:var(--green)}.status.inactive{background:#f4e9eb;color:#9d3f4b}.clicks{font-weight:800}.actions{display:flex;gap:13px;align-items:center}.actions form{margin:0}.link-button{padding:0;background:transparent;color:var(--blue)}.editor{padding:26px;display:grid;gap:20px}.editor label,.login-card label{display:grid;gap:7px;font-weight:700;color:#3d4b60}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.prefix{font-size:12px;color:var(--muted);font-weight:500}.check{display:flex!important;align-items:center;gap:9px}.check input{width:auto}.form-actions{display:flex;gap:12px}.danger{background:#fff0f1;color:var(--red)}.alert{background:#fff1f1;border:1px solid #efc2c6;color:#9d2533;padding:12px 15px;border-radius:9px;margin-bottom:18px}.empty{text-align:center;padding:42px;color:var(--muted)}.empty h2,.empty h3{color:var(--ink);margin-bottom:5px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 20% 15%,#dce9ff,transparent 35%),radial-gradient(circle at 80% 85%,#dff6f5,transparent 32%),#f5f8fc}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 70px rgba(34,64,108,.14);padding:36px}.brand-mark{width:48px;height:48px}.login-card h1{margin:22px 0 5px;font-size:29px}.login-card p{color:var(--muted);margin:0 0 24px}.login-card form{display:grid;gap:18px}.not-found{width:min(560px,calc(100% - 40px));margin:15vh auto;text-align:center}.not-found .brand-mark{margin:auto}.not-found h1{font-size:34px;margin-bottom:8px}.not-found p{color:var(--muted);margin-bottom:22px}
.login-logo-image{display:block;width:min(60%,240px);height:auto;margin:0 auto 22px;object-fit:contain}.logo-image{display:block!important;width:110px!important;height:auto!important;max-width:110px!important;max-height:36px!important;object-fit:contain!important}@media(max-width:760px){header{padding:0 18px}nav{gap:13px}.shell{width:min(100% - 24px,1180px);margin-top:28px}.page-head{align-items:stretch;flex-direction:column}.stats{grid-template-columns:1fr 1fr}.field-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column;gap:13px}.search{max-width:none}th:nth-child(2),td:nth-child(2){display:none}}

:root{--destination-url-color:#8b96a8}.destination-url{display:block;margin-top:2px;color:var(--destination-url-color);font-size:12px;line-height:1.35;max-width:430px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.destination-url:hover{color:var(--blue);text-decoration:underline}
:root{--destination-url-color:#a3adbb}.short-url{display:block}.destination-url{display:block;color:#a3adbb}
:root{--destination-url-color:#a3adbb}table{table-layout:fixed}table th:first-child,table td:first-child{width:42%}.short-url,.destination-url{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.short-url{display:block}.destination-url{display:block;color:#a3adbb}
:root{--destination-url-color:#a3adbb}.short-url{display:block!important;color:var(--blue)!important}.destination-url{display:block!important;color:#a3adbb!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
:root{--canvas:#080d33;--ink:#fff;--muted:#b7bdd3;--line:#252b55;--panel:#10163d;--blue:#04D863;--blue-dark:#43b91d;--green:#04D863;--red:#e15a3d;--shadow:0 16px 40px rgba(0,0,0,.22)}body{background:var(--canvas);color:var(--ink)}header{background:#080d33;border-bottom:1px solid #252b55}.logo{color:#fff}.logo span,.brand-mark{background:linear-gradient(135deg,#04D863,#b5f34b);color:#080d33}nav a{color:#fff}.page-head p,.panel th,.stats span{color:var(--muted)}.panel,.stats div{background:#10163d;border-color:#252b55}.toolbar{border-color:#252b55}.search input,input,textarea{background:#fff;color:#17203f;border-color:#cfd8e5}.search button{background:#04D863;color:#080d33}.primary{background:#04D863;color:#080d33}.primary:hover{background:#43b91d}.ghost{background:#10163d;border-color:#4b537e;color:#fff}.tag{background:#273051;color:#dfe5ff}.status.active{background:#234b2a;color:#a9f77c}.status.inactive{background:#552e2d;color:#ffb0a2}.short-url{color:#04D863!important}.destination-url{color:#aeb6cc!important}.actions a,.link-button{color:#04D863}.actions a:hover,.link-button:hover,.short-url:hover{color:#b5f34b}.form-actions .danger{background:#552e2d;color:#ffb0a2}.empty h2,.empty h3{color:#fff}
.analytics-icon{display:inline-block;width:1.8em;margin-right:.35em;text-align:center;color:var(--blue);font-weight:900;font-size:18px}.analytics-destination{color:var(--blue)!important;font-size:16px}.analytics-destination:hover{color:#b5f34b!important;text-decoration:underline}
.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.analytics-grid .panel{min-width:0}.analytics-grid table{table-layout:auto}.analytics-grid th:first-child,.analytics-grid td:first-child{width:auto}.panel .prefix{margin-left:8px}
.actions{flex-wrap:wrap;min-width:150px;row-gap:6px}.actions a,.actions .link-button{white-space:nowrap}table td:last-child{min-width:155px}
.auth-shell{background:radial-gradient(circle at 15% 15%,rgba(101,229,45,.18),transparent 30%),radial-gradient(circle at 85% 85%,rgba(36,107,253,.2),transparent 35%),#080d33}.login-card{background:#10163d;border-color:#252b55;box-shadow:0 24px 70px rgba(0,0,0,.35)}.login-card h1{color:#fff}.login-card p,.login-card label{color:#b7bdd3}.login-card .primary{background:#04D863;color:#080d33}.login-card .primary:hover{background:#b5f34b}.login-card input{background:#fff;color:#17203f}.login-card .brand-mark{background:linear-gradient(135deg,#04D863,#b5f34b);color:#080d33}
.login-logo-image{display:block;width:min(60%,240px);height:auto;margin:0 auto 22px;object-fit:contain}.logo-image{display:block!important;width:110px!important;height:auto!important;max-width:110px!important;max-height:36px!important;object-fit:contain!important}@media(max-width:760px){.analytics-grid{grid-template-columns:1fr}}
.logo-wordmark,.login-logo{display:inline-flex;align-items:baseline;gap:2px;transform:rotate(-3deg) skewX(-4deg);font-family:"Brush Script MT","Segoe Script","Lucida Handwriting",cursive;font-weight:900;letter-spacing:-.08em;line-height:1}.logo-wordmark{font-size:30px;filter:drop-shadow(2px 3px 0 #02051e)}.logo-wordmark i,.login-logo span{font-style:normal;background:linear-gradient(145deg,#d7ff8b 0%,#04D863 46%,#239617 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:1.5px #10152f;text-shadow:1px 1px 0 #10152f}.logo-wordmark b,.login-logo b{font-weight:900;color:#fff;-webkit-text-stroke:1.5px #10152f;text-shadow:1px 1px 0 #10152f}.login-logo{font-size:54px;margin-bottom:18px;filter:drop-shadow(3px 4px 0 #02051e)}.login-logo span{font-size:1.08em}.login-logo b{font-size:.9em}
.logo .logo-wordmark{width:auto;height:auto;display:inline-flex;background:none;border-radius:0;color:inherit}
.logo-image{display:block!important;width:110px!important;height:auto!important;max-width:110px!important;max-height:36px!important;object-fit:contain!important}.actions a{display:inline-flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;padding:0!important;border-radius:50%!important;font-size:0!important;text-decoration:none!important;background:var(--blue)!important;color:#fff!important}.actions a:nth-child(1)::after{content:"";font-size:15px}.actions a:nth-child(2)::after{content:"";font-size:15px}.actions .link-button{width:30px!important;height:30px!important;padding:0!important;border-radius:50%!important;font-size:0!important}.actions .link-button::after{content:"";font-size:15px}header nav a[href="/admin/analytics"]{display:inline-flex!important;visibility:visible!important;opacity:1!important;font-size:14px!important;color:var(--ink)!important}header nav a.active{color:var(--green)!important;border-bottom:2px solid var(--green);padding-bottom:6px}header nav a.active{color:var(--green)!important;border-bottom:2px solid var(--green);padding-bottom:6px} .actions a.icon-button::after{color:#07133f!important;} .actions a[href*="/analytics"]::after{content:"↗"!important;font-size:15px!important;line-height:1!important;color:#07133f!important;} .actions a[href*="/edit"]::after{content:"✎"!important;font-size:15px!important;line-height:1!important;color:#07133f!important;} .actions a.icon-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;text-align:center!important;padding:0!important;} .actions a[href*="/analytics"]::after,.actions a[href*="/edit"]::after{content:none!important;} .copy-short-url{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:8px!important;padding:4px 9px!important;border:1px solid #07133f!important;border-radius:5px!important;background:#07133f!important;color:#fff!important;font:600 11px/1.2 sans-serif!important;cursor:pointer!important;} .copy-short-url:hover{background:#12245e!important;} a.short-url{display:inline-block!important;vertical-align:middle!important;} a.short-url+.copy-short-url{vertical-align:middle!important;margin-top:0!important;} .copy-short-url{background:var(--green)!important;color:#07133f!important;border-color:var(--green)!important;} .copy-short-url:hover{background:#7dff48!important;color:#07133f!important;} .stat-detail{display:block!important;margin-top:4px!important;font-size:11px!important;line-height:1.2!important;color:#a9b0c7!important;}.row-chevron-cell{text-align:right!important;width:1%!important;white-space:nowrap!important}.row-chevron{font-size:22px!important;line-height:1!important;color:var(--green)!important;font-weight:700!important}.row-chevron-cell{width:1%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}.row-chevron-cell{width:100%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}.row-chevron{position:absolute!important;right:20px!important;top:50%!important;transform:translateY(-50%)!important;font-size:22px!important;line-height:1!important;color:var(--green)!important;font-weight:700!important}.row-chevron-cell{width:1%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}.row-chevron{position:static!important;display:inline-block!important;transform:none!important;font-size:22px!important;line-height:1!important;color:var(--green)!important;font-weight:700!important}.row-chevron-cell{width:10%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}.row-chevron{position:static!important;display:inline-block!important;transform:none!important}.row-chevron-cell{position:static!important;width:10%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}.row-chevron{position:absolute!important;right:20px!important;top:50%!important;transform:translateY(-50%)!important;display:block!important;font-size:22px!important;line-height:1!important;color:var(--green)!important;font-weight:700!important}table tbody tr[onclick]{transition:background-color .15s ease}table tbody tr[onclick]:hover,table tbody tr[onclick]:focus-visible{background:rgba(255,255,255,.045)!important;outline:none}table tbody tr[onclick] td{transition:background-color .15s ease}table tbody tr[onclick]:hover td,table tbody tr[onclick]:focus-visible td{background:rgba(255,255,255,.08)!important}@media(max-width:760px){.analytics-grid table,.field-grid table{width:100%!important;table-layout:fixed!important}.analytics-grid table th:first-child,.analytics-grid table td:first-child,.field-grid table th:first-child,.field-grid table td:first-child{width:auto!important;min-width:0!important;max-width:none!important}.analytics-grid table th:last-child,.analytics-grid table td:last-child,.field-grid table th:last-child,.field-grid table td:last-child{display:table-cell!important;width:72px!important;min-width:72px!important;max-width:72px!important;text-align:right!important;white-space:nowrap!important;padding-left:8px!important;padding-right:18px!important}.analytics-grid table td:first-child,.field-grid table td:first-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}}.analytics-chart{width:100%;box-sizing:border-box;margin-top:18px;padding:0;overflow:hidden}.analytics-chart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 14px}.analytics-chart-head strong{font-size:18px}.analytics-chart-tabs{display:flex;gap:6px}.chart-tab{appearance:none;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:7px 12px;font:600 12px/1 sans-serif;cursor:pointer}.chart-tab.active,.chart-tab:hover{background:var(--green);border-color:var(--green);color:var(--canvas)}.analytics-chart-meta{display:flex;justify-content:space-between;align-items:center;padding:0 22px 4px;color:var(--muted);font-size:12px}.chart-y-label{font-weight:700;text-transform:uppercase;letter-spacing:.08em}.analytics-chart-svg{display:block;width:100%;height:auto;min-height:220px;padding:4px 14px 12px;box-sizing:border-box}.chart-grid-line{stroke:var(--line);stroke-width:1}.chart-line{fill:none;stroke:var(--green);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:var(--green);stroke:var(--panel);stroke-width:3}.chart-axis-label{fill:var(--muted);font:12px sans-serif}@media(max-width:760px){.analytics-chart-head{padding:16px 16px 12px}.analytics-chart-meta{padding:0 16px 4px}.analytics-chart-svg{padding-left:8px;padding-right:8px;min-height:210px}.chart-tab{padding:7px 10px}}.chart-point{outline:none}.chart-point:focus .chart-dot{stroke:var(--canvas);stroke-width:3}.chart-value-badge{opacity:0;pointer-events:none;transition:opacity .15s ease}.chart-value-bg{fill:#fff}.chart-value-label{fill:#07133f;font:700 13px sans-serif}.chart-point:hover .chart-value-badge,.chart-point:focus .chart-value-badge,.chart-point.active .chart-value-badge{opacity:1}.chart-day-label{fill:var(--muted);font:11px sans-serif;opacity:.5}.country-other-row{cursor:pointer}.country-other-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.country-other-row td{font-weight:700}.country-other-row td:first-child:after{content:"v";float:right;color:var(--muted);font-size:16px}.country-other-row.expanded td:first-child:after{content:"^"}.country-extra-row[hidden]{display:none}.chart-value-label{dominant-baseline:middle!important;transform:none!important;dy:0!important}.actions{vertical-align:middle!important;text-align:center!important;white-space:nowrap!important}.actions a.icon-button{vertical-align:middle!important}.actions{transform:translateY(17px)!important}.analytics-chart{margin-bottom:18px!important}
/* Global analytics top-link row alignment */
.analytics-grid table thead th:nth-child(4){display:none!important}
.analytics-grid table tbody tr[onclick]{position:relative!important}
.analytics-grid table tbody tr[onclick] td{background:transparent!important}
.analytics-grid table tbody tr[onclick]:hover td,.analytics-grid table tbody tr[onclick]:focus-visible td{background:rgba(255,255,255,.08)!important}
.analytics-grid table tbody tr[onclick] .row-chevron-cell{position:relative!important;width:1%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}
.analytics-grid table tbody tr[onclick] .row-chevron{position:static!important;left:auto!important;right:auto!important;top:auto!important;display:inline-block!important;transform:rotate(45deg)!important;margin-right:0!important}

/* Global top-links table: keep the hover fill and chevron inside the row */
table[style*="table-layout:fixed"] thead th:nth-child(4){display:none!important}
table[style*="table-layout:fixed"] tbody tr[onclick]{position:relative!important}
table[style*="table-layout:fixed"] tbody tr[onclick] td{background:transparent!important}
table[style*="table-layout:fixed"] tbody tr[onclick]:hover td,table[style*="table-layout:fixed"] tbody tr[onclick]:focus-visible td{background:rgba(255,255,255,.08)!important}
table[style*="table-layout:fixed"] tbody tr[onclick] .row-chevron-cell{position:relative!important;width:1%!important;text-align:right!important;padding-right:20px!important;white-space:nowrap!important}
table[style*="table-layout:fixed"] tbody tr[onclick] .row-chevron{position:static!important;left:auto!important;right:auto!important;top:auto!important;display:inline-block!important;transform:rotate(45deg)!important;margin-right:0!important}

/* Keep dashboard row separators continuous across every column */
.table-wrap table tbody tr{border-bottom:1px solid rgba(255,255,255,.10)!important}
.table-wrap table tbody tr td{border-bottom:0!important}
.table-wrap table tbody tr:last-child{border-bottom:0!important}

/* Global analytics mobile layout: keep every table inside the viewport */
@media (max-width:760px){
  body{overflow-x:hidden!important}
  .shell{width:100%!important;max-width:none!important;padding-left:12px!important;padding-right:12px!important;box-sizing:border-box!important}
  .page-head{align-items:flex-start!important;gap:12px!important}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .analytics-grid{grid-template-columns:1fr!important;gap:14px!important}
  .panel{min-width:0!important;overflow:hidden!important}
  .analytics-grid table{width:100%!important;table-layout:fixed!important}
  .analytics-grid table th:first-child,.analytics-grid table td:first-child{width:auto!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:break-word!important;text-overflow:clip!important}
  .analytics-grid table th:last-child,.analytics-grid table td:last-child{width:64px!important;min-width:64px!important;max-width:64px!important;padding-left:6px!important;padding-right:12px!important;text-align:right!important;white-space:nowrap!important}
  .analytics-grid table td a{overflow-wrap:anywhere!important;word-break:break-word!important}
  .panel>table[style*="table-layout:fixed"]{width:100%!important;table-layout:fixed!important}
  .panel>table[style*="table-layout:fixed"] th:first-child,.panel>table[style*="table-layout:fixed"] td:first-child{width:auto!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:break-word!important;text-overflow:clip!important}
  .panel>table[style*="table-layout:fixed"] th:nth-child(2),.panel>table[style*="table-layout:fixed"] td:nth-child(2){width:60px!important;min-width:60px!important;max-width:60px!important;padding-left:6px!important;padding-right:6px!important;text-align:right!important;white-space:nowrap!important}
  .panel>table[style*="table-layout:fixed"] th:nth-child(3),.panel>table[style*="table-layout:fixed"] td:nth-child(3){width:42px!important;min-width:42px!important;max-width:42px!important;padding-left:2px!important;padding-right:12px!important;text-align:right!important;white-space:nowrap!important}
  .panel>table[style*="table-layout:fixed"] td .prefix{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
}

/* Give dashboard categories room without crowding click and status columns */
@media (min-width:761px){
  .table-wrap table{table-layout:fixed!important}
  .table-wrap table th:nth-child(1),.table-wrap table td:nth-child(1){width:38%!important}
  .table-wrap table th:nth-child(2),.table-wrap table td:nth-child(2){width:25%!important}
  .table-wrap table th:nth-child(3),.table-wrap table td:nth-child(3){width:8%!important}
  .table-wrap table th:nth-child(4),.table-wrap table td:nth-child(4){width:12%!important}
  .table-wrap table th:nth-child(5),.table-wrap table td:nth-child(5){width:17%!important}
  .table-wrap table td:nth-child(2){white-space:nowrap!important}
}

.today-clicks{font-size:.82em;color:var(--muted);font-weight:600;white-space:nowrap;margin-left:3px}

/* Make room for total plus rolling 24-hour clicks */
@media (min-width:761px){
  .table-wrap table th:nth-child(2),.table-wrap table td:nth-child(2){width:22%!important}
  .table-wrap table th:nth-child(3),.table-wrap table td:nth-child(3){width:11%!important}
}


.category-filter-note{position:relative;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.category-swatch{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.72);padding:0;cursor:pointer;box-shadow:0 0 0 2px rgba(255,255,255,.08);flex:0 0 auto}
.category-swatch:hover{transform:scale(1.08)}
.category-color-editor[hidden]{display:none!important}
.category-color-editor{position:absolute;top:calc(100% + 8px);left:0;z-index:20;display:flex;align-items:flex-end;gap:10px;padding:12px;background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.category-color-editor label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:12px;font-weight:700}
.category-color-editor input{width:100px;padding:8px 9px;border:1px solid var(--border);border-radius:7px;background:var(--canvas);color:var(--ink);font:inherit}
.category-tag{background:var(--category-color,#2d365d)!important;color:var(--canvas)!important;border-color:transparent!important}

.category-color-picker{width:42px;height:38px;padding:3px;border:1px solid var(--border);border-radius:7px;background:var(--canvas);cursor:pointer}
.category-color-picker::-webkit-color-swatch-wrapper{padding:0}
.category-color-picker::-webkit-color-swatch{border:0;border-radius:4px}


.editor label{color:var(--green)!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline;column-gap:6px;row-gap:6px}
.editor label .prefix{display:inline!important;color:var(--green)!important;opacity:.72;white-space:nowrap;font-size:.85em!important}
.editor label>input,.editor label>textarea,.editor label>select{flex:1 1 100%;min-width:0}

.editor label{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;gap:0 6px!important}
.editor label .prefix{display:inline!important;flex:0 0 auto!important;white-space:nowrap!important}
.editor label:not(.check)>input,.editor label:not(.check)>textarea,.editor label:not(.check)>select{flex:1 1 100%!important;width:100%!important;min-width:0}
.editor label.check{flex-wrap:nowrap!important;align-items:center!important}
.editor label.check>input{flex:0 0 auto!important;width:auto!important}

.editor label:not(.check){row-gap:10px!important}

.editor .field-grid{align-items:start!important}
.editor .field-grid>label{align-self:start!important}

.editor select{height:46px!important;padding:11px 12px!important;background:#fff!important;color:var(--ink)!important;border:1px solid #cfd8e5!important;border-radius:9px!important;font:inherit!important;box-sizing:border-box!important}

.editor select{color:#07133f!important}

/* Keep global top-link click totals visible on narrow screens */
.top-links-table .top-link-clicks{display:table-cell!important;text-align:right!important;white-space:nowrap!important}
@media (max-width:760px){
  .panel table.top-links-table th:nth-child(2),.panel table.top-links-table td:nth-child(2){width:72px!important;min-width:72px!important;max-width:72px!important;display:table-cell!important;padding-left:4px!important;padding-right:8px!important;text-align:right!important;white-space:nowrap!important}
  .panel table.top-links-table th:nth-child(3),.panel table.top-links-table td:nth-child(3){width:30px!important;min-width:30px!important;max-width:30px!important;padding-left:0!important;padding-right:8px!important}
}

.actions{white-space:nowrap!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}.actions form{display:inline-flex!important;margin:0!important}.actions .icon-button{flex:0 0 32px!important}.actions .is-disabled{opacity:.2!important;pointer-events:none!important;cursor:default!important}

.table-wrap td.actions{width:176px!important;min-width:176px!important;white-space:nowrap!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;padding-left:8px!important;padding-right:8px!important}.table-wrap td.actions .icon-button{width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px!important}.table-wrap td.actions form{flex:0 0 auto!important}.table-wrap td.actions .link-button{white-space:nowrap!important}

@media (min-width:761px){.table-wrap table{table-layout:auto!important}.table-wrap table th:last-child,.table-wrap table td:last-child{width:176px!important;min-width:176px!important}.table-wrap table th:nth-child(2),.table-wrap table td:nth-child(2){width:20%!important}.table-wrap table th:nth-child(3),.table-wrap table td:nth-child(3){width:9%!important}.table-wrap table th:nth-child(4),.table-wrap table td:nth-child(4){width:10%!important}.table-wrap td.actions{display:table-cell!important;white-space:nowrap!important}.table-wrap td.actions .icon-button,.table-wrap td.actions form{display:inline-flex!important;vertical-align:middle!important;margin-right:5px!important}.table-wrap td.actions .icon-button:last-child{margin-right:0!important}}

.table-wrap td.actions,.table-wrap td.actions>*{white-space:nowrap!important}.table-wrap td.actions>*{display:inline-block!important;vertical-align:middle!important;float:none!important;clear:none!important;margin-top:0!important;margin-bottom:0!important}.table-wrap td.actions form{width:32px!important;min-width:32px!important}.table-wrap td.actions .icon-button{display:inline-flex!important;vertical-align:middle!important;margin:0 3px!important}

.action-buttons{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:6px!important;min-width:146px!important;white-space:nowrap!important;overflow:visible!important}.action-buttons>*{display:inline-flex!important;flex:0 0 32px!important;margin:0!important}.action-buttons .icon-button{width:32px!important;height:32px!important;align-items:center!important;justify-content:center!important;font-family:Arial,sans-serif!important;font-size:17px!important;font-weight:700!important}.action-buttons .is-disabled{opacity:.2!important}

.action-buttons{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;white-space:nowrap!important;min-width:146px!important;overflow:visible!important}.action-buttons>*{display:inline-flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;margin:0!important}.action-buttons form{height:32px!important}.action-buttons .icon-button{height:32px!important;align-items:center!important;justify-content:center!important;font-family:Arial,sans-serif!important;font-size:17px!important;font-weight:700!important;line-height:1!important}.action-buttons .is-disabled{opacity:.2!important;pointer-events:none!important}

.table-wrap td.actions{display:grid!important;grid-template-columns:repeat(4,32px)!important;grid-template-rows:32px!important;grid-auto-flow:column!important;align-items:center!important;justify-content:end!important;column-gap:5px!important;row-gap:0!important;width:160px!important;min-width:160px!important;white-space:nowrap!important;overflow:visible!important}.table-wrap td.actions>*{grid-row:1!important;display:flex!important;width:32px!important;min-width:32px!important;height:32px!important;margin:0!important;float:none!important}.table-wrap td.actions form{grid-column:auto!important}.table-wrap td.actions .icon-button{align-items:center!important;justify-content:center!important;font-family:Arial,sans-serif!important;font-size:17px!important;line-height:1!important}.table-wrap td.actions .is-disabled{opacity:.2!important}

/* CPLLink action icon deployment */
.table-wrap td.actions{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:160px!important;min-width:160px!important;white-space:nowrap!important;overflow:visible!important}
.table-wrap td.actions>*{display:flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;margin:0!important;float:none!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
.actions a[title="Open article"],.actions span[title="No article link"]{font-size:0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='16' y2='17'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:17px 17px!important}
.actions a[title="Analytics"]{font-size:0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='19' x2='20' y2='19'/%3E%3Cpolyline points='5 16 9 11 13 14 19 6'/%3E%3Ccircle cx='5' cy='16' r='1' fill='%230b2a5b'/%3E%3Ccircle cx='9' cy='11' r='1' fill='%230b2a5b'/%3E%3Ccircle cx='13' cy='14' r='1' fill='%230b2a5b'/%3E%3Ccircle cx='19' cy='6' r='1' fill='%230b2a5b'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:18px 18px!important}
.actions a[title="Edit"]{font-size:0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:17px 17px!important}
.actions a[title="Open YouTube video"],.actions span[title="No YouTube video link"]{font-size:0!important}

/* CPLLink action container override */
.table-wrap .actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:160px!important;min-width:160px!important;white-space:nowrap!important;overflow:visible!important}
.table-wrap .actions>*{display:flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;margin:0!important;float:none!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}

/* Final action-cell layout and icon override */
.table-wrap table tbody tr>td:last-child{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:160px!important;min-width:160px!important;height:auto!important;white-space:nowrap!important;overflow:visible!important}
.table-wrap table tbody tr>td:last-child>*{display:flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;margin:0!important;padding:0!important;float:none!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
.table-wrap table tbody tr>td:last-child a:nth-of-type(1),.table-wrap table tbody tr>td:last-child span:nth-of-type(1){font-size:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='16' y2='17'/%3E%3C/svg%3E") center/17px 17px no-repeat!important}
.table-wrap table tbody tr>td:last-child a:nth-of-type(2),.table-wrap table tbody tr>td:last-child span:nth-of-type(2){font-size:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpolygon points='10,9 10,15 15,12' fill='%230b2a5b' stroke='none'/%3E%3C/svg%3E") center/18px 18px no-repeat!important}
.table-wrap table tbody tr>td:last-child a:nth-of-type(3){font-size:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='19' x2='20' y2='19'/%3E%3Cpolyline points='5 16 9 11 13 14 19 6'/%3E%3C/svg%3E") center/18px 18px no-repeat!important}
.table-wrap table tbody tr>td:last-child a:nth-of-type(4){font-size:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center/17px 17px no-repeat!important}

/* Global analytics mobile table layout */
@media (max-width:700px){
  .top-links-table{width:100%!important;table-layout:auto!important}
  .top-links-table th,.top-links-table td{box-sizing:border-box!important}
  .top-links-table th:first-child,.top-links-table td.top-rank{width:36px!important;min-width:36px!important;padding-left:12px!important;padding-right:8px!important;text-align:center!important}
  .top-links-table th:nth-child(2),.top-links-table td:nth-child(2){width:auto!important;min-width:0!important;max-width:none!important;padding-left:8px!important;padding-right:6px!important;overflow:visible!important}
  .top-links-table th:nth-child(3),.top-links-table td.clicks{width:48px!important;min-width:48px!important;padding-left:4px!important;padding-right:4px!important;white-space:nowrap!important;text-align:left!important}
  .top-links-table th:nth-child(4),.top-links-table td.row-chevron-cell{width:30px!important;min-width:30px!important;padding-left:2px!important;padding-right:10px!important}
  .top-links-table td:nth-child(2) a{display:block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.25!important}
  .top-links-table td:nth-child(2) .prefix{display:block!important;margin-left:0!important;padding-left:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.3!important}
  .top-links-table td.row-chevron-cell .row-chevron{right:0!important}
}

/* Global analytics compact layout for phone-sized content areas */
@media (max-width:900px){
  .top-links-table{width:100%!important;table-layout:auto!important}
  .top-links-table th,.top-links-table td{box-sizing:border-box!important}
  .top-links-table th:first-child,.top-links-table td.top-rank{width:36px!important;min-width:36px!important;padding-left:12px!important;padding-right:8px!important;text-align:center!important}
  .top-links-table th:nth-child(2),.top-links-table td:nth-child(2){width:auto!important;min-width:0!important;max-width:none!important;padding-left:8px!important;padding-right:6px!important;overflow:visible!important}
  .top-links-table th:nth-child(3),.top-links-table td.clicks{width:52px!important;min-width:52px!important;padding-left:4px!important;padding-right:4px!important;white-space:nowrap!important;text-align:left!important}
  .top-links-table th:nth-child(4),.top-links-table td.row-chevron-cell{width:30px!important;min-width:30px!important;padding-left:2px!important;padding-right:10px!important}
  .top-links-table td:nth-child(2) a{display:block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.25!important}
  .top-links-table td:nth-child(2) .prefix{display:block!important;margin-left:0!important;padding-left:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.3!important}
  .top-links-table td.row-chevron-cell .row-chevron{right:0!important}
}

@media (max-width:760px){
  .panel table.top-links-table{width:100%!important;table-layout:auto!important}
  .panel table.top-links-table th:nth-child(1),.panel table.top-links-table td.top-rank{width:36px!important;min-width:36px!important;max-width:36px!important;padding-left:8px!important;padding-right:4px!important;text-align:center!important}
  .panel table.top-links-table th:nth-child(2),.panel table.top-links-table td:nth-child(2){width:auto!important;min-width:0!important;max-width:none!important;display:table-cell!important;padding-left:8px!important;padding-right:6px!important;text-align:left!important;white-space:normal!important;overflow:visible!important}
  .panel table.top-links-table th:nth-child(3),.panel table.top-links-table td:nth-child(3){width:58px!important;min-width:58px!important;max-width:58px!important;padding-left:4px!important;padding-right:4px!important;text-align:left!important;white-space:nowrap!important}
  .panel table.top-links-table th:nth-child(4),.panel table.top-links-table td:nth-child(4){width:30px!important;min-width:30px!important;max-width:30px!important;padding-left:2px!important;padding-right:8px!important}
  .panel table.top-links-table td:nth-child(2) a,.panel table.top-links-table td:nth-child(2) .prefix{display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.25!important}
  .panel table.top-links-table td:nth-child(4) .row-chevron{right:0!important}
}
/* Mobile home link rows: compact card layout */
@media (max-width:760px){
  .table-wrap{overflow:hidden!important}
  .table-wrap table{width:100%!important;table-layout:fixed!important}
  .table-wrap thead tr{display:grid!important;grid-template-columns:minmax(0,1fr) 56px 72px!important;align-items:center!important}
  .table-wrap thead th{box-sizing:border-box!important;padding-left:10px!important;padding-right:6px!important;white-space:nowrap!important}
  .table-wrap thead th:nth-child(2){display:none!important}
  .table-wrap thead th:nth-child(3){text-align:right!important}
  .table-wrap thead th:nth-child(4){text-align:right!important}
  .table-wrap tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) 56px 72px!important;grid-template-areas:"link clicks status" "actions actions actions"!important;align-items:center!important;row-gap:8px!important;padding:14px 10px!important}
  .table-wrap tbody td{box-sizing:border-box!important;min-width:0!important;width:auto!important;max-width:none!important;border:0!important;padding:0 6px!important;display:block!important}
  .table-wrap tbody td:nth-child(1){grid-area:link!important;text-align:left!important}
  .table-wrap tbody td:nth-child(2){display:none!important}
  .table-wrap tbody td:nth-child(3){grid-area:clicks!important;text-align:right!important;white-space:nowrap!important}
  .table-wrap tbody td:nth-child(4){grid-area:status!important;text-align:right!important;white-space:nowrap!important}
  .table-wrap tbody td:last-child{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;width:100%!important;min-width:0!important;padding:8px 0 0!important;border-top:1px solid rgba(255,255,255,.08)!important}
  .table-wrap tbody td:last-child .icon-button{flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;border-radius:50%!important;background:var(--green)!important;color:#07133f!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important}
  .table-wrap tbody td:last-child .icon-button.is-disabled{opacity:.2!important}
  .table-wrap tbody td:last-child .icon-button:focus-visible{outline:2px solid #fff!important;outline-offset:2px!important}
  .table-wrap .link-title{display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:15px!important;line-height:1.25!important}
  .table-wrap .short-url{display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:12px!important;line-height:1.35!important}
  .table-wrap .destination-url{display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important;line-height:1.35!important}
  .table-wrap tbody td:nth-child(3){font-size:15px!important;font-weight:700!important}
  .table-wrap tbody td:nth-child(4) .status-badge{font-size:12px!important;padding:5px 8px!important}
}
/* Make the real previous-period series visible, including an all-zero baseline */
.analytics-chart-svg .chart-comparison-line{fill:none!important;stroke:#fff!important;stroke-width:3!important;stroke-opacity:.7!important;stroke-dasharray:6 5!important;stroke-linecap:round!important}
.analytics-chart-svg .chart-comparison-dot{fill:var(--panel)!important;stroke:#fff!important;stroke-width:2!important;stroke-opacity:.8!important}
.device-icon{display:block;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.analytics-icon .device-icon{color:var(--green);width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* Unified home-page action buttons */
.table-wrap tbody td.actions,
.table-wrap tbody td:last-child.actions{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px !important;
  width:100% !important;
  min-width:0 !important;
  padding:8px 18px 8px 8px !important;
  white-space:nowrap !important;
  border-top:0 !important;
}
.table-wrap tbody td.actions .icon-button,
.table-wrap tbody td.actions a.icon-button{
  display:inline-flex !important;
  flex:0 0 32px !important;
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  margin:0 !important;
  padding:0 !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  border-radius:50% !important;
  background:var(--green) !important;
  color:#07133b !important;
  opacity:1 !important;
  transition:background-color .15s ease, color .15s ease, transform .15s ease !important;
}
.table-wrap tbody td.actions .icon-button:hover,
.table-wrap tbody td.actions a.icon-button:hover,
.table-wrap tbody td.actions .icon-button:focus-visible,
.table-wrap tbody td.actions a.icon-button:focus-visible{
  background:#fff !important;
  color:var(--green) !important;
  transform:translateY(-1px) !important;
  outline:2px solid rgba(255,255,255,.28) !important;
  outline-offset:2px !important;
}
.table-wrap tbody td.actions .icon-button.is-disabled,
.table-wrap tbody td.actions a.icon-button[aria-disabled="true"]{
  opacity:.2 !important;
  pointer-events:none !important;
}
@media (max-width:760px){
  .table-wrap tbody td.actions,
  .table-wrap tbody td:last-child.actions{
    justify-content:flex-start !important;
    padding-right:8px !important;
  }
}

/* Final action-button override: applies to the home link table regardless of wrapper rules */
td.actions,
td.actions[style]{
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px !important;
  min-width:160px !important;
  width:160px !important;
  padding:8px 18px 8px 8px !important;
  white-space:nowrap !important;
}
td.actions > .icon-button,
td.actions > a.icon-button,
td.actions .icon-button{
  display:inline-flex !important;
  flex:0 0 32px !important;
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background-color:var(--green) !important;
  color:#07133b !important;
  opacity:1 !important;
}
td.actions > .icon-button:hover,
td.actions > a.icon-button:hover,
td.actions .icon-button:hover,
td.actions .icon-button:focus-visible{
  background-color:#fff !important;
  color:var(--green) !important;
  transform:translateY(-1px) !important;
  outline:2px solid rgba(255,255,255,.28) !important;
  outline-offset:2px !important;
}
td.actions .icon-button.is-disabled,
td.actions .icon-button[aria-disabled="true"]{opacity:.2 !important;pointer-events:none !important}

/* Keep action links and form controls in one continuous button group */
td.actions > form,
td.actions form{
  display:contents !important;
  margin:0 !important;
  padding:0 !important;
}
td.actions > form > .icon-button,
td.actions form > .icon-button{
  margin:0 !important;
}

/* Remove wrapper margins that create a second action cluster */
td.actions > *,
td.actions > form > *,
td.actions form,
td.actions form > *{
  margin-left:0 !important;
  margin-right:0 !important;
}
td.actions{column-gap:6px !important;justify-content:flex-end !important}

/* Status is already rendered in its own column; exclude its duplicate action form */
td.actions > form,
td.actions form{display:none !important}

/* Remove the remaining reserved slot between the two action pairs */
td.actions > a:nth-of-type(3),
td.actions > span:nth-of-type(3){margin-left:-32px !important}

td.actions > .icon-button:nth-child(4),
td.actions > .icon-button:nth-child(5){margin-left:-32px !important}

td.actions a[title="Analytics"],
td.actions a[title="Edit"]{margin-left:-32px !important}

td.actions a[title="Analytics"]{transform:translateX(-32px) !important}

td.actions a[title="Edit"]{transform:translateX(-32px) !important}

/* Simple action-button hover: background change only */
td.actions .icon-button:hover,
td.actions .icon-button:focus-visible,
td.actions a.icon-button:hover,
td.actions a.icon-button:focus-visible{
  background-color:#fff !important;
  color:#07133b !important;
  transform:none !important;
  outline:none !important;
  box-shadow:none !important;
}

/* Live analytics icon fallback */
td.actions a[title="Analytics"]{font-size:0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='19' x2='4' y2='5'/%3E%3Cline x1='4' y1='19' x2='20' y2='19'/%3E%3Cpolyline points='6 15 10 11 13 13 18 7'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:18px 18px!important;}

/* Analytics graph icon over stale inline symbol */
td.actions a[title="Analytics"]{position:relative!important;text-indent:-9999px!important;overflow:hidden!important;}
td.actions a[title="Analytics"]::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='19' x2='4' y2='5'/%3E%3Cline x1='4' y1='19' x2='20' y2='19'/%3E%3Cpolyline points='6 15 10 11 13 13 18 7'/%3E%3C/svg%3E") center/18px 18px no-repeat;}

/* Unified action button interaction state */
td.actions .icon-button,td.actions .icon-button::before{transition:none!important;animation:none!important;}
td.actions .icon-button:hover,td.actions .icon-button:active,td.actions .icon-button:focus,td.actions .icon-button:focus-visible{background:#fff!important;color:#07133b!important;transform:none!important;outline:none!important;box-shadow:none!important;filter:none!important;}

/* Final explicit action button states */
td.actions .icon-button{background:#04D863!important;color:#07133b!important;transition:none!important;animation:none!important;transform:none!important;outline:none!important;box-shadow:none!important;}
td.actions .icon-button:hover,td.actions .icon-button:active,td.actions .icon-button:focus,td.actions .icon-button:focus-visible{background:#fff!important;color:#07133b!important;transition:none!important;animation:none!important;transform:none!important;outline:none!important;box-shadow:none!important;}

/* Highest-specificity action states */
table td.actions a.icon-button{background-color:#04D863!important;background:#04D863!important;color:#07133b!important;transform:none!important;outline:none!important;box-shadow:none!important;transition:none!important;animation:none!important;}
table td.actions a.icon-button:hover,table td.actions a.icon-button:active,table td.actions a.icon-button:focus,table td.actions a.icon-button:focus-visible{background-color:#fff!important;background:#fff!important;color:#07133b!important;transform:none!important;outline:none!important;box-shadow:none!important;transition:none!important;animation:none!important;}

/* Reliable flat hover overlay for action buttons */
table td.actions a.icon-button{position:relative!important;background:#04D863!important;color:#07133b!important;transform:none!important;outline:none!important;box-shadow:none!important;transition:none!important;animation:none!important;}
table td.actions a.icon-button::after{content:"";position:absolute;inset:0;border-radius:50%;background:transparent;z-index:2;pointer-events:none;}
table td.actions a.icon-button:hover::after,table td.actions a.icon-button:active::after,table td.actions a.icon-button:focus::after,table td.actions a.icon-button:focus-visible::after{background:#fff;}
table td.actions a.icon-button svg,table td.actions a.icon-button::before{position:relative;z-index:3;}

table td.actions a[title="Analytics"]::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='19' x2='4' y2='5'/%3E%3Cline x1='4' y1='19' x2='20' y2='19'/%3E%3Cpolyline points='6 15 10 11 13 13 18 7'/%3E%3C/svg%3E") center/18px 18px no-repeat;z-index:3;}

/* Final flat action row alignment */
table td.actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;}
table td.actions a.icon-button,table td.actions a.icon-button:hover,table td.actions a.icon-button:active,table td.actions a.icon-button:focus,table td.actions a.icon-button:focus-visible{margin:0!important;transform:none!important;outline:none!important;outline-offset:0!important;box-shadow:none!important;transition:none!important;animation:none!important;}
/* Final hover stability and uniform action spacing */
html body .table-wrap tbody td.actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;}
html body .table-wrap tbody td.actions a.icon-button,
html body .table-wrap tbody td.actions a.icon-button:hover,
html body .table-wrap tbody td.actions a.icon-button:active,
html body .table-wrap tbody td.actions a.icon-button:focus,
html body .table-wrap tbody td.actions a.icon-button:focus-visible{
  margin:0!important;
  transform:none!important;
  outline:none!important;
  outline-width:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
  transition:none!important;
  animation:none!important;
}
/* Do not reserve a flex slot for the hidden status form */
html body .table-wrap tbody td.actions form{display:none!important;width:0!important;flex:0 0 0!important;margin:0!important;padding:0!important;}
/* Keep the same white hover state on every action button */
html body .table-wrap tbody td.actions a.icon-button:hover,
html body .table-wrap tbody td.actions a.icon-button:focus-visible{
  background:#fff!important;
  color:#04D863!important;
  transform:none!important;
  outline:none!important;
  box-shadow:none!important;
}
.country-analytics-table{width:100%;table-layout:fixed}.country-analytics-table th,.country-analytics-table td{white-space:nowrap}.country-analytics-table th:nth-child(1),.country-analytics-table td:nth-child(1){width:42%}.country-analytics-table th:nth-child(2),.country-analytics-table td:nth-child(2){width:18%;text-align:right}.country-analytics-table th:nth-child(3),.country-analytics-table td:nth-child(3){width:18%;text-align:right}.country-analytics-table th:nth-child(4),.country-analytics-table td:nth-child(4){width:22%;text-align:right}.country-analytics-table td:first-child{overflow:hidden;text-overflow:ellipsis}.country-analytics-table .analytics-icon{white-space:nowrap} .country-analytics-table td:last-child,.country-analytics-table th:last-child{white-space:nowrap!important;display:table-cell!important;word-break:keep-all!important;overflow:visible!important;min-width:112px}.country-analytics-table td:nth-child(2),.country-analytics-table td:nth-child(3){white-space:nowrap!important;display:table-cell!important}
.device-summary-panel{margin-bottom:18px}.device-summary-panel .toolbar{display:flex;align-items:center;justify-content:space-between}.device-summary-panel .toolbar small{font-size:12px;color:var(--muted);font-weight:600}.device-summary-body{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:28px;align-items:center;padding:28px 34px 32px}.device-donut{width:min(100%,360px);aspect-ratio:1;border-radius:50%;position:relative;margin:auto;transform:rotate(-2deg);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.device-donut-hole{position:absolute;inset:24%;border-radius:50%;background:var(--panel,#111a45);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(2deg);box-shadow:0 0 0 1px rgba(255,255,255,.12)}.device-donut-hole strong{font-size:42px;line-height:1;color:#fff}.device-donut-hole span{margin-top:8px;color:#aeb8d7;font-size:17px}.device-legend{display:grid;gap:22px}.device-legend-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;font-size:20px}.device-legend-name{display:flex;align-items:center;gap:12px;min-width:0;white-space:nowrap}.device-swatch{width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.12);flex:0 0 auto}.device-legend-row strong{font-size:22px;color:#fff}.device-legend-change{font-size:21px;white-space:nowrap;font-weight:700}.device-legend-change.neutral{color:var(--muted)}.device-summary-grid{display:block}.device-summary-grid>.panel:first-child{display:none}@media(max-width:760px){.device-summary-body{grid-template-columns:1fr;gap:24px;padding:22px 18px 26px}.device-donut{width:min(82vw,300px)}.device-legend{gap:16px}.device-legend-row{font-size:16px;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.device-legend-row strong,.device-legend-change{font-size:16px}.device-donut-hole strong{font-size:34px}.device-donut-hole span{font-size:15px}}.device-summary-grid>.panel:first-child{display:block!important}
.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.device-summary-body{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:18px 16px 20px!important}
.device-donut{width:min(100%,190px)!important;max-width:190px;margin:0 auto!important}
.device-donut-hole strong{font-size:30px!important}
.device-donut-hole span{font-size:13px!important}
.device-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px!important}
.device-legend-row{grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px!important;font-size:13px!important}
.device-legend-name{gap:7px!important}
.device-legend-row strong,.device-legend-change{font-size:13px!important}
@media(max-width:760px){.analytics-grid,.field-grid{grid-template-columns:1fr!important}.device-summary-body{grid-template-columns:minmax(0,1fr)!important}.device-donut{width:min(68vw,230px)!important;max-width:230px}.device-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}
.device-summary-body{grid-template-columns:minmax(130px,0.9fr) minmax(0,1.1fr)!important;align-items:center!important;gap:14px!important}
.device-donut{width:min(100%,200px)!important;max-width:200px!important}
.device-legend{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.device-legend-row{grid-template-columns:minmax(0,1fr) auto auto!important}
@media(max-width:760px){.device-summary-body{grid-template-columns:minmax(0,1fr)!important}.device-donut{width:min(68vw,230px)!important;max-width:230px!important}.device-legend{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.device-legend-change.positive{color:var(--green)!important}.device-legend-change.negative{color:#ff7b7b!important}
.profile-admin-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid rgba(180,190,225,.16)}.profile-admin-row:last-child{border-bottom:0}.profile-form form{display:grid;gap:16px}.profile-form label{display:grid;gap:8px;font-weight:600}.profile-form .input{width:100%;box-sizing:border-box;border-radius:10px;padding:12px}.profile-colors{display:flex;gap:20px}.profile-colors label{flex:1}.profile-colors input[type=color]{height:44px}.public-profile{box-sizing:border-box}.public-profile img{display:block}.profile-credit{color:#c1c8df}
@media(max-width:650px){.profile-admin-row{align-items:flex-start;flex-direction:column}.profile-admin-row .toolbar{flex-wrap:wrap}.profile-colors{flex-direction:column}}
