﻿:root {
  --ink: #101827;
  --muted: #637083;
  --line: rgba(255, 255, 255, .72);
  --glass: rgba(255, 255, 255, .48);
  --dark: #0a1020;
  --cyan: #55d4e4;
  --ok: #0f766e;
  --warn: #9a6200;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.88) 0, transparent 23%),
    radial-gradient(circle at 20% 86%, rgba(246,199,154,.55) 0, transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(77,211,228,.74) 0, transparent 37%),
    linear-gradient(112deg, #fff1dc 0%, #f6dec6 26%, #c7eff0 58%, #54cfdf 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent);
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 10px 10px 72px;
}

.login-page {
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.glass {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.34));
  box-shadow: 0 28px 78px rgba(28,104,125,.16);
  backdrop-filter: blur(26px);
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255,255,255,.36), transparent 34%), linear-gradient(300deg, rgba(255,255,255,.18), transparent 44%);
}

.content { position: relative; z-index: 1; }

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.16)), linear-gradient(135deg, #ffbf8a 6%, #fff 43%, #55d6e6 94%);
  box-shadow: inset 0 1px 3px rgba(255,255,255,.8), 0 8px 22px rgba(31,113,134,.2);
  flex: 0 0 auto;
}

.login-card {
  width: min(480px, calc(100vw - 34px));
  padding: 34px;
}

.login-card strong,
.topbar strong { font-size: 18px; font-weight: 900; }

.login-copy {
  margin: 34px 0 24px;
}

.login-copy span,
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { margin-top: 8px; font-size: 34px; line-height: 1.1; }

.login-form,
.stack {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.76);
  outline: none;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}

input, select {
  height: 46px;
  padding: 0 16px;
}

textarea {
  resize: vertical;
  min-height: 220px;
  padding: 16px;
  line-height: 1.55;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 10px;
}

.primary, .ghost, .soft {
  height: 42px;
  border: 0;
  border-radius: 21px;
  padding: 0 18px;
  font-weight: 900;
  white-space: nowrap;
}

.primary {
  color: #fff;
  background: var(--dark);
  box-shadow: 0 14px 28px rgba(10,16,32,.24);
}

.primary.full { width: 100%; margin-top: 6px; }

.ghost, .soft {
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.58);
}

.topbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 260px minmax(360px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 22px;
  background: rgba(255,255,255,.54);
  box-shadow: 0 22px 55px rgba(32,86,101,.12);
  backdrop-filter: blur(24px);
}

.nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255,255,255,.36);
  border: 1px solid rgba(255,255,255,.58);
}

.nav span {
  height: 36px;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 900;
}

.nav .active {
  color: #fff;
  background: var(--dark);
}

.user-pill, .tag {
  display: inline-flex;
  align-items: center;
  height: 34px;
  border-radius: 17px;
  padding: 0 12px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.74);
  font-size: 13px;
  font-weight: 900;
  color: #344054;
}

.shell {
  max-width: 1320px;
  margin: 16px auto 0;
  display: grid;
  gap: 14px;
}

.collect-shell {
  max-width: 1120px;
  margin-top: 48px;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  gap: 18px;
}

.collect-main,
.status-card,
.history-card { padding: 24px; }

.collect-main {
  width: min(880px, 100%);
}

/* 2026-08-05 管理统筹侧 P0 增补 */
.manager-overview-page,
.team-onboarding-page,
.history-page {
  font-size: 15px;
}
.multi-filter-search {
  width: 100% !important;
  height: 32px !important;
  margin-bottom: 6px;
  padding: 0 10px !important;
  border: 1px solid rgba(52,64,84,.10) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 850;
}
.manager-table-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.manager-table-tools select,
.manager-table-tools input,
.manager-table-tools button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 13px;
  background: rgba(255,255,255,.56);
  color: #344054;
  font-size: 9px;
  font-weight: 900;
  outline: 0;
}
.manager-table-tools button {
  color: #fff;
  background: var(--dark);
  cursor: pointer;
}
.manager-table-tools.video-tools input {
  width: 210px;
}
.management-ranking-row {
  min-width: 1580px;
  grid-template-columns: 42px 190px 178px 88px 88px 88px 150px 78px 68px 88px 70px 90px 74px;
  font-size: 10px;
}
.interaction-detail-cell {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 3px 8px;
}
.interaction-detail-cell small {
  color: #647184;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}
.video-performance-row {
  min-width: 1580px;
  grid-template-columns: 42px minmax(260px,1.35fr) 160px 82px 88px 88px 78px 70px 70px 70px 78px 86px 74px;
  font-size: 10px;
}
.video-performance-row.empty-video-search {
  grid-template-columns: 1fr;
  min-width: 100%;
  justify-items: center;
  color: var(--muted);
}
.asset-search.wide {
  width: 360px;
}
.asset-list-actions .ghost {
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(10,16,32,.10);
  border-radius: 15px;
  color: #253247;
  background: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.asset-view-controls {
  align-items: flex-start;
}
.asset-view-controls > div {
  flex-wrap: wrap;
}
.asset-management-table {
  min-width: 1500px;
}
.asset-management-table td,
.asset-management-table th {
  font-size: 11px;
}
.asset-type-pill {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 11px;
  color: #23576a;
  background: rgba(85,212,228,.14);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.asset-metric-stack {
  min-width: 220px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px 10px;
}
.asset-metric-stack span,
.asset-metric-stack b,
.asset-metric-stack small {
  display: block;
}
.asset-metric-stack b {
  color: var(--ink);
  font-size: 11px;
}
.asset-metric-stack small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.invite-permission-field {
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  background: rgba(255,255,255,.34);
}
.invite-permission-field legend {
  padding: 0 6px;
  color: #344054;
  font-size: 11px;
  font-weight: 950;
}
.invite-permission-field > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  font-weight: 800;
}
.permission-role-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.permission-role-grid.compact {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.operation-permission-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}
.operation-permission-grid.two-column {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.operation-permission-grid label {
  min-height: 70px;
  padding: 10px;
  border: 1px solid rgba(52,64,84,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.52);
  display: grid;
  grid-template-columns: 16px minmax(0,1fr);
  gap: 8px;
  cursor: pointer;
}
.operation-permission-grid input {
  inline-size: 16px;
  block-size: 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  margin-top: 2px;
  accent-color: var(--dark);
  box-shadow: none;
}
.operation-permission-grid input:disabled {
  opacity: .72;
}
.operation-permission-grid b,
.operation-permission-grid small {
  display: block;
}
.operation-permission-grid b {
  color: var(--ink);
  font-size: 10px;
}
.operation-permission-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
  font-weight: 800;
}
.permission-role-grid label {
  min-height: 56px;
  padding: 9px;
  border: 1px solid rgba(52,64,84,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.52);
  display: grid;
  grid-template-columns: 16px minmax(0,1fr);
  gap: 8px;
  cursor: pointer;
}
.permission-role-grid input {
  inline-size: 16px;
  block-size: 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  margin-top: 2px;
  accent-color: var(--dark);
  box-shadow: none;
}
.permission-role-grid b,
.permission-role-grid small {
  display: block;
}
.permission-role-grid b {
  color: var(--ink);
  font-size: 10px;
}
.permission-role-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
  font-weight: 800;
}
.history-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.history-kpi-grid div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
}
.history-kpi-grid b,
.history-kpi-grid span {
  display: block;
}
.history-kpi-grid b {
  color: var(--ink);
  font-size: 22px;
}
.history-kpi-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}
.history-action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.history-action-bar button {
  height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(10,16,32,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  color: #253247;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.history-action-bar button.primary {
  color: #fff;
  background: var(--dark);
}
.overview-date-caliber-filter {
  min-height: 97px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
  display: grid;
  gap: 7px;
}
.overview-date-caliber-filter > span {
  color: #344054;
  font-size: 10px;
  font-weight: 950;
}
.overview-date-caliber-filter > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 7px;
}
.overview-date-caliber-filter input {
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(52,64,84,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.68);
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
}
.overview-date-caliber-filter em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.overview-date-caliber-filter small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
  font-weight: 800;
}
.history-detail-body {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.history-detail-body div {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
}
.history-detail-body span,
.history-detail-body b {
  display: block;
}
.history-detail-body span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
}
.history-detail-body b {
  margin-top: 5px;
  color: var(--ink);
  font-size: 12px;
}
@media(max-width:1180px) {
  .asset-list-head,
  .asset-list-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .asset-search.wide,
  .manager-table-tools.video-tools input {
    width: 100%;
  }
  .history-kpi-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
.collect-main .page-head {
  padding: 0;
  margin-bottom: 22px;
}
.collect-main .page-head > div:first-child {
  min-width: 0;
}

.collect-bottom {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 22px;
}

.option-row {
  display: grid;
  grid-template-columns: repeat(3, max-content) minmax(190px, 1fr);
  gap: 12px;
  align-items: center;
  margin: 14px 0 18px;
}

.check {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 21px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 900;
}

.check input { width: 16px; height: 16px; }
.range-field {
  display: grid;
  gap: 6px;
}

.range-field p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  padding: 0 10px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-title strong {
  font-size: 17px;
  font-weight: 950;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
}

.progress div {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #111827, #55d4e4);
  transition: width .35s ease;
}

.status-lines {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.status-lines p,
.history-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.status-lines p {
  position: relative;
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(255,255,255,.72);
  font-weight: 900;
}

.status-lines p:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 2px;
  background: rgba(10,16,32,.18);
  transform: translateY(-50%);
}

.status-lines p.done {
  color: var(--ok);
  background: rgba(255,255,255,.72);
  border-color: rgba(15,118,110,.26);
}

.status-lines p.active {
  color: var(--ink);
  background: rgba(255,255,255,.82);
  border-color: rgba(10,16,32,.18);
}

.history-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.history-item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.72);
}

.history-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}


.history-item {
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.history-item:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.7);
}

.history-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.history-toggle {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.history-detail {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.72);
  padding-top: 12px;
}

.account-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 13px;
  background: rgba(255,255,255,.58);
}

.account-line span,
.account-line a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}

.account-line b {
  font-size: 12px;
}

.account-line em {
  justify-self: end;
  color: var(--ok);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.history-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.history-pager button {
  height: 32px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 16px;
  padding: 0 12px;
  background: rgba(255,255,255,.58);
  color: var(--ink);
  font-weight: 900;
}

.history-pager button:disabled {
  opacity: .45;
  cursor: default;
}

.history-pager span {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}
@media (max-width: 980px) {
  .status-lines { grid-template-columns: 1fr; }
  .status-lines p:not(:last-child)::after { display:none; }
  .topbar,
  .collect-shell,
  .collect-bottom,
  .option-row { grid-template-columns: 1fr; }
  .nav { justify-self: stretch; overflow-x: auto; }
  .user-pill { justify-self: start; }
}




/* 2026-08-07 v20：统筹反馈补充 - 权限演示、异常定位、导出字段、总互动排序 */
.manager-role-switcher {
  padding-right: 8px;
}
.manager-role-switcher span {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manager-role-switcher select {
  height: 28px;
  padding: 0 24px 0 10px;
  border: 1px solid rgba(52,64,84,.12);
  border-radius: 14px;
  color: #253247;
  background: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 900;
}
.manager-role-switcher .demo-role-note {
  color: #7f8b9a;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .04em;
  white-space: nowrap;
}
body.role-readonly [data-permission-disabled] {
  opacity: .46;
  cursor: not-allowed !important;
  filter: grayscale(.15);
}
.permission-page [data-permission-disabled],
.permission-page button:disabled[data-permission-disabled],
.permission-page .table-assign-button:disabled,
.permission-page .table-assign-button[data-permission-disabled] {
  color: #667085 !important;
  background: rgba(102,112,133,.1) !important;
  border-color: rgba(102,112,133,.16) !important;
  box-shadow: none !important;
  opacity: .72 !important;
  cursor: not-allowed !important;
  filter: grayscale(.12);
  pointer-events: none;
}
.permission-page .permission-row-readonly {
  cursor: default;
}
.permission-page .permission-row-readonly:hover {
  background: transparent;
}
.permission-page .permission-row-readonly .table-assign-button {
  min-width: 84px;
}
.permission-page.permission-config-readonly .permission-editor-panel,
.permission-page.permission-config-readonly .permission-invite-panel {
  --readonly-surface: rgba(255,255,255,.58);
}
.nav [data-permission-disabled] {
  opacity: .42;
  cursor: not-allowed !important;
  filter: grayscale(.18);
  box-shadow: none !important;
}
.asset-focus-notice {
  margin: 12px 0 10px;
  padding: 11px 13px;
  border: 1px solid rgba(239,68,68,.18);
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(254,226,226,.58),rgba(255,255,255,.42));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.asset-focus-notice[hidden] { display: none !important; }
.asset-focus-notice b,
.asset-focus-notice span,
.asset-focus-notice a {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 900;
}
.asset-focus-notice b { color: #9f2f2f; }
.asset-focus-notice span { flex: 1; color: #607085; }
.asset-focus-notice a { color: #253247; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.asset-focus-notice.asset-selection-hint {
  border-color: rgba(14,116,144,.18);
  background: linear-gradient(135deg,rgba(207,250,254,.58),rgba(255,255,255,.56));
}
.asset-focus-notice.asset-selection-hint b {
  color: #0f5165;
}
.asset-selection-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.asset-selection-actions button {
  border: 1px solid rgba(15,81,101,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #173b4a;
  font-size: 10px;
  font-weight: 900;
  padding: 7px 10px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15,81,101,.08);
}
.asset-selection-actions button:hover {
  transform: translateY(-1px);
  background: #fff;
}
.asset-select-pulse {
  outline: 2px solid rgba(14,116,144,.48);
  outline-offset: 2px;
  animation: assetSelectPulse 1.8s ease;
}
@keyframes assetSelectPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,116,144,0); }
  35% { box-shadow: 0 0 0 8px rgba(14,116,144,.14); }
}
.asset-risk-row {
  background: rgba(254,226,226,.20);
}
.asset-risk-note {
  display: block;
  margin-top: 5px;
  color: #b42318;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.25;
}
.asset-content-tag-cell,
.asset-positioning-cell {
  min-width: 170px;
  display: grid;
  gap: 3px;
}
.editable-positioning-cell {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.editable-positioning-cell:hover {
  border-color: rgba(85,212,228,.36);
  background: rgba(255,255,255,.42);
}
.asset-content-tag-cell b,
.asset-content-tag-cell small,
.asset-content-tag-cell em,
.asset-content-tag-cell i,
.asset-positioning-cell b,
.asset-positioning-cell small,
.asset-positioning-cell em,
.asset-positioning-cell i {
  display: block;
  font-style: normal;
  line-height: 1.25;
}
.asset-content-tag-cell b,
.asset-positioning-cell b {
  color: var(--ink);
  font-size: 10px;
  font-weight: 950;
}
.asset-content-tag-cell small,
.asset-content-tag-cell em,
.asset-positioning-cell small {
  color: #607085;
  font-size: 8px;
  font-weight: 850;
}
.asset-positioning-cell em {
  color: #0f766e;
  font-size: 8px;
  font-weight: 950;
}
.asset-positioning-cell i {
  color: #7b8aa0;
  font-size: 8px;
  font-weight: 900;
}
.asset-content-tag-cell i {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(85,212,228,.14);
  font-size: 8px;
  font-weight: 950;
}
.asset-management-table {
  min-width: 2380px !important;
}
.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 1660px !important;
  grid-template-columns: 48px 230px 220px 94px 94px 98px 94px 138px 84px 76px 102px 84px 104px 96px !important;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 1840px !important;
  grid-template-columns: 48px minmax(330px,1.45fr) 170px 210px 108px 90px 94px 78px 72px 72px 72px 92px 84px 88px 96px !important;
}
.managed-export-card {
  width: min(760px,calc(100vw - 34px));
}
.managed-export-range {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.managed-export-range label {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
}
.managed-export-fields {
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 10px;
}
.managed-export-fields fieldset {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.34);
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px 10px;
}
.managed-export-fields legend {
  padding: 0 6px;
  color: #253247;
  font-size: 11px;
  font-weight: 950;
}
.managed-export-fields label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #607085;
  font-size: 10px;
  font-weight: 850;
}
.managed-export-range input[type="radio"],
.managed-export-fields input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #0a1020;
  appearance: auto;
  -webkit-appearance: auto;
}
.managed-export-fields label span {
  line-height: 1.25;
}
@media (max-width: 760px) {
  .managed-export-range,
  .managed-export-fields fieldset {
    grid-template-columns: 1fr;
  }
}



.nav a {
  height: 36px;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 900;
}

.nav a.active { color: #fff; background: var(--dark); }

.analytics-shell {
  max-width: 1240px;
  margin-top: 26px;
  gap: 16px;
}

.filter-bar { padding: 18px; }
.filter-bar .content {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.filter-bar label { display: grid; gap: 7px; color: #344054; font-size: 12px; font-weight: 900; }

.hero-grid,
.chart-grid,
.table-grid,
.metric-strip {
  display: grid;
  gap: 16px;
}
.hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr); }
.chart-grid { grid-template-columns: 1fr 1fr; }
.table-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.metric-strip { grid-template-columns: repeat(4, 1fr); }

.chart-card,
.data-panel,
.insight-card,
.metric-card { padding: 20px; }
.chart-card.large { min-height: 354px; }
.chart-card { min-height: 286px; }
.line-chart { width: 100%; height: 278px; display: block; }
.line-chart.small { height: 218px; }
.grid-line { fill: none; stroke: rgba(10,16,32,.09); stroke-width: 1; }
.area-fill { fill: rgba(85,212,228,.18); }
.chart-line { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawLine 1.15s ease forwards; }
.primary-line { stroke: #101827; }
.accent-line { stroke: #24b7c8; animation-delay: .14s; }
.soft-line { stroke: rgba(16,24,39,.35); stroke-width: 5; animation-delay: .24s; }
.axis-labels text { fill: #667085; font-size: 13px; font-weight: 800; }

.insight-stack { display: grid; gap: 12px; }
.insight-card strong { display: block; margin: 8px 0 7px; font-size: 18px; line-height: 1.28; }
.insight-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; font-weight: 750; }

.bar-chart {
  height: 214px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
  padding-top: 14px;
}
.bar-chart div { display: grid; gap: 10px; justify-items: center; align-items: end; height: 100%; }
.bar-chart span {
  width: min(52px, 100%);
  height: var(--h);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #101827, #55d4e4);
  box-shadow: 0 14px 30px rgba(16,24,39,.14);
  animation: riseBar .75s ease both;
}
.bar-chart b { color: #344054; font-size: 12px; }

.data-table { display: grid; gap: 8px; }
.data-table > div {
  display: grid;
  grid-template-columns: 86px minmax(132px, 1fr) 80px 84px 80px 58px;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 15px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.68);
}
.data-table .thead { min-height: 36px; color: var(--muted); background: rgba(255,255,255,.34); font-size: 12px; font-weight: 900; }
.data-table span,
.data-table strong,
.data-table a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.data-table strong { font-weight: 950; }
.data-table a { color: #fff; justify-self: start; padding: 7px 12px; border-radius: 16px; background: var(--dark); font-weight: 900; }

.metric-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.metric-card strong { font-size: 24px; font-weight: 950; }
.detail-shell .page-head { margin: 8px 0 0; }
.back-button { display: inline-flex; align-items: center; justify-content: center; }

.reveal-card { animation: revealUp .56s ease both; }
.reveal-card:nth-child(2) { animation-delay: .08s; }
.reveal-card:nth-child(3) { animation-delay: .16s; }
.dashboard-refreshing .reveal-card { animation: pulseRefresh .7s ease both; }
.dashboard-refreshing .chart-line { animation: none; stroke-dashoffset: 0; }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes riseBar { from { height: 0; opacity: .4; } to { height: var(--h); opacity: 1; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseRefresh { 0% { opacity: .45; transform: translateY(8px); } 100% { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .filter-bar .content,
  .hero-grid,
  .chart-grid,
  .table-grid,
  .metric-strip { grid-template-columns: 1fr; }
  .data-table > div { grid-template-columns: 76px minmax(120px, 1fr) 68px; }
  .data-table > div span:nth-child(4),
  .data-table > div span:nth-child(5) { display: none; }
}

/* Restored prototype shared styles */
:root{
  --ink:#101827;
  --muted:#5f6e82;
  --line:rgba(255,255,255,.72);
  --glass:rgba(255,255,255,.46);
  --dark:#0a1020;
  --cyan:#55d4e4;
  --peach:#f4cfad;
  --ok:#0f766e;
  --warn:#8a5b00;
  --danger:#8f2b2b;
}
*{box-sizing:border-box}
html,body{width:100%;min-height:100%;margin:0}
body{
  font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 11% 12%,rgba(255,255,255,.9) 0,transparent 23%),
    radial-gradient(circle at 20% 86%,rgba(246,199,154,.55) 0,transparent 32%),
    radial-gradient(circle at 92% 18%,rgba(77,211,228,.76) 0,transparent 37%),
    linear-gradient(112deg,#fff1dc 0%,#f6dec6 26%,#c7eff0 58%,#54cfdf 100%);
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 82%,transparent);
}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.page{position:relative;z-index:1;min-height:100vh;padding:8px 8px 72px}
.login-page{display:grid;place-items:center;padding:28px 18px}
.topbar{
  min-height:58px;
  display:grid;
  grid-template-columns:320px minmax(420px,1fr) auto;
  align-items:center;
  gap:20px;
  padding:0 24px;
  border:1px solid rgba(255,255,255,.76);
  border-radius:22px;
  background:rgba(255,255,255,.54);
  box-shadow:0 22px 55px rgba(32,86,101,.12);
  backdrop-filter:blur(24px);
}
.brand-row{display:flex;align-items:center;gap:12px;min-width:0}
.logo{
  width:34px;height:34px;border-radius:13px;
  background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(255,255,255,.16)),linear-gradient(135deg,#ffbf8a 6%,#fff 43%,#55d6e6 94%);
  box-shadow:inset 0 1px 3px rgba(255,255,255,.8),0 8px 22px rgba(31,113,134,.2);
  flex:0 0 auto;
}
.brand-title{font-weight:900;font-size:18px;white-space:nowrap}
.nav{
  justify-self:center;
  display:flex;
  gap:8px;
  padding:5px;
  border-radius:18px;
  background:rgba(255,255,255,.36);
  border:1px solid rgba(255,255,255,.58);
}
.nav a,.nav span{
  height:36px;
  min-width:104px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:14px;
  color:#4a5568;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.nav .active{color:#fff;background:var(--dark)}
.user-pill{
  height:36px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border-radius:18px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.74);
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.glass{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(135deg,rgba(255,255,255,.58),rgba(255,255,255,.32));
  box-shadow:0 28px 78px rgba(28,104,125,.16);
  backdrop-filter:blur(26px);
}
.glass:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(130deg,rgba(255,255,255,.36),transparent 34%),linear-gradient(300deg,rgba(255,255,255,.18),transparent 44%);
}
.content{position:relative;z-index:1}
.shell{max-width:1320px;margin:16px auto 0;display:grid;gap:14px}
.eyebrow{color:#647184;font-size:13px;font-weight:900}
h1,h2,h3{letter-spacing:0}
.primary,.ghost,.soft,.dark-btn{
  height:40px;
  border-radius:20px;
  padding:0 16px;
  font-weight:900;
}
.primary,.dark-btn{border:0;background:var(--dark);color:#fff;box-shadow:0 16px 34px rgba(7,13,29,.16)}
.ghost,.soft{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.78);color:#253247}
.danger{color:var(--danger)}
.login-card{
  width:min(520px,100%);
  padding:28px;
}
.login-card h1{font-size:42px;line-height:1;margin:28px 0 10px}
.login-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.login-form{margin-top:22px;padding:16px;border-radius:24px;background:rgba(255,255,255,.46);border:1px solid rgba(255,255,255,.76);display:grid;gap:12px}
.field{display:grid;gap:8px}
.field label{color:#536274;font-size:12px;font-weight:900}
.field input,.field select{
  height:44px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:18px;
  background:rgba(255,255,255,.66);
  padding:0 14px;
  color:#172033;
  outline:none;
  font-weight:800;
}
.role-entry{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.role-card{
  min-height:86px;
  padding:13px;
  border-radius:20px;
  background:rgba(255,255,255,.52);
  border:1px solid rgba(255,255,255,.78);
  text-align:left;
}
.role-card b{display:block;font-size:15px}
.role-card span{display:block;margin-top:6px;color:#657386;font-size:12px;line-height:1.45;font-weight:800}
.login-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.page-head{
  padding:24px 28px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.page-head h1{margin:8px 0 8px;font-size:34px;line-height:1}
.page-head p{margin:0;max-width:820px;color:#59687c;line-height:1.68;font-size:14px}
.head-actions{display:flex;gap:10px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.grid-admin{display:grid;grid-template-columns:390px minmax(0,1fr);gap:14px;padding:18px 20px 22px}
.stack{display:grid;gap:12px}
.panel{padding:16px;border-radius:22px;background:rgba(255,255,255,.44);border:1px solid rgba(255,255,255,.72)}
.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.panel-title strong{font-size:17px}
.tag{height:28px;display:inline-flex;align-items:center;border-radius:14px;padding:0 10px;color:#334155;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.74);font-size:12px;font-weight:900}
.invite-code{
  height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  border-radius:18px;
  background:rgba(10,16,32,.9);
  color:#fff;
}
.invite-code b{font-size:22px;letter-spacing:2px}
.member-row,.account-row,.collect-row{
  display:grid;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:10px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.48);
  border:1px solid rgba(255,255,255,.72);
}
.member-row{grid-template-columns:42px minmax(0,1fr) auto}
.avatar{
  width:42px;height:42px;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-weight:900;background:linear-gradient(135deg,#111827,#50c9d9);
  flex:0 0 auto;
}
.row-main{min-width:0}
.row-main strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-main span{display:block;margin-top:4px;color:#657386;font-size:12px;line-height:1.35}
.row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mini{padding:13px;border-radius:18px;background:rgba(255,255,255,.43);border:1px solid rgba(255,255,255,.72);min-height:78px}
.mini b{display:block;font-size:24px;line-height:1}
.mini span{display:block;margin-top:7px;color:#647184;font-size:12px}
.assignment-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px}
.account-list{display:grid;gap:9px}
.account-row{grid-template-columns:auto 42px minmax(180px,1fr) 90px 100px 98px}
.check{width:18px;height:18px;accent-color:var(--dark)}
.status{height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:0 10px;font-size:12px;font-weight:900}
.ok{color:var(--ok);background:rgba(20,184,166,.13);border:1px solid rgba(20,184,166,.24)}
.warn{color:var(--warn);background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.24)}
.bad{color:var(--danger);background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.22)}
.summary-card{display:grid;gap:10px;align-content:start}
.summary-card h3{margin:0;font-size:22px}
.summary-card p{margin:0;color:#647184;font-size:12px;line-height:1.55}
.timeline{display:grid;gap:8px;margin-top:4px}
.step{display:flex;align-items:flex-start;gap:9px;color:#536274;font-size:12px;line-height:1.4}
.dot{width:8px;height:8px;border-radius:50%;background:var(--dark);margin-top:4px;flex:0 0 auto}
.collect-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;padding:18px 20px 22px}
.filter-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.select-box{padding:12px;border-radius:18px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72)}
.select-box b{display:block;font-size:13px}
.select-box span{display:block;margin-top:5px;color:#657386;font-size:12px}
.collect-row{grid-template-columns:auto 42px minmax(180px,1fr) 92px 108px 94px}
.progress-card{padding:16px;border-radius:22px;background:rgba(10,16,32,.9);color:#fff}
.progress-card h3{margin:0 0 8px;font-size:22px}
.progress-card p{margin:0;color:rgba(255,255,255,.72);font-size:12px;line-height:1.55}
.progress-track{height:8px;margin:14px 0;border-radius:4px;background:rgba(255,255,255,.18);overflow:hidden}
.progress-fill{height:100%;width:72%;border-radius:4px;background:linear-gradient(90deg,#5eead4,#fff)}
.bottom-bar{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:20;
  width:min(1240px,calc(100% - 48px));
  min-height:62px;
  padding:10px 14px 10px 18px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.82);
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(24px);
  box-shadow:0 18px 48px rgba(28,104,125,.18);
  transform:translateX(-50%);
}
.bottom-bar strong{display:block;font-size:14px}
.bottom-bar span{display:block;margin-top:5px;color:#647184;font-size:12px;line-height:1.42}
.toast{
  position:fixed;
  right:26px;
  bottom:92px;
  z-index:40;
  display:none;
  align-items:center;
  height:38px;
  padding:0 16px;
  border-radius:19px;
  background:rgba(10,16,32,.9);
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 18px 40px rgba(7,13,29,.18);
}
.toast.show{display:flex;animation:rise .35s ease both}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){
  .topbar{grid-template-columns:1fr;height:auto;padding:18px}
  .nav{justify-self:start;overflow-x:auto;max-width:100%}
  .grid-admin,.collect-layout,.assignment-layout{grid-template-columns:1fr}
  .mini-grid,.filter-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .page{padding-bottom:140px}
  .login-card{padding:22px}
  .login-card h1{font-size:36px}
  .role-entry,.login-actions,.mini-grid,.filter-strip,.bottom-bar{grid-template-columns:1fr}
  .page-head{display:block}
  .head-actions{margin-top:12px}
  .member-row,.account-row,.collect-row{grid-template-columns:42px minmax(0,1fr)}
  .member-row .avatar,.account-row .avatar,.collect-row .avatar{grid-column:1}
  .member-row .row-main,.account-row .row-main,.collect-row .row-main{grid-column:2}
  .account-row > :not(.avatar):not(.row-main),.collect-row > :not(.avatar):not(.row-main){grid-column:2;justify-self:start}
}

.count-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.count-option{
  height:34px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:17px;
  background:rgba(255,255,255,.58);
  color:#263247;
  font-size:12px;
  font-weight:900;
}
.count-option.active{background:var(--dark);color:#fff;border-color:var(--dark)}
.dashboard-link{
  display:none;
  height:38px;
  margin-top:12px;
  align-items:center;
  justify-content:center;
  border-radius:19px;
  background:#fff;
  color:var(--dark);
  font-size:13px;
  font-weight:900;
}
.dashboard-link.active{display:flex}
.admin-assignment-page .assignment-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start}
.admin-assignment-page .account-row{grid-template-columns:auto 38px minmax(0,1fr) 72px 82px 122px;gap:8px;min-height:62px;padding:9px 10px}
.admin-assignment-page .account-row .avatar{width:38px;height:38px;border-radius:14px}
.admin-assignment-page .account-row .tag,.admin-assignment-page .account-row .status{height:26px;padding:0 8px;font-size:11px;white-space:nowrap}
.admin-assignment-page .account-row .row-main strong{font-size:13px}
.admin-assignment-page .account-row .row-main span{font-size:11px}
.report-layout{display:grid;grid-template-columns:minmax(0,1.35fr) 360px;gap:14px;padding:18px 20px 22px}
.report-config{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.report-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.report-type{min-height:92px;padding:13px;border:1px solid rgba(255,255,255,.72);border-radius:20px;background:rgba(255,255,255,.48);text-align:left}
.report-type.active{background:rgba(10,16,32,.92);color:#fff;border-color:rgba(10,16,32,.92)}
.report-type b{display:block;font-size:15px}.report-type span{display:block;margin-top:7px;color:#657386;font-size:12px;line-height:1.45;font-weight:800}.report-type.active span{color:rgba(255,255,255,.72)}
.report-preview{padding:18px;border-radius:24px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.76);display:grid;gap:14px}
.preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.preview-head h2{margin:0;font-size:26px}.preview-head p{margin:6px 0 0;color:#647184;font-size:13px;line-height:1.5}.report-status{height:32px;display:inline-flex;align-items:center;border-radius:16px;padding:0 12px;background:rgba(20,184,166,.13);color:#0f766e;font-size:12px;font-weight:900;border:1px solid rgba(20,184,166,.24);white-space:nowrap}
.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.report-kpi{padding:13px;border-radius:18px;background:rgba(255,255,255,.54);border:1px solid rgba(255,255,255,.72)}.report-kpi b{display:block;font-size:22px}.report-kpi span{display:block;margin-top:6px;color:#647184;font-size:12px}
.report-section-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-section-item{padding:13px;border-radius:18px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72)}.report-section-item b{display:block;font-size:14px}.report-section-item span{display:block;margin-top:6px;color:#647184;font-size:12px;line-height:1.45}
.report-progress{padding:15px;border-radius:22px;background:rgba(10,16,32,.92);color:#fff}.report-progress h3{margin:0 0 8px;font-size:21px}.report-progress p{margin:0;color:rgba(255,255,255,.72);font-size:12px;line-height:1.55}.report-progress .progress-track{margin:12px 0}.report-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.report-actions .ghost{height:36px}.report-actions .primary{height:36px}
.history-list{display:grid;gap:8px}.history-item{padding:11px 12px;border-radius:16px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.72)}.history-item b{display:block;font-size:13px}.history-item span{display:block;margin-top:4px;color:#647184;font-size:12px;line-height:1.4}
.nl-bar{position:fixed;left:50%;bottom:18px;z-index:25;width:min(1240px,calc(100% - 48px));min-height:58px;padding:10px 12px 10px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.82);border-radius:24px;background:rgba(255,255,255,.74);backdrop-filter:blur(24px);box-shadow:0 18px 48px rgba(28,104,125,.18);transform:translateX(-50%)}
.nl-bar b{font-size:13px}.nl-input{min-height:38px;border:1px solid rgba(255,255,255,.82);border-radius:19px;background:rgba(255,255,255,.62);padding:0 14px;color:#647184;font-size:13px;font-weight:800;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1180px){.report-layout{grid-template-columns:1fr}.report-config,.report-kpis,.report-section-list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-assignment-page .assignment-layout{grid-template-columns:1fr}}
@media(max-width:760px){.report-config,.report-type-grid,.report-kpis,.report-section-list,.nl-bar{grid-template-columns:1fr}.nl-bar{bottom:10px}.report-layout{padding-bottom:90px}}
.role-card.active{background:rgba(10,16,32,.92);color:#fff;border-color:rgba(10,16,32,.92);box-shadow:0 14px 34px rgba(7,13,29,.14)}
.role-card.active span{color:rgba(255,255,255,.74)}
.login-actions.single{grid-template-columns:1fr}
.login-hint{margin-top:6px;color:#647184;font-size:12px;font-weight:800;line-height:1.45;text-align:center}
.admin-assignment-page .nav span:not(.active){background:rgba(255,255,255,.38);color:#647184}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.45fr) 360px;gap:14px;padding:18px 20px 22px}
.detail-hero{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;align-items:center;padding:18px;border-radius:24px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.76)}
.detail-avatar{width:118px;height:118px;border-radius:34px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0a1020,#50c9d9 72%,#f4cfad);color:#fff;font-size:44px;font-weight:900;box-shadow:inset 0 1px 4px rgba(255,255,255,.45),0 18px 38px rgba(28,104,125,.16)}
.detail-video-cover{width:152px;height:118px;border-radius:26px;background:linear-gradient(135deg,#0a1020 0%,#18324d 35%,#54cfdf 72%,#f4cfad 100%);box-shadow:inset 0 1px 4px rgba(255,255,255,.42),0 18px 38px rgba(28,104,125,.16);position:relative;overflow:hidden}
.detail-video-cover:after{content:'MI';position:absolute;right:14px;bottom:12px;color:#fff;font-size:28px;font-weight:900;letter-spacing:1px}.detail-video-cover:before{content:'';position:absolute;left:18px;top:18px;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.24);border:1px solid rgba(255,255,255,.52)}
.detail-hero h1{margin:0;font-size:32px;line-height:1}.detail-hero p{margin:8px 0 0;color:#647184;font-size:13px;line-height:1.6}.detail-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.detail-kpi{padding:14px;border-radius:19px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.72)}.detail-kpi b{display:block;font-size:24px}.detail-kpi span{display:block;margin-top:7px;color:#647184;font-size:12px}.detail-kpi small{display:block;margin-top:7px;color:#0f766e;font-size:12px;font-weight:900}.detail-kpi small.down{color:#a33a3a}
.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analysis-card{padding:14px;border-radius:20px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72)}.analysis-card b{display:block;font-size:15px}.analysis-card span{display:block;margin-top:7px;color:#647184;font-size:12px;line-height:1.55}.analysis-card strong{color:#111827}
.detail-chart{height:230px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.4),rgba(255,255,255,.18));border:1px solid rgba(255,255,255,.62);overflow:hidden}.detail-chart svg{width:100%;height:100%;display:block}.bar{rx:8;filter:drop-shadow(0 8px 12px rgba(28,104,125,.12))}.bar-label{font-size:11px;font-weight:900;fill:#334155}.axis-label{font-size:11px;font-weight:800;fill:#647184}
.detail-table{width:100%;border-collapse:separate;border-spacing:0}.detail-table th,.detail-table td{padding:12px 10px;border-bottom:1px solid rgba(255,255,255,.58);text-align:left;font-size:12px}.detail-table th{color:#536274;font-weight:900;background:rgba(255,255,255,.28)}.detail-table tr:last-child td{border-bottom:0}.detail-table strong{font-size:13px}.detail-table span{color:#647184}
.back-icon{width:42px;height:42px;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:rgba(255,255,255,.56);display:inline-flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;color:#101827;text-decoration:none;box-shadow:0 12px 28px rgba(28,104,125,.12)}
.plan-list{display:grid;gap:9px}.plan-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:start;padding:11px;border-radius:18px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.72)}.plan-item i{width:28px;height:28px;border-radius:14px;background:#0a1020;color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:900}.plan-item b{display:block;font-size:13px}.plan-item span{display:block;margin-top:4px;color:#647184;font-size:12px;line-height:1.45}
.creator-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.breakdown-step{padding:13px;border-radius:18px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72)}.breakdown-step b{display:block;font-size:14px}.breakdown-step span{display:block;margin-top:6px;color:#647184;font-size:12px;line-height:1.45}
@media(max-width:1180px){.detail-layout{grid-template-columns:1fr}.detail-kpis,.analysis-grid,.creator-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.detail-layout{padding-bottom:90px}.detail-hero{grid-template-columns:1fr}.detail-kpis,.analysis-grid,.creator-breakdown{grid-template-columns:1fr}.detail-avatar{width:96px;height:96px}.detail-video-cover{width:100%;height:160px}}
.detail-table-wrap{overflow-x:auto;border-radius:20px;border:1px solid rgba(255,255,255,.62);background:rgba(255,255,255,.3);margin-top:12px}
.detail-table.compact{min-width:1060px}
.detail-table.compact th,.detail-table.compact td{padding:11px 10px;white-space:nowrap}
.detail-table.compact td:first-child,.detail-table.compact th:first-child{white-space:normal;min-width:230px}
.metric-up{color:#0f766e;font-weight:900}.metric-empty{color:#94a3b8;font-weight:900}.caliber-note{margin:10px 0 0;color:#647184;font-size:12px;line-height:1.55;font-weight:800}.table-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.table-action{height:30px;display:inline-flex;align-items:center;border-radius:15px;padding:0 10px;background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.76);color:#253247;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}.table-action.dark{background:#0a1020;color:#fff;border-color:#0a1020}
.account-detail-page{padding-bottom:126px}
.account-detail-page .detail-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;max-width:1280px;margin:0 auto}
.account-detail-page .detail-layout > .stack{min-width:0}
.account-detail-page .detail-layout > aside{min-width:0;position:relative;z-index:1}
.account-detail-page .detail-hero{grid-template-columns:126px minmax(0,1fr)}
.account-detail-page .detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.account-detail-page .nl-bar{bottom:12px}
.line-series{fill:none;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 8px 10px rgba(28,104,125,.12))}.line-series.primary{stroke:#ff8a35;stroke-width:4}.line-series.secondary{stroke:#12b6c9;stroke-width:3;opacity:.75}.line-point{fill:#fff;stroke:#ff8a35;stroke-width:3}.line-point.cyan{stroke:#12b6c9}.chart-area{fill:url(#rateFill);opacity:.82}.rate-label{font-size:12px;font-weight:900;fill:#101827}.chart-caption{font-size:11px;font-weight:800;fill:#647184}
@media(max-width:1180px){.account-detail-page .detail-layout{grid-template-columns:1fr}.account-detail-page .detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.account-detail-page .detail-kpis{grid-template-columns:1fr}.account-detail-page{padding-bottom:170px}}.account-detail-page .panel{min-width:0;max-width:100%}
.account-detail-page .detail-table-wrap{width:100%;max-width:100%;min-width:0;display:block;overflow-x:auto;overscroll-behavior-x:contain}
.account-detail-page .detail-table.compact{width:max-content;min-width:1060px}
.video-detail-page{padding-bottom:126px}
.video-detail-page .detail-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;max-width:1280px;margin:0 auto}
.video-detail-page .detail-layout > .stack{min-width:0}
.video-detail-page .detail-layout > aside{min-width:0;position:relative;z-index:1}
.video-detail-page .detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.video-detail-page .nl-bar{bottom:12px}
.video-trend-chart{height:260px}
@media(max-width:1180px){.video-detail-page .detail-layout{grid-template-columns:1fr}.video-detail-page .detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.video-detail-page .detail-kpis{grid-template-columns:1fr}.video-detail-page{padding-bottom:170px}}
.primary,.ghost,.soft,.dark-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.history-page,.permission-page{padding-bottom:96px}
.history-layout{display:grid;grid-template-columns:1fr;gap:14px;padding:18px 20px 22px}
.history-table-wrap,.permission-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.history-table{min-width:1120px}.history-table th,.history-table td{vertical-align:top}.history-table td:first-child{min-width:170px}.history-table td:nth-child(3){min-width:220px}.history-table td:nth-child(7){min-width:190px}
.history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
.permission-layout{display:grid;gap:14px;padding:18px 20px 22px}.permission-table{min-width:1120px}.permission-table td,.permission-table th{vertical-align:top}.permission-table td:nth-child(5){min-width:280px}.permission-table td:nth-child(8){min-width:180px}
.flow-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.flow-card{padding:14px;border-radius:20px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72)}.flow-card b{display:block;font-size:15px}.flow-card span{display:block;margin-top:7px;color:#647184;font-size:12px;line-height:1.55;font-weight:800}
@media(max-width:1180px){.flow-cards{grid-template-columns:1fr}}
@media(max-width:760px){.history-filters{grid-template-columns:1fr}.history-page,.permission-page{padding-bottom:140px}}
.flow-login-card{width:min(780px,100%)}
.flow-login-card .login-form{gap:14px}
.login-field-row{display:grid;grid-template-columns:1fr 180px;gap:12px}
.flow-role-entry{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow-role-entry .role-card{min-height:96px}
.flow-role-entry .role-card:first-child{grid-column:span 2;min-height:86px}
.login-actions.single .primary{width:100%}
.auth-flow-page{padding-bottom:96px}.auth-flow-content{padding-bottom:22px}.compact-shell{max-width:980px}
.workspace-entry-page .topbar.compact-shell,
.workspace-entry-page .shell.compact-shell,
.workspace-status-page .topbar.compact-shell,
.workspace-status-page .shell.compact-shell{
  width:min(980px,calc(100% - 32px));
  max-width:980px;
}
.workspace-entry-page .topbar.compact-shell,
.workspace-status-page .topbar.compact-shell{
  margin:22px auto 0;
  grid-template-columns:minmax(0,1fr) auto;
  justify-content:center;
}
.workspace-entry-page .brand-row,
.workspace-status-page .brand-row{
  min-width:0;
}
.workspace-entry-switcher{
  justify-self:end;
  min-width:290px;
  max-width:360px;
  height:auto;
  white-space:normal;
}
.workspace-entry-switcher .team-switch-trigger{
  width:100%;
  min-height:42px;
  height:42px;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:10px;
  padding:5px 8px 5px 14px;
  border-radius:22px;
}
.workspace-entry-switcher .team-switch-trigger b,
.workspace-entry-switcher .team-switch-trigger small{
  grid-column:1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.workspace-entry-switcher .team-switch-trigger b{grid-row:1;font-size:14px}
.workspace-entry-switcher .team-switch-trigger small{grid-row:2;margin-top:2px;font-size:10px}
.workspace-entry-switcher .team-switch-trigger i{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:end;
  min-width:68px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(226,250,253,.72);
  border:1px solid rgba(255,255,255,.72);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#5f7d8d;
  font-size:10px;
}
.workspace-entry-switcher .workspace-entry-dropdown{
  width:330px;
  max-width:calc(100vw - 40px);
  z-index:2600;
  white-space:normal;
  overflow-wrap:anywhere;
}
.workspace-entry-switcher .workspace-entry-dropdown .team-switch-list button{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.workspace-entry-switcher .workspace-entry-dropdown .team-switch-list b,
.workspace-entry-switcher .workspace-entry-dropdown .team-switch-list span{
  white-space:normal;
  overflow-wrap:anywhere;
}
.workspace-menu-link{
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(52,64,84,.08);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  color:#243247;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  font-weight:900;
  white-space:normal;
  overflow-wrap:anywhere;
}
.workspace-menu-link::after{
  content:"›";
  color:#6b7c90;
  font-size:16px;
  line-height:1;
}
.workspace-entry-switcher .workspace-current-entry{
  cursor:default;
  opacity:.78;
}
.workspace-entry-switcher .workspace-current-entry:hover{
  background:rgba(255,255,255,.48);
  border-color:rgba(85,126,145,.28);
}
.auth-flow-layout,.waiting-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;padding:18px 20px 22px}.join-card-wrap{padding:18px 20px 26px;display:grid;place-items:center}.join-card{width:min(620px,100%)}.join-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.invite-code.large{height:82px;border-radius:24px}.invite-code.large b{font-size:34px}.invite-hero-card{align-content:start}.auth-flow-cards{grid-template-columns:1fr}.waiting-status-card{min-height:230px}.waiting-status-card .report-actions{margin-top:16px}
.video-detail-page .compact-detail-head{padding-top:20px}.video-detail-page .compact-detail-head h1{font-size:32px}.video-detail-layout{padding-top:14px}.video-hero-card{grid-template-columns:168px minmax(0,1fr);align-items:center;gap:18px;padding:20px}.video-cover-large{width:152px;height:118px;justify-self:center}.video-hero-copy{min-width:0}.video-meta-line{color:#647184;font-size:12px;font-weight:900;margin-bottom:6px}.video-hero-copy h1{font-size:28px;line-height:1.12;max-width:100%;overflow-wrap:anywhere}.video-hero-copy p{max-width:760px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.video-kpis{margin-top:0}.single-column-analysis{grid-template-columns:1fr}.video-detail-page .analysis-card span,.video-detail-page .plan-item span{line-height:1.5}
@media(max-width:1180px){.auth-flow-layout,.waiting-layout{grid-template-columns:1fr}.flow-role-entry{grid-template-columns:1fr}.flow-role-entry .role-card:first-child{grid-column:auto}}
@media(max-width:760px){.login-field-row,.join-actions{grid-template-columns:1fr}.flow-login-card{padding:22px}.auth-flow-page{padding-bottom:140px}.video-hero-card{grid-template-columns:1fr}.video-cover-large{width:100%;height:170px}.video-hero-copy h1{font-size:24px}.video-hero-copy p{-webkit-line-clamp:3}}
.simple-login-card{width:min(620px,100%)}
.simple-login-card h1{font-size:44px}
.simple-login-form{gap:14px}
.entry-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;border-radius:20px;background:rgba(255,255,255,.44);border:1px solid rgba(255,255,255,.72)}
.entry-option{height:42px;border:0;border-radius:16px;background:transparent;color:#475569;font-weight:900}
.entry-option.active{background:#0a1020;color:#fff;box-shadow:0 12px 28px rgba(7,13,29,.14)}
.simple-field-row{grid-template-columns:minmax(0,1fr) 180px}
.simple-login-form #enterSystem{height:44px;border-radius:22px;width:100%;display:flex;align-items:center;justify-content:center}
.team-setup-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;padding:18px 20px 22px}
.team-invite-panel,.asset-import-panel{min-height:238px}.team-invite-panel{display:grid;align-content:start}.asset-import-panel{grid-column:1}.setup-guide-panel{grid-column:2;grid-row:1 / span 2}.invite-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;color:#647184;font-size:12px;font-weight:800;line-height:1.45}.invite-actions .ghost{height:36px}.asset-import-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px;border-radius:20px;background:rgba(255,255,255,.46);border:1px solid rgba(255,255,255,.72);margin-bottom:12px}.asset-import-hero h3{margin:0 0 6px;font-size:20px}.asset-import-hero p{margin:0;color:#647184;font-size:12px;line-height:1.55;font-weight:800}.asset-result-grid{margin-top:12px}.locked-link{opacity:.55;filter:saturate(.7);cursor:not-allowed}.team-created-page .progress-fill{transition:width .38s ease}.team-created-page .auth-flow-cards{display:grid;grid-template-columns:1fr;gap:10px}
@media(max-width:1180px){.team-setup-layout{grid-template-columns:1fr}.asset-import-panel,.setup-guide-panel{grid-column:auto;grid-row:auto}}
@media(max-width:760px){.entry-switch,.simple-field-row,.asset-import-hero{grid-template-columns:1fr}.simple-login-card h1{font-size:38px}.team-setup-layout{padding:14px}.invite-code.large{height:auto;min-height:82px;display:grid;gap:12px;justify-items:start}.invite-code.large b{font-size:30px}}
.simple-login-card{width:min(640px,calc(100vw - 48px));padding:30px}
.simple-login-form{overflow:hidden;width:100%;max-width:100%}
.simple-login-form .field{min-width:0}
.simple-login-form .field input{width:100%;min-width:0;max-width:100%}
.simple-field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,180px);gap:12px;width:100%;max-width:100%}
.simple-login-form #enterSystem{max-width:100%}
@media(max-width:860px){.simple-field-row{grid-template-columns:1fr}.simple-login-card{width:min(640px,calc(100vw - 32px));padding:26px}.simple-login-card h1{font-size:40px}}
.history-side-panel{align-content:start}
.retry-result-panel[hidden]{display:none}
.retry-result-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 8px}
.retry-result-summary div{padding:11px;border-radius:16px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.72)}
.retry-result-summary b{display:block;font-size:16px}.retry-result-summary span{display:block;margin-top:5px;color:#647184;font-size:12px;font-weight:800}
.retry-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.retry-actions .primary,.retry-actions .ghost{height:38px}
@media(max-width:760px){.retry-result-summary,.retry-actions{grid-template-columns:1fr}}
.review-result-modal[hidden]{display:none}
.review-result-modal{
  position:fixed;
  inset:0;
  z-index:35;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(10,16,32,.16);
  backdrop-filter:blur(10px);
}
.review-result-card{
  width:min(560px,100%);
  padding:20px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.78);
  background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.46));
  box-shadow:0 28px 78px rgba(28,104,125,.22);
  animation:rise .36s ease both;
}
.review-status-pill{width:max-content;height:34px;display:inline-flex;align-items:center;justify-content:center;margin:2px 0 12px;padding:0 16px;border-radius:17px;background:#0a1020;color:#fff;font-size:14px;font-weight:900;box-shadow:0 14px 30px rgba(7,13,29,.18)}.review-status-pill.success{background:rgba(20,184,166,.16);color:#0f766e;border:1px solid rgba(20,184,166,.28);box-shadow:0 14px 30px rgba(20,184,166,.12)}.review-result-card h2{margin:4px 0 8px;font-size:26px;line-height:1.15}
.review-result-card p{margin:0;color:#647184;font-size:13px;line-height:1.65;font-weight:800}
.review-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.review-result-actions.single{grid-template-columns:1fr}
.review-result-actions .ghost,.review-result-actions .primary{height:42px;width:100%}
@media(max-width:760px){.review-result-actions{grid-template-columns:1fr}.review-result-modal{padding:16px}}
.team-name-field{margin:0 0 12px}.team-name-field input{width:100%;font-size:18px;font-weight:900}
.nav span[role="button"]{cursor:pointer}.nav span[role="button"]:hover{color:#101827;background:rgba(255,255,255,.62)}
.member-row.active-member{background:rgba(10,16,32,.9);color:#fff;border-color:rgba(10,16,32,.72);box-shadow:0 14px 34px rgba(7,13,29,.14)}
.member-row.active-member .row-main span{color:rgba(255,255,255,.72)}
.member-row.active-member .avatar{background:linear-gradient(135deg,#fff,#55d4e4);color:#0a1020}
.admin-assignment-page .account-row .check:not(:disabled){cursor:pointer}
.admin-assignment-page .account-row:has(.check:checked){background:rgba(216,250,252,.5);border-color:rgba(85,212,228,.42)}.team-save-hint{display:block;margin-top:6px;color:#647184;font-size:12px;font-weight:800}
.status.watch{background:rgba(245,158,11,.14);color:#8a5b00;border:1px solid rgba(245,158,11,.24)}
.admin-assignment-page .account-row.assigned-current{background:rgba(216,250,252,.58);border-color:rgba(85,212,228,.48)}
.admin-assignment-page .account-row.assigned-other{background:rgba(255,247,237,.58);border-color:rgba(245,158,11,.28)}
.admin-assignment-page .account-row.unassigned{background:rgba(255,255,255,.42)}
.assignment-history{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.62)}
.history-list.compact{display:grid;gap:7px}.history-list.compact .history-item{padding:9px 10px}.history-list.compact .history-item b{font-size:12px}.history-list.compact .history-item span{font-size:11px}
.register-success-banner{margin-top:14px;padding:10px 12px;border-radius:18px;background:rgba(20,184,166,.14);border:1px solid rgba(20,184,166,.24);color:#0f766e;font-size:13px;font-weight:900;line-height:1.45}
.register-success-banner[hidden]{display:none}
.login-secondary-actions{display:grid;grid-template-columns:1fr;margin-top:-4px}.login-secondary-actions .ghost{height:38px;width:100%;display:flex;align-items:center;justify-content:center;text-decoration:none}
.register-return{height:38px;display:flex;align-items:center;justify-content:center;text-decoration:none}
.register-progress{display:grid;gap:8px;padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72)}
.register-progress[hidden]{display:none}.register-progress span{color:#647184;font-size:12px;font-weight:900}.register-form .primary:disabled{opacity:.72;cursor:not-allowed}
.login-card [hidden] { display: none !important; }
.login-role-entry { margin-top: 0; }
.login-role-entry .role-card {
  min-height: 76px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.login-role-entry .role-card:hover { transform: translateY(-1px); border-color: rgba(85,212,228,.42); }
.simple-login-form .login-actions { grid-template-columns: 1fr 1fr; }
.simple-login-form .login-actions .primary,
.simple-login-form .login-actions .ghost { width: 100%; height: 44px; }
.register-form { margin-top: 16px; }
.register-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.register-form-head h2 { margin: 4px 0 0; font-size: 24px; }
.register-form-head .register-return { width: auto; padding: 0 14px; }
.register-auth-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  color: #516174;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
}
.login-demo-accounts .demo-account {
  cursor: pointer;
}
.login-hero-card {
  width: min(1160px, calc(100vw - 56px));
  padding: 0;
  overflow: hidden;
}
.product-landing-card {
  background:
    radial-gradient(circle at 12% 12%, rgba(255,244,226,.95), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(85,212,228,.42), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(236,252,253,.76));
}
.login-hero-content {
  display: grid;
  gap: 0;
}
.landing-nav {
  min-height: 74px;
  padding: 22px 28px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-nav-note {
  color: #647184;
  font-size: 12px;
  font-weight: 900;
}
.landing-hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(340px,.78fr);
  gap: 28px;
  align-items: center;
  padding: 18px 36px 24px;
}
.login-hero-copy {
  max-width: 660px;
}
.login-hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: .95;
  letter-spacing: -0.06em;
}
.login-hero-copy p {
  margin: 0;
  max-width: 610px;
  color: #526174;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 800;
}
.landing-cta-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.landing-cta-row .primary,
.landing-cta-row .ghost {
  height: 46px;
  border-radius: 23px;
  padding: 0 19px;
}
.text-entry-link {
  height: 42px;
  border: 0;
  background: transparent;
  color: #0d8798;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
.landing-proof-row {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.landing-proof-row span {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.72);
  color: #647184;
  font-size: 11px;
  font-weight: 850;
}
.landing-proof-row b {
  margin-right: 4px;
  color: #172033;
  font-size: 18px;
}
.landing-preview-card {
  min-height: 390px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(10,16,32,.92);
  color: #fff;
  box-shadow: 0 30px 70px rgba(7,13,29,.22);
  display: grid;
  align-content: start;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.landing-preview-card::before {
  content: "";
  position: absolute;
  inset: -80px -40px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(85,212,228,.28);
  filter: blur(4px);
}
.preview-top,
.preview-metric-row,
.preview-list {
  position: relative;
  z-index: 1;
}
.preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.preview-top span,
.preview-top b {
  display: block;
}
.preview-top span {
  color: rgba(255,255,255,.54);
  font-size: 11px;
  font-weight: 850;
}
.preview-top b {
  margin-top: 5px;
  font-size: 17px;
}
.preview-top em {
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(85,212,228,.18);
  color: #adf7ff;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}
.preview-metric-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
.preview-metric-row span {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.preview-metric-row small,
.preview-metric-row b {
  display: block;
}
.preview-metric-row small {
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 850;
}
.preview-metric-row b {
  margin-top: 6px;
  font-size: 20px;
}
.preview-chart {
  position: relative;
  z-index: 1;
  height: 118px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 100% 38px, 58px 100%;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 16px;
}
.preview-chart i {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg,#55d4e4,#ffbc7a);
  opacity: .9;
}
.preview-chart i:nth-child(1){height:34%}
.preview-chart i:nth-child(2){height:58%}
.preview-chart i:nth-child(3){height:46%}
.preview-chart i:nth-child(4){height:78%}
.preview-chart i:nth-child(5){height:64%}
.preview-list {
  display: grid;
  gap: 8px;
}
.preview-list p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview-list b {
  font-size: 12px;
}
.preview-list span {
  color: rgba(255,255,255,.6);
  font-size: 10px;
  font-weight: 850;
  text-align: right;
}
.landing-route-section {
  margin: 4px 36px 24px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.74);
  display: grid;
  grid-template-columns: 1.05fr repeat(3,minmax(0,1fr));
  gap: 8px;
}
.route-section-head {
  padding: 10px 12px;
  display: grid;
  align-content: center;
}
.route-section-head span {
  color: #172033;
  font-size: 14px;
  font-weight: 950;
}
.route-section-head p {
  margin: 5px 0 0;
  color: #647184;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}
.start-route-card {
  min-height: 94px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.5);
  color: #172033;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
.start-route-card span {
  width: 28px;
  height: 28px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(10,16,32,.08);
  color: #344054;
  font-size: 10px;
  font-weight: 950;
}
.start-route-card b,
.start-route-card small,
.start-route-card em {
  display: block;
}
.start-route-card b {
  font-size: 13px;
}
.start-route-card small {
  margin-top: 5px;
  color: #647184;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
}
.start-route-card em {
  grid-column: 2;
  align-self: end;
  color: #0d8798;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}
.start-route-card:hover,
.start-route-card.active {
  border-color: rgba(85,212,228,.52);
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 30px rgba(28,104,125,.1);
}
.start-route-card.recommended {
  background: rgba(10,16,32,.9);
  color: #fff;
}
.start-route-card.recommended span {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.start-route-card.recommended small {
  color: rgba(255,255,255,.66);
}
.start-route-card.recommended em {
  color: #adf7ff;
}
.login-hero-foot {
  margin: 0 36px 30px;
  padding: 11px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.68);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #647184;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}
.login-hero-foot b {
  color: #263247;
  white-space: nowrap;
}
.selected-entry-strip {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 17px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.72);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #647184;
  font-size: 11px;
  font-weight: 850;
}
.selected-entry-strip b {
  color: #172033;
  font-size: 12px;
}
.selected-entry-strip button {
  margin-left: auto;
  height: 28px;
  border: 0;
  border-radius: 14px;
  padding: 0 10px;
  background: rgba(10,16,32,.08);
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.workspace-entry-head {
  align-items: flex-start;
}
.workspace-choice-layout {
  display: grid;
  grid-template-columns: 1.1fr repeat(2,minmax(0,1fr));
  gap: 14px;
  padding: 18px 20px 24px;
}
.workspace-choice-card {
  min-height: 320px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #172033;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.workspace-choice-card.primary-choice {
  background: linear-gradient(145deg,rgba(10,16,32,.92),rgba(20,57,75,.84));
  color: #fff;
}
.workspace-choice-card.primary-choice .eyebrow,
.workspace-choice-card.primary-choice p,
.workspace-choice-card.primary-choice small {
  color: rgba(255,255,255,.72);
}
.workspace-choice-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}
.workspace-choice-card p {
  margin: 0;
  color: #647184;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}
.workspace-choice-card small {
  margin-top: auto;
  color: #647184;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}
.workspace-choice-card .field {
  margin-top: auto;
}
.workspace-choice-card .full {
  width: 100%;
  justify-content: center;
}
.choice-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #0a1020;
  background: rgba(255,255,255,.78);
  font-size: 24px;
  font-weight: 950;
}
.choice-icon.cyan {
  color: #0d8798;
  background: rgba(85,212,228,.18);
}
.choice-icon.dark {
  color: #fff;
  background: #0a1020;
}
.join-only-layout {
  grid-template-columns: minmax(0,1.08fr) minmax(280px,.92fr);
}
.join-focus-card {
  min-height: 300px;
}
.join-rule-card {
  min-height: 300px;
  background: linear-gradient(145deg,rgba(255,255,255,.56),rgba(85,212,228,.13));
}
.team-choice-layout {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.team-choice-layout .workspace-choice-card {
  min-height: 300px;
}
.create-focus-card .primary {
  margin-top: auto;
  border-color: rgba(255,255,255,.86);
  color: #101827;
  background: rgba(255,255,255,.92);
}
.create-focus-card .choice-icon {
  color: #101827;
}
@media(max-width:1100px) {
  .landing-hero-layout,
  .landing-route-section,
  .workspace-choice-layout {
    grid-template-columns: 1fr;
  }
  .workspace-choice-card {
    min-height: auto;
  }
  .landing-preview-card {
    min-height: 320px;
  }
}
@media(max-width:760px) {
  .login-hero-card {
    width: min(640px, calc(100vw - 32px));
  }
  .landing-nav,
  .landing-hero-layout {
    padding-left: 22px;
    padding-right: 22px;
  }
  .landing-route-section,
  .login-hero-foot {
    margin-left: 22px;
    margin-right: 22px;
  }
  .landing-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .landing-cta-row .primary,
  .landing-cta-row .ghost,
  .text-entry-link {
    width: 100%;
    justify-content: center;
  }
  .preview-metric-row {
    grid-template-columns: 1fr;
  }
  .login-hero-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 2026-08-10 登录入口简化版：开场动效 + 轻量入口卡片 */
.access-entry-page {
  background:
    radial-gradient(circle at 50% 18%, rgba(85,212,228,.22), transparent 32%),
    radial-gradient(circle at 18% 74%, rgba(255,191,138,.18), transparent 26%);
}
.access-request-card {
  width: min(560px, calc(100vw - 42px));
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(145deg,rgba(255,255,255,.86),rgba(241,253,253,.64));
  animation: entryCardReveal .62s cubic-bezier(.16,1,.3,1) both;
}
.access-ambient {
  position: absolute;
  inset: auto -60px -90px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle,rgba(85,212,228,.42),rgba(255,255,255,0) 68%);
  pointer-events: none;
}
.access-request-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}
.access-logo-lockup {
  justify-self: start;
}
.access-request-copy h1 {
  margin: 10px 0 10px;
  max-width: 460px;
  color: #111827;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.access-request-copy p {
  margin: 0;
  max-width: 470px;
  color: #647184;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 800;
}
.access-request-form {
  display: grid;
  gap: 12px;
}
.access-email-field {
  display: grid;
  gap: 8px;
}
.access-email-field span {
  color: #607085;
  font-size: 11px;
  font-weight: 900;
}
.access-email-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.58);
  font: inherit;
  font-size: 13px;
  font-weight: 820;
  outline: none;
}
.access-email-field input:focus {
  border-color: rgba(85,212,228,.62);
  box-shadow: 0 0 0 4px rgba(85,212,228,.12);
}
.access-request-status {
  margin: -4px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(85,212,228,.22);
  border-radius: 15px;
  color: #2f6470;
  background: rgba(85,212,228,.1);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 850;
}
.access-request-status[hidden] {
  display: none;
}
.text-link-button {
  width: max-content;
  padding: 0;
  border: 0;
  color: #236b78;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(35,107,120,.25);
  text-underline-offset: 4px;
}
.text-link-button:hover {
  color: #0a1020;
}
.access-login-card {
  animation: entryCardReveal .42s cubic-bezier(.16,1,.3,1) both;
}
.login-footnote-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.68);
  display: grid;
  gap: 9px;
}
.login-footnote-actions small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  font-weight: 780;
}
.access-role-card {
  min-height: 430px;
}
.entry-splash-card,
.entry-role-card {
  width: min(720px, calc(100vw - 42px));
  min-height: 500px;
  padding: 34px;
  overflow: hidden;
  position: relative;
}
.entry-splash-card {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(85,212,228,.42), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(255,188,122,.3), transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.88),rgba(236,252,253,.72));
  animation: entryCardReveal .72s cubic-bezier(.16,1,.3,1) both;
}
.entry-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg,rgba(255,255,255,.8),rgba(85,212,228,.7));
  filter: blur(2px);
  opacity: .72;
  transform: scale(.72);
  animation: entryOrbExpand 1.1s cubic-bezier(.16,1,.3,1) .08s both;
}
.entry-splash-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 24px;
}
.entry-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.72);
  animation: entryFadeUp .58s ease .12s both;
}
.entry-logo-lockup strong {
  font-size: 16px;
}
.entry-splash-copy {
  animation: entryFadeUp .64s ease .22s both;
}
.entry-splash-copy h1 {
  margin: 12px 0 16px;
  color: #111827;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.05em;
}
.entry-splash-copy p {
  margin: 0 auto;
  max-width: 500px;
  color: #647184;
  font-size: 14px;
  line-height: 1.86;
  font-weight: 800;
}
.entry-start-button {
  min-width: 160px;
  height: 46px;
  border-radius: 24px;
  animation: entryFadeUp .64s ease .34s both;
}
.entry-role-card {
  background: linear-gradient(145deg,rgba(255,255,255,.86),rgba(236,252,253,.72));
  animation: entryCardReveal .42s cubic-bezier(.16,1,.3,1) both;
}
.entry-role-content {
  display: grid;
  gap: 18px;
}
.entry-role-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.entry-role-head h1 {
  margin: 6px 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.entry-role-head p {
  margin: 0;
  max-width: 500px;
  color: #647184;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 800;
}
.compact-return {
  width: auto;
  height: 36px;
  padding: 0 14px;
  flex: 0 0 auto;
}
.entry-route-grid {
  display: grid;
  gap: 10px;
}
.entry-route-tile {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: rgba(255,255,255,.46);
  color: #172033;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.entry-route-tile:hover,
.entry-route-tile.active,
.entry-route-tile.is-selected {
  transform: translateY(-1px);
  background: rgba(255,255,255,.76);
  border-color: rgba(85,212,228,.55);
  box-shadow: 0 14px 34px rgba(28,104,125,.12);
}
.entry-route-tile.is-selected {
  background: linear-gradient(135deg,rgba(10,16,32,.92),rgba(22,65,80,.84));
  color: #fff;
}
.entry-route-tile.is-selected small,
.entry-route-tile.is-selected em {
  color: rgba(255,255,255,.7);
}
.route-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: rgba(85,212,228,.16);
  color: #0d8798;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 950;
}
.entry-route-tile b,
.entry-route-tile small {
  display: block;
}
.entry-route-tile b {
  font-size: 16px;
}
.entry-route-tile small {
  margin-top: 5px;
  color: #647184;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}
.entry-route-tile em {
  min-width: 54px;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(10,16,32,.07);
  color: #344054;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.entry-route-tile.is-selected em {
  background: rgba(255,255,255,.14);
}
.login-card[hidden],
.access-request-card[hidden],
.entry-splash-card[hidden],
.entry-role-card[hidden] {
  display: none !important;
}
.simple-login-form .login-actions.single {
  grid-template-columns: 1fr;
}
@keyframes entryCardReveal {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes entryOrbExpand {
  from { opacity: 0; transform: scale(.38); }
  to { opacity: .72; transform: scale(1); }
}
@keyframes entryFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media(max-width:760px) {
  .entry-splash-card,
  .access-request-card,
  .entry-role-card {
    width: min(640px, calc(100vw - 32px));
    min-height: auto;
    padding: 26px;
  }
  .entry-role-head {
    flex-direction: column;
  }
  .compact-return {
    width: 100%;
  }
  .entry-route-tile {
    grid-template-columns: auto minmax(0,1fr);
  }
  .entry-route-tile em {
    grid-column: 2;
    justify-self: start;
  }
}

/* Social AI dashboard restored from previous prototype structure */
.prototype-dashboard .page{padding-bottom:112px}
.prototype-dashboard .shell{max-width:1320px;margin:16px auto 0;display:grid;gap:14px}
.prototype-dashboard .dash-head{padding:24px 28px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.prototype-dashboard .dash-head h1{margin:8px 0 8px;font-size:34px;line-height:1;letter-spacing:0}
.prototype-dashboard .dash-head p{margin:0;max-width:820px;color:#59687c;line-height:1.68;font-size:14px}
.prototype-dashboard .update-strip{margin:16px 28px 0;padding:11px 14px;border-radius:20px;background:rgba(255,255,255,.45);border:1px solid rgba(255,255,255,.72);display:flex;align-items:center;justify-content:space-between;gap:14px}
.prototype-dashboard .update-strip b{display:block;font-size:13px}.prototype-dashboard .update-strip span{display:block;margin-top:3px;color:#647184;font-size:12px;font-weight:800}
.prototype-dashboard .update-strip button{height:34px;border:0;border-radius:17px;padding:0 15px;background:#0a1020;color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}
.prototype-dashboard .filter{margin:12px 28px 0;padding:12px;border-radius:22px;background:rgba(255,255,255,.42);border:1px solid rgba(255,255,255,.72);display:grid;gap:10px;align-items:center}
.prototype-dashboard .dashboard-filter-row{min-width:0;display:grid;gap:10px;align-items:center}
.prototype-dashboard .dashboard-filter-row.main{grid-template-columns:minmax(150px,.7fr) minmax(220px,1fr) minmax(170px,.8fr)}
.prototype-dashboard .dashboard-filter-row.date{grid-template-columns:minmax(300px,1fr) minmax(300px,1fr) auto}
.prototype-dashboard .select{min-height:44px;border-radius:18px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.6);padding:0 14px;color:#1f2937;font-weight:800}
.prototype-dashboard .dashboard-date-caliber-filter{min-width:0;min-height:58px;padding:7px 10px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:rgba(255,255,255,.48);display:grid;grid-template-columns:auto minmax(260px,1fr) minmax(160px,.56fr);align-items:center;gap:9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.62)}
.prototype-dashboard .dashboard-date-caliber-filter > span{color:#344054;font-size:10px;font-weight:950}
.prototype-dashboard .dashboard-date-caliber-filter > div{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}
.prototype-dashboard .dashboard-date-caliber-filter input{min-width:0;height:28px;padding:0 6px;border:1px solid rgba(52,64,84,.10);border-radius:11px;background:rgba(255,255,255,.72);color:#253247;font-size:10px;font-weight:850}
.prototype-dashboard .dashboard-date-caliber-filter em{color:#647184;font-size:9px;font-style:normal;font-weight:900}
.prototype-dashboard .dashboard-date-caliber-filter small{color:#647184;font-size:8px;line-height:1.2;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prototype-dashboard .filter-action{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}.prototype-dashboard .filter-action span{min-height:34px;width:100%;display:inline-flex;align-items:center;padding:7px 12px;border-radius:17px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72);color:#647184;font-size:12px;font-weight:800;line-height:1.35;white-space:normal}
.prototype-dashboard .apply-filter{height:34px;border:0;border-radius:17px;padding:0 16px;background:#0a1020;color:#fff;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 12px 26px rgba(7,13,29,.14)}
.prototype-dashboard .hero{padding:14px 28px 18px;display:grid;grid-template-columns:1fr;gap:14px;align-items:stretch}
.prototype-dashboard .chart-card,.prototype-dashboard .insight-card,.prototype-dashboard .mini,.prototype-dashboard .table-card{border:1px solid rgba(255,255,255,.74);background:rgba(255,255,255,.44);border-radius:22px}
.prototype-dashboard .chart-card{padding:15px 18px 11px;min-height:310px}.prototype-dashboard .card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.prototype-dashboard .card-title strong{font-size:17px}
.prototype-dashboard .legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;color:#536274;font-size:12px;font-weight:800}.prototype-dashboard .legend span{display:inline-flex;align-items:center;gap:6px}.prototype-dashboard .line-dot{width:18px;height:4px;border-radius:2px;background:#0a1020}.prototype-dashboard .line-dot.cyan{background:#12b6c9}.prototype-dashboard .line-dot.peach{background:#f59f5b}
.prototype-dashboard .chart-wrap{height:220px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.36),rgba(255,255,255,.16));border:1px solid rgba(255,255,255,.55);overflow:hidden;position:relative}.prototype-dashboard .chart-wrap svg{width:100%;height:100%;display:block}
.prototype-dashboard .dashboard-trend-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.prototype-dashboard .trend-view-card{min-width:0;padding:10px;border:1px solid rgba(255,255,255,.66);border-radius:20px;background:rgba(255,255,255,.30)}
.prototype-dashboard .trend-view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
.prototype-dashboard .trend-view-head b{color:#111827;font-size:13px}.prototype-dashboard .trend-view-head span{color:#647184;font-size:10px;font-weight:850;text-align:right;line-height:1.35}
.prototype-dashboard .chart-wrap.compact{height:178px;border-radius:16px}
.prototype-dashboard .trend-view-card .daily-chart-note{min-height:34px;margin:8px 2px 0;color:#647184;font-size:10px;line-height:1.45;font-weight:800}
.prototype-dashboard .insight-card{padding:14px;display:grid;gap:8px}.prototype-dashboard .insight-card h3{margin:0 0 2px;font-size:21px}.prototype-dashboard .finding{padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.52);border:1px solid rgba(255,255,255,.72)}.prototype-dashboard .finding b{display:block;font-size:14px}.prototype-dashboard .finding span{display:block;margin-top:4px;color:#5f6e82;font-size:12px;line-height:1.36}.prototype-dashboard .status-hot{color:#8f2b2b}.prototype-dashboard .status-good{color:#0f766e}.prototype-dashboard .status-watch{color:#8a5b00}
.prototype-dashboard .kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.prototype-dashboard .mini{padding:14px;min-height:86px}.prototype-dashboard .mini b{display:block;font-size:25px;line-height:1}.prototype-dashboard .mini span{display:block;margin-top:7px;color:#647184;font-size:12px}.prototype-dashboard .mini small{display:block;margin-top:8px;color:#0f766e;font-size:12px;font-weight:900}
.prototype-dashboard .section{padding:18px 20px}.prototype-dashboard .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.prototype-dashboard .section-head h2{margin:0;font-size:24px}.prototype-dashboard .section-head p{margin:5px 0 0;color:#647184;font-size:13px}.prototype-dashboard .section-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.prototype-dashboard .pager{display:flex;align-items:center;gap:6px;padding:4px;border-radius:18px;background:rgba(255,255,255,.42);border:1px solid rgba(255,255,255,.68)}.prototype-dashboard .pager span{padding:0 8px;color:#536274;font-size:12px;font-weight:900}.prototype-dashboard .pager button{height:28px;border:0;border-radius:14px;padding:0 10px;background:rgba(255,255,255,.68);color:#253247;font-size:12px;font-weight:900;cursor:pointer}
.prototype-dashboard .table-card{overflow-x:auto}.prototype-dashboard .table{width:100%;border-collapse:separate;border-spacing:0}.prototype-dashboard .table th,.prototype-dashboard .table td{text-align:left;padding:13px 12px;border-bottom:1px solid rgba(255,255,255,.58);font-size:13px;vertical-align:middle}.prototype-dashboard .table th{color:#536274;font-size:12px;font-weight:900;background:rgba(255,255,255,.33)}.prototype-dashboard .table tr:last-child td{border-bottom:0}
.prototype-dashboard .account-cell,.prototype-dashboard .video-cell{display:flex;align-items:center;gap:10px;min-width:230px}.prototype-dashboard .avatar{width:40px;height:40px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:900;background:linear-gradient(135deg,#111827,#50c9d9);flex:0 0 auto}.prototype-dashboard .cover{width:58px;height:40px;border-radius:12px;background:linear-gradient(135deg,#111827,#54cfdf 70%,#f4cfad);box-shadow:inset 0 1px 2px rgba(255,255,255,.35);flex:0 0 auto}.prototype-dashboard .account-cell strong,.prototype-dashboard .video-cell strong{display:block;font-size:14px}.prototype-dashboard .account-cell a,.prototype-dashboard .video-cell span{display:block;margin-top:4px;color:#657386;font-size:12px;text-decoration:none}.prototype-dashboard .metric{font-weight:900;color:#111827}.prototype-dashboard .trend{font-weight:900;color:#0f766e}.prototype-dashboard .trend.down{color:#a33a3a}
.prototype-dashboard .pill{height:28px;display:inline-flex;align-items:center;border-radius:14px;padding:0 10px;font-size:12px;font-weight:900}.prototype-dashboard .pill.hot{background:rgba(239,68,68,.12);color:#8f2b2b;border:1px solid rgba(239,68,68,.22)}.prototype-dashboard .pill.steady{background:rgba(20,184,166,.13);color:#0f766e;border:1px solid rgba(20,184,166,.24)}.prototype-dashboard .pill.watch{background:rgba(245,158,11,.14);color:#8a5b00;border:1px solid rgba(245,158,11,.24)}.prototype-dashboard .platform-pill{height:26px;display:inline-flex;align-items:center;border-radius:13px;padding:0 9px;background:rgba(10,16,32,.08);border:1px solid rgba(10,16,32,.12);font-size:12px;font-weight:900;color:#253247}.prototype-dashboard .row-btn{height:32px;border:0;border-radius:16px;background:rgba(255,255,255,.62);color:#253247;font-size:12px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:0 10px;white-space:nowrap}
.prototype-dashboard .report-strip{position:fixed;left:50%;transform:translateX(-50%);bottom:8px;z-index:20;width:min(1240px,calc(100% - 48px));min-height:46px;padding:5px 10px 5px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;border-radius:24px;border:1px solid rgba(255,255,255,.82);background:rgba(255,255,255,.72);backdrop-filter:blur(24px);box-shadow:0 18px 48px rgba(28,104,125,.18)}.prototype-dashboard .assistant-badge{height:34px;display:inline-flex;align-items:center;padding:0 15px;border-radius:19px;background:rgba(255,255,255,.72);font-size:13px;font-weight:900}.prototype-dashboard .prompt{min-height:34px;display:flex;align-items:center;padding:8px 16px;border-radius:20px;background:rgba(255,255,255,.62);color:#7a8493;border:1px solid rgba(255,255,255,.82);font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.prototype-dashboard .run{height:34px;min-width:110px;border:0;border-radius:20px;background:#0a1020;color:#fff;font-weight:900;cursor:pointer}
.prototype-dashboard .dense-axis text{fill:#4b5563;font-size:11px;font-weight:800}.prototype-dashboard .dense-grid path{stroke:rgba(17,24,39,.1);stroke-width:1}.prototype-dashboard .trend-line{fill:none;stroke-linecap:round;stroke-linejoin:round}.prototype-dashboard .trend-line.primary{stroke:#ff8a35;stroke-width:2.8}.prototype-dashboard .trend-line.secondary{stroke:#12b6c9;stroke-width:2.2;opacity:.72}.prototype-dashboard .trend-line.faint{stroke:#0a1020;stroke-width:2;opacity:.55}.prototype-dashboard .peak-dot{fill:#ff8a35;stroke:#fff;stroke-width:3}.prototype-dashboard .peak-label{fill:#fff7ed;stroke:#ff8a35;stroke-width:1}.prototype-dashboard .peak-text{fill:#9a3412;font-size:11px;font-weight:900}
.prototype-dashboard .fade{animation:rise .55s ease both}.prototype-dashboard .delay1{animation-delay:.08s}.prototype-dashboard .delay2{animation-delay:.16s}.prototype-dashboard .delay3{animation-delay:.24s}@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.prototype-dashboard .topbar{grid-template-columns:1fr;height:auto;padding:18px}.prototype-dashboard .nav{justify-self:start;overflow-x:auto;max-width:100%}.prototype-dashboard .hero{grid-template-columns:1fr}.prototype-dashboard .dashboard-filter-row.main,.prototype-dashboard .dashboard-filter-row.date,.prototype-dashboard .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.prototype-dashboard .dashboard-filter-row.date .apply-filter{grid-column:1 / -1;width:100%}.prototype-dashboard .filter-action{grid-column:1 / -1;justify-content:flex-start}.prototype-dashboard .report-strip{grid-template-columns:1fr}.prototype-dashboard .prompt{white-space:normal}.prototype-dashboard .run,.prototype-dashboard .soft{width:100%}}
@media(max-width:760px){.prototype-dashboard .page{padding-bottom:190px}.prototype-dashboard .dash-head{display:block}.prototype-dashboard .dashboard-filter-row.main,.prototype-dashboard .dashboard-filter-row.date,.prototype-dashboard .dashboard-trend-split,.prototype-dashboard .kpis{grid-template-columns:1fr}.prototype-dashboard .dashboard-date-caliber-filter{grid-template-columns:1fr}.prototype-dashboard .table{min-width:960px}.prototype-dashboard .chart-wrap{height:240px}.prototype-dashboard .chart-wrap.compact{height:210px}}

/* Operator account scope filter and team authorization states */
.prototype-dashboard .account-filter-control { position: relative; min-width: 0; }
.prototype-dashboard .account-filter-trigger {
  width: 100%; min-height: 44px; padding: 0 13px 0 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px;
  background: rgba(255,255,255,.6); color: #1f2937; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 850; cursor: pointer; text-align: left;
}
.prototype-dashboard .account-filter-trigger i { color: #607085; font-size: 16px; font-style: normal; transition: transform .18s ease; }
.prototype-dashboard .account-filter-control.open .account-filter-trigger { border-color: rgba(18,182,201,.56); background: rgba(255,255,255,.8); }
.prototype-dashboard .account-filter-control.open .account-filter-trigger i { transform: rotate(180deg); }
.prototype-dashboard .account-filter-menu {
  width: max(100%, 240px); max-height: 290px; padding: 8px; overflow-y: auto; position: absolute; top: calc(100% + 7px); left: 0; z-index: 80;
  border: 1px solid rgba(255,255,255,.92); border-radius: 18px; background: rgba(247,252,252,.98); box-shadow: 0 20px 48px rgba(31,68,84,.22); backdrop-filter: blur(22px);
}
.prototype-dashboard .account-filter-menu[hidden] { display: none; }
.prototype-dashboard .account-filter-option { min-height: 36px; padding: 7px 9px; border-radius: 12px; display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: center; gap: 8px; color: #263247; font-size: 12px; font-weight: 850; cursor: pointer; }
.prototype-dashboard .account-filter-option:hover { background: rgba(85,212,228,.12); }
.prototype-dashboard .account-filter-option input { width: 15px; height: 15px; accent-color: #0a1020; }
.prototype-dashboard .account-filter-option.all { margin-bottom: 4px; border-bottom: 1px solid rgba(52,64,84,.1); border-radius: 10px; }
.prototype-dashboard .account-filter-hint { padding: 8px 9px 4px; color: #647184; font-size: 10px; font-weight: 750; line-height: 1.4; }
.prototype-dashboard tr.account-filtered-row { display: none; }
.prototype-dashboard .rank-filtered-row { display: none; }
.prototype-dashboard .video-rank-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(100,113,132,.28);
  background: rgba(255,255,255,.34);
  color: #647184;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
.prototype-dashboard .video-rank-empty[hidden] { display: none; }
.collect-head-actions { display: grid; justify-items: end; gap: 10px; min-width: 390px; max-width: 440px; }
.collect-head-actions .ghost { justify-self: end; }
.collect-team-state { width: 100%; margin: 0; padding: 10px 13px; border: 1px solid rgba(255,255,255,.76); border-radius: 18px; background: linear-gradient(110deg,rgba(255,255,255,.66),rgba(85,212,228,.14)); box-shadow: inset 0 1px 0 rgba(255,255,255,.58); text-align: right; }
.collect-team-state[hidden] { display: none; }
.collect-team-state b, .collect-team-state span { display: block; }
.collect-team-state b { color: #263247; font-size: 12px; font-weight: 950; }
.collect-team-state span { margin-top: 3px; color: #647184; font-size: 10px; font-weight: 800; line-height: 1.45; }
.pending-team-accounts { margin-top: 14px; padding: 12px; border: 1px solid rgba(245,158,11,.22); border-radius: 18px; background: rgba(255,247,237,.62); }
.pending-team-accounts[hidden] { display: none; }
.pending-team-accounts > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pending-team-accounts > div:first-child b { color: #8a5b00; font-size: 12px; }
.pending-team-accounts > div:first-child span { color: #92703a; font-size: 10px; font-weight: 800; }
.pending-team-account-row { margin-top: 7px; padding: 8px 10px; border-radius: 13px; background: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #536274; font-size: 11px; font-weight: 800; }
.pending-team-account-row b { color: #263247; }
.pending-team-account-row em { color: #8a5b00; font-style: normal; font-size: 10px; font-weight: 900; }
.authorization-note { margin: 12px 0 0; }
.history-review-status { width: max-content; padding: 3px 8px; border-radius: 10px; font-size: 10px !important; font-weight: 900 !important; }
.history-review-status.pending { color: #8a5b00; background: rgba(245,158,11,.12); }
.history-review-status.direct { color: #0f766e; background: rgba(20,184,166,.12); }
.table-export-tools {
  min-width: 0;
}
.prototype-dashboard .table-export-tools,
.account-detail-page .table-export-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.export-scope-check {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.74);
  background: rgba(255,255,255,.52);
  color: #536274;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.export-scope-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #0a1020;
}
.export-data-btn {
  height: 34px;
  min-width: 88px;
  border-radius: 17px;
  padding: 0 13px;
  font-size: 12px;
}
.export-scope-btn {
  height: 34px;
  min-width: 116px;
  border-radius: 17px;
  padding: 0 13px;
  font-size: 12px;
}
.export-scope-summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 17px;
  border: 1px solid rgba(18,182,201,.24);
  background: rgba(216,250,252,.52);
  color: #276979;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.benchmark-summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.48);
  color: #647184;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.benchmark-header,
.benchmark-cell {
  white-space: nowrap;
}
.benchmark-pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.58);
  color: #334155;
  font-size: 11px;
  font-weight: 950;
}
.benchmark-pill.top {
  background: linear-gradient(120deg, rgba(255,226,137,.38), rgba(255,255,255,.62));
  border-color: rgba(245,158,11,.32);
  color: #8a5b00;
}
.benchmark-pill.high {
  background: rgba(20,184,166,.12);
  border-color: rgba(20,184,166,.24);
  color: #0f766e;
}
.benchmark-pill.steady {
  background: rgba(85,212,228,.12);
  border-color: rgba(85,212,228,.24);
  color: #0f8190;
}
.benchmark-pill.low,
.benchmark-pill.muted {
  background: rgba(100,113,132,.08);
  border-color: rgba(100,113,132,.16);
  color: #647184;
}
.export-scope-modal[hidden] {
  display: none;
}
.export-scope-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}
.export-scope-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,16,32,.16);
  backdrop-filter: blur(12px);
}
.export-scope-card {
  position: relative;
  width: min(560px, calc(100vw - 36px));
  max-height: min(720px, calc(100vh - 48px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.84);
  background: linear-gradient(135deg,rgba(255,255,255,.88),rgba(231,250,250,.72));
  box-shadow: 0 28px 80px rgba(28,104,125,.24);
}
.export-scope-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.export-scope-head h2 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 24px;
}
.export-scope-head p {
  margin: 0;
  color: #647184;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
}
.export-scope-all,
.export-scope-option {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.export-scope-all {
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(10,16,32,.1);
  background: rgba(255,255,255,.68);
}
.export-scope-options {
  margin-top: 10px;
  padding-right: 4px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}
.export-scope-option {
  min-height: 54px;
  padding: 9px 11px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.48);
}
.export-scope-all input,
.export-scope-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0a1020;
}
.export-scope-all b,
.export-scope-all small,
.export-scope-option b,
.export-scope-option small {
  display: block;
}
.export-scope-all b,
.export-scope-option b {
  color: var(--ink);
  font-size: 13px;
}
.export-scope-all small,
.export-scope-option small {
  margin-top: 4px;
  color: #647184;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
}
.export-scope-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(52,64,84,.1);
}
.export-scope-actions .ghost,
.export-scope-actions .primary {
  height: 38px;
}
.account-detail-page .panel-title .sort-select {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 17px;
  background: rgba(255,255,255,.62);
  color: #253247;
  padding: 0 32px 0 12px;
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 760px) {
  .collect-head-actions { justify-items: start; max-width: none; margin-top: 12px; }
  .collect-team-state { max-width: none; text-align: left; }
  .prototype-dashboard .table-export-tools,
  .account-detail-page .table-export-tools {
    justify-content: flex-start;
  }
}

/* Collect page fixes after restoring prototype styles */
.collect-shell .option-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, max-content)) minmax(260px, 1fr);
  gap: 14px;
  align-items: start;
}
.collect-shell .check {
  width: auto;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 14px;
  border-radius: 21px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.76);
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.collect-shell .check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--dark);
}
.collect-shell .range-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.collect-shell .range-field select {
  width: 100%;
}
.progress-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.dashboard-entry {
  height: 34px;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  padding: 0 14px;
  font-size: 12px;
  text-decoration: none;
}
.dashboard-entry[hidden] { display: none; }
@media (max-width: 980px) {
  .collect-shell .option-row { grid-template-columns: 1fr; }
  .progress-actions { justify-content: flex-start; }
}

/* Social AI dashboard video ranking chart */
.prototype-dashboard .matrix-trend-chart .y-axis text {
  fill: #647184;
  font-size: 11px;
  font-weight: 800;
}
.prototype-dashboard .video-rank-section {
  margin: 0;
}
.prototype-dashboard .video-rank-chart {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.22));
  overflow: hidden;
}
.prototype-dashboard .rank-axis,
.prototype-dashboard .rank-row {
  display: grid;
  grid-template-columns: minmax(260px,.92fr) minmax(320px,1.35fr) 76px;
  gap: 12px;
  align-items: center;
}
.prototype-dashboard .rank-axis {
  color: #647184;
  font-size: 12px;
  font-weight: 900;
  padding: 0 2px 4px;
}
.prototype-dashboard .rank-axis span:last-child {
  grid-column: 2 / 4;
}
.prototype-dashboard .rank-label {
  color: #253247;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prototype-dashboard .rank-track {
  height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.75);
  overflow: hidden;
  position: relative;
}
.prototype-dashboard .rank-bar {
  position: absolute;
  inset: 3px auto 3px 3px;
  border-radius: 9px;
  background: linear-gradient(90deg, #0a1020, #15b8ca 68%, #f4a35d);
  box-shadow: 0 10px 24px rgba(28,104,125,.2);
  animation: rankGrow .8s ease both;
  transform-origin: left center;
}
.prototype-dashboard .rank-bar.soft-rank {
  background: linear-gradient(90deg, rgba(10,16,32,.72), rgba(21,184,202,.72));
}
.prototype-dashboard .rank-value {
  color: #111827;
  font-size: 13px;
  text-align: right;
}
@keyframes rankGrow {
  from { transform: scaleX(.08); opacity: .35; }
  to { transform: scaleX(1); opacity: 1; }
}
@media (max-width: 860px) {
  .prototype-dashboard .rank-axis,
  .prototype-dashboard .rank-row {
    grid-template-columns: 1fr 72px;
  }
  .prototype-dashboard .rank-axis span:first-child { grid-column: 1 / -1; }
  .prototype-dashboard .rank-axis span:last-child { grid-column: 1 / -1; }
  .prototype-dashboard .rank-track { grid-column: 1; }
  .prototype-dashboard .rank-label { grid-column: 1 / -1; white-space: normal; }
}

/* Social AI account detail trend chart */
.account-detail-page .account-trend-chart {
  height: 300px;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.18));
}
.account-detail-page .account-volume-line,
.account-detail-page .account-rate-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 16px rgba(28,104,125,.12));
}
.account-detail-page .account-volume-line {
  stroke: #d83a63;
  stroke-width: 4.2;
}
.account-detail-page .account-rate-line {
  stroke: #2c7f62;
  stroke-width: 3.4;
  stroke-dasharray: 10 8;
}
.account-detail-page .account-points circle {
  fill: #fff;
  stroke-width: 3.2;
}
.account-detail-page .account-points.volume circle {
  stroke: #d83a63;
}
.account-detail-page .account-points.rate circle {
  stroke: #2c7f62;
}
.account-detail-page .value-label {
  font-size: 12px;
  font-weight: 900;
}
.account-detail-page .value-label.volume {
  fill: #111827;
}
.account-detail-page .value-label.rate {
  fill: #2c7f62;
}
.account-detail-page .account-chart-legend {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 0;
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.account-detail-page .account-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.account-detail-page .account-chart-legend i {
  width: 18px;
  height: 8px;
  border-radius: 4px;
  display: inline-block;
}
.account-detail-page .legend-volume {
  background: #d83a63;
}
.account-detail-page .legend-rate {
  border-top: 3px dashed #2c7f62;
  background: transparent;
  height: 0 !important;
}
.account-detail-page .trend-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
.account-detail-page .trend-summary-card {
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.72);
}
.account-detail-page .trend-summary-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.2;
}
.account-detail-page .trend-summary-card p {
  margin: 0;
  color: #536274;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}
@media (max-width: 760px) {
  .account-detail-page .account-trend-chart { height: 260px; }
  .account-detail-page .trend-summary-grid { grid-template-columns: 1fr; }
}

/* Social AI account detail compact layout patch */
.account-detail-page {
  padding-bottom: 190px;
}
.account-detail-page .shell {
  padding-bottom: 72px;
}
.account-detail-page .account-trend-chart {
  height: 282px;
}
.account-detail-page .compact-trend-summary {
  gap: 10px;
  margin-top: 10px;
}
.account-detail-page .compact-trend-summary .trend-summary-card {
  padding: 12px 14px;
  min-height: 0;
}
.account-detail-page .compact-trend-summary .trend-summary-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.account-detail-page .compact-trend-summary .trend-summary-card p {
  font-size: 12px;
  line-height: 1.52;
}
.account-detail-page .compact-trend-summary .trend-summary-card b {
  color: #0a1020;
}
.account-detail-page .caliber-note {
  margin-top: 9px;
}

/* Account detail assistant bar no overlay */
.account-detail-page .nl-bar {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 28px;
}
.account-detail-page .shell {
  padding-bottom: 22px;
}

/* Account detail one-column analysis layout */
.account-detail-page .detail-layout {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 22px;
}
.account-detail-page .detail-layout > .stack {
  display: grid;
  gap: 12px;
}
.account-detail-page .detail-hero {
  max-width: none;
}
.account-detail-page .account-trend-chart {
  height: 330px;
}
.account-detail-page .compact-trend-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.account-detail-page .compact-trend-summary .trend-summary-card {
  padding: 16px 18px;
}
.account-detail-page .compact-trend-summary .trend-summary-card p {
  font-size: 13px;
  line-height: 1.62;
}
.account-detail-page .post-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.account-detail-page .post-table-grid .panel {
  margin: 0;
}
.account-detail-page .post-table-grid .analysis-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-detail-page .horizontal-plan {
  grid-template-columns: 1fr;
}
.account-detail-page .account-report-cta {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10,16,32,.92);
  color: #fff;
  box-shadow: 0 22px 54px rgba(7,13,29,.16);
}
.account-detail-page .account-report-cta h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}
.account-detail-page .account-report-cta p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}
.account-detail-page .account-report-cta .primary {
  min-width: 166px;
  height: 42px;
  border-radius: 21px;
  background: #fff;
  color: #0a1020;
}
@media (max-width: 980px) {
  .account-detail-page .post-table-grid,
  .account-detail-page .compact-trend-summary {
    grid-template-columns: 1fr;
  }
  .account-detail-page .account-report-cta {
    display: grid;
  }
}
@media (max-width: 760px) {
  .account-detail-page .account-trend-chart { height: 280px; }
  .account-detail-page .post-table-grid .analysis-grid { grid-template-columns: 1fr; }
}

/* Social AI detail table pagination and video one-column */
.account-detail-page .account-video-table.compact {
  min-width: 1160px;
}
.account-detail-page .account-video-table td:first-child,
.account-detail-page .account-video-table th:first-child {
  min-width: 300px;
}
.video-info-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}
.video-avatar-slot {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #102132, #42c4d3 70%, #f0cfaa);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.35);
}
.video-info-cell strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}
.video-info-cell em {
  display: block;
  margin-top: 4px;
  color: #647184;
  font-size: 12px;
  font-style: normal;
}
.table-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.58);
}
.table-pagination span {
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.table-pagination button {
  height: 30px;
  border: 0;
  border-radius: 15px;
  padding: 0 12px;
  background: rgba(255,255,255,.72);
  color: #253247;
  font-size: 12px;
  font-weight: 900;
}
.table-pagination button:not(:disabled) {
  background: #0a1020;
  color: #fff;
}
.table-pagination button:disabled {
  opacity: .55;
}
.video-detail-page .detail-layout {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px 22px;
}
.video-detail-page .detail-layout > .stack {
  display: grid;
  gap: 12px;
}
.video-detail-page .video-hero-card,
.video-detail-page .video-kpis,
.video-detail-page .panel {
  max-width: none;
}
.video-detail-page .video-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.video-detail-page .video-post-grid .analysis-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-detail-page .video-post-grid .horizontal-plan {
  grid-template-columns: 1fr;
}
.video-report-cta {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10,16,32,.92);
  color: #fff;
  box-shadow: 0 22px 54px rgba(7,13,29,.16);
}
.video-report-cta h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}
.video-report-cta p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}
.video-report-cta .primary {
  min-width: 166px;
  height: 42px;
  border-radius: 21px;
  background: #fff;
  color: #0a1020;
}
.video-detail-page .nl-bar {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 28px;
}
@media (max-width: 980px) {
  .video-detail-page .video-post-grid {
    grid-template-columns: 1fr;
  }
  .video-report-cta {
    display: grid;
  }
}
@media (max-width: 760px) {
  .table-pagination { justify-content: flex-start; flex-wrap: wrap; }
  .video-detail-page .video-post-grid .analysis-grid { grid-template-columns: 1fr; }
}

/* Social AI creative report page */
.report-page .page {
  padding-bottom: 52px;
}
.report-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 16px auto 0;
  display: grid;
  gap: 14px;
}
.report-creator-card .content,
.report-process-card .content,
.report-preview-card .content {
  padding: 24px 28px;
}
.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.report-head h1 {
  margin: 8px 0 8px;
  font-size: 36px;
  line-height: 1;
}
.report-head p {
  margin: 0;
  color: #59687c;
  font-size: 14px;
  line-height: 1.6;
}
.report-command-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.44);
  overflow: visible;
}
.report-prompt {
  width: 100%;
  min-height: 168px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 24px;
  padding: 18px 20px;
  color: #111827;
  background: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 800;
  outline: none;
}
.report-prompt:focus {
  border-color: rgba(21,184,202,.58);
  box-shadow: 0 0 0 4px rgba(21,184,202,.12);
}
.report-filter-groups {
  display: grid;
  gap: 10px;
  overflow: visible;
}
.filter-chip-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip-group > span {
  width: 74px;
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.chip {
  height: 34px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 17px;
  padding: 0 13px;
  background: rgba(255,255,255,.58);
  color: #253247;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.chip.active {
  background: #0a1020;
  color: #fff;
  border-color: #0a1020;
  box-shadow: 0 12px 26px rgba(7,13,29,.14);
}
.report-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.upload-action {
  width: 100%;
  min-height: 88px;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 22px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.upload-action b {
  display: block;
  color: #111827;
  font-size: 16px;
}
.upload-action span {
  display: block;
  margin-top: 7px;
  color: #647184;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}
.paste-area {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,.58);
  color: #253247;
  font-size: 13px;
  line-height: 1.55;
  outline: none;
  resize: vertical;
}
.report-data-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.report-data-summary div {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.48);
}
.report-data-summary b {
  display: block;
  font-size: 25px;
  line-height: 1;
}
.report-data-summary span {
  display: block;
  margin-top: 8px;
  color: #647184;
  font-size: 12px;
  font-weight: 900;
}
.uploaded-list {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: #647184;
  font-size: 12px;
  font-weight: 900;
}
.uploaded-list em {
  font-style: normal;
  padding: 8px 11px;
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.72);
  color: #253247;
}
.report-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.report-generate {
  min-width: 168px;
  height: 44px;
  border-radius: 22px;
}
.report-progress-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.report-step {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.72);
  color: #647184;
  font-size: 13px;
  font-weight: 900;
}
.report-step.active,
.report-step.done {
  color: #0a1020;
  background: rgba(216,250,252,.58);
  border-color: rgba(85,212,228,.42);
}
.report-step.done::before {
  content: "✓";
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a1020;
  color: #fff;
  font-size: 12px;
}
.report-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.report-block {
  min-height: 150px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.48);
}
.report-block.large {
  grid-column: span 3;
  min-height: 118px;
}
.report-block span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 14px;
  background: #0a1020;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.report-block h3 {
  margin: 12px 0 8px;
  font-size: 18px;
}
.report-block p {
  margin: 0;
  color: #536274;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}
@media (max-width: 980px) {
  .report-head { display: grid; }
  .report-support-grid,
  .report-data-summary,
  .report-progress-flow,
  .report-preview-grid { grid-template-columns: 1fr; }
  .report-block.large { grid-column: auto; }
  .filter-chip-group > span { width: 100%; }
}

/* Compact attachment controls under the creative report prompt */
.report-attach-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
  flex-wrap: wrap;
}
.report-attach-row .attach-action {
  width: auto;
  min-height: 34px;
  height: 34px;
  padding: 0 12px 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 17px;
  text-align: center;
  background: rgba(255,255,255,.58);
  box-shadow: none;
}
.report-attach-row .attach-action b {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15,23,42,.08);
  color: #0f172a;
  font-size: 14px;
  line-height: 1;
}
.report-attach-row .attach-action span {
  margin: 0;
  color: #26364a;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}
.report-attach-row .attach-action:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.76);
}

/* Generated report teaser preview */
.generated-report-teaser {
  position: relative;
  overflow: hidden;
  max-height: 560px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.78);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(236,251,253,.7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.report-doc-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,.1);
}
.report-mini-eyebrow {
  margin: 0 0 8px;
  color: #5d6b80;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.report-doc-head h3 {
  margin: 0;
  color: #0a1020;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}
.report-doc-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #536274;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 800;
}
.report-mini-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.report-mini-toc span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 11px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.68);
  color: #344154;
  font-size: 12px;
  font-weight: 900;
}
.report-mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.report-mini-metrics div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.78);
}
.report-mini-metrics b {
  display: block;
  color: #0a1020;
  font-size: 25px;
  line-height: 1;
}
.report-mini-metrics span {
  display: block;
  margin-top: 8px;
  color: #647184;
  font-size: 12px;
  font-weight: 900;
}
.report-mini-section {
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.76);
}
.report-mini-section > span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 14px;
  background: #0a1020;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.report-mini-section h4 {
  margin: 14px 0 8px;
  color: #0a1020;
  font-size: 22px;
  line-height: 1.35;
}
.report-mini-section p {
  margin: 0;
  color: #536274;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
}
.report-preview-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 116px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 22px 18px;
  background: linear-gradient(180deg, rgba(242,250,251,0), rgba(242,250,251,.96) 58%, rgba(242,250,251,1));
}
.report-preview-fade span {
  display: inline-flex;
  max-width: 720px;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 18px;
  background: rgba(10,16,32,.9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
@media (max-width: 980px) {
  .report-mini-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-doc-head h3 { font-size: 28px; }
}

/* Report generation completed state and local rewrite editor */
.report-process-card.completed .report-progress-flow {
  display: none;
}
.report-complete-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(85,212,228,.42);
  background: rgba(216,250,252,.58);
  color: #0a1020;
}
.report-complete-banner b {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 14px;
  background: #0a1020;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.report-complete-banner span {
  color: #536274;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}
.editable-report-region {
  position: relative;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.editable-report-region:hover,
.editable-report-region.selected {
  border-color: rgba(10,16,32,.88);
  box-shadow: 0 0 0 2px rgba(10,16,32,.08), 0 18px 42px rgba(10,16,32,.08);
}
.editable-report-region.rewriting {
  opacity: .86;
}
.edit-region-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.editable-report-region:hover .edit-region-tools,
.editable-report-region.selected .edit-region-tools {
  opacity: 1;
  transform: translateY(0);
}
.edit-region-tools span,
.local-edit-badge {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(10,16,32,.9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.edit-region-tools button {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  color: #0a1020;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.local-edit-box {
  position: absolute;
  left: 18px;
  top: 62px;
  width: min(360px, calc(100% - 36px));
  z-index: 4;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 54px rgba(15,23,42,.18);
  cursor: default;
}
.local-edit-box label {
  display: block;
  margin-bottom: 8px;
  color: #0a1020;
  font-size: 12px;
  font-weight: 900;
}
.local-edit-box textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 14px;
  padding: 10px 11px;
  outline: none;
  color: #0a1020;
  background: rgba(246,250,252,.92);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.local-edit-box textarea:focus {
  border-color: rgba(10,16,32,.35);
  box-shadow: 0 0 0 3px rgba(10,16,32,.06);
}
.local-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.local-edit-actions .ghost,
.local-edit-actions .primary {
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  font-size: 12px;
}
.local-edit-badge {
  position: absolute;
  right: 18px;
  bottom: 16px;
  background: rgba(20,184,166,.94);
}
@media (max-width: 720px) {
  .report-complete-banner { align-items: flex-start; flex-direction: column; }
  .edit-region-tools { position: static; margin-bottom: 10px; opacity: 1; transform: none; }
  .local-edit-box { position: static; width: 100%; margin-top: 12px; }
  .local-edit-badge { position: static; margin-top: 12px; width: fit-content; }
}
.report-complete-banner[hidden],
.local-edit-box[hidden],
.local-edit-badge[hidden] {
  display: none;
}
.report-preview-fade {
  pointer-events: none;
}

/* Expandable full report preview */
.report-preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.report-preview-actions .ghost,
.report-preview-actions .primary {
  height: 38px;
  border-radius: 19px;
  padding: 0 14px;
  font-size: 13px;
}
.generated-report-teaser.is-expanded {
  max-height: none;
  overflow: visible;
}
.generated-report-teaser.is-expanded .report-preview-fade {
  display: none;
}
.report-full-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.report-doc-section {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.56);
}
.report-doc-section span {
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 13px;
  background: #0a1020;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.report-doc-section h4 {
  margin: 12px 0 8px;
  color: #0a1020;
  font-size: 18px;
  line-height: 1.35;
}
.report-doc-section p {
  margin: 0;
  color: #536274;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 800;
}
.editable-report-region.updated {
  border-color: rgba(20,184,166,.92);
  animation: localEditGlow 1.1s ease-in-out 0s 4 alternate;
}
@keyframes localEditGlow {
  from { box-shadow: 0 0 0 2px rgba(20,184,166,.16), 0 18px 42px rgba(20,184,166,.08); }
  to { box-shadow: 0 0 0 6px rgba(20,184,166,.32), 0 24px 62px rgba(20,184,166,.22); }
}
@media (max-width: 980px) {
  .report-full-sections { grid-template-columns: 1fr; }
  .report-preview-actions { justify-content: flex-start; }
}

/* Final generated report iframe preview */
.final-report-preview {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.final-report-frame-shell {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.82);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.final-report-frame {
  width: 100%;
  height: 980px;
  display: block;
  border: 0;
  background: #fff;
  pointer-events: none;
}
.generated-report-teaser.is-collapsed .final-report-frame-shell {
  max-height: 760px;
}
.generated-report-teaser.is-expanded .final-report-frame-shell {
  max-height: none;
}
.generated-report-teaser.is-expanded .final-report-frame {
  height: 2500px;
}
.final-report-edit-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.final-report-edit-layer .edit-region-tools {
  top: 172px;
  right: 44px;
  pointer-events: auto;
}
.final-report-frame-shell:hover .edit-region-tools,
.final-report-frame-shell.selected .edit-region-tools {
  opacity: 1;
  transform: translateY(0);
}
.final-report-frame-shell .local-edit-box {
  top: 230px;
  left: 54px;
}
.final-report-frame-shell .local-edit-badge {
  right: 54px;
  top: 318px;
  bottom: auto;
}
.final-report-frame-shell.updated {
  border-color: rgba(20,184,166,.92);
  animation: localEditGlow 1.1s ease-in-out 0s 4 alternate;
}
.final-report-preview .report-preview-fade {
  border-radius: 0 0 24px 24px;
}
@media (max-width: 980px) {
  .final-report-frame { height: 900px; }
  .generated-report-teaser.is-expanded .final-report-frame { height: 2300px; }
  .final-report-edit-layer .edit-region-tools { top: 130px; right: 18px; }
  .final-report-frame-shell .local-edit-box { top: 188px; left: 18px; }
  .final-report-frame-shell .local-edit-badge { top: 304px; right: 18px; }
}
.generated-report-teaser.final-report-preview {
  max-height: none;
  overflow: visible;
}
.final-report-frame,
.generated-report-teaser.is-expanded .final-report-frame {
  height: 5200px;
}

/* Collect link validation modal */
.link-check-modal[hidden] {
  display: none;
}
.link-check-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.link-check-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,16,32,.28);
  backdrop-filter: blur(10px);
}
.link-check-panel {
  position: relative;
  width: min(500px, 100%);
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.82);
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(222,249,252,.82));
  box-shadow: 0 26px 70px rgba(15,23,42,.18);
}
.link-check-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.link-check-head h2 {
  margin: 0 0 8px;
  color: #0a1020;
  font-size: 23px;
  line-height: 1.18;
}
.link-check-head p,
.link-check-tip {
  margin: 0;
  color: #536274;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}
.icon-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,16,32,.92);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.link-check-result {
  margin: 18px 0 14px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 10px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(244,63,94,.22);
  background: rgba(255,241,242,.78);
}
.link-check-result b {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 14px;
  background: #0a1020;
  color: #fff;
  font-size: 12px;
}
.link-check-result span {
  color: #9f1239;
  font-size: 13px;
  font-weight: 900;
}
.compact-field input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  padding: 0 14px;
  background: rgba(255,255,255,.66);
  color: #0a1020;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  outline: none;
}
.compact-field input:focus {
  border-color: rgba(10,16,32,.28);
  box-shadow: 0 0 0 3px rgba(10,16,32,.06);
}
.link-check-tip {
  margin-top: 10px;
}
.link-check-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.link-check-actions .soft,
.link-check-actions .primary {
  height: 40px;
  border-radius: 20px;
  padding: 0 12px;
  font-size: 13px;
}
@media (max-width: 720px) {
  .link-check-actions { grid-template-columns: 1fr; }
}

/* Social AI dashboard filter refresh interactions */
.prototype-dashboard .sort-select {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 17px;
  background: rgba(255,255,255,.62);
  color: #253247;
  padding: 0 32px 0 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.prototype-dashboard .dashboard-trigger:focus,
.prototype-dashboard .sort-select:focus {
  outline: 2px solid rgba(18,182,201,.32);
  outline-offset: 2px;
}
to { opacity: 1; transform: translateY(0); }
}
@media(max-width:1180px){.prototype-dashboard .filter{grid-template-columns:1fr}.prototype-dashboard .filter-action{grid-column:auto;justify-content:flex-start}}
@media(max-width:760px){.prototype-dashboard .filter{grid-template-columns:1fr}.prototype-dashboard .sort-select{width:100%}}

/* Social AI collect simplification and dashboard table controls */
.collect-shell .simple-collect-options {
  grid-template-columns: minmax(260px, 1fr);
  max-width: 520px;
}
.collect-action-block {
  margin-top: 18px;
  display: inline-grid;
  gap: 10px;
  justify-items: start;
}
.collect-action-block p {
  max-width: 660px;
  margin: 0;
  color: #647184;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
}
.prototype-dashboard .table-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  flex: 0 0 auto;
}
.prototype-dashboard .table-toolbar .sort-select {
  width: min(260px, 100%);
  min-height: 38px;
  border-radius: 19px;
}
.prototype-dashboard .table-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.prototype-dashboard .table-footer .tag {
  height: 34px;
  display: inline-flex;
  align-items: center;
}
@media(max-width:760px){
  .collect-action-block { width: 100%; }
  .collect-action-block .primary { width: 100%; }
  .prototype-dashboard .table-toolbar { justify-content: stretch; }
  .prototype-dashboard .table-toolbar .sort-select { width: 100%; }
  .prototype-dashboard .table-footer { justify-content: flex-start; }
}

/* 2026-08-10 运营侧横向明细排序控件收窄：与导出按钮保持同一胶囊尺寸 */
.prototype-dashboard .section-head {
  align-items: flex-start;
}
.prototype-dashboard .section-head > div:first-child,
.account-detail-page .panel-title > strong {
  min-width: 0;
}
.prototype-dashboard .section-tools.table-export-tools,
.account-detail-page .section-tools.table-export-tools {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.prototype-dashboard .section-tools.table-export-tools .sort-select,
.account-detail-page .section-tools.table-export-tools .sort-select,
.prototype-dashboard .sort-select[data-table-sort],
.account-detail-page .sort-select[data-table-sort] {
  width: 158px;
  max-width: 158px;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  flex: 0 0 158px;
  border-radius: 17px;
  padding: 0 30px 0 12px;
  font-size: 12px;
  line-height: 34px;
}
.prototype-dashboard .section-tools.table-export-tools .export-scope-btn,
.prototype-dashboard .section-tools.table-export-tools .export-data-btn,
.prototype-dashboard .section-tools.table-export-tools .export-scope-summary,
.account-detail-page .section-tools.table-export-tools .export-scope-btn,
.account-detail-page .section-tools.table-export-tools .export-data-btn,
.account-detail-page .section-tools.table-export-tools .export-scope-summary {
  height: 34px;
  min-height: 34px;
  flex: 0 0 auto;
  white-space: nowrap;
}
@media(max-width:1180px) {
  .prototype-dashboard .section-head,
  .account-detail-page .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .prototype-dashboard .section-tools.table-export-tools,
  .account-detail-page .section-tools.table-export-tools {
    width: 100%;
    justify-content: flex-start;
  }
}
@media(max-width:760px) {
  .prototype-dashboard .section-tools.table-export-tools .sort-select,
  .account-detail-page .section-tools.table-export-tools .sort-select,
  .prototype-dashboard .sort-select[data-table-sort],
  .account-detail-page .sort-select[data-table-sort] {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
  }
}


/* Disable dashboard reveal animations to avoid duplicated display effects */
.prototype-dashboard .fade,
.prototype-dashboard .delay1,
.prototype-dashboard .delay2,
.prototype-dashboard .delay3 {
  animation: none !important;
  animation-delay: 0s !important;
}
.prototype-dashboard .rank-bar {
  animation: none !important;
  transform: scaleX(1) !important;
}

/* Dashboard update-only staged reveal */
.prototype-dashboard.dashboard-flowing .data-panel {
  animation: dashboardFlowReveal .56s ease both !important;
}
.prototype-dashboard.dashboard-flowing .chart-card { animation-delay: 0s !important; }
.prototype-dashboard.dashboard-flowing .insight-card { animation-delay: .06s !important; }
.prototype-dashboard.dashboard-flowing .video-rank-section { animation-delay: .14s !important; }
.prototype-dashboard.dashboard-flowing .kpis { animation-delay: .22s !important; }
.prototype-dashboard.dashboard-flowing article.data-panel:nth-of-type(3) { animation-delay: .30s !important; }
.prototype-dashboard.dashboard-flowing article.data-panel:nth-of-type(4) { animation-delay: .38s !important; }
@keyframes dashboardFlowReveal {
  0% { opacity: .18; transform: translateY(16px); }
  55% { opacity: .9; }
  100% { opacity: 1; transform: translateY(0); }
}
@media(max-width:760px){
  .prototype-dashboard .section-head { align-items: flex-start; }
}

/* Dashboard table readability and clickable links */
.prototype-dashboard .homepage-link {
  max-width: 178px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #536274;
  font-size: 11px;
  font-weight: 800;
}
.prototype-dashboard .homepage-link:hover,
.prototype-dashboard .video-link:hover strong {
  color: #0f8fa3;
}
.prototype-dashboard .video-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.prototype-dashboard .video-table {
  min-width: 1600px;
  table-layout: fixed;
}
.prototype-dashboard .video-table th,
.prototype-dashboard .video-table td {
  padding: 12px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.prototype-dashboard .video-table th:nth-child(1),
.prototype-dashboard .video-table td:nth-child(1) { width: 300px; }
.prototype-dashboard .video-table th:nth-child(2),
.prototype-dashboard .video-table td:nth-child(2) { width: 92px; }
.prototype-dashboard .video-table th:nth-child(3),
.prototype-dashboard .video-table td:nth-child(3) { width: 124px; }
.prototype-dashboard .video-table th:nth-child(4),
.prototype-dashboard .video-table td:nth-child(4) { width: 88px; }
.prototype-dashboard .video-table th:nth-child(5),
.prototype-dashboard .video-table td:nth-child(5) { width: 112px; }
.prototype-dashboard .video-table th:nth-child(6),
.prototype-dashboard .video-table td:nth-child(6) { width: 88px; }
.prototype-dashboard .video-table th:nth-child(7),
.prototype-dashboard .video-table td:nth-child(7),
.prototype-dashboard .video-table th:nth-child(8),
.prototype-dashboard .video-table td:nth-child(8),
.prototype-dashboard .video-table th:nth-child(9),
.prototype-dashboard .video-table td:nth-child(9),
.prototype-dashboard .video-table th:nth-child(10),
.prototype-dashboard .video-table td:nth-child(10) { width: 66px; }
.prototype-dashboard .video-table th:nth-child(11),
.prototype-dashboard .video-table td:nth-child(11) { width: 76px; }
.prototype-dashboard .video-table th:nth-child(12),
.prototype-dashboard .video-table td:nth-child(12) { width: 108px; }
.prototype-dashboard .video-table th:nth-child(13),
.prototype-dashboard .video-table td:nth-child(13) { width: 76px; }
.prototype-dashboard .video-table th:nth-child(14),
.prototype-dashboard .video-table td:nth-child(14) { width: 124px; }
.prototype-dashboard .video-table th:nth-child(15),
.prototype-dashboard .video-table td:nth-child(15) { width: 104px; }
.prototype-dashboard .video-table .video-cell {
  min-width: 0;
  width: 100%;
}
.prototype-dashboard .video-table .video-cell strong {
  white-space: normal;
  line-height: 1.25;
  color: #536274;
}
.prototype-dashboard .video-table .video-cell span span {
  white-space: nowrap;
}
.prototype-dashboard .video-table .pill,
.prototype-dashboard .video-table .row-btn {
  white-space: nowrap;
}
.prototype-dashboard .video-table .row-btn {
  min-width: 78px;
  padding: 0 8px;
}

/* Account row click targets */
.prototype-dashboard .account-detail-link {
  text-decoration: none;
  cursor: pointer;
}
.prototype-dashboard .account-name-link {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}
.prototype-dashboard .account-detail-link:hover,
.prototype-dashboard .account-name-link:hover {
  filter: brightness(1.06);
  color: #0f8fa3;
}

/* Video detail simplified analysis page */
.video-detail-page .video-basic-panel {
  margin-top: 0;
}
.video-detail-page .video-basic-table {
  min-width: 1120px;
}
.video-detail-page .video-basic-table th,
.video-detail-page .video-basic-table td {
  white-space: nowrap;
  vertical-align: middle;
}
.video-detail-page .video-basic-table td:first-child,
.video-detail-page .video-basic-table th:first-child {
  min-width: 260px;
  white-space: normal;
}
.video-detail-page .video-basic-table .platform-pill {
  height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  padding: 0 9px;
  background: rgba(10,16,32,.08);
  border: 1px solid rgba(10,16,32,.12);
  font-size: 12px;
  font-weight: 900;
  color: #253247;
}
.video-detail-page .video-basic-table .pill {
  height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}
.video-detail-page .video-basic-table .pill.hot {
  background: rgba(239,68,68,.12);
  color: #8f2b2b;
  border: 1px solid rgba(239,68,68,.22);
}
.video-detail-page .video-report-cta {
  margin-top: 2px;
}
.video-detail-page .video-report-cta + * {
  display: none;
}

/* Social AI single video trend analysis */
.video-detail-page .video-range-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.74);
  background: rgba(255,255,255,.42);
}
.video-detail-page .video-range-strip strong {
  display: block;
  font-size: 15px;
  color: #111827;
}
.video-detail-page .video-range-strip span {
  display: block;
  margin-top: 4px;
  color: #647184;
  font-size: 12px;
  font-weight: 850;
}
.video-detail-page .video-range-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.video-detail-page .video-range-actions button {
  height: 34px;
  min-width: 74px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 17px;
  padding: 0 13px;
  background: rgba(255,255,255,.58);
  color: #253247;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.video-detail-page .video-range-actions button.active {
  background: #0a1020;
  color: #fff;
  border-color: #0a1020;
  box-shadow: 0 12px 26px rgba(7,13,29,.14);
}
.video-detail-page .video-trend-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.video-detail-page .video-trend-notes div,
.video-detail-page .increment-grid div {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.44);
}
.video-detail-page .video-trend-notes b,
.video-detail-page .increment-grid b {
  display: block;
  font-size: 14px;
  color: #111827;
}
.video-detail-page .video-trend-notes span,
.video-detail-page .increment-grid span,
.video-detail-page .increment-grid small {
  display: block;
  margin-top: 6px;
  color: #647184;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 820;
}
.video-detail-page .video-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 12px;
}
.video-detail-page .play-snapshot-chart {
  margin-top: 12px;
  padding: 16px 16px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.68);
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.20));
}
.video-detail-page .play-snapshot-scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 8px;
  color: #7a8493;
  font-size: 11px;
  font-weight: 850;
}
.video-detail-page .play-snapshot-scale span:not(:first-child) {
  text-align: right;
}
.video-detail-page .play-snapshot-bars {
  min-height: 220px;
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 14px;
  align-items: end;
  border-top: 1px solid rgba(17,24,39,.08);
  background-image: linear-gradient(to top, rgba(17,24,39,.08) 1px, transparent 1px);
  background-size: 100% 52px;
  overflow-x: auto;
  padding: 12px 2px 0;
}
.video-detail-page .play-bar-item {
  min-width: 92px;
  min-height: 188px;
  display: grid;
  grid-template-rows: minmax(120px, 1fr) auto auto;
  align-items: end;
  justify-items: center;
  gap: 6px;
}
.video-detail-page .play-bar-item b {
  width: min(54px, 56%);
  height: var(--h);
  min-height: 18px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, #ff9b54 0%, #12b6c9 100%);
  box-shadow: 0 14px 24px rgba(28,104,125,.15);
}
.video-detail-page .play-bar-item span {
  color: #647184;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.video-detail-page .play-bar-item strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
}
.video-detail-page .play-bar-item.video-filtered-row {
  display: none;
}
.video-detail-page .increment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.video-detail-page .increment-grid b {
  font-size: 22px;
}
.video-detail-page .increment-grid small {
  color: #0f766e;
  font-weight: 900;
}
.video-detail-page .composition-bars {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.video-detail-page .composition-bars div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
}
.video-detail-page .composition-bars span,
.video-detail-page .composition-bars b {
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.video-detail-page .composition-bars b {
  color: #111827;
  text-align: right;
}
.video-detail-page .composition-bars i {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  overflow: hidden;
  position: relative;
}
.video-detail-page .composition-bars i::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #12b6c9, #ff9b54);
}
.video-detail-page .video-snapshot-table {
  min-width: 980px;
}
.video-detail-page .video-filtered-row {
  display: none;
}
.video-detail-page .video-trend-panel.is-refreshing,
.video-detail-page .video-play-snapshot-panel.is-refreshing,
.video-detail-page .video-analysis-grid.is-refreshing,
.video-detail-page .video-snapshot-table.is-refreshing {
  animation: videoFilterRefresh .38s ease both;
}
@keyframes videoFilterRefresh {
  0% { opacity: .35; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) {
  .video-detail-page .video-range-strip,
  .video-detail-page .video-analysis-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .video-detail-page .video-range-actions { justify-content: flex-start; }
  .video-detail-page .video-trend-notes,
  .video-detail-page .increment-grid { grid-template-columns: 1fr; }
}
.video-detail-page .compact-play-panel .panel-title {
  align-items: flex-start;
}
.video-detail-page .compact-play-panel .panel-title .tag {
  max-width: 148px;
  white-space: normal;
  line-height: 1.3;
  text-align: right;
}
.video-detail-page .compact-play-panel .play-snapshot-chart {
  padding: 10px 10px 8px;
}
.video-detail-page .compact-play-panel .play-snapshot-bars {
  min-height: 142px;
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 6px;
  padding-top: 8px;
  background-size: 100% 36px;
}
.video-detail-page .compact-play-panel .play-bar-item {
  min-width: 42px;
  min-height: 124px;
  gap: 4px;
}
.video-detail-page .compact-play-panel .play-bar-item b {
  width: min(34px, 72%);
  border-radius: 11px 11px 7px 7px;
}
.video-detail-page .compact-play-panel .play-bar-item span {
  max-width: 48px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  font-size: 10px;
}
.video-detail-page .compact-play-panel .play-bar-item strong {
  font-size: 11px;
}
.video-snapshot-pager {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 2px 0;
}
.video-snapshot-pager span {
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.video-snapshot-pager div {
  display: flex;
  gap: 8px;
}
.video-snapshot-pager button {
  height: 30px;
  border: 0;
  border-radius: 15px;
  padding: 0 12px;
  background: rgba(255,255,255,.68);
  color: #253247;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.video-snapshot-pager button:not(:disabled) {
  background: #0a1020;
  color: #fff;
}
.video-snapshot-pager button:disabled {
  opacity: .52;
  cursor: default;
}
@media (max-width: 1180px) {
  .video-detail-page .video-analysis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-detail-page .video-analysis-grid > .panel:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .collect-control-row {
    grid-template-columns: 1fr;
  }
  .collect-control-row .primary {
    width: 100%;
  }
  .video-detail-page .video-analysis-grid {
    grid-template-columns: 1fr;
  }
  .video-detail-page .video-analysis-grid > .panel:first-child {
    grid-column: auto;
  }
}
/* Latest tuning: collect controls and compact video analysis grid */
.collect-control-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(280px, 520px) auto;
  gap: 14px;
  align-items: start;
}
.collect-control-row .range-field {
  min-width: 0;
}
.collect-control-row .primary {
  height: 46px;
  min-width: 122px;
}
.collect-check-note {
  max-width: 760px;
  margin: 10px 0 0;
  color: #647184;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
}
.video-detail-page .video-analysis-grid {
  grid-template-columns: minmax(360px, 1.18fr) minmax(250px, .86fr) minmax(300px, .96fr);
  align-items: stretch;
}
.video-detail-page .video-analysis-grid > .panel,
.video-detail-page .video-analysis-grid > section.panel {
  min-width: 0;
}
@media (max-width: 1180px) {
  .video-detail-page .video-analysis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-detail-page .video-analysis-grid > .panel:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .collect-control-row {
    grid-template-columns: 1fr;
  }
  .collect-control-row .primary {
    width: 100%;
  }
  .video-detail-page .video-analysis-grid {
    grid-template-columns: 1fr;
  }
  .video-detail-page .video-analysis-grid > .panel:first-child {
    grid-column: auto;
  }
}
/* Social AI lite simplification */
.prototype-dashboard .hero {
  grid-template-columns: 1fr;
}
.prototype-dashboard .chart-card {
  min-height: 330px;
}
.prototype-dashboard .report-strip,
.lite-page .nl-bar {
  display: none !important;
}
.status-lines[hidden] {
  display: none !important;
}
.history-fail-hint {
  color: #9a3412 !important;
  font-weight: 900 !important;
}
.account-line.failed {
  border-color: rgba(239,68,68,.28);
  background: rgba(254,226,226,.55);
}
.account-line.failed em {
  color: #991b1b;
}
.lite-detail-layout {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px 22px;
}
.lite-detail-layout > .stack {
  display: grid;
  gap: 12px;
}
.lite-account-hero {
  grid-template-columns: 126px minmax(0, 1fr);
}
.account-home-link,
.lite-video-table .video-info-cell a {
  display: block;
  margin-top: 8px;
  max-width: 560px;
  color: #536274;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-home-link:hover,
.lite-video-table .video-info-cell a:hover {
  color: #0f8fa3;
}
.lite-total-kpis .detail-kpi b {
  font-size: 28px;
}
.lite-report-cta,
.account-report-cta.lite-report-cta {
  margin-top: 14px;
}
.account-video-table.lite-video-table {
  min-width: 1380px;
}
.lite-basic-video-table {
  min-width: 1280px;
}
.video-snapshot-table {
  min-width: 1180px;
}
.lite-video-analysis-grid {
  grid-template-columns: minmax(360px,1.18fr) minmax(250px,.86fr) minmax(300px,.96fr) !important;
}
.lite-day-trend-chart .chart-caption {
  font-size: 12px;
}
.lite-report-page .report-shell {
  max-width: 1280px;
}
.lite-command-panel {
  gap: 14px;
}
.lite-report-filters {
  grid-template-columns: 1fr;
}
.filter-chip-group.multi-select .chip.active:not(:first-of-type) {
  background: rgba(10,16,32,.92);
  color: #fff;
  border-color: rgba(10,16,32,.92);
}
.template-select-group {
  display: grid;
  grid-template-columns: auto repeat(2, minmax(180px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.template-select-group > span {
  color: #344054;
  font-size: 12px;
  font-weight: 950;
  padding-top: 12px;
  white-space: nowrap;
}
.template-card {
  min-height: 82px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 20px;
  padding: 13px 14px;
  background: rgba(255,255,255,.5);
  text-align: left;
  color: #253247;
  cursor: pointer;
}
.template-card b,
.template-card em {
  display: block;
}
.template-card b {
  font-size: 15px;
  font-style: normal;
}
.template-card em {
  margin-top: 7px;
  color: #647184;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}
.template-card.active {
  background: rgba(10,16,32,.92);
  border-color: rgba(10,16,32,.92);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7,13,29,.14);
}
.template-card.active em {
  color: rgba(255,255,255,.72);
}
.lite-report-page .report-preview-card {
  margin-top: 14px;
}
.lite-report-page .final-report-edit-layer,
.lite-report-page .local-edit-box,
.lite-report-page .local-edit-badge {
  display: none !important;
}
@media (max-width: 980px) {
  .template-select-group {
    grid-template-columns: 1fr;
  }
  .template-select-group > span {
    padding-top: 0;
  }
  .lite-video-analysis-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .lite-account-hero {
    grid-template-columns: 1fr;
  }
  .account-home-link,
  .lite-video-table .video-info-cell a {
    white-space: normal;
  }
}
/* Lite iteration: daily snapshot dashboard and simplified sorting */
.prototype-dashboard .daily-chart-note {
  margin: 10px 0 0;
  color: #647184;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 850;
}
.prototype-dashboard .dashboard-trend-split {
  gap: 14px;
}
.prototype-dashboard .trend-view-card {
  padding: 12px 12px 10px;
}
.prototype-dashboard .trend-view-card .chart-wrap.compact {
  height: 236px;
}
.prototype-dashboard .trend-view-card .daily-chart-note {
  min-height: 0;
  margin: 7px 2px 0;
  font-size: 11px;
  line-height: 1.35;
}
.prototype-dashboard .trend-view-head {
  margin-bottom: 7px;
}
.prototype-dashboard .mini small {
  display: none !important;
}
.prototype-dashboard .video-url-text {
  display: block;
  margin-top: 4px;
  max-width: 230px;
  color: #657386;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prototype-dashboard .account-table {
  min-width: 1220px;
}
.account-type-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 13px;
  background: rgba(85,212,228,.14);
  border: 1px solid rgba(85,212,228,.24);
  color: #23576a;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}
.account-follower-line {
  margin: 8px 0 0;
  color: #344054;
  font-size: 13px;
  font-weight: 950;
}
.prototype-dashboard .video-table {
  min-width: 1460px;
}
.prototype-dashboard .section-head > .tag {
  flex: 0 0 auto;
}
.video-detail-page .video-trend-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .82fr);
  gap: 12px;
  align-items: stretch;
}
.video-detail-page .video-trend-top-grid > .panel {
  min-width: 0;
}
.video-detail-page .video-trend-top-grid .video-trend-chart {
  height: 260px;
}
.video-detail-page .video-trend-top-grid .compact-play-panel .play-snapshot-chart {
  min-height: 260px;
  display: grid;
  align-items: end;
}
.video-detail-page .video-trend-top-grid .compact-play-panel .play-snapshot-bars {
  min-height: 206px;
  grid-template-columns: repeat(3, minmax(62px, 1fr));
  gap: 14px;
}
.video-detail-page .video-trend-top-grid .compact-play-panel .play-bar-item {
  min-height: 182px;
}
.video-detail-page .lite-two-card-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
.video-detail-page .lite-two-card-grid .increment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lite-report-page .report-preview-actions {
  gap: 8px;
}
.lite-report-page .report-preview-actions .primary,
.lite-report-page .report-preview-actions .ghost {
  min-width: 108px;
}
@media (max-width: 1100px) {
  .video-detail-page .video-trend-top-grid,
  .video-detail-page .lite-two-card-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .prototype-dashboard .video-url-text {
    white-space: normal;
  }
  .video-detail-page .lite-two-card-grid .increment-grid {
    grid-template-columns: 1fr;
  }
}
/* Lite TikTok-only iteration and report spacing fixes */
.prototype-dashboard .kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lite-report-page .template-select-group {
  grid-template-columns: auto repeat(2, minmax(260px, 1fr));
}
.lite-report-page .template-card {
  min-height: 108px;
  padding: 18px 20px;
}
.lite-report-page .report-preview-card {
  margin-top: 30px;
}
.lite-report-page .report-preview-card .section-head {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.lite-report-page .report-preview-actions {
  align-self: flex-end;
  flex-wrap: nowrap;
  margin-top: 8px;
}
.lite-report-page .final-report-preview {
  margin-top: 12px;
}
@media (max-width: 980px) {
  .lite-report-page .report-preview-card .section-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .lite-report-page .report-preview-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
/* Lite collect control alignment */
.collect-control-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: start;
}
.collect-control-row .range-field > span {
  color: #344054;
  font-size: 12px;
  font-weight: 950;
}
.collect-type-field select,
.collect-type-field input,
.collect-control-row select {
  height: 46px;
  border-radius: 22px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
}
.collect-type-custom {
  margin-top: 8px;
}
.collect-type-custom[hidden] {
  display: none;
}
.collect-control-row .range-field,
.collect-action-area {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.collect-control-row select,
.collect-type-field input,
.collect-action-area .primary {
  width: 100%;
}
.collect-action-area .primary {
  min-width: 0;
}
.collect-action-area {
  padding-top: 25px;
}
.collect-check-note {
  max-width: none;
  margin: 0;
  text-align: center;
  padding: 0 10px;
}
.collect-link-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.platform-fields-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.platform-field-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 28px;
  padding: 0 11px;
  border-radius: 14px;
  background: rgba(10,16,32,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(7,13,29,.12);
}
@media (max-width: 760px) {
  .collect-control-row {
    grid-template-columns: 1fr;
  }
  .collect-link-label-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .collect-action-area {
    padding-top: 0;
  }
  .platform-fields-grid {
    gap: 6px;
  }
}
/* Lite report template-first flow */
.lite-report-page .template-first-panel {
  gap: 18px;
  padding: 18px;
}
.lite-report-page .template-first-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lite-report-page .template-first-group > span {
  grid-column: 1 / -1;
  padding-top: 0;
  font-size: 13px;
}
.lite-report-page .template-first-group .template-card {
  min-height: 150px;
  padding: 22px 24px;
  border-radius: 24px;
}
.lite-report-page .template-card b {
  font-size: 19px;
}
.lite-report-page .template-card em {
  margin-top: 12px;
  font-size: 14px;
}
.lite-report-page .template-card i {
  display: block;
  margin-top: 8px;
  color: #7a8493;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.lite-report-page .template-card.active i {
  color: rgba(255,255,255,.66);
}
.lite-report-page .readonly-filter .chip {
  cursor: pointer;
}
@media (max-width: 760px) {
  .lite-report-page .template-first-group {
    grid-template-columns: 1fr;
  }
}
/* Lite report roomier template selection */
.lite-report-page .template-first-panel {
  padding: 22px 24px 18px;
}
.lite-report-page .template-first-group {
  gap: 18px;
}
.lite-report-page .template-first-group .template-card {
  min-height: 190px;
  padding: 30px 28px;
  border-radius: 26px;
}
.lite-report-page .template-first-group .template-card b {
  font-size: 22px;
}
.lite-report-page .template-first-group .template-card em {
  margin-top: 16px;
  font-size: 15px;
}
.lite-report-page .template-first-group .template-card i {
  margin-top: 12px;
  font-size: 13px;
}
.lite-report-page .template-first-group + .filter-chip-group {
  margin-top: 22px;
}
.lite-report-page .readonly-filter {
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.lite-report-page .report-time-control {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(220px, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  z-index: 12;
}
.lite-report-page .report-time-control.open {
  margin-bottom: 270px;
}
.lite-report-page .report-time-control > span {
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.lite-report-page .report-time-trigger {
  width: min(360px, 100%);
  min-height: 42px;
  padding: 0 13px 0 15px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: #253247;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
}
.lite-report-page .report-time-trigger b {
  font-size: 12px;
  font-weight: 900;
}
.lite-report-page .report-time-trigger i {
  color: #607085;
  font-size: 16px;
  font-style: normal;
  transition: transform .18s ease;
}
.lite-report-page .report-time-control.open .report-time-trigger {
  border-color: rgba(18,182,201,.56);
  background: rgba(255,255,255,.8);
}
.lite-report-page .report-time-control.open .report-time-trigger i {
  transform: rotate(180deg);
}
.lite-report-page .report-custom-date-popover {
  position: absolute;
  left: 82px;
  top: calc(100% + 8px);
  z-index: 120;
  width: min(360px, calc(100vw - 48px));
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 20px 48px rgba(28,104,125,.22);
  display: grid;
  gap: 10px;
}
.lite-report-page .report-custom-date-popover[hidden] {
  display: none;
}
.lite-report-page .report-custom-date-popover label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}
.lite-report-page .report-custom-date-popover input {
  height: 38px;
  border-radius: 15px;
  border: 1px solid rgba(15,23,42,.1);
  background: rgba(255,255,255,.78);
  padding: 0 10px;
  color: #253247;
  font-weight: 850;
}
.lite-report-page .report-date-min-hint {
  margin-top: -2px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(85,212,228,.12);
  color: #386878;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
}
.lite-report-page .report-custom-date-popover p {
  margin: 0;
  color: #991b1b;
  font-size: 12px;
  font-weight: 900;
}
.lite-report-page .report-custom-date-popover .custom-date-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.lite-report-page .report-custom-date-popover .custom-date-actions button {
  height: 34px;
  border: 0;
  border-radius: 17px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.lite-report-page .report-custom-date-popover .custom-date-actions button:first-child {
  background: rgba(10,16,32,.08);
  color: #253247;
}
.lite-report-page .report-custom-date-popover .custom-date-actions button:last-child {
  background: #0a1020;
  color: #fff;
}
.lite-report-page .report-actions-row {
  margin-top: 28px;
}
.lite-report-page .report-generate {
  min-width: 184px;
}
@media (max-width: 900px) {
  .lite-report-page .template-first-group .template-card {
    min-height: 150px;
  }
  .lite-report-page .report-time-control {
    grid-template-columns: 1fr;
  }
  .lite-report-page .report-time-control.open {
    margin-bottom: 286px;
  }
  .lite-report-page .report-custom-date-popover {
    left: 0;
  }
}
/* Lite dashboard: merge video rank chart and overview cards */
.prototype-dashboard .video-rank-section .video-rank-kpis {
  margin-top: 16px;
}
.prototype-dashboard .video-rank-section .mini {
  min-height: 82px;
}
@media (max-width: 760px) {
  .prototype-dashboard .video-rank-section .video-rank-kpis {
    grid-template-columns: 1fr;
  }
}
/* Lite account detail: second-row harvested-data charts */
.account-detail-page .account-chart-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px;
}
.account-detail-page .account-composition-bars,
.account-detail-page .account-growth-bars {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.account-detail-page .account-composition-bars div,
.account-detail-page .account-growth-bars div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 74px;
  gap: 10px;
  align-items: center;
}
.account-detail-page .account-growth-bars div {
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1fr) 68px;
}
.account-detail-page .account-composition-bars span,
.account-detail-page .account-composition-bars b,
.account-detail-page .account-growth-bars span,
.account-detail-page .account-growth-bars b {
  color: #536274;
  font-size: 12px;
  font-weight: 900;
}
.account-detail-page .account-growth-bars span {
  color: #26354b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-detail-page .account-composition-bars b,
.account-detail-page .account-growth-bars b {
  color: #111827;
  text-align: right;
}
.account-detail-page .account-composition-bars i,
.account-detail-page .account-growth-bars i {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  position: relative;
  overflow: hidden;
}
.account-detail-page .account-composition-bars i::before,
.account-detail-page .account-growth-bars i::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #0a1020, #12b6c9 62%, #f6a25c);
}
.account-detail-page .account-composition-panel,
.account-detail-page .account-growth-panel {
  min-height: 250px;
}
@media (max-width: 980px) {
  .account-detail-page .account-chart-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .account-detail-page .account-composition-bars div,
  .account-detail-page .account-growth-bars div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .account-detail-page .account-composition-bars b,
  .account-detail-page .account-growth-bars b {
    text-align: left;
  }
}
/* Simplified collect link validation modal */

/* V2 management access: login, team joining and team creation */
.login-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.login-card { width: min(520px, calc(100vw - 34px)); }

.demo-accounts {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.7);
  display: grid;
  gap: 9px;
}

.demo-accounts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.demo-accounts-head em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.demo-account {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 19px;
  padding: 10px 12px 10px 15px;
  background: rgba(255,255,255,.46);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
}

.demo-account:hover,
.demo-account.active {
  background: rgba(255,255,255,.72);
  border-color: rgba(10,16,32,.14);
  box-shadow: 0 10px 28px rgba(28,104,125,.1);
}

.demo-account span { min-width: 0; }
.demo-account b { display: block; font-size: 13px; }
.demo-account small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; font-weight: 750; }
.demo-account i {
  flex: 0 0 auto;
  height: 28px;
  min-width: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: rgba(10,16,32,.08);
  color: #344054;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.demo-account.active i { background: var(--dark); color: #fff; }
.lightweight-demo-entry,
.pending-demo-entry {
  margin-top: 18px;
}
.lightweight-demo-entry {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.lightweight-demo-entry .demo-accounts-head {
  grid-column: 1 / -1;
}
.lightweight-demo-entry .demo-account,
.pending-demo-entry .demo-account {
  min-height: 54px;
  border-radius: 17px;
  padding: 9px 11px 9px 13px;
}
.lightweight-demo-entry .demo-account b {
  font-size: 12px;
}
.lightweight-demo-entry .demo-account small {
  font-size: 10px;
}
.lightweight-demo-entry .demo-account i {
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  font-size: 10px;
}
.pending-demo-entry {
  width: 100%;
  justify-self: center;
  margin-top: 2px;
  padding-top: 18px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.pending-demo-entry .demo-accounts-head {
  grid-column: 1 / -1;
  text-align: left;
}
.pending-demo-entry .demo-account {
  min-height: 54px;
  padding: 10px 13px 10px 15px;
  border-radius: 18px;
}
.pending-demo-entry .demo-account b { font-size: 12px; }
.pending-demo-entry .demo-account small { margin-top: 3px; font-size: 10px; }
.pending-demo-entry .demo-account i { min-width: 42px; height: 26px; font-size: 10px; }
@media(max-width:760px) {
  .lightweight-demo-entry {
    grid-template-columns: 1fr;
  }
  .pending-access-flow,
  .pending-access-rules,
  .pending-demo-entry {
    grid-template-columns: 1fr;
  }
}

.team-membership-strip {
  margin: 16px 28px 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: linear-gradient(110deg,rgba(255,255,255,.56),rgba(85,212,228,.12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.team-membership-strip b,
.team-membership-strip span { display: block; }
.team-membership-strip b { font-size: 13px; }
.team-membership-strip span { margin-top: 3px; color: #647184; font-size: 12px; font-weight: 800; }
.team-membership-strip button {
  flex: 0 0 auto;
  height: 34px;
  border: 0;
  border-radius: 17px;
  padding: 0 15px;
  color: #fff;
  background: var(--dark);
  font-size: 12px;
  font-weight: 900;
}

.team-modal[hidden],
.team-modal [hidden],
.team-onboarding-shell[hidden],
.team-ready-shell[hidden],
.asset-import-panel[hidden],
.import-preview[hidden] { display: none !important; }

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 30px 18px;
  display: grid;
  place-items: center;
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,13,29,.38);
  backdrop-filter: blur(10px);
}

.team-modal-card {
  width: min(660px, calc(100vw - 34px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 26px;
  background: linear-gradient(135deg,rgba(255,255,255,.9),rgba(232,252,253,.8));
}

.team-modal-head,
.asset-import-head,
.ready-heading,
.authorization-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.team-modal-head { margin-bottom: 20px; }
.team-modal-head h2,
.asset-import-head h2 { margin-top: 7px; font-size: 24px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.modal-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: #344054;
  font-size: 22px;
  line-height: 1;
}

.modal-lead,
.authorization-note {
  margin: 0 0 18px;
  color: #5f6e82;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 750;
}

.modal-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.team-preview {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.76);
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
}

.team-preview-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg,#101827,#55d4e4);
  font-weight: 950;
}

.team-preview b,
.team-preview span { display: block; }
.team-preview b { font-size: 14px; }
.team-preview span { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.team-preview em {
  height: 28px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: rgba(245,158,11,.14);
  color: #8a5b00;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.authorization-title { align-items: center; margin: 20px 0 10px; }
.authorization-title b,
.authorization-title span { display: block; }
.authorization-title b { font-size: 15px; }
.authorization-title span { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.authorization-title button { border: 0; background: transparent; color: #344054; font-size: 12px; font-weight: 900; }

.authorization-list { display: grid; gap: 8px; }
.authorization-list label {
  min-height: 58px;
  padding: 9px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.74);
  display: block;
}
.authorization-list input { width: 16px; height: 16px; }
.authorization-list b,
.authorization-list small { display: block; }
.authorization-list b { font-size: 13px; }
.authorization-list small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 750; }
.authorization-empty { padding: 16px; border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.48); font-size: 12px; font-weight: 800; }
.report-authorization-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.report-authorization-empty em {
  font-style: normal;
  margin-right: auto;
}
.report-authorization-empty .pending-admin-note {
  flex-basis: 100%;
  margin: 0;
}
.authorization-note { margin: 12px 0 0; }

.join-team-result { padding: 16px 4px 2px; text-align: center; }
.result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg,#101827,#55d4e4);
  font-size: 28px;
  font-weight: 950;
}
.join-team-result h2 { font-size: 26px; }
.join-team-result > p { margin: 10px auto 18px; max-width: 500px; color: var(--muted); font-size: 13px; line-height: 1.6; font-weight: 750; }
.result-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 16px; }
.result-summary span { padding: 12px; border-radius: 17px; background: rgba(255,255,255,.54); color: var(--muted); font-size: 11px; font-weight: 800; }
.result-summary b { display: block; margin-top: 5px; color: var(--ink); font-size: 12px; }

.team-onboarding-page .page { padding-bottom: 70px; }
.team-onboarding-page textarea { min-height: 110px; }
.team-onboarding-shell,
.team-ready-shell {
  width: min(1120px, calc(100% - 24px));
  margin: 38px auto 0;
}
.team-onboarding-shell { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; align-items: start; }
.create-team-card { padding: 36px 42px 38px; }
.create-team-guide { padding: 18px 24px; }
.create-team-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.create-team-title-row .ghost { height: 34px; padding: 0 13px; white-space: nowrap; }
.create-team-card h1 { margin-top: 9px; font-size: 36px; }
.onboarding-lead { margin: 14px 0 24px; color: #5f6e82; font-size: 14px; line-height: 1.65; font-weight: 750; }
.create-team-form textarea { min-height: 104px; }
.team-scope-field { margin: 0; padding: 0; border: 0; }
.team-scope-field legend { margin-bottom: 9px; color: #344054; font-size: 12px; font-weight: 900; }
.team-scope-options { display: flex; flex-wrap: wrap; gap: 8px; }
.team-scope-options label { position: relative; cursor: pointer; }
.team-scope-options input { position: absolute; opacity: 0; pointer-events: none; }
.team-scope-options span { min-height: 36px; padding: 0 13px; border: 1px solid rgba(52,64,84,.1); border-radius: 15px; background: rgba(255,255,255,.48); color: #506074; display: inline-flex; align-items: center; font-size: 11px; font-weight: 850; }
.team-scope-options input:checked + span { border-color: rgba(85,212,228,.6); color: #173e50; background: rgba(85,212,228,.16); box-shadow: inset 0 0 0 1px rgba(85,212,228,.16); }
.team-scope-field > small { margin-top: 8px; color: var(--muted); display: block; font-size: 10px; line-height: 1.5; font-weight: 750; }
.scope-tag-editor { padding: 12px; border: 1px solid rgba(255,255,255,.78); border-radius: 19px; background: rgba(255,255,255,.35); }
.scope-tag-list { min-height: 34px; display: flex; flex-wrap: wrap; gap: 7px; }
.scope-tag { min-height: 31px; padding: 0 7px 0 11px; border-radius: 13px; color: #173e50; background: rgba(85,212,228,.16); display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 850; }
.scope-tag button { width: 21px; height: 21px; padding: 0; border: 0; border-radius: 9px; color: #506074; background: rgba(255,255,255,.48); display: grid; place-items: center; font-size: 13px; cursor: pointer; }
.scope-tag-empty { color: var(--muted); font-size: 10px; font-weight: 750; }
.scope-add-row { margin-top: 9px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.scope-add-row input { height: 38px; border-radius: 15px; }
.scope-add-row button { height: 38px; padding: 0 14px; border: 0; border-radius: 15px; color: #fff; background: var(--dark); font-size: 10px; font-weight: 900; cursor: pointer; }
.create-team-guide { background: linear-gradient(145deg,rgba(10,16,32,.94),rgba(20,57,75,.86)); color: #fff; }
.create-team-guide .eyebrow { color: #a9cdd3; }
.create-team-guide .content { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(0,2.2fr); gap: 6px 24px; align-items: center; }
.create-team-guide .eyebrow,
.create-team-guide h2 { grid-column: 1; }
.create-team-guide h2 { margin: 6px 0 0; font-size: 22px; line-height: 1.25; }
.permission-steps { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.permission-steps li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; align-items: start; }
.permission-steps i { width: 28px; height: 28px; border-radius: 11px; display: grid; place-items: center; color: #0a1020; background: #55d4e4; font-style: normal; font-size: 11px; font-weight: 950; }
.permission-steps b,
.permission-steps small { display: block; }
.permission-steps b { font-size: 11px; line-height: 1.3; }
.permission-steps small { margin-top: 3px; color: #bed0d6; font-size: 9px; line-height: 1.4; font-weight: 750; }
.guide-note { grid-column: 1 / -1; margin-top: 10px; padding: 10px 13px; border-radius: 15px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }
.guide-note b,
.guide-note span { display: block; }
.guide-note b { font-size: 11px; }
.guide-note span { margin-top: 4px; color: #bed0d6; font-size: 9px; line-height: 1.45; font-weight: 750; }

.team-ready-shell { display: grid; gap: 14px; }
.team-ready-hero { padding: 24px 26px; }
.ready-heading { align-items: center; }
.ready-heading h1 { margin-top: 8px; font-size: 32px; }
.ready-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 750; }
.ready-heading-actions { display: grid; justify-items: end; gap: 8px; }
.ready-heading-actions .ghost { height: 32px; padding: 0 12px; white-space: nowrap; }
.team-scope-line { margin-top: 11px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 800; }
.team-scope-line b { padding: 4px 8px; border-radius: 10px; color: #23576a; background: rgba(85,212,228,.15); font-size: 9px; }
.team-scope-line button { height: 25px; padding: 0 9px; border: 1px solid rgba(52,64,84,.1); border-radius: 11px; color: #344054; background: rgba(255,255,255,.42); font-size: 9px; font-weight: 850; cursor: pointer; }
.ready-status { height: 32px; padding: 0 13px; border-radius: 16px; display: inline-flex; align-items: center; background: rgba(245,158,11,.14); color: #8a5b00; font-size: 12px; font-weight: 900; }
.ready-status[data-role="manager"] { color: #0f5f6c; background: rgba(85,212,228,.18); }
.ready-status[data-role="reader"] { color: #475569; background: rgba(148,163,184,.18); }
.ready-status[data-role="owner"] { color: #0f766e; background: rgba(16,185,129,.14); }
.invite-code-panel { margin-top: 22px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.44); border: 1px solid rgba(255,255,255,.72); display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; align-items: center; }
.invite-code-panel span,
.invite-code-panel strong,
.invite-code-panel small { display: block; }
.invite-code-panel span { color: var(--muted); font-size: 11px; font-weight: 900; }
.invite-code-panel strong { margin-top: 5px; font-size: 30px; letter-spacing: .08em; }
.invite-code-panel small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 750; }
.invite-link-block label { display: block; margin-bottom: 7px; color: #344054; font-size: 12px; font-weight: 900; }
.invite-link-block > div { display: grid; grid-template-columns: minmax(0,1fr) 92px; gap: 8px; }
.invite-link-block input { height: 40px; border-radius: 16px; }
.invite-link-block button { border: 0; border-radius: 17px; color: #fff; background: var(--dark); font-size: 12px; font-weight: 900; }
.invite-link-block > span { margin-top: 7px; }

.initialization-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.initialization-card { padding: 22px; }
.initialization-card .step-number { color: #346176; font-size: 12px; font-weight: 950; }
.initialization-card h2 { margin-top: 12px; font-size: 21px; }
.initialization-card p { min-height: 54px; margin: 8px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; font-weight: 750; }
.initialization-stat { margin-bottom: 16px; padding: 13px; border-radius: 18px; background: rgba(255,255,255,.45); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.initialization-stat b { font-size: 22px; }
.initialization-stat span { color: var(--muted); font-size: 11px; font-weight: 850; }
.initialization-card button { width: 100%; }
.member-invite-card { border-color: rgba(85,212,228,.58); }
.application-card { border-color: rgba(61,152,186,.28); }
.team-code-card { min-height: 58px; margin-bottom: 16px; padding: 11px 13px; border-radius: 18px; background: rgba(255,255,255,.5); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-code-card strong { color: var(--ink); font-size: 23px; letter-spacing: .08em; }
.team-code-card span { color: var(--muted); font-size: 10px; font-weight: 850; text-align: right; }
.recent-activity-strip[hidden] { display: none !important; }
.recent-activity-strip { padding: 14px 18px; display: flex; align-items: center; gap: 18px; }
.recent-activity-label { flex: 0 0 auto; padding-right: 18px; border-right: 1px solid rgba(52,64,84,.1); }
.recent-activity-label span,
.recent-activity-label b { display: block; }
.recent-activity-label span { color: #346176; font-size: 8px; font-weight: 950; letter-spacing: .08em; }
.recent-activity-label b { margin-top: 3px; color: var(--ink); font-size: 12px; }
.recent-activity-content { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1; }
.recent-activity-content span { overflow: hidden; color: #506074; font-size: 11px; line-height: 1.45; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.recent-activity-content small { flex: 0 0 auto; color: var(--muted); font-size: 9px; font-weight: 800; }

.asset-import-panel { padding: 24px; }
.asset-import-head p { margin: 7px 0 0; color: var(--muted); font-size: 12px; font-weight: 750; }
.persistent-import-panel { margin-top: 4px; border-color: rgba(255,255,255,.82); }
.persistent-import-panel .asset-import-layout { grid-template-columns: 1fr; }
.managed-period-card {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 20px;
  background: linear-gradient(110deg,rgba(255,255,255,.52),rgba(85,212,228,.10));
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
}
.managed-period-card b,
.managed-period-card small {
  display: block;
}
.managed-period-card b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
}
.managed-period-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  white-space: nowrap;
}
.managed-period-card small.warning {
  color: #a13a3a;
}
.managed-period-controls {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.managed-period-controls select,
.managed-custom-period input {
  height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(52,64,84,.10);
  border-radius: 15px;
  color: #253247;
  background: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 900;
}
.managed-custom-period {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 7px;
}
.managed-custom-period[hidden] {
  display: none;
}
.managed-custom-period span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}
.sync-mode-pill {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(85,212,228,.22);
  border-radius: 999px;
  color: #23576a;
  background: rgba(85,212,228,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
}
.title-sync-pill {
  height: 24px;
  padding: 0 9px;
  font-size: 9px;
  transform: translateY(-1px);
}
.managed-collect-setting-note {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  white-space: normal;
  overflow: hidden;
}
@media (max-width: 1080px) {
  .managed-period-card {
    grid-template-columns: 1fr;
  }
  .managed-period-controls {
    justify-content: flex-start;
  }
  .managed-collect-setting-note {
    max-width: none;
  }
}
.template-upload-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.template-action-card { min-height: 92px; padding: 15px; border: 1px solid rgba(255,255,255,.82); border-radius: 20px; color: inherit; background: rgba(255,255,255,.4); display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; transition: transform .2s ease,background .2s ease; }
.template-action-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.58); }
.template-action-card > i { width: 42px; height: 42px; border-radius: 15px; color: #fff; background: var(--dark); display: grid; place-items: center; font-size: 22px; font-style: normal; font-weight: 700; }
.template-action-card span b,
.template-action-card span small { display: block; }
.template-action-card span b { color: var(--ink); font-size: 13px; }
.template-action-card span small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; font-weight: 750; }
.template-action-card > em { padding: 5px 8px; border-radius: 10px; color: #23576a; background: rgba(85,212,228,.15); font-size: 9px; font-style: normal; font-weight: 900; white-space: nowrap; }
.upload-action-card > i { background: linear-gradient(135deg,#143447,#2d7184); }
.selected-import-file { margin-top: 12px; padding: 13px 15px; border: 1px solid rgba(85,212,228,.18); border-radius: 18px; background: rgba(85,212,228,.08); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px 16px; }
.selected-import-file[hidden] { display: none; }
.selected-import-file span,
.selected-import-file b,
.selected-import-file small { display: block; }
.selected-import-file span { color: #367185; font-size: 9px; font-weight: 900; }
.selected-import-file b { margin-top: 4px; color: var(--ink); font-size: 12px; }
.selected-import-file small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 750; }
.selected-import-file .primary { min-width: 184px; white-space: nowrap; }
.asset-import-progress {
  grid-column: 1 / -1;
  padding-top: 4px;
  display: grid;
  gap: 7px;
}
.asset-import-progress[hidden] {
  display: none;
}
.asset-import-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.asset-import-progress > div span,
.asset-import-progress > div b {
  color: #23576a;
  font-size: 10px;
  font-weight: 950;
}
.asset-import-progress > i {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(10,16,32,.08);
}
.asset-import-progress > i em {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#112333,#55d4e4);
  display: block;
  transition: width .32s ease;
}
.asset-import-progress > small {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  font-weight: 780;
}
.single-asset-period-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 15px;
  color: #506074;
  background: rgba(85,212,228,.08);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
}
.imported-total { flex: 0 0 auto; min-width: 112px; padding: 10px 14px; border-radius: 18px; background: rgba(255,255,255,.48); text-align: center; }
.imported-total b,
.imported-total span { display: block; }
.imported-total b { color: var(--ink); font-size: 22px; }
.imported-total span { margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 850; }
.asset-import-layout { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); gap: 16px; align-items: start; }
.asset-import-panel textarea { min-height: 190px; font-size: 12px; }
.import-entry-area { min-width: 0; }
.import-method-title b,
.import-method-title span,
.excel-upload-row b,
.excel-upload-row span { display: block; }
.import-method-title b,
.excel-upload-row b { font-size: 13px; }
.import-method-title span,
.excel-upload-row span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; font-weight: 750; }
.import-method-title { margin-bottom: 11px; }
.asset-input-toolbar { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.attachment-upload-button { min-height: 46px; padding: 7px 14px 7px 8px; border: 1px solid rgba(52,97,118,.18); border-radius: 18px; background: rgba(255,255,255,.42); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; transition: border-color .2s ease,background .2s ease; }
.attachment-upload-button:hover { border-color: rgba(52,97,118,.38); background: rgba(255,255,255,.62); }
.attachment-upload-button i { width: 32px; height: 32px; border-radius: 13px; color: #fff; background: var(--dark); display: grid; place-items: center; font-size: 21px; font-style: normal; font-weight: 500; line-height: 1; }
.attachment-upload-button span,
.attachment-upload-button b,
.attachment-upload-button small { display: block; }
.attachment-upload-button b { color: var(--ink); font-size: 12px; }
.attachment-upload-button small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 750; }
.asset-input-toolbar > .primary { min-width: 140px; }
.import-divider { position: relative; height: 25px; display: grid; place-items: center; }
.import-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(52,64,84,.1); }
.import-divider span { position: relative; padding: 0 9px; background: rgba(240,250,249,.82); color: var(--muted); font-size: 10px; font-weight: 900; }
.excel-upload-row { min-height: 62px; padding: 12px 13px; border: 1px dashed rgba(52,97,118,.32); border-radius: 18px; background: rgba(255,255,255,.34); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; }
.excel-upload-button { height: 38px; padding: 0 16px; border-radius: 17px; color: #fff; background: var(--dark); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; cursor: pointer; }
.import-actions { margin-top: 13px; }
.import-actions .primary { min-width: 140px; }
.import-rules { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.46); border: 1px solid rgba(255,255,255,.72); }
.import-rules b { font-size: 14px; }
.import-rules ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 1.7; font-weight: 750; }
.import-preview { margin-top: 16px; padding: 16px; border-radius: 20px; background: rgba(231,251,248,.58); border: 1px solid rgba(20,184,166,.2); display: grid; grid-template-columns: minmax(180px,.8fr) minmax(0,1.5fr) auto; gap: 16px; align-items: center; }
.import-preview > div > b,
.import-preview > div > span { display: block; }
.import-preview > div > b { font-size: 14px; }
.import-preview > div > span { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 750; }
.import-preview-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.import-preview-stats span { padding: 9px; border-radius: 14px; background: rgba(255,255,255,.58); color: var(--muted); font-size: 10px; font-weight: 850; text-align: center; }
.import-preview-stats b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 17px; }
.management-modal { background: rgba(7,13,29,.38); backdrop-filter: blur(10px); }
.compact-team-modal { width: min(520px,calc(100vw - 34px)); }
.team-modal-head p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; font-weight: 750; }
.empty-application-state { min-height: 132px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.75); display: grid; place-items: center; align-content: center; text-align: center; }
.empty-application-state b,
.empty-application-state span { display: block; }
.empty-application-state b { font-size: 17px; }
.empty-application-state span { max-width: 330px; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; font-weight: 750; }
#applicationModal .team-modal-card { width: min(630px,calc(100vw - 34px)); }
.application-example-list { display: grid; gap: 10px; }
.application-example-card { padding: 13px 14px; border: 1px solid rgba(255,255,255,.75); border-radius: 18px; background: rgba(255,255,255,.44); }
.application-example-head,
.application-example-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.application-example-head > span { color: #346176; font-size: 9px; font-weight: 950; }
.application-example-head > div { display: flex; align-items: center; gap: 6px; }
.application-status { padding: 4px 8px; border-radius: 10px; font-size: 8px; font-style: normal; font-weight: 900; }
.application-status.pending { color: #8a5b00; background: rgba(245,158,11,.13); }
.application-status.approved { color: #087567; background: rgba(20,184,166,.12); }
.application-status.rejected { color: #a13a3a; background: rgba(239,68,68,.11); }
.application-status.reminded { color: #23576a; background: rgba(85,212,228,.18); }
.application-example-card > b { margin-top: 8px; color: var(--ink); display: block; font-size: 12px; }
.application-example-card > p { margin: 5px 0 8px; color: var(--muted); font-size: 10px; line-height: 1.45; font-weight: 750; }
.application-account-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 0 0 12px; }
.application-account-list span { min-width: 0; padding: 8px 10px; border: 1px solid rgba(57,101,120,.13); border-radius: 11px; background: rgba(255,255,255,.52); color: #294e60; font-size: 9px; line-height: 1.35; font-weight: 850; overflow-wrap: anywhere; }
.application-example-foot small { color: var(--muted); font-size: 9px; font-weight: 750; }
.application-example-foot > div { display: flex; gap: 7px; }
.application-example-foot button { height: 29px; padding: 0 11px; border: 0; border-radius: 12px; font-size: 9px; font-weight: 900; cursor: pointer; }
.reject-application { color: #506074; background: rgba(10,16,32,.07); }
.approve-application { color: #fff; background: var(--dark); }
.asset-import-failure-summary {
  margin-top: 6px;
  color: #8a5b00 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1.5;
}

.asset-list-panel { padding: 24px; }
.asset-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.asset-list-head h2 { margin-top: 7px; font-size: 25px; }
.asset-list-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 750; }
.asset-list-actions { display: flex; align-items: center; gap: 9px; }
.asset-search { width: 220px; height: 40px; padding: 0 12px; border: 1px solid rgba(255,255,255,.82); border-radius: 17px; background: rgba(255,255,255,.5); display: flex; align-items: center; gap: 7px; }
.asset-search span { color: var(--muted); font-size: 18px; }
.asset-search input { min-width: 0; width: 100%; height: auto; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none; color: var(--ink); font-size: 11px; font-weight: 800; }
.asset-list-actions .primary { height: 40px; white-space: nowrap; }
.asset-view-controls { margin-top: 15px; display: flex; align-items: center; gap: 10px; }
.asset-view-controls > span { color: var(--muted); font-size: 10px; font-weight: 850; }
.asset-view-controls > div { padding: 4px; border: 1px solid rgba(255,255,255,.75); border-radius: 15px; background: rgba(255,255,255,.34); display: flex; align-items: center; gap: 3px; }
.asset-view-controls button { height: 31px; padding: 0 12px; border: 0; border-radius: 11px; color: #607085; background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.asset-view-controls button.active { color: #fff; background: var(--dark); box-shadow: 0 7px 16px rgba(10,16,32,.12); }
.asset-table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid rgba(255,255,255,.76); border-radius: 20px; background: rgba(255,255,255,.34); }
.asset-management-table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.asset-management-table th { height: 42px; padding: 0 10px; color: #506074; background: rgba(255,255,255,.48); border-bottom: 1px solid rgba(52,64,84,.08); font-size: 10px; font-weight: 900; text-align: left; white-space: nowrap; }
.asset-management-table th:first-child,
.asset-management-table td:first-child { width: 38px; text-align: center; }
.asset-management-table td { min-height: 54px; padding: 10px; border-bottom: 1px solid rgba(52,64,84,.07); color: #344054; font-size: 10px; font-weight: 800; vertical-align: middle; }
.asset-management-table tbody tr:last-child td { border-bottom: 0; }
.asset-management-table tbody .asset-data-row:hover { background: rgba(255,255,255,.28); }
.asset-management-table tbody .asset-recent-import-row td {
  background: transparent !important;
  border-top: 1px solid rgba(85,212,228,.42);
  border-bottom: 1px solid rgba(85,212,228,.42);
  box-shadow: none;
  animation: recentImportBorderGlow 1.2s ease-in-out 0s 5;
}
.asset-management-table tbody .asset-recent-import-row td:first-child {
  border-left: 2px solid rgba(35,118,138,.68);
}
.asset-management-table tbody .asset-recent-import-row td:last-child {
  border-right: 2px solid rgba(35,118,138,.68);
}
@keyframes recentImportBorderGlow {
  0%, 100% {
    border-top-color: rgba(85,212,228,.34);
    border-bottom-color: rgba(85,212,228,.34);
  }
  50% {
    border-top-color: rgba(35,118,138,.78);
    border-bottom-color: rgba(35,118,138,.78);
  }
}
.asset-group-row td { padding: 8px 10px !important; border-top: 1px solid rgba(55,113,133,.14); border-bottom: 1px solid rgba(55,113,133,.12) !important; background: linear-gradient(90deg,rgba(85,212,228,.13),rgba(255,255,255,.24)); }
.asset-group-row:first-child td { border-top: 0; }
.asset-group-row div { min-height: 28px; padding: 0 10px; border-left: 3px solid #55d4e4; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asset-group-row span { color: #234e61; font-size: 10px; font-weight: 950; }
.asset-group-row small { padding: 4px 8px; border-radius: 9px; color: #426477; background: rgba(255,255,255,.52); font-size: 8px; font-weight: 850; white-space: nowrap; }
.asset-management-table input[type="checkbox"] { width: 15px; height: 15px; accent-color: #0a1020; }
.asset-account-cell span,
.asset-account-cell small,
.asset-account-cell em,
.product-language-cell b,
.product-language-cell small { display: block; }
.asset-account-cell span { max-width: 165px; overflow: hidden; color: var(--ink); font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.asset-account-cell small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.asset-account-cell em { margin-top: 3px; color: #4a7b8b; font-size: 8px; font-style: normal; font-weight: 800; white-space: nowrap; }
.platform-chip { padding: 5px 8px; border-radius: 11px; background: rgba(85,212,228,.16); color: #23576a; font-size: 9px; font-weight: 900; white-space: nowrap; }
.owner-cell { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-cell.is-unassigned { color: #9a6700; }
.owner-cell-wrap small { margin-top: 3px; color: #367185; display: block; font-size: 8px; font-weight: 850; white-space: nowrap; }
.field-change-cell span { display: block; }
.field-change-cell small,
.status-change-cell small,
.product-language-cell em { margin-top: 3px; color: #367185; display: block; font-size: 8px; font-style: normal; font-weight: 850; white-space: nowrap; }
.product-language-cell b { color: var(--ink); font-size: 10px; }
.product-language-cell small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.asset-status { padding: 5px 8px; border-radius: 11px; display: inline-flex; align-items: center; font-size: 9px; font-weight: 900; white-space: nowrap; }
.asset-status.is-success { color: #087567; background: rgba(20,184,166,.12); }
.asset-status.is-warning { color: #8a5b00; background: rgba(245,158,11,.13); }
.asset-status.is-danger { color: #a13a3a; background: rgba(239,68,68,.11); }
.status-change-cell { display: grid; justify-items: start; }
.completeness-cell { min-width: 70px; }
.completeness-cell b { color: var(--ink); font-size: 9px; }
.completeness-cell span { width: 68px; height: 4px; margin-top: 5px; border-radius: 4px; background: rgba(52,64,84,.1); display: block; overflow: hidden; }
.completeness-cell i { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#55d4e4,#14b8a6); display: block; }
.asset-row-actions { display: grid; gap: 6px; min-width: 78px; }
.table-assign-button,
.table-edit-button { height: 30px; padding: 0 10px; border: 1px solid rgba(10,16,32,.1); border-radius: 13px; font-size: 9px; font-weight: 900; white-space: nowrap; cursor: pointer; }
.table-assign-button { color: #fff; background: var(--dark); }
.table-edit-button { color: #172033; background: rgba(255,255,255,.72); }
.table-edit-button:hover { background: rgba(85,212,228,.16); }
.asset-empty-row { padding: 32px; color: var(--muted); text-align: center; }
.asset-pagination { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 850; }
.asset-pagination > div { display: flex; align-items: center; gap: 8px; }
.asset-pagination .ghost { height: 34px; padding: 0 14px; }
.asset-pagination b { min-width: 44px; color: var(--ink); text-align: center; }
.import-failure-panel { margin-top: 4px; padding: 24px; }
.failure-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.failure-panel-head h2 { margin-top: 7px; font-size: 25px; }
.failure-panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 750; }
.failure-total { min-width: 96px; padding: 12px 16px; border: 1px solid rgba(239,68,68,.12); border-radius: 17px; background: rgba(239,68,68,.07); text-align: center; }
.failure-total b,
.failure-total span { display: block; }
.failure-total b { color: #a13a3a; font-size: 22px; }
.failure-total span { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 850; }
.failure-table-wrap { margin-top: 17px; overflow-x: auto; border: 1px solid rgba(255,255,255,.76); border-radius: 20px; background: rgba(255,255,255,.34); }
.failure-record-table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.failure-record-table th:nth-child(1) { width: 24%; }
.failure-record-table th:nth-child(2) { width: 20%; }
.failure-record-table th:nth-child(3) { width: 56%; }
.failure-record-table th { height: 42px; padding: 0 13px; color: #506074; background: rgba(255,255,255,.48); border-bottom: 1px solid rgba(52,64,84,.08); font-size: 10px; font-weight: 900; text-align: left; }
.failure-record-table td { padding: 13px; border-bottom: 1px solid rgba(52,64,84,.07); color: #475467; font-size: 10px; line-height: 1.45; font-weight: 750; vertical-align: middle; }
.failure-record-table tbody tr:last-child td { border-bottom: 0; }
.failure-record-table td b { color: var(--ink); font-size: 11px; }
.failure-record-table td span,
.failure-record-table td small { display: block; }
.failure-record-table td small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.assignment-modal-card { width: min(680px,calc(100vw - 34px)); }
#assetAssignmentModal.owner-assign-modal,
#assetAssignmentModal.owner-assign-modal .team-modal-card,
#assetAssignmentModal.owner-assign-modal .assignment-form-grid,
#assetAssignmentModal.owner-assign-modal .field,
#assetAssignmentModal.owner-assign-modal .editable-select { overflow: visible; }
#assetAssignmentModal.owner-assign-modal .assignment-modal-card {
  width: min(560px, calc(100vw - 34px));
  padding: 24px;
}
#assetAssignmentModal.owner-assign-modal .team-modal-head {
  margin-bottom: 14px;
  gap: 14px;
}
#assetAssignmentModal.owner-assign-modal .team-modal-head h2 {
  margin-top: 5px;
  font-size: 25px;
}
#assetAssignmentModal.owner-assign-modal .team-modal-head p {
  max-width: 390px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
}
#assetAssignmentModal.owner-assign-modal .assignment-source-note {
  margin-bottom: 12px;
  padding: 9px 12px;
  font-size: 10px;
}
.assignment-source-note { margin-bottom: 14px; padding: 10px 13px; border: 1px solid rgba(85,212,228,.14); border-radius: 15px; color: #426477; background: rgba(85,212,228,.09); font-size: 10px; line-height: 1.45; font-weight: 800; }
.assignment-context-strip { margin: -4px 0 14px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.36); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.assignment-context-strip span { min-width: 0; display: grid; gap: 3px; }
.assignment-context-strip b { min-width: 0; color: #0f172a; font-size: 12px; font-weight: 950; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.assignment-context-strip small { color: #64748b; font-size: 10px; font-weight: 850; }
#assetAssignmentModal.owner-assign-modal .assignment-context-strip {
  margin: 0 0 14px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 16px;
}
#assetAssignmentModal.owner-assign-modal .assignment-context-strip span {
  min-width: 0;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.5);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
#assetAssignmentModal.owner-assign-modal .assignment-context-strip small {
  flex: 0 0 auto;
  order: -1;
  padding: 3px 7px;
  border-radius: 999px;
  color: #426477;
  background: rgba(85,212,228,.14);
  font-size: 9px;
}
#assetAssignmentModal.owner-assign-modal .assignment-context-strip b {
  font-size: 11px;
  max-width: 260px;
}
.assignment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.assignment-form-grid.is-assign-mode { grid-template-columns: 1fr; gap: 10px; }
#assetAssignmentModal.owner-assign-modal .assignment-form-grid.is-assign-mode {
  padding-bottom: 4px;
}
#assetAssignmentModal.owner-assign-modal .assignment-form-grid.is-assign-mode .field > span {
  margin-bottom: 7px;
  font-size: 11px;
}
#assetAssignmentModal.owner-assign-modal .assignment-form-grid.is-assign-mode .field small {
  margin-top: 8px;
  color: #657487;
  font-size: 9px;
  line-height: 1.35;
}
.assignment-form-grid [data-assignment-pane][hidden] { display: none !important; }
.assignment-status-field { grid-column: 1 / -1; }
.assignment-form-grid select { width: 100%; }
.editable-select { position: relative; }
.editable-select input { width: 100%; padding-right: 42px; }
.editable-select-toggle { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 12px; position: absolute; top: 50%; right: 8px; z-index: 2; transform: translateY(-50%); color: #536579; background: rgba(10,16,32,.05); font-size: 18px; font-weight: 900; cursor: pointer; }
.editable-select-menu { width: 100%; max-height: 178px; padding: 7px; overflow-y: auto; border: 1px solid rgba(255,255,255,.88); border-radius: 15px; position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; background: rgba(245,251,252,.98); box-shadow: 0 18px 38px rgba(31,55,71,.18); backdrop-filter: blur(18px); }
#assetAssignmentModal.owner-assign-modal .editable-select-menu {
  max-height: 168px;
  z-index: 1200;
}
#assetAssignmentModal.owner-assign-modal .field:has(.editable-select-menu:not([hidden])) {
  margin-bottom: 174px;
}
#assetAssignmentModal.owner-assign-modal .modal-actions {
  margin-top: 14px;
}
.editable-select-menu button { width: 100%; min-height: 34px; padding: 7px 10px; border: 0; border-radius: 10px; color: #263b4a; background: transparent; display: block; font-size: 10px; font-weight: 850; text-align: left; cursor: pointer; }
.editable-select-menu button:hover { background: rgba(85,212,228,.13); }
.editable-select-menu > span { padding: 10px; color: var(--muted); display: block; font-size: 9px; line-height: 1.4; font-weight: 750; }
.editable-select-pager,
.multi-filter-pager { margin-top: 7px; padding: 7px 3px 0; border-top: 1px solid rgba(52,64,84,.08); display: grid; grid-template-columns: minmax(0,1fr) 24px 24px; align-items: center; gap: 6px; color: #5c7182; font-size: 8px; line-height: 1.2; font-weight: 850; }
.editable-select-pager span,
.multi-filter-pager span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editable-select-pager.subtle { color: #7b8b9a; }
.editable-select-pager button,
.multi-filter-pager button { width: 24px !important; min-width: 24px; height: 24px; min-height: 24px; padding: 0; border: 1px solid rgba(255,255,255,.78); border-radius: 10px; color: #263247; background: rgba(255,255,255,.68); display: grid; place-items: center; font-size: 13px; line-height: 1; font-weight: 950; cursor: pointer; white-space: nowrap; }
.editable-select-pager button:disabled,
.multi-filter-pager button:disabled { opacity: .42; cursor: not-allowed; }
.batch-email-field textarea { min-height: 122px; }
.batch-email-field > small { margin-top: 7px; color: var(--muted); display: block; font-size: 10px; line-height: 1.45; font-weight: 750; }
.scope-modal-options { padding: 14px; border-radius: 20px; background: rgba(255,255,255,.4); }
.scope-modal-note { margin-top: 12px; padding: 11px 13px; border-radius: 16px; color: var(--muted); background: rgba(85,212,228,.1); font-size: 10px; line-height: 1.5; font-weight: 750; }

@media (max-width: 900px) {
  .team-onboarding-shell,
  .invite-code-panel,
  .asset-import-layout,
  .excel-upload-row { grid-template-columns: 1fr; }
  .initialization-grid { grid-template-columns: 1fr; }
  .initialization-card p { min-height: 0; }
  .import-preview { grid-template-columns: 1fr; }
  .asset-list-head { align-items: stretch; flex-direction: column; }
  .template-upload-grid { grid-template-columns: 1fr; }
  .selected-import-file { align-items: stretch; flex-direction: column; }
  .selected-import-file .primary { width: 100%; }
  .failure-panel-head { align-items: stretch; flex-direction: column; }
  .failure-total { width: 100%; }
  .create-team-guide .content { grid-template-columns: 1fr; gap: 12px; }
  .create-team-guide .eyebrow,
  .create-team-guide h2,
  .permission-steps,
  .guide-note { grid-column: 1; }
  .permission-steps { grid-row: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .asset-list-actions { justify-content: space-between; }
  .recent-activity-strip,
  .recent-activity-content { align-items: stretch; flex-direction: column; }
  .recent-activity-label { padding: 0 0 10px; border-right: 0; border-bottom: 1px solid rgba(52,64,84,.1); }
  .recent-activity-content span { white-space: normal; }
}

@media (max-width: 760px) {
  .login-card { padding: 26px 22px; }
  .demo-account { align-items: flex-start; }
  .team-membership-strip,
  .ready-heading,
  .create-team-title-row,
  .team-modal-head,
  .asset-import-head,
  .authorization-title { align-items: stretch; flex-direction: column; }
  .team-membership-strip button { width: 100%; }
  .create-team-title-row .ghost { width: 100%; }
  .ready-heading-actions { justify-items: stretch; }
  .excel-upload-button { width: 100%; }
  .asset-input-toolbar { align-items: stretch; flex-direction: column; }
  .attachment-upload-button,
  .asset-input-toolbar > .primary { width: 100%; }
  .asset-list-actions,
  .asset-pagination { align-items: stretch; flex-direction: column; }
  .asset-view-controls { align-items: flex-start; flex-direction: column; }
  .asset-view-controls > div { width: 100%; overflow-x: auto; }
  .asset-search { width: 100%; }
  .asset-list-actions .primary { width: 100%; }
  .asset-pagination > div { justify-content: space-between; }
  .assignment-form-grid { grid-template-columns: 1fr; }
  .assignment-status-field { grid-column: auto; }
  .application-account-list { grid-template-columns: 1fr; }
  .scope-add-row { grid-template-columns: 1fr; }
  .scope-add-row button { width: 100%; }
  .result-summary,
  .import-preview-stats { grid-template-columns: 1fr 1fr; }
  .team-onboarding-shell,
  .team-ready-shell { width: 100%; margin-top: 16px; }
  .create-team-card,
  .create-team-guide,
  .team-ready-hero,
  .asset-import-panel { padding: 22px; }
  .create-team-card { padding: 26px 22px 28px; }
  .create-team-guide { padding: 18px 22px; }
}
.link-check-simple {
  width: min(470px, 100%);
}
.link-check-simple .link-check-result {
  margin: 18px 0 0;
  display: block;
}
.link-check-simple .link-check-actions.single-action {
  grid-template-columns: 1fr;
  margin-top: 18px;
}
.link-check-simple .link-check-actions.single-action .primary {
  width: 100%;
}

/* Management matrix overview */
.manager-overview-page .page { padding-bottom: 72px; }
.manager-overview-page .topbar { position: relative; z-index: 40; }
.manager-overview-page .nav a,
.team-onboarding-page .nav a,
.permission-page .nav a {
  height: 36px;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 900;
}
.manager-overview-page .nav a.active,
.team-onboarding-page .nav a.active,
.permission-page .nav a.active { color: #fff; background: var(--dark); }
.manager-page-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.manager-back-link {
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  color: #253247;
  background: rgba(255,255,255,.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.manager-back-link:hover { background: rgba(255,255,255,.82); box-shadow: 0 8px 18px rgba(28,104,125,.1); transform: translateY(-1px); }
.manager-back-link:focus-visible { outline: 2px solid rgba(47,102,119,.38); outline-offset: 2px; }
.operator-permission-lead,
.authorized-field-hint { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; font-weight: 800; }
.authorized-account-shell { display: grid; gap: 16px; }
.authorized-account-hero > .content,
.authorized-account-list-card > .content { padding: 24px 28px; }
.authorized-account-list { display: grid; gap: 10px; }
.authorized-account-row {
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.34);
  display: grid;
  grid-template-columns: minmax(300px,1.45fr) 110px 96px minmax(210px,.9fr);
  gap: 14px;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}
.authorized-account-row b,
.authorized-account-row small,
.authorized-account-row span,
.authorized-account-row em,
.authorized-account-row i { display: block; min-width: 0; }
.authorized-account-row b { color: var(--ink); font-size: 14px; font-weight: 950; }
.authorized-account-row small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; font-weight: 800; overflow-wrap: anywhere; }
.authorized-account-row > span,
.authorized-account-row > em {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: #314559;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}
.authorized-account-row > em { background: rgba(85,212,228,.13); color: #247082; }
.authorized-account-row > i { color: #526174; font-size: 11px; font-style: normal; font-weight: 850; text-align: right; }
.authorized-empty-state {
  margin-top: 12px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: rgba(255,255,255,.36);
  display: grid;
  gap: 10px;
}
.authorized-empty-state[hidden] { display: none !important; }
.authorized-empty-state b { color: var(--ink); font-size: 18px; }
.authorized-empty-state p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; font-weight: 800; }
.authorized-empty-state div { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard-empty-state { margin: 12px 0 0; }
.collect-link-field textarea[readonly] { color: #2b3748; background: rgba(255,255,255,.44); cursor: default; }
.collect-type-field select:disabled { color: #596679; opacity: 1; background: rgba(255,255,255,.42); cursor: not-allowed; }
.pending-access-shell {
  max-width: 1120px;
}
.pending-access-card {
  width: 100%;
  max-width: 1080px;
  margin: 34px auto 0;
}
.pending-access-card > .content {
  padding: 32px 42px 28px;
}
.pending-access-content { display: grid; gap: 18px; text-align: center; }
.pending-status-head { display: grid; justify-items: center; gap: 10px; }
.pending-access-content h1 { margin: 0; font-size: clamp(38px,3.2vw,52px); line-height: 1.06; }
.pending-access-content p { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.65; font-weight: 850; }
.pending-access-flow {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.pending-access-flow span {
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 22px;
  background: rgba(255,255,255,.30);
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  column-gap: 13px;
  text-align: left;
}
.pending-access-flow i {
  width: 36px;
  height: 36px;
  border-radius: 15px;
  color: #23576a;
  background: rgba(85,212,228,.16);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  grid-row: span 2;
}
.pending-access-flow .active i {
  color: #fff;
  background: var(--dark);
}
.pending-access-flow b { color: var(--ink); font-size: 15px; }
.pending-access-flow small { color: var(--muted); font-size: 11px; line-height: 1.45; font-weight: 800; }
.pending-access-rules { display: none; }
.pending-admin-note {
  max-width: none !important;
  padding: 10px 14px;
  border: 1px solid rgba(85,212,228,.24);
  border-radius: 16px;
  background: rgba(85,212,228,.10);
  color: #23576a !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}
.pending-admin-note[hidden] { display: none !important; }
.pending-access-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pending-access-actions .ghost,
.pending-access-actions .primary {
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
}
.pending-access-actions .primary:disabled {
  opacity: .72;
  cursor: default;
}
.overview-heading-actions { min-width: 320px; display: grid; justify-items: end; gap: 10px; }
.overview-heading-actions .manager-back-link { justify-self: end; }
.manager-overview-shell { width: min(1320px,calc(100% - 24px)); margin: 18px auto 0; display: grid; gap: 14px; }
.overview-heading-card { padding: 24px 26px; }
.overview-top-module { overflow: visible; padding-bottom: 10px; display: flex; flex-direction: column; }
.overview-top-module::after { border-radius: inherit; }
.overview-heading-card { order: 1; }
.overview-kpi-shell { order: 2; }
.overview-authorized-scope-card { order: 3; }
.overview-filter-panel { order: 4; }
.overview-heading-content { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.overview-heading-card h1 { margin-top: 7px; font-size: 34px; }
.overview-heading-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; font-weight: 750; }
.overview-context { min-width: 320px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.78); border-radius: 19px; background: rgba(255,255,255,.4); display: grid; gap: 8px; }
.overview-context span { color: var(--muted); font-size: 10px; font-weight: 800; }
.overview-context b { color: var(--ink); font-size: 10px; }
.overview-context i { width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 4px rgba(20,184,166,.11); display: inline-block; }

.overview-authorized-scope-card { margin: 0 24px 12px; padding: 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; background: rgba(255,255,255,.28); display: grid; grid-template-columns: minmax(220px,1.1fr) minmax(210px,.8fr) minmax(460px,1.6fr); gap: 12px; align-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.authorized-scope-copy h2 { margin-top: 5px; font-size: 18px; }
.authorized-scope-copy p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; font-weight: 800; }
.authorized-scope-state { min-height: 64px; padding: 10px 12px; border: 1px solid rgba(85,212,228,.2); border-radius: 17px; background: rgba(85,212,228,.08); display: grid; align-content: center; gap: 4px; }
.authorized-scope-state span { color: #4b7381; font-size: 8px; font-weight: 950; letter-spacing: .08em; }
.authorized-scope-state b { color: #1f4959; font-size: 12px; line-height: 1.35; }
.authorized-scope-options { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.authorized-scope-options button { height: 32px; padding: 0 11px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; color: #536274; background: rgba(255,255,255,.46); font-size: 9px; font-weight: 900; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.62); transition: transform .16s ease, background .16s ease, color .16s ease; }
.authorized-scope-options button:hover { transform: translateY(-1px); background: rgba(255,255,255,.72); }
.authorized-scope-options button.active { color: #fff; border-color: rgba(22,31,48,.88); background: var(--dark); box-shadow: 0 12px 24px rgba(31,44,60,.16); }

.overview-filter-panel { overflow: visible; z-index: 25; padding: 0 24px 22px; }
.overview-filter-panel::before { content: ""; width: calc(100% - 34px); height: 1px; margin: 0 auto 22px; background: rgba(52,64,84,.14); display: block; }
.overview-filter-panel::after { border-radius: inherit; }
.overview-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.overview-panel-head h2,
.overview-card-head h2 { margin-top: 6px; font-size: 23px; }
.overview-panel-head p,
.overview-card-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.48; font-weight: 750; }
.scope-summary { flex: 0 0 auto; min-width: 210px; padding: 9px 12px; border: 1px solid rgba(85,212,228,.18); border-radius: 16px; background: rgba(85,212,228,.09); text-align: right; }
.scope-summary span,
.scope-summary b { display: block; }
.scope-summary span { color: #4b7381; font-size: 8px; font-weight: 900; }
.scope-summary b { margin-top: 3px; color: #1f4959; font-size: 10px; }
.overview-filter-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; align-items: start; }
.overview-more-filter-row { margin-top: 11px; display: flex; align-items: center; justify-content: flex-start; }
.more-filters-toggle { height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.82); border-radius: 13px; color: #536274; background: rgba(255,255,255,.4); display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 900; }
.more-filters-toggle b { min-width: 0; color: #0f8797; font-size: 8px; font-weight: 950; }
.more-filters-toggle i { color: #607085; font-size: 13px; font-style: normal; transition: transform .18s ease; }
.more-filters-toggle.open i { transform: rotate(180deg); }
.overview-more-filters { margin-top: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; background: rgba(255,255,255,.2); display: grid; grid-template-columns: repeat(3,minmax(180px,1fr)); gap: 10px; }
.overview-more-filters[hidden] { display: none; }
.multi-filter { min-width: 0; position: relative; }
.multi-filter > span,
.overview-time-filter > span { margin: 0 0 6px 4px; color: #536274; display: block; font-size: 9px; font-weight: 900; }
.multi-filter-trigger { width: 100%; height: 42px; padding: 0 12px 0 14px; border: 1px solid rgba(255,255,255,.82); border-radius: 16px; color: #263247; background: rgba(255,255,255,.54); display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.multi-filter-trigger b { min-width: 0; overflow: hidden; font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.multi-filter-trigger i { color: #607085; font-size: 15px; font-style: normal; transform: translateY(-2px); transition: transform .18s ease; }
.multi-filter.open .multi-filter-trigger { border-color: rgba(85,212,228,.62); background: rgba(255,255,255,.78); }
.multi-filter.open .multi-filter-trigger i { transform: rotate(180deg) translateY(1px); }
.multi-filter.has-partial-selection .multi-filter-trigger::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #19b6c7; flex: 0 0 auto; }
.multi-filter-menu { width: max(100%,260px); max-height: 330px; padding: 8px; overflow-y: auto; position: absolute; top: calc(100% + 7px); left: 0; z-index: 80; border: 1px solid rgba(255,255,255,.92); border-radius: 18px; background: rgba(247,252,252,.97); box-shadow: 0 20px 48px rgba(31,68,84,.22); backdrop-filter: blur(22px); }
.multi-filter-menu[hidden] { display: none; }
.multi-filter-menu label { min-height: 35px; padding: 7px 9px; border-radius: 11px; color: #304153; display: grid; grid-template-columns: 16px minmax(0,1fr) auto; align-items: center; gap: 8px; font-size: 9px; font-weight: 850; cursor: pointer; }
.multi-filter-menu label:hover { background: rgba(85,212,228,.1); }
.multi-filter-menu label.permission-option-disabled { opacity: .45; cursor: not-allowed; }
.multi-filter-menu label.permission-option-disabled:hover { background: transparent; }
.multi-filter-menu input { width: 14px; height: 14px; padding: 0; accent-color: var(--dark); }
.multi-filter-menu small,
.multi-filter-menu em { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 800; }
.select-all-option { margin-bottom: 5px; border: 1px solid rgba(85,212,228,.16); background: rgba(85,212,228,.08); }
.multi-filter-options { display: grid; gap: 2px; }
.multi-filter[data-filter-name="account"] .multi-filter-menu {
  width: max(100%, 360px);
}
.multi-filter[data-filter-name="account"] .multi-filter-options label {
  min-height: 58px;
  grid-template-columns: 18px minmax(0,1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
}
.multi-filter[data-filter-name="account"] .multi-filter-options label input {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.multi-filter[data-filter-name="account"] .multi-filter-options label span,
.multi-filter[data-filter-name="account"] .multi-filter-options label small {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.multi-filter[data-filter-name="account"] .multi-filter-options label span {
  color: #27354a;
  font-size: 12px;
  font-weight: 950;
}
.multi-filter[data-filter-name="account"] .multi-filter-options label small {
  color: #6f7f91;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 820;
}
.overview-time-filter { position: relative; }
.overview-filter-grid > .overview-time-filter {
  min-height: 97px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
  display: grid;
  align-content: start;
  gap: 7px;
}
.overview-filter-grid > .overview-time-filter > span {
  margin: 0;
  color: #344054;
  font-size: 10px;
  font-weight: 950;
}
.overview-time-buttons { min-height: 42px; padding: 4px; border: 1px solid rgba(255,255,255,.82); border-radius: 16px; background: rgba(255,255,255,.45); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
.overview-time-filter button { min-width: 0; padding: 0 7px; border: 0; border-radius: 11px; color: #607085; background: transparent; font-size: 9px; font-weight: 900; }
.overview-time-filter button.active { color: #fff; background: var(--dark); box-shadow: 0 7px 16px rgba(10,16,32,.14); }
.overview-custom-date-popover { width: min(330px,calc(100vw - 48px)); padding: 13px; border: 1px solid rgba(255,255,255,.92); border-radius: 19px; position: absolute; top: calc(100% + 7px); right: 0; z-index: 90; background: rgba(247,252,252,.98); box-shadow: 0 20px 48px rgba(31,68,84,.22); backdrop-filter: blur(22px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.overview-custom-date-popover[hidden] { display: none; }
.custom-date-title { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid rgba(52,64,84,.08); }
.custom-date-title b,
.custom-date-title span { display: block; }
.custom-date-title b { color: var(--ink); font-size: 11px; }
.custom-date-title span { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 750; }
.overview-custom-date-popover label { color: #344054; display: grid; gap: 6px; font-size: 9px; font-weight: 900; }
.overview-custom-date-popover input { height: 38px; padding: 0 9px; border: 1px solid rgba(15,23,42,.1); border-radius: 14px; background: rgba(255,255,255,.78); color: #253247; font-size: 10px; font-weight: 850; }
.overview-custom-date-popover p { grid-column: 1 / -1; margin: 0; color: #991b1b; font-size: 9px; font-weight: 900; }
.overview-custom-date-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.overview-custom-date-actions button { height: 34px; padding: 0 14px; border-radius: 15px; }
.overview-custom-date-actions button:first-child { color: #253247; background: rgba(10,16,32,.07); }
.overview-custom-date-actions button:last-child { color: #fff; background: var(--dark); }
.overview-filter-actions { margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(52,64,84,.08); display: flex; justify-content: flex-end; gap: 9px; }
.overview-filter-actions button { height: 37px; padding: 0 17px; font-size: 10px; }
.overview-date-filter-note {
  min-height: 97px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(85,212,228,.16);
  border-radius: 18px;
  color: #4f6575;
  background: rgba(85,212,228,.08);
  font-size: 9px;
  line-height: 1.5;
  font-weight: 850;
  display: flex;
  align-items: center;
}

.overview-kpi-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.overview-kpi-shell { margin: 0 24px 10px; padding: 10px; gap: 0; border: 1px solid rgba(91,165,179,.38); border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(225,248,250,.34)); box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 10px 24px rgba(28,104,125,.07); }
.overview-kpi-shell .overview-kpi { padding: 17px 18px; }
.overview-kpi-shell .overview-kpi + .overview-kpi { border-left: 1px solid rgba(52,64,84,.12); }
.overview-kpi { min-height: 178px; padding: 17px 16px; }
.overview-kpi span,
.overview-kpi b,
.overview-kpi small { display: block; }
.overview-kpi span { color: var(--muted); font-size: 10px; font-weight: 850; }
.overview-kpi b { margin-top: 11px; color: var(--ink); font-size: 25px; line-height: 1; }
.overview-kpi small { margin-top: 12px; color: #0f766e; font-size: 9px; font-weight: 900; }
.overview-kpi small.warning { color: #a76200; }
.overview-kpi small.neutral { color: #647184; }
.metric-group-card { overflow: hidden; }
.metric-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metric-group-head > span { color: #405265; font-size: 10px; font-weight: 950; }
.metric-group-head > em { padding: 4px 7px; border-radius: 9px; color: #2e6b7d; background: rgba(85,212,228,.12); font-size: 7px; font-style: normal; font-weight: 950; letter-spacing: .08em; }
.metric-primary { margin-top: 13px; display: flex; align-items: flex-end; gap: 9px; }
.metric-primary > b { margin: 0; font-size: 27px; }
.metric-primary > small { margin: 0 0 2px; color: var(--muted); font-size: 8px; }
.metric-sub-grid { margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(52,64,84,.08); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.metric-sub-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.metric-sub-grid > span { min-width: 0; padding: 8px 9px; border-radius: 13px; background: rgba(255,255,255,.34); }
.metric-sub-grid > span b { margin: 0; color: #223243; font-size: 13px; }
.metric-sub-grid > span small { margin: 5px 0 0; color: var(--muted); font-size: 7px; line-height: 1.3; }
.metric-sub-grid.secondary > span { background: rgba(255,255,255,.24); }
.metric-sub-grid.secondary > span b { color: #526376; font-size: 12px; }
.metric-sub-grid.secondary > span small { color: #788697; }
.metric-sub-grid > span.positive b { color: #0f766e; }
.metric-sub-grid > span.warning b { color: #a76200; }
.metric-definition { margin: 8px 0 0; color: #617488; font-size: 7px; line-height: 1.35; font-weight: 800; }

.overview-analysis-grid { display: grid; grid-template-columns: minmax(0,1.66fr) minmax(340px,.74fr); gap: 14px; align-items: stretch; }
.overview-trend-card,
.management-attention-card,
.overview-ranking-card,
.account-health-card { padding: 22px; }
.overview-lower-grid { display: grid; grid-template-columns: minmax(0,1.66fr) minmax(340px,.74fr); gap: 14px; align-items: stretch; }
.overview-lower-grid .dimension-comparison-card,
.overview-lower-grid .management-attention-card { min-width: 0; }
.overview-lower-grid .attention-list { grid-template-columns: 1fr; gap: 5px; margin-top: 20px; }
.overview-lower-grid .attention-all-link { grid-column: 1 / -1; }
.overview-lower-grid .attention-item { min-height: 48px; padding: 6px 10px; border-radius: 15px; grid-template-columns: 23px minmax(0,1fr) auto; gap: 8px; }
.overview-lower-grid .attention-item > i { width: 23px; height: 23px; font-size: 9px; }
.overview-lower-grid .attention-item span b { font-size: 9px; }
.overview-lower-grid .attention-item span small { margin-top: 3px; font-size: 7px; }
.overview-lower-grid .attention-item > em { min-width: 22px; height: 22px; font-size: 8px; }
.overview-lower-grid .attention-all-link { height: 38px; margin-top: 8px; }
.overview-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.trend-mode-switch,
.trend-metric-tabs,
.ranking-tabs { padding: 4px; border: 1px solid rgba(255,255,255,.76); border-radius: 15px; background: rgba(255,255,255,.38); display: flex; align-items: center; gap: 3px; }
.trend-mode-switch button,
.trend-metric-tabs button,
.ranking-tabs button { height: 29px; padding: 0 11px; border: 0; border-radius: 10px; color: #647184; background: transparent; font-size: 8px; font-weight: 900; white-space: nowrap; }
.trend-mode-switch button.active,
.trend-metric-tabs button.active,
.ranking-tabs button.active { color: #fff; background: var(--dark); box-shadow: 0 7px 15px rgba(10,16,32,.13); }
.trend-head-controls { display: flex; align-items: center; gap: 7px; }
.trend-metric-tabs { width: max-content; max-width: 100%; margin-top: 15px; overflow-x: auto; }
.trend-metric-tabs[hidden] { display: none; }
.management-chart-wrap { height: 280px; margin-top: 10px; padding: 4px 8px 0; border: 1px solid rgba(255,255,255,.66); border-radius: 20px; background: linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,.14)); overflow: hidden; }
.management-chart-wrap svg { width: 100%; height: 100%; display: block; }
.management-chart-grid path { fill: none; stroke: rgba(52,64,84,.09); stroke-width: 1; }
.management-y-labels text,
.management-x-labels text { fill: #69778a; font-size: 9px; font-weight: 800; }
.management-area { fill: url(#none); fill: rgba(85,212,228,.12); }
.management-line { fill: none; stroke: #0d8798; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 10px 12px rgba(13,135,152,.16)); }
.management-line.comparison { stroke: #ef8c45; stroke-width: 3; stroke-dasharray: 9 7; filter: drop-shadow(0 8px 11px rgba(239,140,69,.14)); }
.management-line[hidden] { display: none; }
.management-points circle { fill: #fff; stroke: #0d8798; stroke-width: 3; }
.management-points circle:last-child { fill: #0d8798; stroke: #fff; }
.trend-insight { min-height: 50px; margin-top: 10px; padding: 11px 13px; border-radius: 17px; background: rgba(85,212,228,.09); display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 10px; align-items: start; }
.trend-insight > i { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #15b8ca; box-shadow: 0 0 0 4px rgba(21,184,202,.11); }
.trend-insight span { color: #547080; font-size: 9px; line-height: 1.5; font-weight: 780; }
.trend-insight b { margin-right: 7px; color: #163e50; font-size: 10px; }
.trend-compare-legend { margin-top: 9px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.62); border-radius: 15px; background: rgba(255,255,255,.28); display: flex; align-items: center; gap: 14px; }
.trend-compare-legend[hidden] { display: none; }
.trend-compare-legend span { color: #506074; display: inline-flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 850; white-space: nowrap; }
.trend-compare-legend span i { width: 18px; height: 4px; border-radius: 4px; background: #0d8798; }
.trend-compare-legend span i.secondary { background: #ef8c45; }
.trend-compare-legend em { margin-left: auto; color: #65768a; font-size: 7px; font-style: normal; font-weight: 750; }

.account-health-card { min-height: 100%; }
.health-total { height: 30px; padding: 0 11px; border-radius: 14px; color: #2e6878; background: rgba(85,212,228,.12); display: inline-flex; align-items: center; font-size: 9px; font-weight: 950; white-space: nowrap; }
.health-chart-layout { margin-top: 18px; display: block; }
.health-donut { width: 182px; height: 182px; margin: 0 auto 18px; border-radius: 50%; background: conic-gradient(#17b7c7 0 76%, #f2b159 76% 93%, #e46b69 93% 100%); display: grid; place-items: center; position: relative; box-shadow: 0 14px 30px rgba(28,104,125,.13); }
.health-donut::before { content: ""; width: 122px; height: 122px; border-radius: 50%; background: rgba(246,252,252,.96); position: absolute; }
.health-donut > div { position: relative; z-index: 1; text-align: center; }
.health-donut b,
.health-donut small { display: block; }
.health-donut b { color: var(--ink); font-size: 30px; line-height: 1; }
.health-donut small { margin-top: 7px; color: var(--muted); font-size: 8px; font-weight: 900; }
.health-legend { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.health-legend-item { min-width: 0; padding: 9px 6px; border-radius: 13px; background: rgba(255,255,255,.28); display: block; text-align: center; }
.health-legend-item > i { width: 9px; height: 9px; margin: 0 auto 6px; border-radius: 50%; display: block; }
.health-legend-item > i.healthy { background: #17b7c7; }
.health-legend-item > i.watch { background: #f2b159; }
.health-legend-item > i.risk { background: #e46b69; }
.health-legend-item b,
.health-legend-item small { display: block; }
.health-legend-item b { color: var(--ink); font-size: 8px; }
.health-legend-item small { margin-top: 3px; color: var(--muted); font-size: 7px; line-height: 1.35; font-weight: 750; }
.health-legend-item > em { margin-top: 5px; color: #426477; display: block; font-size: 9px; font-style: normal; font-weight: 950; }
.health-footnote { margin-top: 18px; padding: 9px 10px; border-radius: 13px; color: #587281; background: rgba(85,212,228,.08); font-size: 7px; line-height: 1.4; font-weight: 800; }

.attention-total { height: 30px; padding: 0 11px; border-radius: 14px; color: #9d3f3f; background: rgba(239,68,68,.1); display: inline-flex; align-items: center; font-size: 9px; font-weight: 950; white-space: nowrap; }
.attention-list { margin-top: 15px; display: grid; gap: 8px; }
.attention-item { min-height: 63px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.72); border-radius: 17px; background: rgba(255,255,255,.4); display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; transition: transform .18s ease,background .18s ease; }
.attention-item:hover { transform: translateY(-1px); background: rgba(255,255,255,.62); }
.attention-item > i { width: 27px; height: 27px; border-radius: 11px; display: grid; place-items: center; font-size: 11px; font-style: normal; font-weight: 950; }
.attention-item.high > i { color: #a13a3a; background: rgba(239,68,68,.11); }
.attention-item.medium > i { color: #9a6200; background: rgba(245,158,11,.13); }
.attention-item.low > i { color: #2e6e7c; background: rgba(85,212,228,.13); }
.attention-item span b,
.attention-item span small { display: block; }
.attention-item span b { color: var(--ink); font-size: 10px; }
.attention-item span small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; font-weight: 750; }
.attention-item > em { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 11px; color: #526376; background: rgba(10,16,32,.06); display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-style: normal; font-weight: 950; }
.attention-all-link { height: 39px; margin-top: 12px; padding: 0 13px; border-radius: 16px; color: #fff; background: var(--dark); display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 900; }
.attention-all-link span { font-size: 14px; }

.ranking-head { align-items: flex-end; }
.ranking-tabs { max-width: 100%; overflow-x: auto; }
.management-ranking-table { margin-top: 16px; border: 1px solid rgba(255,255,255,.76); border-radius: 20px; background: rgba(255,255,255,.32); overflow-x: auto; }
.management-ranking-row { min-width: 1320px; min-height: 64px; padding: 9px 13px; border-bottom: 1px solid rgba(52,64,84,.07); display: grid; grid-template-columns: 46px 200px 190px 94px 94px 82px 70px 92px 76px 105px 78px; align-items: center; gap: 9px; color: #344054; font-size: 9px; font-weight: 800; }
.management-ranking-row:last-child { border-bottom: 0; }
.management-ranking-row.ranking-header { min-height: 40px; color: #607085; background: rgba(255,255,255,.46); font-size: 8px; font-weight: 900; }
.rank-number { width: 25px; height: 25px; border-radius: 10px; background: rgba(10,16,32,.06); display: grid; place-items: center; }
.rank-number.top { color: #fff; background: linear-gradient(135deg,#18384b,#55d4e4); box-shadow: 0 7px 15px rgba(28,104,125,.16); }
.ranking-account { display: flex; align-items: center; gap: 9px; }
.ranking-account > i { width: 34px; height: 34px; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#111827,#45bfd0); display: grid; place-items: center; font-size: 11px; font-style: normal; font-weight: 950; }
.ranking-account b,
.ranking-account small,
.ranking-owner b,
.ranking-owner small { display: block; }
.ranking-account b { color: var(--ink); font-size: 10px; }
.ranking-account small,
.ranking-owner small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.ranking-owner b { color: #344054; font-size: 9px; }
.ranking-metric-cell { min-width: 0; padding: 5px 6px; border-radius: 10px; }
.ranking-metric-cell.selected { background: rgba(85,212,228,.10); }
.ranking-metric-cell b,
.ranking-metric-cell small { display: block; }
.ranking-metric-cell b { color: var(--ink); font-size: 10px; }
.ranking-metric-cell small { margin-top: 4px; color: #0f766e; font-size: 7px; font-weight: 900; }
.ranking-metric-cell small.down { color: #a13a3a; }
.ranking-status { width: max-content; padding: 5px 7px; border-radius: 10px; font-size: 7px; font-weight: 900; white-space: nowrap; }
.ranking-status.update { color: #426477; background: rgba(85,212,228,.10); }
.ranking-status.healthy { color: #0f766e; background: rgba(16,185,129,.11); }
.ranking-status.watch { color: #9a6200; background: rgba(245,158,11,.13); }
.management-ranking-row > strong { color: var(--ink); font-size: 12px; }
.ranking-change { color: #0f766e; font-weight: 950; }
.ranking-change.down { color: #a13a3a; }
.ranking-bar { width: 100%; height: 8px; border-radius: 5px; background: rgba(52,64,84,.08); display: block; overflow: hidden; }
.ranking-bar i { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#112333,#55d4e4); display: block; }
.management-ranking-row > a { height: 29px; padding: 0 10px; border: 1px solid rgba(10,16,32,.1); border-radius: 12px; color: #253247; background: rgba(255,255,255,.54); display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; }
.ranking-footer { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 9px; font-weight: 800; }
.ranking-footer a { color: #204c5c; font-weight: 900; }
.dimension-comparison-card,
.video-performance-card { padding: 22px; }
.overview-lower-grid .dimension-comparison-card {
  align-self: start;
}
.dimension-head { align-items: flex-end; }
.dimension-controls { display: grid; justify-items: end; gap: 7px; }
.dimension-tabs,
.dimension-metric-tabs,
.video-performance-tabs { max-width: 100%; padding: 4px; border: 1px solid rgba(255,255,255,.76); border-radius: 15px; background: rgba(255,255,255,.38); display: flex; align-items: center; gap: 3px; overflow-x: auto; }
.dimension-tabs button,
.dimension-metric-tabs button,
.video-performance-tabs button { height: 29px; padding: 0 11px; border: 0; border-radius: 10px; color: #647184; background: transparent; font-size: 8px; font-weight: 900; white-space: nowrap; }
.dimension-tabs button.active,
.dimension-metric-tabs button.active,
.video-performance-tabs button.active { color: #fff; background: var(--dark); box-shadow: 0 7px 15px rgba(10,16,32,.13); }
.dimension-chart { margin-top: 16px; padding: 14px; border: 1px solid rgba(255,255,255,.72); border-radius: 20px; background: rgba(255,255,255,.3); display: grid; gap: 10px; }
.dimension-chart.is-single-scope {
  min-height: 118px;
  align-content: center;
}
.dimension-single-scope-card,
.dimension-empty-state {
  min-width: 0;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 17px;
  background: rgba(255,255,255,.34);
  display: grid;
  align-items: center;
  gap: 10px;
}
.dimension-single-scope-card {
  grid-template-columns: 32px minmax(0,1fr) auto 44px;
}
.dimension-single-icon {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg,#193649,#55d4e4);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 950;
}
.dimension-single-scope-card b,
.dimension-single-scope-card small,
.dimension-empty-state b,
.dimension-empty-state small { display: block; min-width: 0; }
.dimension-single-scope-card b,
.dimension-empty-state b {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.25;
}
.dimension-single-scope-card small,
.dimension-empty-state small {
  margin-top: 4px;
  color: #667789;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 780;
}
.dimension-single-scope-card strong {
  color: var(--ink);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}
.dimension-single-scope-card em {
  height: 25px;
  border-radius: 11px;
  color: #2e6878;
  background: rgba(85,212,228,.11);
  display: grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}
.dimension-empty-state {
  justify-items: center;
  text-align: center;
}
.dimension-row { min-height: 48px; display: grid; grid-template-columns: minmax(180px,.8fr) minmax(300px,2fr) 90px 48px; align-items: center; gap: 13px; }
.dimension-label { display: flex; align-items: center; gap: 10px; }
.dimension-label > i { width: 26px; height: 26px; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#193649,#55d4e4); display: grid; place-items: center; font-size: 8px; font-style: normal; font-weight: 950; }
.dimension-label b,
.dimension-label small { display: block; }
.dimension-label b { color: var(--ink); font-size: 10px; }
.dimension-label small { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 750; }
.dimension-track { height: 17px; padding: 3px; border-radius: 9px; background: rgba(52,64,84,.07); }
.dimension-track span { height: 100%; border-radius: 7px; background: linear-gradient(90deg,#132a3b,#26b6c8 75%,#63dce7); display: block; box-shadow: 0 7px 14px rgba(38,182,200,.12); }
.dimension-row > strong { color: var(--ink); font-size: 11px; text-align: right; }
.dimension-row > em { height: 25px; border-radius: 11px; color: #2e6878; background: rgba(85,212,228,.11); display: grid; place-items: center; font-size: 8px; font-style: normal; font-weight: 900; }
.dimension-insight { margin-top: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(85,212,228,.08); display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.9fr); align-items: center; gap: 12px; }
.dimension-insight span { min-width: 0; color: #506d7b; font-size: 8px; line-height: 1.45; font-weight: 780; }
.dimension-insight span b { margin-right: 8px; color: #173f50; font-size: 9px; }
.dimension-insight span em { font-style: normal; }
.dimension-insight > small { min-width: 0; padding: 6px 8px; border-radius: 10px; color: #426477; background: rgba(255,255,255,.46); font-size: 7px; line-height: 1.35; font-weight: 900; overflow-wrap: anywhere; }

.video-performance-summary { margin-top: 15px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto; gap: 8px; }
.video-performance-summary > span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.68); border-radius: 15px; background: rgba(255,255,255,.34); }
.video-performance-summary b,
.video-performance-summary small { display: block; }
.video-performance-summary b { color: var(--ink); font-size: 15px; }
.video-performance-summary small { margin-top: 4px; color: var(--muted); font-size: 7px; font-weight: 800; }
.video-performance-summary > em { padding: 0 12px; border-radius: 15px; color: #8a5b00; background: rgba(245,158,11,.1); display: flex; align-items: center; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }
.video-performance-table { margin-top: 13px; border: 1px solid rgba(255,255,255,.76); border-radius: 20px; background: rgba(255,255,255,.3); overflow-x: auto; }
.video-performance-row { min-width: 1040px; min-height: 65px; padding: 9px 13px; border-bottom: 1px solid rgba(52,64,84,.07); display: grid; grid-template-columns: 48px minmax(240px,1.5fr) minmax(170px,1.05fr) repeat(5,minmax(78px,.82fr)) 88px; align-items: center; gap: 10px; color: #344054; font-size: 9px; font-weight: 800; }
.video-performance-row:last-child { border-bottom: 0; }
.video-performance-row.video-header { min-height: 40px; color: #607085; background: rgba(255,255,255,.46); font-size: 8px; font-weight: 900; }
.video-title-cell { display: flex; align-items: center; gap: 10px; }
.video-title-cell > i { width: 56px; height: 68px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; background: linear-gradient(150deg,#101827,#38bdcd 68%,#f2b47c); box-shadow: inset 0 1px 2px rgba(255,255,255,.35); }
.video-title-cell > i img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center; }
.video-title-cell b,
.video-title-cell small,
.video-account-cell b,
.video-account-cell small { display: block; }
.video-title-cell b { color: var(--ink); font-size: 9px; }
.video-title-cell small,
.video-account-cell small { margin-top: 4px; color: var(--muted); font-size: 7px; font-weight: 750; }
.video-account-cell b { color: #344054; font-size: 9px; }
.video-performance-row > strong { color: var(--ink); font-size: 11px; }
.video-status { width: max-content; padding: 5px 8px; border-radius: 10px; color: #9a3412; background: rgba(249,115,22,.11); font-size: 8px; font-weight: 900; }
.video-status.potential { color: #8a5b00; background: rgba(245,158,11,.12); }
.video-performance-row > a { height: 29px; padding: 0 10px; border: 1px solid rgba(10,16,32,.1); border-radius: 12px; color: #253247; background: rgba(255,255,255,.54); display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; }
.overview-toast { height: 38px; padding: 0 15px; border-radius: 18px; color: #fff; background: rgba(10,16,32,.92); position: fixed; right: 26px; bottom: 28px; z-index: 100; display: flex; align-items: center; font-size: 10px; font-weight: 900; box-shadow: 0 18px 42px rgba(7,13,29,.22); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease,transform .2s ease; }
.overview-toast.show { opacity: 1; transform: translateY(0); }
.overview-toast.warning { background: rgba(141,80,0,.94); }

/* Account detail — management-side drill-down */
.manager-account-shell {
  width: min(1380px, calc(100vw - 28px));
  margin: 22px auto 0;
  display: grid;
  gap: 14px;
}
.manager-detail-hero { padding: 22px 24px; }
.detail-breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 850; }
.detail-breadcrumb a { color: #2f6677; text-decoration: underline; text-decoration-color: rgba(47,102,119,.28); text-underline-offset: 3px; }
.detail-breadcrumb b { color: var(--ink); }
.manager-detail-hero-main { margin-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.manager-account-identity { min-width: 0; display: flex; align-items: center; gap: 15px; }
.manager-account-avatar { width: 72px; height: 72px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 24px; color: #fff; background: linear-gradient(135deg,#101827 0%,#38bdcd 70%,#f2b47c 100%); box-shadow: inset 0 1px 3px rgba(255,255,255,.42), 0 16px 32px rgba(28,104,125,.17); font-size: 28px; font-weight: 950; }
.manager-account-identity h1 { margin: 5px 0 4px; font-size: 30px; letter-spacing: -.03em; }
.manager-account-identity p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 780; }
.manager-account-links { margin-top: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.manager-account-links a, .text-link { color: #276979; font-size: 10px; font-weight: 900; text-decoration: underline; text-decoration-color: rgba(39,105,121,.28); text-underline-offset: 3px; }
.manager-detail-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.manager-detail-actions .primary, .manager-detail-actions .ghost { height: 38px; padding: 0 14px; font-size: 10px; }
.status-pill { width: max-content; height: 25px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 13px; font-size: 9px; font-weight: 900; white-space: nowrap; }
.status-pill.healthy { color: #0f766e; background: rgba(20,184,166,.13); border: 1px solid rgba(20,184,166,.23); }
.status-pill.update { color: #386878; background: rgba(85,212,228,.12); border: 1px solid rgba(85,212,228,.2); }
.manager-detail-overview-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 14px; }
.manager-detail-card { min-width: 0; }
.manager-detail-card > .content { padding: 20px 22px; }
.manager-detail-profile-card > .content { padding-bottom: 22px; }
.manager-profile-sections { display: grid; grid-template-columns: 1fr; gap: 0; }
.manager-profile-section { min-width: 0; }
.manager-profile-section + .manager-profile-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(52,64,84,.13); }
.manager-records-card > .content { padding: 0; }
.manager-records-toggle { width: 100%; min-height: 86px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; border-radius: inherit; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.manager-records-toggle:hover { background: rgba(255,255,255,.12); }
.manager-records-toggle:focus { outline: none; }
.manager-records-toggle:focus-visible { outline: 2px solid rgba(47,102,119,.34); outline-offset: -2px; }
.manager-records-toggle-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.manager-records-toggle-copy .eyebrow { color: #82919e; }
.manager-records-toggle-copy strong { font-size: 18px; letter-spacing: -.02em; }
.manager-records-toggle-copy small { color: var(--muted); font-size: 9px; line-height: 1.4; font-weight: 750; }
.manager-records-toggle-meta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.manager-records-toggle-meta i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #48606f; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.72); font-size: 18px; font-style: normal; font-weight: 700; line-height: 1; transition: transform .2s ease, background .2s ease; }
.manager-records-toggle[aria-expanded="true"] .manager-records-toggle-meta i { transform: rotate(45deg); background: rgba(255,255,255,.72); }
.manager-records-body { padding: 0 22px 22px; border-top: 1px solid rgba(52,64,84,.1); }
.manager-records-section { padding-top: 19px; }
.manager-records-section + .manager-records-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(52,64,84,.12); }
.manager-records-section .manager-card-head { margin-bottom: 13px; }
.manager-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.manager-card-head h2 { margin-top: 4px; font-size: 18px; letter-spacing: -.02em; }
.manager-card-head p { max-width: 620px; margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 720; }
.card-note { flex: 0 0 auto; padding: 6px 9px; border-radius: 12px; color: #5d7081; background: rgba(255,255,255,.43); border: 1px solid rgba(255,255,255,.68); font-size: 9px; font-weight: 850; }
.info-field-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.info-field-grid > div { min-width: 0; min-height: 58px; padding: 10px 11px; border-radius: 15px; background: rgba(255,255,255,.36); border: 1px solid rgba(255,255,255,.68); }
.info-field-grid > div.span-3 { grid-column: 1 / -1; }
.info-field-grid span, .positioning-list > div > span { display: block; color: #748193; font-size: 9px; font-weight: 820; }
.info-field-grid b, .info-field-grid a { display: block; margin-top: 6px; color: var(--ink); font-size: 11px; font-weight: 900; overflow-wrap: anywhere; }
.info-field-grid a { color: #276979; text-decoration: underline; text-decoration-color: rgba(39,105,121,.28); text-underline-offset: 3px; }
.info-field-grid .channel-link-field a { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-good { color: var(--ok) !important; }
.positioning-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.positioning-list > div { min-width: 0; min-height: 76px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 11px; border-radius: 15px; background: rgba(255,255,255,.36); border: 1px solid rgba(255,255,255,.68); }
.positioning-list > div > b { color: var(--ink); font-size: 11px; line-height: 1.45; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list em { padding: 5px 8px; border-radius: 10px; color: #326879; background: rgba(85,212,228,.11); font-size: 9px; font-style: normal; font-weight: 850; }
.manager-performance-card .manager-card-head { align-items: center; }
.period-badge { flex: 0 0 auto; padding: 7px 10px; border-radius: 12px; color: #476172; background: rgba(255,255,255,.44); border: 1px solid rgba(255,255,255,.7); font-size: 9px; font-weight: 850; }
.detail-metrics-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
.detail-metrics-grid > div { min-width: 0; min-height: 78px; padding: 11px 10px; border-radius: 15px; background: rgba(255,255,255,.36); border: 1px solid rgba(255,255,255,.68); }
.detail-metrics-grid b, .detail-metrics-grid span, .detail-metrics-grid small { display: block; }
.detail-metrics-grid b { color: var(--ink); font-size: 17px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-metrics-grid span { margin-top: 5px; color: #526475; font-size: 9px; font-weight: 900; }
.detail-metrics-grid small { margin-top: 4px; color: #81909e; font-size: 8px; line-height: 1.3; font-weight: 720; }
.manager-trend-card .manager-card-head { align-items: center; }
.detail-trend-metrics button { border: 0; cursor: pointer; font-weight: 900; }
.detail-trend-metrics { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 13px; }
.detail-trend-metrics button { height: 29px; padding: 0 11px; border-radius: 15px; color: #526475; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.7); font-size: 9px; }
.detail-trend-metrics button.active { color: #fff; background: #0a1020; border-color: #0a1020; box-shadow: 0 8px 16px rgba(10,16,32,.14); }
.detail-trend-layout { display: block; }
.detail-trend-chart-wrap { min-width: 0; min-height: 260px; padding: 10px 11px 2px; border-radius: 18px; background: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.68); }
.detail-trend-chart-wrap svg { display: block; width: 100%; height: 260px; overflow: visible; }
.detail-chart-grid line { stroke: rgba(52,64,84,.1); stroke-dasharray: 4 6; }
.detail-trend-area { fill: rgba(85,212,228,.13); stroke: none; }
.detail-trend-line { fill: none; stroke: #0a1020; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#detailTrendPoints circle { fill: #fff; stroke: #0a1020; stroke-width: 3; }
.detail-chart-label { fill: #758495; font-size: 10px; font-weight: 800; }
.trend-insight-inline { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; gap: 12px; align-items: center; margin-top: 10px; padding: 0 3px; color: #526475; }
.trend-insight-inline .eyebrow { color: #82919e; font-size: 8px; }
.trend-insight-inline-copy { min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.trend-insight-inline b { color: var(--ink); font-size: 10px; line-height: 1.35; }
.trend-insight-inline p { margin: 0; color: #667887; font-size: 9px; line-height: 1.45; font-weight: 720; }
.trend-caliber-note { color: #82919e; font-size: 8px; line-height: 1.45; text-align: right; }
.manager-detail-bottom-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.health-check-list, .operation-log-list { display: grid; gap: 9px; }
.health-check-list > div { display: flex; align-items: flex-start; gap: 10px; padding: 10px 11px; border-radius: 15px; background: rgba(255,255,255,.36); border: 1px solid rgba(255,255,255,.68); }
.check-icon { width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #0f766e; background: rgba(20,184,166,.14); font-style: normal; font-size: 12px; font-weight: 950; }
.health-check-list b, .health-check-list small, .operation-log-list b, .operation-log-list small { display: block; }
.health-check-list b, .operation-log-list b { color: var(--ink); font-size: 10px; }
.health-check-list small, .operation-log-list small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; font-weight: 750; }
.operation-log-list > div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 10px; padding: 10px 11px; border-radius: 15px; background: rgba(255,255,255,.36); border: 1px solid rgba(255,255,255,.68); }
.operation-log-list time { color: #758495; font-size: 8px; font-weight: 850; white-space: nowrap; }

/* Management account summary and snapshot history */
.manager-summary-card > .content { padding-bottom: 18px; }
.manager-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.manager-summary-group { min-width: 0; padding: 13px 14px 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.72); background: rgba(255,255,255,.36); }
.manager-summary-group.growth { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(255,226,194,.32)); }
.manager-summary-group.reach { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(180,240,243,.28)); }
.manager-summary-group.interaction { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(201,239,226,.3)); }
.manager-summary-group.content { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(218,215,249,.25)); }
.summary-group-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #43596a; font-size: 10px; font-weight: 950; }
.summary-group-title em { color: #82919e; font-size: 7px; font-style: normal; letter-spacing: .08em; }
.summary-primary { margin-top: 13px; }
.summary-primary b { display: block; color: var(--ink); font-size: 23px; letter-spacing: -.04em; white-space: nowrap; }
.summary-primary span { display: block; margin-top: 3px; color: #5b6f7e; font-size: 9px; font-weight: 900; }
.summary-secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(52,64,84,.1); }
.summary-secondary b, .summary-secondary small { display: block; }
.summary-secondary b { color: #253247; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-secondary small { margin-top: 3px; color: #758495; font-size: 8px; line-height: 1.25; font-weight: 780; }
.summary-status-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 9px 11px; border-radius: 15px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.68); }
.summary-status-strip > span { display: inline-flex; align-items: center; gap: 5px; color: #445b6a; font-size: 9px; font-weight: 850; }
.summary-status-strip > span + span { padding-left: 9px; border-left: 1px solid rgba(52,64,84,.12); }
.summary-status-strip small { color: #758495; font-size: 8px; font-weight: 760; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa8b2; box-shadow: 0 0 0 3px rgba(154,168,178,.12); }
.dot.good { background: #16a085; box-shadow: 0 0 0 3px rgba(22,160,133,.12); }
.manager-priority-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr); gap: 14px; align-items: stretch; }
.manager-health-priority-card { min-width: 0; }
.manager-health-priority-card .health-check-list { gap: 8px; }
.manager-health-priority-card .health-check-list > div { padding: 11px 10px; }
.manager-health-priority-card .health-check-list small { font-size: 8px; }
.manager-snapshot-card > .content { padding-bottom: 18px; }
.manager-snapshot-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.26); }
.manager-snapshot-table { min-width: 100%; }
.manager-snapshot-row { min-height: 50px; padding: 0 13px; display: grid; grid-template-columns: minmax(160px,1.4fr) repeat(8,minmax(0,1fr)); gap: 10px; align-items: center; border-bottom: 1px solid rgba(52,64,84,.08); color: #526475; font-size: 9px; font-weight: 780; }
.manager-snapshot-row:last-child { border-bottom: 0; }
.manager-snapshot-row.snapshot-header { min-height: 38px; color: #607085; background: rgba(255,255,255,.43); font-size: 8px; font-weight: 950; }
.manager-snapshot-row strong, .manager-snapshot-row b { color: var(--ink); font-size: 10px; }
.manager-snapshot-row em { width: max-content; padding: 5px 7px; border-radius: 10px; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }
.snapshot-status.success { color: #0f766e; background: rgba(20,184,166,.13); }
.snapshot-status.failed { color: #9a3412; background: rgba(249,115,22,.12); }
.snapshot-change.up { color: #0f766e; background: rgba(20,184,166,.1); }
.snapshot-change.down { color: #a33a3a; background: rgba(239,68,68,.1); }
.manager-snapshot-row[hidden] { display: none; }
.manager-snapshot-pagination { min-height: 44px; padding: 8px 11px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #758495; font-size: 9px; font-weight: 820; }
.manager-snapshot-pagination > div { display: flex; gap: 6px; }
.manager-snapshot-pagination button { height: 28px; padding: 0 11px; border: 1px solid rgba(255,255,255,.76); border-radius: 14px; color: #34495a; background: rgba(255,255,255,.55); font-size: 9px; font-weight: 900; }
.manager-snapshot-pagination button:disabled { opacity: .45; cursor: not-allowed; }
.manager-operation-card .operation-log-list, .manager-records-card .operation-log-list { grid-template-columns: repeat(3,minmax(0,1fr)); }

/* Management-side video drill-down — intentionally separate from operation-side video-detail */
.manager-video-shell { width: min(1380px, calc(100vw - 28px)); margin: 22px auto 0; display: grid; gap: 14px; }
.manager-video-hero { padding: 22px 24px; }
.manager-video-hero-main { margin-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.manager-video-identity { min-width: 0; display: flex; align-items: center; gap: 16px; }
.manager-video-cover { width: 88px; height: 124px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; color: rgba(255,255,255,.92); background: linear-gradient(150deg,#101827 0%,#284c67 46%,#f2a66f 100%); box-shadow: inset 0 1px 3px rgba(255,255,255,.36), 0 15px 30px rgba(28,104,125,.16); font-size: 23px; }
.manager-video-cover span { width: 36px; height: 36px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.54); }
.manager-video-identity h1 { max-width: 720px; margin: 5px 0 4px; font-size: 28px; letter-spacing: -.03em; }
.manager-video-identity p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 780; }
.manager-video-links { margin-top: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.manager-video-links a { color: #276979; font-size: 10px; font-weight: 900; text-decoration: underline; text-decoration-color: rgba(39,105,121,.28); text-underline-offset: 3px; }
.manager-video-summary-card > .content { padding-bottom: 18px; }
.manager-video-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.manager-video-summary-group { min-width: 0; padding: 13px 14px 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.72); background: rgba(255,255,255,.36); }
.manager-video-summary-group.reach { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(180,240,243,.28)); }
.manager-video-summary-group.interaction { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(201,239,226,.3)); }
.manager-video-summary-group.viral { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(255,226,194,.32)); }
.manager-video-summary-group.context { background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(218,215,249,.25)); }
.manager-video-summary-group .summary-primary b { font-size: 22px; }
.manager-video-summary-group .summary-secondary b { font-size: 10px; }
.manager-video-priority-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr); gap: 14px; align-items: stretch; }
.manager-video-trend-card .manager-card-head { align-items: flex-start; }
.manager-video-metrics { margin-bottom: 10px; }
.manager-video-health-card .health-check-list { gap: 8px; }
.manager-video-health-card .health-check-list > div { padding: 11px 10px; }
.manager-video-health-card .health-check-list small { font-size: 8px; }
.manager-video-context-card > .content { padding-bottom: 22px; }
.manager-video-context-sections { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 0; }
.manager-video-context-section { min-width: 0; }
.manager-video-context-section + .manager-video-context-section { margin-left: 22px; padding-left: 22px; border-left: 1px solid rgba(52,64,84,.13); }
.manager-video-info-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.manager-video-info-grid a { color: #276979; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-interaction-bars { display: grid; gap: 11px; padding-top: 2px; }
.video-interaction-bars > div { display: grid; grid-template-columns: 42px minmax(0,1fr) 46px; gap: 8px; align-items: center; color: #647687; font-size: 9px; font-weight: 850; }
.video-interaction-bars i { height: 8px; display: block; border-radius: 8px; background: linear-gradient(90deg,#52c7d2,var(--dark)); position: relative; }
.video-interaction-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg,#52c7d2,#1e7482); }
.video-interaction-bars b { color: var(--ink); font-size: 10px; text-align: right; }
.manager-video-snapshot-wrap { background: rgba(255,255,255,.26); }
.manager-video-snapshot-table { min-width: 1100px; }
.manager-video-snapshot-row { min-height: 50px; padding: 0 13px; display: grid; grid-template-columns: minmax(145px,1.35fr) repeat(9,minmax(0,1fr)); gap: 9px; align-items: center; border-bottom: 1px solid rgba(52,64,84,.08); color: #526475; font-size: 9px; font-weight: 780; }
.manager-video-snapshot-row:last-child { border-bottom: 0; }
.manager-video-snapshot-row.snapshot-header { min-height: 38px; color: #607085; background: rgba(255,255,255,.43); font-size: 8px; font-weight: 950; }
.manager-video-snapshot-row strong, .manager-video-snapshot-row b { color: var(--ink); font-size: 10px; }
.manager-video-snapshot-row em { width: max-content; padding: 5px 7px; border-radius: 10px; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }
.manager-video-snapshot-row[hidden] { display: none; }

@media (max-width: 1100px) {
  .manager-video-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manager-video-priority-grid { grid-template-columns: 1fr; }
  .manager-video-context-sections { grid-template-columns: 1fr; }
  .manager-video-context-section + .manager-video-context-section { margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(52,64,84,.13); border-left: 0; }
}

@media (max-width: 760px) {
  .manager-video-shell { width: calc(100vw - 20px); margin-top: 14px; }
  .manager-video-hero { padding: 17px 15px; }
  .manager-video-hero-main { align-items: flex-start; flex-direction: column; }
  .manager-video-identity { align-items: flex-start; flex-direction: column; }
  .manager-video-cover { width: 110px; height: 150px; }
  .manager-video-identity h1 { font-size: 24px; }
  .manager-video-summary-grid { grid-template-columns: 1fr; }
  .manager-video-context-card > .content { padding: 17px 15px; }
  .manager-video-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manager-video-snapshot-table { min-width: 1100px; }
}

/* Management-side report builder — separate from operation-side report.html */
.manager-report-shell { width: min(1180px, calc(100vw - 28px)); margin: 22px auto 0; display: grid; gap: 14px; }
.manager-report-hero, .manager-report-builder, .manager-report-preview { min-width: 0; }
.manager-report-hero .content { padding: 25px 27px; }
.manager-report-hero-head, .manager-report-builder-head, .manager-report-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.manager-report-hero h1 { margin: 5px 0 5px; font-size: 31px; letter-spacing: -.03em; }
.manager-report-hero p, .manager-report-builder-head p, .manager-report-preview-head p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 740; }
.manager-report-builder > .content, .manager-report-preview > .content { padding: 22px 24px; }
.manager-report-builder-head { margin-bottom: 17px; }
.manager-report-builder-head h2, .manager-report-preview-head h2 { margin-top: 4px; font-size: 19px; letter-spacing: -.02em; }
.manager-report-form { display: grid; gap: 18px; }
.manager-report-field { padding: 17px; border-radius: 19px; background: rgba(255,255,255,.27); border: 1px solid rgba(255,255,255,.68); }
.manager-report-field-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.manager-report-field-head b, .manager-report-field-head small { display: block; }
.manager-report-field-head b { color: var(--ink); font-size: 12px; }
.manager-report-field-head small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 730; }
.manager-report-required { padding: 5px 8px; border-radius: 11px; color: #5d7081; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.72); font-size: 8px; font-weight: 900; }
.manager-report-template-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.manager-report-template { min-width: 0; min-height: 82px; padding: 13px 14px; display: grid; grid-template-columns: 28px minmax(0,1fr) max-content; gap: 10px; align-items: start; border: 1px solid rgba(255,255,255,.72); border-radius: 16px; color: var(--ink); background: rgba(255,255,255,.42); text-align: left; cursor: pointer; }
.manager-report-template.active { border-color: rgba(33,112,130,.38); background: linear-gradient(135deg,rgba(255,255,255,.76),rgba(184,240,243,.32)); box-shadow: 0 10px 23px rgba(28,104,125,.1); }
.manager-report-template .template-index { color: #4f7280; font-size: 10px; font-weight: 950; }
.manager-report-template strong, .manager-report-template small { display: block; }
.manager-report-template strong { font-size: 12px; }
.manager-report-template small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.4; font-weight: 720; }
.manager-report-template i { padding: 5px 7px; border-radius: 10px; color: #758495; background: rgba(255,255,255,.45); font-size: 8px; font-style: normal; font-weight: 850; white-space: nowrap; }
.manager-report-template.active i { color: #0f766e; background: rgba(20,184,166,.12); }
.manager-report-periods { display: flex; gap: 6px; flex-wrap: wrap; }
.manager-report-period { height: 32px; padding: 0 14px; border: 1px solid rgba(255,255,255,.74); border-radius: 16px; color: #526475; background: rgba(255,255,255,.44); font-size: 9px; font-weight: 900; cursor: pointer; }
.manager-report-period.active { color: #fff; background: var(--dark); border-color: var(--dark); box-shadow: 0 8px 16px rgba(10,16,32,.14); }
.manager-report-custom-date { margin-top: 11px; padding: 12px; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; border-radius: 14px; background: rgba(255,255,255,.34); border: 1px solid rgba(255,255,255,.68); }
.manager-report-custom-date label { display: grid; gap: 5px; }
.manager-report-custom-date label span { color: #70808e; font-size: 8px; font-weight: 850; }
.manager-report-custom-date input { height: 31px; padding: 0 8px; border: 1px solid rgba(52,64,84,.12); border-radius: 10px; color: #34495a; background: rgba(255,255,255,.68); font: inherit; font-size: 9px; font-weight: 800; }
.manager-report-custom-date .date-separator { padding-bottom: 8px; color: #82919e; font-size: 9px; font-weight: 900; }
.manager-report-custom-date button { height: 31px; padding: 0 11px; font-size: 9px; }
.manager-report-custom-date small { width: 100%; color: #a33a3a; font-size: 8px; font-weight: 800; }
.manager-report-current-period, .manager-report-selected-summary { margin-top: 9px; color: #6f8190; font-size: 9px; font-weight: 820; }
.manager-report-account-picker { position: relative; }
.manager-report-picker-trigger { width: 100%; height: 43px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.78); border-radius: 14px; color: #34495a; background: rgba(255,255,255,.56); font-size: 10px; font-weight: 900; cursor: pointer; }
.manager-report-picker-trigger i { color: #6d7d8b; font-size: 14px; font-style: normal; transition: transform .2s ease; }
.manager-report-picker-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.manager-report-picker-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 7px); padding: 11px; border: 1px solid rgba(255,255,255,.82); border-radius: 16px; background: rgba(248,252,251,.98); box-shadow: 0 18px 36px rgba(28,64,72,.16); }
.manager-report-picker-menu[hidden] { display: none; }
.manager-report-account-search { position: relative; }
.manager-report-account-search input { width: 100%; height: 33px; padding: 0 28px 0 10px; border: 1px solid rgba(52,64,84,.12); border-radius: 10px; color: #34495a; background: #fff; font: inherit; font-size: 9px; }
.manager-report-account-search span { position: absolute; right: 10px; top: 7px; color: #80909e; font-size: 13px; }
.manager-report-select-all, .manager-report-account-options label { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.manager-report-select-all { min-height: 38px; border-bottom: 1px solid rgba(52,64,84,.1); }
.manager-report-select-all input, .manager-report-account-options input { accent-color: #0f766e; }
.manager-report-select-all span { color: var(--ink); font-size: 9px; font-weight: 900; }
.manager-report-select-all em { margin-left: auto; color: #758495; font-size: 8px; font-style: normal; font-weight: 800; }
.manager-report-account-options { max-height: 220px; overflow-y: auto; padding-top: 4px; }
.manager-report-account-options label { min-height: 44px; padding: 6px 5px; border-radius: 9px; }
.manager-report-account-options label:hover { background: rgba(85,212,228,.08); }
.manager-report-account-options span b, .manager-report-account-options span small { display: block; }
.manager-report-account-options span b { color: var(--ink); font-size: 9px; }
.manager-report-account-options span small { margin-top: 2px; color: #80909e; font-size: 8px; font-weight: 720; }
.manager-report-actions { margin-top: 16px; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(52,64,84,.11); }
.manager-report-actions span { color: #758495; font-size: 9px; font-weight: 800; }
.manager-report-actions button { min-width: 118px; }
.manager-report-preview[hidden] { display: none; }
.manager-report-preview-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 16px; }
.manager-report-preview-summary > span { min-width: 0; padding: 13px; border-radius: 15px; background: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.7); }
.manager-report-preview-summary small, .manager-report-preview-summary b { display: block; }
.manager-report-preview-summary small { color: #748193; font-size: 8px; font-weight: 820; }
.manager-report-preview-summary b { margin-top: 6px; color: var(--ink); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 760px) {
  .manager-report-shell { width: calc(100vw - 20px); margin-top: 14px; }
  .manager-report-hero .content, .manager-report-builder > .content, .manager-report-preview > .content { padding: 17px 15px; }
  .manager-report-hero-head, .manager-report-builder-head, .manager-report-preview-head { align-items: flex-start; flex-direction: column; }
  .manager-report-template-grid, .manager-report-preview-summary { grid-template-columns: 1fr; }
  .manager-report-template { grid-template-columns: 28px minmax(0,1fr); }
  .manager-report-template i { grid-column: 2; justify-self: start; }
  .manager-report-actions { align-items: stretch; flex-direction: column; }
  .manager-report-actions button { width: 100%; }
}

@media (max-width: 1100px) {
  .manager-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manager-priority-grid { grid-template-columns: 1fr; }
  .manager-operation-card .operation-log-list, .manager-records-card .operation-log-list { grid-template-columns: 1fr; }
  .positioning-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .manager-summary-grid { grid-template-columns: 1fr; }
  .summary-status-strip { align-items: flex-start; flex-direction: column; }
  .summary-status-strip > span + span { padding-left: 0; border-left: 0; }
  .manager-snapshot-pagination { align-items: flex-start; flex-direction: column; }
  .manager-snapshot-table { min-width: 1050px; }
}

@media (max-width: 1100px) {
  .detail-metrics-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .detail-trend-layout { grid-template-columns: 1fr; }
  .trend-insight-card { min-height: 150px; }
  .trend-caliber-note { margin-top: 12px; }
}
@media (max-width: 760px) {
  .manager-account-shell { width: calc(100vw - 20px); margin-top: 14px; }
  .manager-detail-hero, .manager-detail-card > .content { padding: 17px 15px; }
  .manager-detail-hero-main, .manager-card-head { align-items: flex-start; flex-direction: column; }
  .manager-detail-actions { width: 100%; justify-content: flex-start; }
  .manager-detail-actions .primary, .manager-detail-actions .ghost { flex: 1; }
  .manager-detail-overview-grid, .manager-detail-bottom-grid, .manager-profile-sections { grid-template-columns: 1fr; }
  .manager-profile-section + .manager-profile-section { margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(52,64,84,.13); border-left: 0; }
  .manager-records-toggle { align-items: flex-start; padding: 17px 15px; }
  .manager-records-toggle-meta { gap: 7px; }
  .manager-records-toggle-meta .card-note { display: none; }
  .manager-records-body { padding: 0 15px 17px; }
  .positioning-list { grid-template-columns: 1fr; }
  .info-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-field-grid > div.span-3 { grid-column: 1 / -1; }
  .detail-metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-trend-chart-wrap { overflow-x: auto; }
  .detail-trend-chart-wrap svg { min-width: 680px; }
  .trend-insight-inline { grid-template-columns: 1fr; gap: 5px; align-items: flex-start; }
  .trend-insight-inline-copy { display: block; }
  .trend-insight-inline p { margin-top: 3px; }
  .trend-caliber-note { text-align: left; }
  .overview-heading-actions { width: 100%; min-width: 0; justify-items: stretch; }
  .overview-heading-actions .manager-back-link { justify-self: start; }
  .manager-page-actions { width: 100%; justify-content: flex-start; }
}

@media (max-width: 1120px) {
  .overview-authorized-scope-card { grid-template-columns: 1fr; }
  .authorized-scope-options { justify-content: flex-start; }
  .overview-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-more-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-kpi-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .overview-analysis-grid { grid-template-columns: 1fr; }
  .overview-lower-grid { grid-template-columns: 1fr; }
  .dimension-head { align-items: stretch; flex-direction: column; }
  .dimension-controls { justify-items: start; }
  .video-performance-summary { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .video-performance-summary > em { grid-column: 1 / -1; min-height: 34px; justify-content: center; }
}
@media (max-width: 760px) {
  .manager-overview-shell { width: 100%; margin-top: 16px; }
  .overview-heading-content,
  .overview-panel-head,
  .ranking-head { align-items: stretch; flex-direction: column; }
  .overview-context,
  .scope-summary { min-width: 0; width: 100%; text-align: left; }
  .overview-filter-grid,
  .overview-more-filters,
  .overview-kpi-grid { grid-template-columns: 1fr; }
  .overview-kpi-shell .overview-kpi + .overview-kpi { border-top: 1px solid rgba(52,64,84,.12); border-left: 0; }
  .overview-kpi-shell { margin: 0 14px 10px; }
  .overview-authorized-scope-card { margin: 0 14px 12px; }
  .overview-filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .overview-filter-actions button { width: 100%; }
  .multi-filter-menu { width: 100%; }
  .trend-head-controls { align-items: flex-start; flex-direction: column; }
  .trend-compare-legend,
  .dimension-insight { align-items: flex-start; flex-direction: column; }
  .health-donut { width: 164px; height: 164px; }
  .health-donut::before { width: 110px; height: 110px; }
  .management-chart-wrap { height: 245px; overflow-x: auto; }
  .management-chart-wrap svg { min-width: 720px; }
  .dimension-chart { overflow-x: auto; }
  .dimension-row { min-width: 720px; }
  .video-performance-summary { grid-template-columns: 1fr 1fr; }
  .ranking-footer { align-items: flex-start; flex-direction: column; }
  .overview-lower-grid .attention-all-link { grid-column: auto; }
}

/* 2026-08-05 管理侧 P0 交互修正：资产新增、角色编辑、历史操作卡片 */
.asset-import-summary {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 112px 112px;
  gap: 10px;
  align-items: stretch;
}
.single-add-card,
.imported-total {
  min-height: 66px;
  min-width: 112px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  background: rgba(255,255,255,.50);
  text-align: center;
}
.single-add-card {
  color: #253247;
  cursor: pointer;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
}
.single-add-card b,
.single-add-card span { display: block; }
.single-add-card b { font-size: 22px; line-height: 1; }
.single-add-card span { color: var(--muted); font-size: 10px; font-weight: 900; }
.single-add-card:hover { background: rgba(255,255,255,.68); transform: translateY(-1px); }
.permission-role-toolbar {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.permission-role-toolbar small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  font-weight: 800;
}
.permission-role-toolbar button,
.permission-role-card > button {
  height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(10,16,32,.08);
  border-radius: 11px;
  color: #253247;
  background: rgba(255,255,255,.58);
  font-size: 8px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}
.permission-role-card {
  min-height: 62px;
  padding: 8px;
  border: 1px solid rgba(52,64,84,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.46);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
}
.permission-role-grid .permission-role-card label {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.permission-scope-picker {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  background: rgba(255,255,255,.36);
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.permission-scope-picker b {
  grid-column: 1 / -1;
  color: #344054;
  font-size: 11px;
}
.permission-scope-picker label {
  min-height: 32px;
  padding: 7px 9px;
  border: 1px solid rgba(52,64,84,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.46);
  display: flex;
  align-items: center;
  gap: 7px;
  color: #506074;
  font-size: 10px;
  font-weight: 850;
}
.permission-scope-picker input { accent-color: var(--dark); }
.permission-operation-picker {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.permission-operation-picker label {
  align-items: flex-start;
}
.asset-metric-stack {
  min-width: 260px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px 12px;
}
.asset-metric-stack span:last-child { grid-column: 1 / -1; }
.asset-metric-stack span b:first-child { color: var(--ink); }
.asset-metric-stack span:nth-child(2) b { color: #0f766e; }
.history-log-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.history-log-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 20px;
  background: rgba(255,255,255,.42);
  display: grid;
  grid-template-columns: minmax(190px,.9fr) minmax(170px,.7fr) minmax(260px,1.3fr) auto;
  align-items: center;
  gap: 12px;
}
.history-log-main span,
.history-log-meta span,
.history-change-box span {
  display: block;
  color: #346176;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .04em;
}
.history-log-main b,
.history-log-meta b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.history-log-main small,
.history-log-meta small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.history-change-box {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.50);
}
.history-change-box p {
  margin: 7px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #506074;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.history-change-box em,
.history-change-box strong { font-style: normal; }
.history-change-box strong { color: #173e50; }
.history-change-box i {
  flex: 0 0 auto;
  color: #607085;
  font-style: normal;
}
.history-log-card .history-action-bar {
  margin-top: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

/* Management history page: clear audit workflow */
.history-shell {
  width: min(1280px, calc(100% - 44px));
  gap: 14px;
}
.history-heading-card {
  padding: 22px 24px;
  order: 1;
}
.history-heading-card .overview-heading-content {
  align-items: center;
}
.history-heading-actions {
  min-width: 290px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.history-export-primary,
.history-table-card .manager-table-tools button,
.history-table-card .manager-table-tools a {
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(10,16,32,.10);
  border-radius: 16px;
  color: #fff;
  background: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(10,16,32,.12);
}
.history-table-card .manager-table-tools button:first-child {
  color: #253247;
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
}
.history-readonly-note {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 16px;
  color: #526176;
  background: rgba(255,255,255,.52);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
}
.history-control-panel,
.history-table-card {
  padding: 0 24px 22px;
  overflow: visible;
}
.history-control-panel {
  order: 2;
  position: relative;
  z-index: 35;
}
.history-table-card {
  order: 3;
  position: relative;
  z-index: 5;
}
.history-control-panel::before,
.history-table-card::before {
  content: "";
  width: calc(100% - 34px);
  height: 1px;
  margin: 0 auto 22px;
  background: rgba(52,64,84,.12);
  display: block;
}
.history-control-panel::after,
.history-table-card::after {
  border-radius: inherit;
}
.history-query-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: minmax(360px,1.25fr) minmax(220px,.75fr) minmax(270px,.75fr);
  align-items: start;
  gap: 12px;
}
.history-search-filter {
  min-width: 0;
}
.history-search-filter > span {
  margin: 0 0 6px 4px;
  color: #536274;
  display: block;
  font-size: 9px;
  font-weight: 900;
}
.history-search-field {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 16px;
  background: rgba(255,255,255,.50);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.history-search-field i {
  color: var(--muted);
  font-size: 18px;
  font-style: normal;
}
.history-search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}
.history-type-filter > span,
.history-time-filter > span {
  margin: 0 0 6px 4px;
  color: #536274;
  display: block;
  font-size: 9px;
  font-weight: 900;
}
.history-time-filter {
  min-width: 0;
  position: relative;
}
.history-time-buttons {
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 16px;
  background: rgba(255,255,255,.45);
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 3px;
}
.history-time-buttons button {
  min-width: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 11px;
  color: #607085;
  background: transparent;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.history-time-buttons button.active {
  color: #fff;
  background: var(--dark);
  box-shadow: 0 7px 16px rgba(10,16,32,.14);
}
.history-custom-date-popover {
  width: min(330px,calc(100vw - 48px));
  padding: 13px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 19px;
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 90;
  background: rgba(247,252,252,.98);
  box-shadow: 0 20px 48px rgba(31,68,84,.22);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.history-custom-date-popover[hidden] {
  display: none;
}
.history-custom-date-popover label {
  color: #344054;
  display: grid;
  gap: 6px;
  font-size: 9px;
  font-weight: 900;
}
.history-custom-date-popover input {
  height: 38px;
  padding: 0 9px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: #253247;
  font-size: 10px;
  font-weight: 850;
}
.history-custom-date-popover p {
  grid-column: 1 / -1;
  margin: 0;
  color: #991b1b;
  font-size: 9px;
  font-weight: 900;
}
.history-page .history-kpi-grid {
  gap: 10px;
  margin-top: 14px;
}
.history-page .history-kpi-grid div {
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.38);
}
.history-page .history-kpi-grid b {
  font-size: 24px;
}
.history-page .history-kpi-grid span {
  font-size: 9px;
}
.history-table-card .overview-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.history-table-card .manager-table-tools {
  flex: 0 0 auto;
  width: auto;
}
.history-table-wrap {
  width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.history-log-table {
  min-width: 1180px;
  display: grid;
  gap: 8px;
}
.history-table-row {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: rgba(255,255,255,.36);
  display: grid;
  grid-template-columns: minmax(210px,1.1fr) minmax(170px,.78fr) minmax(360px,1.55fr) minmax(210px,.95fr) 174px;
  align-items: center;
  gap: 12px;
}
.history-table-head {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(10,16,32,.045);
}
.history-table-head span {
  color: #607085;
  font-size: 9px;
  font-weight: 950;
}
.history-object-cell em,
.history-change-cell span {
  width: max-content;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  color: #15586a;
  background: rgba(85,212,228,.12);
  display: block;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .03em;
}
.history-object-cell b,
.history-time-cell b,
.history-scope-cell b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.history-object-cell small,
.history-time-cell small,
.history-scope-cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.history-change-cell {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 15px;
  background: rgba(255,255,255,.48);
}
.history-change-cell p {
  margin: 7px 0 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 8px;
  color: #506074;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 850;
}
.history-change-cell em,
.history-change-cell strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-style: normal;
}
.history-change-cell strong {
  color: #173e50;
}
.history-change-cell i {
  color: #607085;
  font-style: normal;
  font-weight: 950;
}
.history-scope-cell {
  min-width: 0;
}
.history-table-row .history-action-bar {
  min-width: 0;
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}
.history-table-row .history-action-bar button {
  height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}
.history-table-row .history-action-bar.is-batch-action {
  position: relative;
  padding-bottom: 0;
  transform: translateY(4px);
}
.history-table-row .history-action-bar .history-detail-toggle {
  position: absolute;
  left: auto;
  right: 2px;
  bottom: -15px;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: none;
  transform: none;
  transition: transform .18s ease, color .18s ease;
}
.history-table-row .history-action-bar .history-detail-toggle:hover {
  color: #0f172a;
}
.history-table-row .history-action-bar .history-detail-toggle.is-open {
  transform: rotate(180deg);
}
.history-table-row .history-action-bar button:disabled {
  color: #98a2b3;
  background: rgba(255,255,255,.38);
  cursor: not-allowed;
}
.history-batch-detail {
  padding: 14px;
  border: 1px solid rgba(85,212,228,.22);
  border-radius: 18px;
  background: rgba(225,248,250,.22);
  display: grid;
  gap: 12px;
}
.history-batch-detail[hidden] {
  display: none;
}
.history-batch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.history-batch-head b,
.history-batch-head span {
  display: block;
}
.history-batch-head b {
  color: var(--ink);
  font-size: 13px;
}
.history-batch-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  font-weight: 800;
}
.history-batch-head button,
.history-batch-row button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(10,16,32,.10);
  border-radius: 12px;
  color: #253247;
  background: rgba(255,255,255,.55);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.history-batch-table {
  display: grid;
  gap: 6px;
}
.history-batch-row {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 14px;
  background: rgba(255,255,255,.38);
  display: grid;
  grid-template-columns: minmax(150px,1fr) 100px minmax(250px,1.4fr) minmax(150px,.9fr) 172px;
  align-items: center;
  gap: 10px;
  color: #304153;
  font-size: 9px;
  font-weight: 850;
}
.history-batch-row.batch-head {
  min-height: 32px;
  color: #607085;
  background: rgba(10,16,32,.04);
  font-size: 8px;
  font-weight: 950;
}
.history-batch-row.muted {
  color: #607085;
}
.history-batch-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.history-batch-row span:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.history-pager-lite {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(52,64,84,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.history-pager-lite span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}
.history-pager-lite div {
  display: flex;
  gap: 7px;
}
.history-pager-lite button {
  height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(10,16,32,.10);
  border-radius: 12px;
  color: #253247;
  background: rgba(255,255,255,.54);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.history-pager-lite button:disabled {
  color: #98a2b3;
  cursor: not-allowed;
}
.permission-history-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.permission-history-grid label {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
  display: grid;
  gap: 6px;
}
.permission-history-grid span {
  color: #607085;
  font-size: 9px;
  font-weight: 900;
}
.permission-history-grid input,
.permission-history-grid select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(52,64,84,.10);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 850;
}
.permission-rule-flow {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
  margin: 14px 0 12px;
}
.permission-rule-flow div {
  padding: 11px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 15px;
  background: rgba(255,255,255,.40);
}
.permission-rule-flow b,
.permission-rule-flow span {
  display: block;
}
.permission-rule-flow b {
  color: var(--ink);
  font-size: 10px;
}
.permission-rule-flow span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
  font-weight: 800;
}
@media (max-width: 1120px) {
  .history-log-card { grid-template-columns: 1fr 1fr; }
  .history-log-card .history-action-bar { justify-content: flex-start; }
  .history-query-grid { grid-template-columns: 1fr 1fr; }
  .history-search-field { grid-column: 1 / -1; }
  .history-table-card .overview-card-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .asset-import-head { align-items: stretch; flex-direction: column; }
  .asset-import-summary { grid-template-columns: 1fr 1fr; }
  .permission-role-grid,
  .permission-scope-picker,
  .history-log-card { grid-template-columns: 1fr; }
  .history-shell { width: calc(100% - 18px); }
  .history-heading-card .overview-heading-content,
  .history-heading-actions { align-items: flex-start; flex-direction: column; }
  .history-heading-actions { min-width: 0; width: 100%; }
  .history-query-grid,
  .history-page .history-kpi-grid,
  .permission-rule-flow { grid-template-columns: 1fr; }
}

/* 2026-08-05 管理侧资产表：运营数据横向展开 + 分配弹窗关键词定位 */
.asset-management-table { min-width: 1850px; }
.asset-metrics-cell {
  min-width: 560px;
  max-width: 640px;
}
.asset-metric-stack {
  width: min(620px, 58vw);
  min-width: 0;
  max-width: 100%;
  padding: 2px 4px 8px;
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.asset-metric-stack::-webkit-scrollbar,
.editable-select-menu::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
.asset-metric-stack::-webkit-scrollbar-thumb,
.editable-select-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(52,97,118,.26);
}
.asset-metric-stack span {
  flex: 0 0 118px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 14px;
  background: rgba(255,255,255,.36);
  scroll-snap-align: start;
}
.asset-metric-stack span:last-child {
  grid-column: auto;
  flex-basis: 150px;
}
.asset-metric-stack b {
  font-size: 13px;
  line-height: 1.15;
}
.asset-metric-stack small {
  margin-top: 5px;
  white-space: normal;
  line-height: 1.25;
}
.editable-select-menu {
  max-height: 220px;
  padding: 8px;
}
.editable-select-search-meta {
  margin: 0 0 6px;
  padding: 7px 9px;
  border-radius: 11px;
  color: #426477;
  background: rgba(85,212,228,.10);
  font-size: 9px;
  line-height: 1.35;
  font-weight: 850;
}
.editable-select-menu button mark {
  padding: 0 2px;
  border-radius: 5px;
  color: #173e50;
  background: rgba(85,212,228,.28);
}
.editable-select input:focus {
  border-color: rgba(85,212,228,.5);
  box-shadow: 0 0 0 4px rgba(85,212,228,.10), inset 0 1px 0 rgba(255,255,255,.65);
}
@media (max-width: 760px) {
  .asset-metrics-cell { min-width: 360px; }
  .asset-metric-stack { width: 340px; }
}

/* 2026-08-05 管理侧表格排版修正：操作列回到最后，数据列横向展开 */
.overview-top-module,
.overview-filter-panel {
  position: relative;
  z-index: 120;
}
.multi-filter.open {
  position: relative;
  z-index: 220;
}
.multi-filter-menu {
  z-index: 240;
}
.account-health-card,
.overview-analysis-grid,
.overview-lower-grid {
  position: relative;
  z-index: 1;
}
.management-ranking-table,
.video-performance-table,
.asset-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.management-ranking-table::-webkit-scrollbar,
.video-performance-table::-webkit-scrollbar,
.asset-table-wrap::-webkit-scrollbar,
.ranking-metrics-scroll::-webkit-scrollbar,
.video-metrics-scroll::-webkit-scrollbar {
  height: 7px;
}
.management-ranking-table::-webkit-scrollbar-thumb,
.video-performance-table::-webkit-scrollbar-thumb,
.asset-table-wrap::-webkit-scrollbar-thumb,
.ranking-metrics-scroll::-webkit-scrollbar-thumb,
.video-metrics-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(52,97,118,.26);
}
.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 1260px;
  grid-template-columns: 52px 220px 210px minmax(420px,1fr) 128px 118px 112px;
}
.management-ranking-row.compact-ranking-row {
  min-height: 96px;
  padding: 12px 14px;
}
.ranking-metrics-scroll,
.video-metrics-scroll {
  min-width: 0;
  padding: 3px 4px 8px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.ranking-metrics-scroll .ranking-metric-cell,
.video-metrics-scroll .ranking-metric-cell {
  flex: 0 0 112px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  background: rgba(255,255,255,.38);
  scroll-snap-align: start;
}
.ranking-metrics-scroll .interaction-card {
  flex-basis: 152px;
}
.ranking-metrics-scroll .ranking-metric-cell b,
.video-metrics-scroll .ranking-metric-cell b {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.1;
}
.ranking-metrics-scroll .ranking-metric-cell small,
.video-metrics-scroll .ranking-metric-cell small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.25;
  white-space: normal;
}
.ranking-status-stack {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.ranking-status-stack .ranking-status {
  font-style: normal;
}
.management-ranking-row.compact-ranking-row > a,
.video-performance-row.compact-video-row > a {
  min-width: 90px;
  justify-self: end;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 1280px;
  grid-template-columns: 52px minmax(260px,1.15fr) 190px 112px minmax(440px,1fr) 98px 112px;
}
.video-performance-row.compact-video-row {
  min-height: 118px;
  padding: 12px 14px;
}
.video-performance-row.compact-video-row > span:nth-child(4) {
  color: #344054;
  font-size: 10px;
  font-weight: 850;
}
.video-metrics-scroll .ranking-metric-cell:first-child b,
.video-metrics-scroll .ranking-metric-cell:nth-child(2) b,
.ranking-metrics-scroll .ranking-metric-cell:nth-child(2) b {
  color: #0f766e;
}
.asset-management-table {
  min-width: 1760px;
}
.asset-metrics-cell {
  min-width: 500px;
  max-width: 560px;
}
.asset-metric-stack {
  width: min(540px, 52vw);
}
@media (max-width: 760px) {
  .management-ranking-row.compact-ranking-header,
  .management-ranking-row.compact-ranking-row,
  .video-performance-row.compact-video-header,
  .video-performance-row.compact-video-row {
    min-width: 980px;
  }
  .management-ranking-row.compact-ranking-header,
  .management-ranking-row.compact-ranking-row {
    grid-template-columns: 44px 180px 180px 320px 110px 90px 96px;
  }
  .video-performance-row.compact-video-header,
  .video-performance-row.compact-video-row {
    grid-template-columns: 44px 220px 160px 92px 320px 90px 96px;
  }
}

/* 2026-08-05 v34：统一回归运营侧横向对比表，不在单元格内嵌小卡片滚动 */
.permission-scope-picker label {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  justify-items: start;
}
.permission-scope-picker input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  margin: 0;
  padding: 0;
  appearance: auto;
  accent-color: #0a1020;
}
.permission-scope-picker span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 1560px;
  grid-template-columns: 48px 230px 220px 94px 94px 98px 138px 84px 76px 102px 84px 104px 96px;
}
.management-ranking-row.compact-ranking-row {
  min-height: 76px;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 1580px;
  grid-template-columns: 48px minmax(270px,1.35fr) 170px 108px 90px 94px 78px 72px 72px 72px 84px 88px 96px;
}
.video-performance-row.compact-video-row {
  min-height: 94px;
}
.ranking-metric-cell,
.video-performance-row.compact-video-row > span,
.video-performance-row.compact-video-row > strong {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ranking-metric-cell b,
.ranking-metric-cell small,
.video-performance-row.compact-video-row > strong,
.video-performance-row.compact-video-row > span {
  display: block;
}
.ranking-metric-cell b,
.video-performance-row.compact-video-row > strong {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.25;
}
.ranking-metric-cell small {
  margin-top: 4px;
  color: #0f766e;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 900;
}
.ranking-metric-cell small.down {
  color: #a13a3a;
}
.interaction-detail-cell {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px 8px;
}
.interaction-detail-cell small {
  color: #647184;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}
.ranking-status-stack {
  display: contents;
}
.management-ranking-row.compact-ranking-row > a,
.video-performance-row.compact-video-row > a {
  justify-self: stretch;
  min-width: 0;
}
.video-performance-row.compact-video-row > span:nth-child(6),
.video-performance-row.compact-video-row > span:nth-child(11) {
  color: #0f766e;
  font-weight: 950;
}
.asset-management-table {
  min-width: 2180px;
}
.asset-number-cell {
  min-width: 92px;
  white-space: nowrap;
}
.asset-number-cell b,
.asset-number-cell small {
  display: block;
}
.asset-number-cell b {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.25;
}
.asset-number-cell small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
}
.asset-number-cell.positive b {
  color: #0f766e;
}
.asset-metric-stack {
  display: contents;
}
.asset-metric-stack span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.editable-select-menu {
  min-width: 100%;
  width: max(100%, 240px);
  z-index: 260;
}
.singleAssetModal .editable-select-menu,
#singleAssetModal .editable-select-menu {
  max-height: 210px;
}

/* 2026-08-05 v35：权限范围勾选项固定为真实小 checkbox，避免全局 input 样式撑成占位块 */
.permission-scope-picker label {
  min-height: 44px;
  display: grid !important;
  grid-template-columns: 18px minmax(0,1fr) !important;
  align-items: center !important;
  justify-items: start !important;
  column-gap: 10px !important;
}
.permission-scope-picker label input[type="checkbox"] {
  grid-column: 1;
  place-self: center;
  inline-size: 16px !important;
  block-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #0a1020;
}
.permission-scope-picker label span {
  grid-column: 2;
  min-width: 0;
  line-height: 1.35;
}

/* 2026-08-07：成员权限管理二级页 */
.permission-entry-panel {
  padding: 20px 22px;
}
.permission-entry-content {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
}
.permission-entry-content h2 {
  margin-top: 6px;
  font-size: 24px;
}
.permission-entry-content p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  font-weight: 800;
}
.permission-entry-stats {
  display: flex;
  align-items: center;
  gap: 9px;
}
.permission-entry-stats span {
  min-width: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 17px;
  background: rgba(255,255,255,.42);
  text-align: center;
}
.permission-entry-stats b,
.permission-entry-stats small {
  display: block;
}
.permission-entry-stats b {
  font-size: 20px;
  line-height: 1;
}
.permission-entry-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.permission-page .topbar {
  position: relative;
  z-index: 40;
}
.permission-page .permission-layout {
  width: min(1320px,calc(100% - 24px));
  margin: 18px auto 0;
  padding: 0 0 24px;
  display: grid;
  gap: 14px;
}
.permission-hero {
  padding: 24px 26px;
}
.permission-hero-content {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 24px;
  align-items: start;
}
.permission-hero h1 {
  margin-top: 8px;
  font-size: 34px;
}
.permission-hero p,
.permission-section-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  font-weight: 800;
}
.permission-role-inline {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.58);
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  max-width: 980px;
}
.permission-role-inline span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 16px;
  background: rgba(255,255,255,.34);
  display: grid;
  gap: 4px;
}
.permission-role-inline b,
.permission-role-inline small {
  display: block;
  min-width: 0;
}
.permission-role-inline b {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
}
.permission-role-inline small {
  color: #5f7083;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.permission-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  align-self: center;
  padding-top: 34px;
}
.permission-member-panel,
.permission-editor-panel,
.permission-invite-panel {
  padding: 22px;
}
.permission-member-panel {
  scroll-margin-top: 96px;
  border-color: rgba(255,255,255,.86);
  background: linear-gradient(135deg,rgba(255,255,255,.68),rgba(213,247,248,.34));
}
.permission-page .topbar {
  overflow: visible;
  position: relative;
  z-index: 80;
}
.permission-page .team-role-switcher {
  width: 214px;
  min-width: 214px;
  position: relative;
  z-index: 120;
}
.permission-page .team-switch-trigger {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  justify-items: start;
}
.permission-page .team-switch-trigger b {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  line-height: 1.1;
}
.permission-page .team-switch-trigger small {
  grid-column: 1;
  grid-row: 2;
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
}
.permission-page .team-switch-trigger i {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 54px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(85,212,228,.12);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}
.permission-page .team-role-switcher:hover .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.permission-page .team-switch-dropdown {
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  z-index: 160;
  max-height: 360px;
  overflow: auto;
}
.permission-invite-panel { background: rgba(255,255,255,.34); }
.permission-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.permission-section-head h2 {
  margin-top: 7px;
  font-size: 25px;
}
.permission-member-tools {
  display: grid;
  grid-template-columns: minmax(320px,1fr) 148px;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: min(520px, 100%);
}
.permission-member-tools .asset-search {
  width: 100%;
}
.permission-member-tools select {
  width: 148px;
  height: 40px;
  border-radius: 17px;
  color: #253247;
  font-size: 11px;
  font-weight: 850;
}
.permission-member-table {
  width: 100%;
  min-width: 1040px;
  margin-top: 16px;
  border-collapse: collapse;
}
.permission-member-table th {
  height: 42px;
  padding: 0 12px;
  color: #506074;
  background: rgba(255,255,255,.48);
  border-bottom: 1px solid rgba(52,64,84,.08);
  font-size: 10px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}
.permission-member-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(52,64,84,.07);
  color: #344054;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
  vertical-align: middle;
}
.permission-member-table tbody tr {
  cursor: pointer;
  transition: background .18s ease;
}
.permission-member-table tbody tr:hover,
.permission-member-table tbody tr.active {
  background: rgba(255,255,255,.34);
}
.permission-member-table tbody tr[data-new-member="true"] {
  background: linear-gradient(90deg,rgba(85,212,228,.17),rgba(255,255,255,.18));
}
.permission-member-table tbody tr[data-new-member="true"] td:first-child strong::after {
  content: "新";
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #087567;
  background: rgba(20,184,166,.14);
  font-size: 8px;
  line-height: 1;
  font-weight: 950;
}
.permission-member-table strong,
.permission-member-table small {
  display: block;
}
.permission-member-table strong {
  font-size: 11px;
  color: var(--ink);
}
.permission-member-table small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.permission-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  color: #087567;
  background: rgba(20,184,166,.13);
  font-size: 9px;
  font-weight: 950;
  white-space: nowrap;
}
.permission-badge.dark {
  color: #fff;
  background: var(--dark);
}
.permission-badge.light {
  color: #475569;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.78);
}
.permission-list-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}
.permission-member-pager {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.permission-member-pager b {
  color: #5c7182;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.permission-member-pager button {
  width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 10px;
  color: #263247;
  background: rgba(255,255,255,.62);
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}
.permission-member-pager button:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.permission-list-foot .ghost {
  height: 34px;
}
.permission-invite-panel,
.permission-edit-grid {
  display: none;
}
.permission-invite-panel.is-open,
.permission-edit-grid.is-open {
  position: fixed;
  inset: 0;
  z-index: 4000;
  padding: 5vh 5vw;
  background: rgba(10,16,32,.28);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  overflow: auto;
}
.permission-invite-panel.is-open > .content,
.permission-edit-grid.is-open .permission-editor-panel {
  width: min(1360px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 30px;
  background: linear-gradient(135deg,rgba(255,255,255,.86),rgba(213,247,248,.72));
  box-shadow: 0 28px 78px rgba(31,68,84,.24);
}
.permission-invite-panel.is-open > .content {
  padding: 22px;
}
.permission-edit-grid.is-open .permission-editor-panel {
  padding: 22px;
}
.permission-modal-open {
  overflow: hidden;
}
.permission-modal-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.permission-modal-close {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.80);
  border-radius: 14px;
  color: #304154;
  background: rgba(255,255,255,.56);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}
.permission-modal-close:hover {
  background: rgba(255,255,255,.78);
}
.permission-invite-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(340px,.8fr) minmax(0,1.2fr);
  gap: 14px;
  align-items: stretch;
}
.permission-invite-grid.email-only {
  grid-template-columns: minmax(0, 1fr);
}
.invite-email-stack {
  display: grid;
  gap: 10px;
}
.invite-email-stack .permission-invite-error {
  margin: 0;
}
.invite-email-stack #permissionStartInvite {
  justify-self: flex-end;
  width: auto;
  min-width: 180px;
  padding-inline: 22px;
}
.permission-flow-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  color: #087567;
  background: rgba(20,184,166,.13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 950;
  white-space: nowrap;
}
.invite-email-field {
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: rgba(255,255,255,.36);
}
.invite-email-field textarea {
  min-height: 96px;
  height: 96px;
  font-size: 12px;
  font-weight: 850;
}
.invite-email-field input {
  height: 44px;
  font-size: 12px;
  font-weight: 850;
}
.invite-email-field small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
}
.permission-invite-options {
  display: grid;
  gap: 9px;
  align-content: start;
}
.permission-config-block.compact {
  margin-top: 0;
  padding: 11px 12px;
  border-radius: 19px;
}
.permission-config-block.compact h3 {
  font-size: 13px;
}
.compact-choice {
  gap: 8px;
}
.compact-choice label {
  min-height: 62px;
}
.permission-mini-selects {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}
.permission-mini-selects label {
  display: grid;
  gap: 6px;
}
.permission-mini-selects span {
  color: #607085;
  font-size: 9px;
  font-weight: 900;
}
.permission-mini-selects select {
  height: 38px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 850;
}
.permission-editor-subcopy {
  max-width: 660px;
}
.permission-edit-grid {
  scroll-margin-top: 92px;
}
.permission-edit-grid:not(.is-open) { display: none; }
[data-permission-panel][hidden] { display: none !important; }
.permission-save-state {
  min-width: 116px;
  height: 30px;
  padding: 0 11px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a5b00;
  background: rgba(245,158,11,.12);
  font-size: 9px;
  font-weight: 950;
  white-space: nowrap;
}
.permission-save-state.saved {
  color: #087567;
  background: rgba(20,184,166,.13);
}
.permission-editor-tabs {
  margin-top: 14px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.30);
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 6px;
}
.permission-editor-tabs button {
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 13px;
  color: #506074;
  background: transparent;
  font-size: 9px;
  line-height: 1.15;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}
.permission-editor-tabs button.active {
  color: #fff;
  background: #0a1020;
  box-shadow: 0 8px 18px rgba(10,16,32,.14);
}
.permission-invite-error {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(239,68,68,.18);
  border-radius: 14px;
  color: #b42318;
  background: rgba(254,226,226,.5);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 900;
}
.permission-editor-panel {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.permission-editor-panel.is-focused {
  border-color: rgba(20,184,166,.62);
  box-shadow: 0 18px 55px rgba(20,184,166,.20), inset 0 0 0 1px rgba(20,184,166,.24);
  transform: translateY(-2px);
}
.permission-current-target {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(85,212,228,.26);
  border-radius: 22px;
  background: linear-gradient(135deg,rgba(85,212,228,.18),rgba(255,255,255,.46));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  scroll-margin-top: 120px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.permission-current-target.is-target-focused {
  border-color: rgba(20,184,166,.66);
  background: linear-gradient(135deg,rgba(85,212,228,.30),rgba(255,255,255,.72));
  box-shadow: 0 18px 48px rgba(20,184,166,.18), inset 0 0 0 1px rgba(255,255,255,.72);
  transform: translateY(-1px);
}
.permission-current-target > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.permission-current-target span,
.permission-current-target small,
.permission-current-target strong {
  display: block;
}
.permission-current-target span {
  color: #0f8190;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
}
.permission-current-target strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.permission-current-target small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
}
.permission-target-tags {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.permission-target-tags em {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  color: #087567;
  background: rgba(20,184,166,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}
.permission-target-tags em.light {
  color: #475569;
  background: rgba(255,255,255,.62);
}
.permission-editor-body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 318px;
  gap: 14px;
  align-items: start;
}
.permission-editor-main {
  min-width: 0;
}
.permission-summary-card {
  position: sticky;
  top: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 24px;
  background: linear-gradient(135deg,rgba(255,255,255,.58),rgba(85,212,228,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}
.permission-summary-head {
  display: grid;
  gap: 4px;
}
.permission-summary-head span {
  color: #66768a;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
}
.permission-summary-head b {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}
.permission-summary-head small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
}
.permission-summary-person {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 19px;
  background: rgba(255,255,255,.38);
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 10px;
  align-items: center;
}
.permission-summary-person i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: #0a1020;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
}
.permission-summary-person b,
.permission-summary-person small {
  display: block;
  min-width: 0;
}
.permission-summary-person b {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.permission-summary-person small {
  margin-top: 3px;
  color: #607085;
  font-size: 10px;
  font-weight: 900;
}
.permission-summary-list {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.permission-summary-list div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 17px;
  background: rgba(255,255,255,.34);
}
.permission-summary-list dt,
.permission-summary-list dd {
  margin: 0;
  min-width: 0;
}
.permission-summary-list dt {
  color: #607085;
  font-size: 9px;
  font-weight: 950;
}
.permission-summary-list dd {
  margin-top: 4px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.permission-summary-risk {
  margin: 12px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(245,158,11,.18);
  border-radius: 17px;
  color: #8a5b00;
  background: rgba(245,158,11,.12);
  font-size: 11px;
  line-height: 1.55;
  font-weight: 900;
}
.permission-config-block {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: rgba(255,255,255,.36);
}
.permission-config-block h3 {
  font-size: 15px;
}
.permission-block-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.ghost.mini {
  height: 26px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9px;
  flex: 0 0 auto;
}
.permission-choice-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
}
.permission-choice-row.two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.permission-choice-row label {
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.46);
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  cursor: pointer;
}
.permission-choice-row input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  margin-top: 2px;
  accent-color: #0a1020;
  box-shadow: none;
}
.permission-choice-row b,
.permission-choice-row small {
  display: block;
}
.permission-choice-row b {
  font-size: 12px;
}
.permission-choice-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
}
.permission-scope-editor {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 10px;
}
.permission-scope-editor label {
  display: grid;
  gap: 7px;
}
.permission-scope-combo {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 18px;
  background: rgba(255,255,255,.24);
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 112px;
}
.permission-scope-combo.account-homepage-scope {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 14px;
  background: rgba(255,255,255,.30);
}
.scope-combo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.scope-combo-head em {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #23576a;
  background: rgba(85,212,228,.13);
  font-size: 9px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}
.permission-scope-combo.open {
  border-color: rgba(85,212,228,.62);
  background: rgba(255,255,255,.36);
  z-index: 120;
}
.permission-scope-editor span {
  color: #607085;
  font-size: 10px;
  font-weight: 900;
}
.permission-scope-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.permission-scope-editor input,
.permission-scope-editor textarea {
  height: 40px;
  padding-right: 40px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 850;
}
.permission-scope-editor textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.58);
  color: var(--ink);
  outline: none;
  resize: none;
}
.permission-scope-combo.account-homepage-scope textarea {
  min-height: 128px;
  height: 128px;
  padding-left: 18px;
  padding-right: 58px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 11px;
  line-height: 1.55;
  overflow: auto;
  resize: vertical;
}
.permission-scope-combo.account-homepage-scope .permission-scope-input-wrap button {
  top: 10px;
  right: 10px;
}
.permission-scope-combo.account-homepage-scope.open textarea {
  min-height: 168px;
}
.permission-scope-input-wrap button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 12px;
  color: #607085;
  background: rgba(255,255,255,.52);
  display: grid;
  place-items: center;
  position: absolute;
  right: 6px;
  top: 5px;
  z-index: 2;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.permission-scope-combo.open .permission-scope-input-wrap button {
  transform: rotate(180deg);
  background: rgba(85,212,228,.16);
}
.permission-scope-dropdown {
  width: 100%;
  max-height: 190px;
  padding: 8px;
  overflow-y: auto;
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  z-index: 150;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 16px;
  background: rgba(247,252,252,.98);
  box-shadow: 0 18px 40px rgba(31,68,84,.18);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
}
.permission-scope-dropdown[hidden] {
  display: none;
}
.permission-scope-dropdown button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(85,212,228,.18);
  border-radius: 13px;
  color: #0f8190;
  background: rgba(85,212,228,.12);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}
.permission-scope-dropdown button:hover {
  color: #0a1020;
  background: rgba(255,255,255,.66);
}
.permission-scope-dropdown.account-homepage-dropdown {
  max-height: 250px;
  grid-template-columns: 1fr;
}
.permission-scope-combo.account-homepage-scope.open .permission-scope-dropdown.account-homepage-dropdown {
  position: static;
  margin-top: 8px;
  max-height: 320px;
  width: 100%;
}
.permission-scope-dropdown.account-homepage-dropdown button {
  min-height: 48px;
  padding: 8px 11px;
  display: grid;
  gap: 3px;
}
.permission-scope-dropdown.account-homepage-dropdown button b {
  color: #122036;
  font-size: 10px;
  line-height: 1.2;
}
.permission-scope-dropdown.account-homepage-dropdown button small {
  min-width: 0;
  color: #617386;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.permission-scope-pager {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px solid rgba(52,64,84,.08);
  display: grid;
  grid-template-columns: minmax(0,1fr) 24px 24px;
  align-items: center;
  gap: 6px;
  color: #5c7182;
  font-size: 8px;
  font-weight: 850;
}
.permission-scope-pager span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.permission-scope-pager button {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 10px;
  color: #263247;
  background: rgba(255,255,255,.68);
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}
.permission-scope-pager button:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.permission-scope-dropdown button[data-custom-scope="true"]::after {
  content: " 新";
  color: #ef8c45;
  font-size: 8px;
  font-weight: 950;
}
.permission-scope-combo small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  font-weight: 800;
}
.permission-rule-note {
  margin: 11px 0 0;
  color: #4f6475;
  font-size: 10px;
  line-height: 1.55;
  font-weight: 850;
}
.permission-check-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
.permission-check-grid label {
  min-width: 0;
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 17px;
  background: rgba(255,255,255,.36);
  display: grid;
  grid-template-columns: 16px minmax(0,1fr);
  gap: 9px;
  align-items: start;
}
.permission-check-grid label.permission-disabled-card {
  opacity: .48;
  filter: grayscale(.18);
  background: rgba(255,255,255,.24);
  cursor: not-allowed;
}
.permission-check-grid label.permission-disabled-card b,
.permission-check-grid label.permission-disabled-card small {
  color: #7b8798;
}
.permission-panel-locked {
  border-color: rgba(148,163,184,.22);
  background: rgba(255,255,255,.24);
}
.permission-panel-locked .permission-rule-note {
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 14px;
  color: #667085;
  background: rgba(255,255,255,.36);
}
.permission-check-grid input {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--dark);
}
.permission-check-grid b,
.permission-check-grid small {
  display: block;
}
.permission-check-grid b {
  color: var(--ink);
  font-size: 10px;
  line-height: 1.2;
}
.permission-check-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
  font-weight: 780;
}
.field-permission-table {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: rgba(255,255,255,.28);
}
.field-permission-row {
  display: grid;
  grid-template-columns: minmax(260px,1.9fr) 88px 100px 88px 80px;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(52,64,84,.07);
}
.field-permission-row:last-child {
  border-bottom: 0;
}
.field-permission-row.header {
  min-height: 40px;
  padding: 0 12px;
  color: #506074;
  background: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 950;
}
.field-permission-row > span b,
.field-permission-row > span small {
  display: block;
}
.field-permission-row > span b {
  font-size: 11px;
}
.field-permission-row > span small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  font-weight: 800;
}
.field-permission-row label {
  height: 32px;
  padding: 0 9px;
  border-radius: 13px;
  background: rgba(255,255,255,.44);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 9px;
  font-weight: 900;
}
.field-permission-row label input {
  width: 14px;
  height: 14px;
  min-width: 14px;
  padding: 0;
  margin: 0;
  accent-color: #0a1020;
  box-shadow: none;
}
.field-permission-row label input:disabled {
  opacity: .45;
}
.field-na-cell {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #98a2b3;
  background: rgba(255,255,255,.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 950;
}
.field-permission-row button {
  width: 72px;
  height: 28px;
  border: 1px solid rgba(10,16,32,.08);
  border-radius: 999px;
  color: #253247;
  background: rgba(255,255,255,.56);
  font-size: 8px;
  font-weight: 950;
  justify-self: end;
}
.field-permission-row p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(85,212,228,.72);
  border-radius: 14px;
  color: #4b6474;
  background: rgba(255,255,255,.42);
  font-size: 10px;
  line-height: 1.55;
  font-weight: 820;
}
.field-permission-row.expanded {
  background: rgba(255,255,255,.22);
}
.permission-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.permission-actions .primary:disabled {
  color: #087567;
  background: rgba(20,184,166,.14);
  box-shadow: none;
  cursor: default;
  opacity: 1;
}
.permission-history-inline {
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 22px;
  background: rgba(255,255,255,.30);
  overflow: hidden;
}
.permission-history-inline summary {
  min-height: 74px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.permission-history-inline summary::-webkit-details-marker {
  display: none;
}
.permission-history-inline summary span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.permission-history-inline summary i,
.permission-history-inline summary b,
.permission-history-inline summary small {
  display: block;
}
.permission-history-inline summary i {
  color: #66768a;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
}
.permission-history-inline summary b {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}
.permission-history-inline summary small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 850;
}
.permission-history-inline summary em {
  min-width: 58px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  color: #0f8190;
  background: rgba(85,212,228,.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}
.permission-history-inline[open] summary em {
  color: #475569;
  background: rgba(255,255,255,.58);
}
.permission-history-inline[open] summary em::before {
  content: "收起";
}
.permission-history-inline[open] summary em {
  font-size: 0;
}
.permission-history-inline[open] summary em::before {
  font-size: 10px;
}
.permission-mini-log {
  margin-top: 13px;
  display: grid;
  gap: 9px;
}
.permission-mini-log.inline {
  margin: 0;
  padding: 0 16px 16px;
}
.permission-mini-log.inline div {
  min-height: 48px;
  grid-template-columns: 64px minmax(0,1fr);
}
.permission-mini-log div {
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 9px;
  align-items: center;
}
.permission-mini-log time {
  color: #0f8190;
  font-size: 10px;
  font-weight: 950;
}
.permission-mini-log b,
.permission-mini-log small {
  display: block;
}
.permission-mini-log b {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.permission-mini-log small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  font-weight: 800;
}
@media(max-width:1180px) {
  .permission-entry-content,
  .permission-hero-content,
  .permission-editor-body,
  .permission-invite-grid {
    grid-template-columns: 1fr;
  }
  .permission-summary-card {
    position: static;
  }
  .permission-entry-stats,
  .permission-hero-actions {
    justify-content: flex-start;
  }
  .permission-role-inline,
  .permission-choice-row,
  .permission-choice-row.two,
  .permission-check-grid,
  .permission-scope-editor {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .permission-editor-tabs {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .permission-member-tools {
    min-width: 0;
    width: 100%;
  }
}
@media(max-width:760px) {
  .permission-page .permission-layout {
    width: calc(100% - 20px);
  }
  .permission-member-tools,
  .permission-entry-stats {
    width: 100%;
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .permission-role-inline,
  .permission-choice-row,
  .permission-choice-row.two,
  .permission-check-grid,
  .permission-scope-editor {
    grid-template-columns: 1fr;
  }
  .permission-invite-panel.is-open,
  .permission-edit-grid.is-open {
    padding: 3vh 12px;
  }
  .permission-editor-tabs {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .permission-member-tools .asset-search,
  .permission-member-tools select,
  .permission-entry-stats .primary,
  .permission-mini-selects {
    width: 100%;
  }
  .permission-mini-selects {
    grid-template-columns: 1fr;
  }
  .field-permission-table {
    overflow-x: auto;
  }
  .field-permission-row {
    min-width: 780px;
  }
}

/* 2026-08-05 v35：管理侧三张明细表统一为外层横向表格，不再呈现单元格内卡片滑动 */
.asset-table-wrap,
.management-ranking-table,
.video-performance-table {
  overflow-x: auto;
  overflow-y: hidden;
}
.asset-management-table {
  min-width: 2180px !important;
}
.asset-number-cell,
.management-ranking-row.compact-ranking-row .ranking-metric-cell,
.video-performance-row.compact-video-row > strong,
.video-performance-row.compact-video-row > span {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 1560px !important;
  grid-template-columns: 48px 230px 220px 94px 94px 98px 138px 84px 76px 102px 84px 104px 96px !important;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 1740px !important;
  grid-template-columns: 48px minmax(330px,1.45fr) 170px 210px 108px 90px 94px 78px 72px 72px 72px 84px 88px 96px !important;
}
.ranking-metrics-scroll,
.video-metrics-scroll,
.asset-metric-stack {
  display: contents !important;
  overflow: visible !important;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}
.ranking-metrics-scroll .ranking-metric-cell,
.video-metrics-scroll .ranking-metric-cell,
.asset-metric-stack span {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: auto !important;
  flex: initial !important;
}
.video-performance-row.compact-video-row > .rank-number {
  width: 25px !important;
  height: 25px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  color: #344054 !important;
  background: rgba(10,16,32,.06) !important;
  display: grid !important;
  place-items: center !important;
}
.video-performance-row.compact-video-row > .rank-number.top {
  color: #fff !important;
  background: linear-gradient(135deg,#18384b,#55d4e4) !important;
  box-shadow: 0 7px 15px rgba(28,104,125,.16) !important;
}
.video-performance-row.compact-video-row > .video-title-cell {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0;
}
.video-performance-row.compact-video-row > .video-title-cell > i {
  flex: 0 0 56px;
}
.video-performance-row.compact-video-row > .video-title-cell > span {
  min-width: 0;
  display: block;
}
.video-performance-row.compact-video-row > .video-title-cell b,
.video-performance-row.compact-video-row > .video-title-cell small {
  max-width: 235px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-performance-row.compact-video-row > .ranking-owner {
  display: block !important;
}
.video-performance-row.compact-video-row > .ranking-owner b,
.video-performance-row.compact-video-row > .ranking-owner small {
  display: block;
}
.video-performance-row.compact-video-row > .video-status {
  width: max-content;
  padding: 5px 8px !important;
  border-radius: 10px !important;
  color: #9a3412 !important;
  background: rgba(249,115,22,.11) !important;
}
.video-performance-row.compact-video-row > .video-status.potential {
  color: #8a5b00 !important;
  background: rgba(245,158,11,.12) !important;
}
@media (max-width: 760px) {
  .management-ranking-row.compact-ranking-header,
  .management-ranking-row.compact-ranking-row,
  .video-performance-row.compact-video-header,
  .video-performance-row.compact-video-row {
    min-width: 1280px;
  }
  .asset-management-table {
    min-width: 1880px;
  }
  .managed-period-card,
  .managed-period-controls {
    grid-template-columns: 1fr;
  }
  .managed-period-card small,
  .managed-collect-setting-note {
    white-space: normal;
  }
}

/* 2026-08-07 v28：全局字号可读性优化，保留横向滚动避免表格挤压 */
body {
  font-size: 15px;
}
.topbar,
.nav a,
.user-pill,
.primary,
.ghost,
.text-link,
.manager-back-link,
button,
input,
select,
textarea {
  font-size: 13px;
}
.eyebrow,
.card-note,
.overview-context,
.metric-definition,
.scope-modal-note,
.single-asset-period-note,
.asset-list-head p,
.overview-card-head p,
.manager-card-head p,
.manager-detail-card p,
.history-heading-card p {
  font-size: 12px !important;
  line-height: 1.55;
}
.asset-management-table {
  min-width: 2360px !important;
}
.asset-management-table td,
.asset-management-table th {
  font-size: 12px !important;
}
.asset-account-cell span,
.field-change-cell span,
.owner-cell,
.product-language-cell b,
.asset-type-pill,
.asset-positioning-cell b,
.asset-number-cell b,
.completeness-cell b,
.failure-record-table b,
.failure-record-table td {
  font-size: 12px !important;
}
.asset-account-cell small,
.asset-account-cell em,
.field-change-cell small,
.owner-cell-wrap small,
.product-language-cell small,
.product-language-cell em,
.asset-positioning-cell small,
.asset-positioning-cell em,
.asset-positioning-cell i,
.asset-number-cell small,
.asset-risk-note,
.platform-chip,
.asset-status,
.table-assign-button,
.table-edit-button,
.asset-page-summary,
.asset-pagination,
.failure-record-table small {
  font-size: 10px !important;
  line-height: 1.35;
}
.asset-row-actions {
  min-width: 88px;
}
.table-assign-button,
.table-edit-button {
  min-height: 32px;
  padding: 0 11px;
}
.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 1720px !important;
  grid-template-columns: 52px 250px 232px 104px 104px 112px 148px 94px 86px 112px 94px 116px 100px !important;
  font-size: 12px !important;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 1900px !important;
  grid-template-columns: 52px minmax(360px,1.45fr) 188px 224px 118px 102px 104px 86px 80px 80px 80px 96px 98px 108px !important;
  font-size: 12px !important;
}
.management-ranking-row.compact-ranking-row b,
.management-ranking-row.compact-ranking-row strong,
.video-performance-row.compact-video-row b,
.video-performance-row.compact-video-row strong,
.ranking-metric-cell b,
.interaction-detail-cell small {
  font-size: 12px !important;
}
.management-ranking-row.compact-ranking-header,
.video-performance-row.compact-video-header,
.management-ranking-row.compact-ranking-row small,
.video-performance-row.compact-video-row small,
.ranking-status,
.video-status,
.ranking-change,
.management-ranking-row.compact-ranking-row > a,
.video-performance-row.compact-video-row > a {
  font-size: 10px !important;
  line-height: 1.35;
}
.video-performance-row.compact-video-row > .video-title-cell b,
.video-performance-row.compact-video-row > .video-title-cell small {
  max-width: 270px;
}
.metric-card span,
.filter-bar label,
.data-table .thead,
.bar-chart b,
.detail-kpi span,
.detail-kpi small,
.detail-trend-metrics button,
.manager-snapshot-row,
.manager-video-snapshot-row,
.manager-report-current-period,
.manager-report-selected-summary {
  font-size: 11px !important;
}
.detail-kpi b,
.metric-card b,
.manager-snapshot-row strong,
.manager-snapshot-row b,
.manager-video-snapshot-row strong,
.manager-video-snapshot-row b {
  font-size: 13px !important;
}
.manager-snapshot-row.snapshot-header,
.manager-video-snapshot-row.snapshot-header,
.detail-metrics-grid small,
.health-check-list small,
.operation-log-list small,
.summary-secondary small,
.summary-status-strip small,
.manager-report-required,
.manager-report-template i,
.manager-report-custom-date small,
.manager-report-select-all em,
.manager-report-account-options span small,
.manager-report-preview-summary small {
  font-size: 9px !important;
}
.history-control-panel,
.history-table-card {
  font-size: 12px;
}
.history-shell,
.history-heading-card,
.history-control-panel,
.history-table-card,
.history-heading-card .overview-heading-content,
.history-control-panel .content,
.history-table-card .content {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.history-heading-actions {
  flex-wrap: wrap;
}
.history-export-primary {
  white-space: nowrap;
}
.history-search-filter > span,
.history-type-filter > span,
.history-time-filter > span,
.history-time-buttons button,
.history-table-head span,
.history-change-cell em,
.history-object-cell em,
.history-batch-row.batch-head,
.permission-history-grid span,
.permission-rule-flow span {
  font-size: 10px !important;
}
.history-search-field input,
.history-object-cell b,
.history-time-cell b,
.history-scope-cell b,
.history-change-cell p,
.history-batch-row,
.permission-history-grid input,
.permission-history-grid select,
.history-pager-lite span {
  font-size: 12px !important;
}
.history-table-row {
  min-width: 1320px;
}
.history-batch-table {
  min-width: 980px;
}
.permission-card,
.permission-step-card,
.member-list-card,
.permission-editor-card {
  font-size: 13px;
}
.field-permission-row span b,
.member-permission-row b,
.permission-mini-selects label,
.permission-scope-chip,
.role-chip {
  font-size: 12px !important;
}
.field-permission-row span small,
.member-permission-row small,
.field-permission-row p,
.permission-history-inline summary small {
  font-size: 10px !important;
  line-height: 1.4;
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .asset-management-table {
    min-width: 2120px !important;
  }
  .management-ranking-row.compact-ranking-header,
  .management-ranking-row.compact-ranking-row {
    min-width: 1500px !important;
  }
  .video-performance-row.compact-video-header,
  .video-performance-row.compact-video-row {
    min-width: 1660px !important;
  }
}

/* 2026-08-07 v31：修复统筹侧排名表操作列挤压，并强化后半段数据可读性 */
.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 1880px !important;
  grid-template-columns: 56px 260px 248px 112px 112px 124px 124px 134px 102px 94px 120px 104px 132px 102px !important;
  column-gap: 16px !important;
  align-items: center !important;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 2060px !important;
  grid-template-columns: 56px 390px 200px 236px 126px 112px 116px 90px 90px 90px 90px 112px 104px 118px 106px !important;
  column-gap: 16px !important;
  align-items: center !important;
}
.management-ranking-row.compact-ranking-row .ranking-metric-cell b,
.video-performance-row.compact-video-row > strong,
.video-performance-row.compact-video-row > span:not(.rank-number):not(.video-title-cell):not(.video-status) {
  color: var(--ink);
  font-size: 14px !important;
  font-weight: 950 !important;
}
.management-ranking-row.compact-ranking-row .ranking-metric-cell small,
.management-ranking-row.compact-ranking-row .interaction-detail-cell small,
.video-performance-row.compact-video-row small,
.video-performance-row.compact-video-row .ranking-change {
  font-size: 11px !important;
  font-weight: 900 !important;
}
.management-ranking-row.compact-ranking-row > a,
.video-performance-row.compact-video-row > a {
  min-width: 78px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(10,16,32,.10);
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #172033;
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  font-size: 11px !important;
  font-weight: 950;
  white-space: nowrap;
}
.management-ranking-row.compact-ranking-row > a:hover,
.video-performance-row.compact-video-row > a:hover {
  background: rgba(85,212,228,.16);
}
.ranking-trend-cell {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(68px,1fr);
  align-items: center;
  gap: 8px;
}
.ranking-trend-cell b {
  color: #255264;
  font-size: 12px !important;
  font-weight: 950;
}
.ranking-trend-cell i {
  height: 9px;
  border-radius: 999px;
  background: rgba(52,97,118,.12);
  overflow: hidden;
}
.ranking-trend-cell i em {
  height: 100%;
  border-radius: inherit;
  display: block;
  background: linear-gradient(90deg,#143047,#48cfdd);
}
.trend-compare-legend {
  gap: 18px;
}
.trend-compare-legend em {
  font-size: 11px !important;
  line-height: 1.45;
}

/* 2026-08-11 v7：全局占位扫查修复，只处理文本/空态/顶部 pill 的视觉溢出 */
.topbar {
  position: relative;
  z-index: 2000;
  min-width: 0;
}
.user-pill,
.manager-role-switcher {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.manager-role-switcher {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.manager-role-switcher > span:first-child {
  flex: 1 1 auto;
  min-width: 132px;
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manager-role-switcher select {
  flex: 0 0 auto;
  width: 132px;
  max-width: 132px;
}
.manager-role-switcher .demo-role-note {
  flex: 0 0 auto;
  width: 34px;
  overflow: hidden;
  font-size: 0 !important;
  letter-spacing: 0;
}
.manager-role-switcher .demo-role-note::after {
  content: "Demo";
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .04em;
}

.prototype-dashboard .video-cell {
  min-width: 0;
  width: 100%;
}
.prototype-dashboard .video-cell > span,
.prototype-dashboard .account-cell > span {
  min-width: 0;
}
.prototype-dashboard .homepage-link,
.prototype-dashboard .video-url-text {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.35;
}
.prototype-dashboard .video-url-text {
  display: block;
}
.prototype-dashboard .video-table .video-cell .video-url-text {
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
}

.management-ranking-row.empty-video-search,
.management-ranking-row.compact-ranking-row.empty-video-search,
.video-performance-row.empty-video-search,
.video-performance-row.compact-video-row.empty-video-search {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 100% !important;
  min-height: 92px !important;
  padding: 18px 20px !important;
  text-align: center;
  color: var(--muted);
}
.management-ranking-row.empty-video-search > span,
.management-ranking-row.compact-ranking-row.empty-video-search > span,
.video-performance-row.empty-video-search > span,
.video-performance-row.compact-video-row.empty-video-search > span {
  width: 100%;
  max-width: 520px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.asset-management-table .owner-cell {
  width: 100%;
  max-width: 168px;
}
.asset-management-table .owner-cell-wrap {
  min-width: 0;
}

@media (max-width: 1180px) {
  .manager-role-switcher {
    justify-self: start;
  }
}

.management-ranking-row.compact-ranking-header,
.management-ranking-row.compact-ranking-row {
  min-width: 2060px !important;
}
.video-performance-row.compact-video-header,
.video-performance-row.compact-video-row {
  min-width: 2290px !important;
}

/* 2026-08-11 v11：成员权限向下分配上限。团队管理员只能在自身授权范围内继续分配。 */
.permission-choice-disabled {
  opacity: .48;
  cursor: not-allowed;
}

.permission-choice-disabled * {
  cursor: not-allowed;
}

.scope-locked-by-parent .permission-scope-input-wrap {
  border-color: rgba(85, 212, 228, .38);
  background: rgba(85, 212, 228, .08);
  box-shadow: inset 0 0 0 1px rgba(85, 212, 228, .12);
}

.scope-locked-by-parent [data-scope-input] {
  color: #24566a;
  font-weight: 760;
}

.scope-locked-by-parent [data-scope-toggle] {
  opacity: .38;
  pointer-events: none;
}

.scope-locked-by-parent [data-scope-tip] {
  color: #3c8291;
}

.editable-select.scope-locked-by-parent {
  border-color: rgba(85, 212, 228, .42);
  background: rgba(85, 212, 228, .10);
}

.editable-select.scope-locked-by-parent input {
  color: #24566a;
  font-weight: 800;
}

.editable-select.scope-locked-by-parent .editable-select-toggle {
  opacity: .48;
}

.application-rule-note {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(85, 212, 228, .10);
  color: #416579;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.5;
}
.application-rule-note.application-next-step {
  padding: 7px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}
.application-rule-note a {
  color: #0a1020;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.application-example-foot button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.attention-item.attention-muted {
  opacity: .62;
}

/* 2026-08-12 v1：第一页团队资产管理收口与团队切换优化 */
.team-role-switcher {
  position: relative;
  overflow: visible;
  padding: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.72);
  z-index: 260;
}
.team-switch-trigger {
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  display: grid;
  align-items: center;
  text-align: left;
  gap: 1px;
}
.team-switch-trigger span,
.team-switch-trigger b,
.team-switch-trigger small,
.team-switch-trigger i {
  display: block;
  min-width: 0;
}
.team-switch-trigger span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.1;
}
.team-switch-trigger b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
}
.team-switch-trigger small {
  color: #718096;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.08;
}
.team-switch-trigger i {
  color: #3a7181;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  opacity: .82;
}
.operator-team-switcher {
  min-width: 250px;
  max-width: 280px;
  min-height: 42px;
  height: auto;
  padding: 0;
  position: relative;
  z-index: 2300;
  border-radius: 22px;
  overflow: visible;
}
.operator-team-switcher .team-switch-trigger {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 5px 8px 5px 14px;
  gap: 0;
  align-content: center;
  grid-template-columns: minmax(0,1fr) auto;
  column-gap: 10px;
  border-radius: 22px;
}
.operator-team-switcher .team-switch-trigger b {
  grid-column: 1;
  grid-row: 1;
  font-size: 14px;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.operator-team-switcher .team-switch-trigger small {
  grid-column: 1;
  grid-row: 2;
  margin-top: 2px;
  color: #66758a;
  font-size: 9px;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.operator-team-switcher .team-switch-trigger i {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: center;
  max-width: 100%;
  min-width: 64px;
  height: 28px;
  margin-top: 0;
  padding: 0 10px;
  border-radius: 999px;
  color: #5f7d8d;
  background: rgba(226,250,253,.72);
  border: 1px solid rgba(255,255,255,.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.operator-team-switcher .team-switch-trigger::after {
  content: "";
  display: none;
}
.operator-team-switcher.open .team-switch-trigger::after,
.operator-team-switcher:hover .team-switch-trigger::after {
  transform: none;
}
.operator-team-dropdown {
  z-index: 2400;
  top: calc(100% + 8px);
  width: 300px;
  background: #f8fcff;
  box-shadow: 0 24px 54px rgba(20,85,108,.22);
}
.operator-team-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 12px;
}
.operator-team-list button.active {
  border-color: rgba(85,212,228,.48);
  background: #e8fbff;
}
.team-switch-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 999;
  width: 320px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 18px;
  background: rgba(248,252,255,.98);
  box-shadow: 0 20px 44px rgba(28,104,125,.18);
  backdrop-filter: blur(18px);
  display: none;
}
.team-role-switcher:hover .team-switch-dropdown,
.team-role-switcher.open .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.operator-team-switcher:hover .team-switch-dropdown {
  display: none;
}
.operator-team-switcher.open .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.operator-team-switcher:hover .team-switch-trigger::after {
  transform: none;
}
.operator-team-switcher.open .team-switch-trigger::after {
  transform: rotate(180deg);
}
.team-switch-title {
  color: #637083;
  font-size: 10px;
  font-weight: 900;
}
.team-switch-list {
  display: grid;
  gap: 8px;
}
.team-switch-list button {
  padding: 9px 10px;
  border: 1px solid rgba(52,64,84,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  text-align: left;
}
.team-switch-list button.active {
  border-color: rgba(85,212,228,.48);
  background: rgba(85,212,228,.12);
}
.team-switch-list b,
.team-switch-list span {
  display: block;
}
.team-switch-list b {
  font-size: 12px;
}
.team-switch-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}
.team-join-new-button {
  margin-top: 2px;
  padding: 10px 11px;
  border: 1px dashed rgba(85, 126, 145, .28);
  border-radius: 15px;
  color: #234054;
  background: rgba(255,255,255,.48);
  display: grid;
  gap: 3px;
  text-align: left;
  cursor: pointer;
}
.team-join-new-button:hover {
  background: rgba(85,212,228,.12);
  border-color: rgba(85,212,228,.44);
}
.team-join-new-button b,
.team-join-new-button span {
  display: block;
}
.team-join-new-button b {
  font-size: 12px;
  font-weight: 950;
}
.team-join-new-button span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.asset-list-actions {
  align-items: stretch;
  flex-wrap: wrap;
}
.asset-list-actions .ghost,
.asset-list-actions .primary {
  height: 40px;
}
.conditional-search {
  width: 420px;
  display: grid;
  grid-template-columns: 20px 132px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  padding: 0 12px 0 8px;
}
.conditional-search select {
  height: 28px;
  padding: 0 28px 0 10px;
  border: 1px solid rgba(52,64,84,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  color: #253247;
  font-size: 10px;
  font-weight: 900;
}
.conditional-search input {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.asset-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.asset-row-actions button {
  height: 28px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(52,64,84,.08);
  background: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 900;
}
.team-ready-hero {
  padding: 22px 24px;
}
.team-ready-hero .ready-heading p {
  max-width: 780px;
}
.initialization-grid {
  grid-template-columns: 1.15fr .95fr 1fr;
}
.initialization-card p {
  min-height: 48px;
}
.single-asset-period-note {
  margin-top: 10px;
}
.team-onboarding-shell,
.team-ready-shell {
  width: min(1180px, calc(100% - 24px));
}
@media (max-width: 1180px) {
  .team-switch-dropdown {
    width: min(320px, 100vw - 42px);
  }
  .conditional-search {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .initialization-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-12 v2：修复团队资产页真实展示中的遮挡、搜索占位和表格操作列 */
.team-onboarding-page .team-role-switcher:focus-within .team-switch-dropdown {
  display: none;
}
.team-onboarding-page .team-role-switcher:hover .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.team-onboarding-page .team-role-switcher.open .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.team-onboarding-page .team-switch-dropdown {
  top: calc(100% + 12px);
  right: 0;
}
.team-onboarding-page .conditional-search {
  width: min(520px, 100%);
  height: 44px;
  display: grid !important;
  grid-template-columns: 22px 138px minmax(150px,1fr) !important;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.team-onboarding-page .conditional-search > span {
  grid-column: 1;
  justify-self: center;
  margin: 0;
  font-size: 17px;
  line-height: 1;
}
.team-onboarding-page .conditional-search select {
  grid-column: 2;
  width: 100%;
  min-width: 0;
}
.team-onboarding-page .conditional-search input {
  grid-column: 3;
  width: 100%;
  min-width: 0;
  height: 30px;
  line-height: 30px;
}
.team-onboarding-page .asset-list-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(520px, .92fr);
  align-items: start;
  gap: 18px;
}
.team-onboarding-page .asset-list-actions {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(360px,1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 12px;
}
.team-onboarding-page .asset-list-actions .conditional-search {
  width: 100%;
}
.team-onboarding-page .asset-list-actions .primary {
  min-width: 116px;
  justify-self: end;
}
@media (max-width: 1180px) {
  .team-onboarding-page .asset-list-head {
    grid-template-columns: 1fr;
  }
  .team-onboarding-page .asset-list-actions {
    grid-template-columns: minmax(0,1fr) auto;
  }
}
@media (max-width: 760px) {
  .team-onboarding-page .asset-list-actions {
    grid-template-columns: 1fr;
  }
  .team-onboarding-page .asset-list-actions .primary {
    justify-self: stretch;
  }
}
.team-onboarding-page .asset-management-table {
  min-width: 2680px !important;
  table-layout: fixed;
}
.team-onboarding-page .asset-management-table th:nth-child(2),
.team-onboarding-page .asset-management-table td:nth-child(2) {
  width: 260px;
}
.team-onboarding-page .asset-management-table th:nth-child(4),
.team-onboarding-page .asset-management-table td:nth-child(4),
.team-onboarding-page .asset-management-table th:nth-child(5),
.team-onboarding-page .asset-management-table td:nth-child(5),
.team-onboarding-page .asset-management-table th:nth-child(6),
.team-onboarding-page .asset-management-table td:nth-child(6),
.team-onboarding-page .asset-management-table th:nth-child(8),
.team-onboarding-page .asset-management-table td:nth-child(8) {
  width: 150px;
}
.team-onboarding-page .asset-management-table th:last-child,
.team-onboarding-page .asset-management-table td:last-child {
  width: 180px;
}
.team-onboarding-page .asset-row-actions {
  min-width: 156px;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 8px;
}
.team-onboarding-page .asset-row-actions .table-edit-button,
.team-onboarding-page .asset-row-actions .table-assign-button {
  min-width: 72px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 15px;
  font-size: 11px !important;
  font-weight: 950;
  opacity: 1 !important;
}
.team-onboarding-page .asset-row-actions .table-edit-button {
  color: #101827 !important;
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(10,16,32,.08) !important;
}
.team-onboarding-page .asset-row-actions .table-assign-button {
  color: #fff !important;
  background: #0a1020 !important;
  border-color: #0a1020 !important;
}
.team-onboarding-page .asset-row-actions .table-assign-button:disabled {
  color: #fff !important;
  background: #0a1020 !important;
  opacity: .9 !important;
}
@media (max-width: 1180px) {
  .team-onboarding-page .conditional-search {
    grid-template-columns: 22px 128px minmax(120px,1fr) !important;
  }
}

/* 2026-08-12 v3：团队身份信息移入主卡片，右上角仅保留轻量切换入口 */
.team-onboarding-page .topbar {
  overflow: visible;
  position: relative;
  z-index: 520;
}
.team-onboarding-page .team-role-switcher {
  width: 214px;
  min-width: 214px;
  position: relative;
  z-index: 620;
}
.team-onboarding-page .team-switch-trigger {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  justify-items: start;
}
.team-onboarding-page .team-switch-trigger b {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  line-height: 1.1;
}
.team-onboarding-page .team-switch-trigger small {
  grid-column: 1;
  grid-row: 2;
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
}
.team-onboarding-page .team-switch-trigger i {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 54px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(85,212,228,.12);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}
.team-onboarding-page .team-switch-dropdown {
  width: 300px;
  z-index: 999;
  max-height: 360px;
  overflow: auto;
}
.team-onboarding-page .team-ready-hero {
  overflow: visible;
}
.team-onboarding-page .team-ready-hero .content {
  overflow: visible;
}

/* 2026-08-12 v4：账号/视频详情页收口。详情页只展示分析与采集快照，右上角团队切换统一。 */
.manager-account-detail-page .topbar,
.manager-video-detail-page .topbar {
  overflow: visible;
  position: relative;
  z-index: 520;
}
.manager-account-detail-page .team-role-switcher,
.manager-video-detail-page .team-role-switcher {
  width: 214px;
  min-width: 214px;
  max-width: 214px;
  overflow: visible;
  position: relative;
  z-index: 620;
}
.manager-account-detail-page .team-switch-trigger,
.manager-video-detail-page .team-switch-trigger {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  justify-items: start;
}
.manager-account-detail-page .team-switch-trigger b,
.manager-video-detail-page .team-switch-trigger b {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  line-height: 1.1;
}
.manager-account-detail-page .team-switch-trigger small,
.manager-video-detail-page .team-switch-trigger small {
  grid-column: 1;
  grid-row: 2;
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
}
.manager-account-detail-page .team-switch-trigger i,
.manager-video-detail-page .team-switch-trigger i {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 54px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(85,212,228,.12);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}
.manager-account-detail-page .team-switch-dropdown,
.manager-video-detail-page .team-switch-dropdown {
  width: 300px;
  top: calc(100% + 12px);
  right: 0;
  z-index: 999;
  max-height: 360px;
  overflow: auto;
}
.manager-account-detail-page .team-role-switcher:hover .team-switch-dropdown,
.manager-video-detail-page .team-role-switcher:hover .team-switch-dropdown,
.manager-account-detail-page .team-role-switcher.open .team-switch-dropdown,
.manager-video-detail-page .team-role-switcher.open .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.status-pill.scope {
  color: #3b6474;
  background: rgba(85,212,228,.11);
  border: 1px solid rgba(85,212,228,.22);
}
.detail-permission-note {
  width: max-content;
  max-width: min(560px, 100%);
  margin: 8px 0 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: #456575;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.72);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 820;
}
.snapshot-history-note {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 15px;
  color: #5e7182;
  background: rgba(255,255,255,.36);
  border: 1px solid rgba(255,255,255,.68);
  font-size: 10px;
  line-height: 1.55;
  font-weight: 780;
}
.snapshot-history-note a {
  color: #276979;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: rgba(39,105,121,.26);
  text-underline-offset: 3px;
}
.manager-records-body .snapshot-history-note {
  margin-bottom: 0;
}
@media (max-width: 1180px) {
  .manager-account-detail-page .team-role-switcher,
  .manager-video-detail-page .team-role-switcher {
    justify-self: start;
  }
}
@media (max-width: 760px) {
  .manager-account-detail-page .team-role-switcher,
  .manager-video-detail-page .team-role-switcher {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .manager-account-detail-page .team-switch-dropdown,
  .manager-video-detail-page .team-switch-dropdown {
    width: min(300px, calc(100vw - 34px));
    right: auto;
    left: 0;
  }
  .detail-permission-note {
    width: 100%;
    border-radius: 14px;
  }
}
.team-onboarding-page .ready-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 20px;
}
.team-onboarding-page .ready-heading-actions {
  justify-items: end;
  align-content: start;
  min-width: 136px;
}
.team-onboarding-page .ready-title-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.team-onboarding-page .ready-title-row h1 {
  margin: 0;
  line-height: 1.08;
}
.team-onboarding-page .ready-title-row .ready-status {
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  font-size: 13px;
}
.team-onboarding-page .ready-email {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.46);
  color: #647184;
  font-size: 12px;
  font-weight: 900;
}
.team-onboarding-page .ready-heading-actions .manager-back-link {
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .team-onboarding-page .ready-heading {
    grid-template-columns: 1fr;
  }
  .team-onboarding-page .ready-heading-actions {
    justify-items: start;
  }
  .selected-import-file {
    grid-template-columns: 1fr;
  }
  .selected-import-file .primary {
    width: 100%;
  }
}

/* 2026-08-12 v4：团队协作入口合并到顶部主模块 */
.team-onboarding-page .team-quick-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(52,64,84,.10);
  display: grid;
  grid-template-columns: 1.15fr repeat(3,1fr);
  gap: 12px;
}
.team-onboarding-page .quick-action-card {
  min-width: 0;
  min-height: 76px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 4px 10px;
}
.team-onboarding-page .quick-action-card span,
.team-onboarding-page .quick-action-card b,
.team-onboarding-page .quick-action-card small {
  display: block;
  min-width: 0;
}
.team-onboarding-page .quick-action-card span {
  color: #647184;
  font-size: 10px;
  font-weight: 950;
}
.team-onboarding-page .quick-action-card b {
  color: #101827;
  font-size: 17px;
  line-height: 1.15;
}
.team-onboarding-page .quick-action-card b em {
  font-style: normal;
}
.team-onboarding-page .quick-action-card small {
  grid-column: 1;
  color: #647184;
  font-size: 9px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-onboarding-page .quick-action-card .primary,
.team-onboarding-page .quick-action-card .ghost {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-width: 52px;
  height: 32px;
  padding: 0 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 950;
}
.team-onboarding-page .quick-action-card .ghost {
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.58);
}
.team-onboarding-page .invite-code-quick b {
  font-size: 20px;
  letter-spacing: .08em;
}
@media (max-width: 1120px) {
  .team-onboarding-page .team-quick-actions {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 900px) {
  .team-onboarding-page .team-quick-actions {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-12 v6：矩阵总览/历史操作权限口径收口，右上角团队切换统一 */
.manager-overview-page .topbar,
.history-page .topbar {
  overflow: visible;
  position: relative;
  z-index: 520;
}
.manager-overview-page .team-role-switcher,
.history-page .team-role-switcher {
  width: 214px;
  min-width: 214px;
  max-width: 214px;
  overflow: visible;
  position: relative;
  z-index: 620;
}
.manager-overview-page .team-switch-trigger,
.history-page .team-switch-trigger {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  justify-items: start;
}
.manager-overview-page .team-switch-trigger b,
.history-page .team-switch-trigger b {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  line-height: 1.1;
}
.manager-overview-page .team-switch-trigger small,
.history-page .team-switch-trigger small {
  grid-column: 1;
  grid-row: 2;
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
}
.manager-overview-page .team-switch-trigger i,
.history-page .team-switch-trigger i {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 54px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(85,212,228,.12);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}
.manager-overview-page .team-switch-dropdown,
.history-page .team-switch-dropdown {
  width: 300px;
  top: calc(100% + 12px);
  right: 0;
  z-index: 999;
  max-height: 360px;
  overflow: auto;
}
.manager-overview-page .team-role-switcher:hover .team-switch-dropdown,
.history-page .team-role-switcher:hover .team-switch-dropdown,
.manager-overview-page .team-role-switcher:focus-within .team-switch-dropdown,
.history-page .team-role-switcher:focus-within .team-switch-dropdown,
.manager-overview-page .team-role-switcher.open .team-switch-dropdown,
.history-page .team-role-switcher.open .team-switch-dropdown {
  display: grid;
  gap: 10px;
}
.overview-permission-rule {
  max-width: 420px;
}
.overview-permission-rule span {
  line-height: 1.45;
}
.overview-authorized-scope-card,
.authorized-scope-options {
  display: none !important;
}
.history-log-table {
  min-width: 980px !important;
}
.history-table-row {
  min-width: 980px !important;
  grid-template-columns: minmax(230px,1.35fr) minmax(168px,.8fr) minmax(142px,.58fr) minmax(170px,.72fr) 164px !important;
}
.history-change-cell.compact {
  min-height: 56px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  gap: 4px;
}
.history-change-cell.compact b,
.history-change-cell.compact small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.history-change-cell.compact b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}
.history-change-cell.compact small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 850;
}
.history-page .history-scope-cell {
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 15px;
  background: rgba(255,255,255,.32);
  display: grid;
  align-content: center;
}
.history-page .history-scope-cell b {
  margin-top: 0;
}
.history-pager-lite button {
  width: 32px;
  min-width: 32px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}

/* 2026-08-15：统筹侧超管专属动作在团队管理员/子管理员视角必须同态置灰 */
.team-onboarding-page [data-permission-disabled],
.team-onboarding-page button:disabled[data-permission-disabled],
.team-onboarding-page a[data-permission-disabled],
.team-onboarding-page label[data-permission-disabled],
.team-onboarding-page .single-add-card[data-permission-disabled],
.team-onboarding-page .template-action-card[data-permission-disabled],
.team-onboarding-page .quick-action-card .primary[data-permission-disabled],
.team-onboarding-page .quick-action-card .ghost[data-permission-disabled],
.team-onboarding-page .team-scope-line button[data-permission-disabled] {
  color: #667085 !important;
  background: rgba(102,112,133,.1) !important;
  border-color: rgba(102,112,133,.16) !important;
  box-shadow: none !important;
  opacity: .72 !important;
  cursor: not-allowed !important;
  filter: grayscale(.14);
}
.team-onboarding-page a[data-permission-disabled],
.team-onboarding-page label[data-permission-disabled],
.team-onboarding-page .single-add-card[data-permission-disabled],
.team-onboarding-page .template-action-card[data-permission-disabled] {
  pointer-events: none;
}
.team-onboarding-page .template-action-card[data-permission-disabled] i,
.team-onboarding-page .single-add-card[data-permission-disabled] b {
  color: #667085 !important;
  background: rgba(102,112,133,.12) !important;
  border-color: rgba(102,112,133,.16) !important;
}
.team-onboarding-page .template-action-card[data-permission-disabled] b,
.team-onboarding-page .template-action-card[data-permission-disabled] small,
.team-onboarding-page .template-action-card[data-permission-disabled] em,
.team-onboarding-page .single-add-card[data-permission-disabled] span {
  color: #667085 !important;
}
.team-onboarding-page .asset-row-actions .table-edit-button[data-permission-disabled],
.team-onboarding-page .asset-row-actions .table-assign-button[data-permission-disabled],
.team-onboarding-page .asset-row-actions .table-edit-button:disabled,
.team-onboarding-page .asset-row-actions .table-assign-button:disabled {
  color: #667085 !important;
  background: rgba(102,112,133,.1) !important;
  border-color: rgba(102,112,133,.16) !important;
  opacity: .72 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}




