:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --text: #152033;
  --muted: #637083;
  --line: #dfe5ef;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --accent: #2563eb;
  --warning: #b45309;
  --danger: #b91c1c;
  --success: #047857;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 34rem),
    linear-gradient(135deg, #eef7ff 0%, var(--bg) 46%, #f9fafb 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1fr);
  width: min(1040px, 100%);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.auth-hero {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  padding: 42px;
  background: linear-gradient(155deg, #0f172a 0%, #134e4a 58%, #0f766e 100%);
  color: #f8fafc;
}

.brand-mark {
  display: inline-flex;
  width: 86px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.auth-brand-block {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.auth-copy h1 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.auth-copy p {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(248, 250, 252, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.auth-feature-list {
  display: grid;
  gap: 10px;
}

.auth-feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-feature-list span {
  color: rgba(204, 251, 241, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.auth-feature-list strong {
  font-size: 14px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 58px);
  background: #fff;
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form h2,
.page-title h1,
.section h2 {
  margin: 10px 0 8px;
  letter-spacing: -0.04em;
}

.auth-form h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.muted {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.input,
.select {
  min-height: 46px;
  padding: 0 14px;
}

.input[type="file"] {
  padding: 6px 12px 6px 6px;
  color: var(--muted);
}

.input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.input[type="file"]::file-selector-button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.input[type="file"]::-webkit-file-upload-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.textarea {
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button:disabled:hover {
  background: inherit;
  transform: none;
}

.button.danger:disabled:hover {
  background: var(--danger);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.button.ghost {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--brand);
}

.button.danger {
  background: var(--danger);
}

.alert {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.alert.error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: var(--danger);
}

.alert.info {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.upload-progress {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.upload-progress progress {
  width: 100%;
  height: 10px;
}

.app-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 22px;
}

.sidebar-brand .logo {
  display: block;
  width: 74px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 14px;
  color: #334155;
  font-weight: 700;
}

.nav a.active,
.nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: currentColor;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sidebar-footer {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.user-card-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #0f766e;
  color: #fff;
  font-weight: 900;
}

.user-meta {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.user-meta strong,
.user-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-meta span {
  color: var(--muted);
  font-size: 12px;
}

.user-meta em {
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.page-title h1 {
  margin-top: 4px;
  font-size: clamp(26px, 4vw, 42px);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.card,
.section {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.card {
  padding: 20px;
}

.section {
  padding: 22px;
}

.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.project-section {
  margin-top: 14px;
}

.project-list-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(20, 184, 166, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.82));
}

.project-list-hero h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.06em;
}

.project-list-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-list-hero .input {
  min-width: min(360px, 100%);
}

.project-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-delivery-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.09);
}

.project-delivery-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(34, 197, 94, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 40% 24%, rgba(45, 212, 191, 0.35), transparent 7rem),
    linear-gradient(155deg, #052e2b, #0f172a 62%);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.project-delivery-map span,
.project-delivery-map i,
.project-delivery-map b {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.project-delivery-map span {
  top: 28%;
  left: 18%;
  width: 120%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #facc15, #22d3ee, transparent);
  transform: rotate(-28deg);
}

.project-delivery-map i {
  right: 24px;
  bottom: 42px;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 36px rgba(45, 212, 191, 0.24);
}

.project-delivery-map b {
  top: 48px;
  left: 34px;
  width: 12px;
  height: 12px;
  background: #facc15;
  box-shadow: 0 0 24px #facc15;
}

.project-delivery-body {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px;
}

.project-delivery-head,
.delivery-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-delivery-head span,
.project-delivery-head em,
.delivery-item-head em,
.delivery-static-note {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.project-delivery-head em {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.project-delivery-card h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.project-delivery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.delivery-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.delivery-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #22d3ee, #facc15);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
}

.project-delivery-metrics,
.delivery-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-delivery-metrics div,
.delivery-metric-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.86);
}

.project-delivery-metrics strong,
.delivery-metric-grid strong {
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-delivery-metrics span,
.delivery-metric-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-delivery-actions,
.delivery-hero-actions,
.delivery-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(45, 212, 191, 0.26), transparent 17rem),
    radial-gradient(circle at 18% 88%, rgba(245, 158, 11, 0.16), transparent 15rem),
    linear-gradient(135deg, #052e2b, #0f172a 66%, #111827);
  color: #ecfeff;
}

.delivery-hero h2 {
  max-width: 840px;
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.delivery-hero p {
  max-width: 760px;
  color: rgba(236, 254, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.delivery-hero .eyebrow {
  color: #99f6e4;
}

.delivery-hero-panel {
  display: grid;
  gap: 14px;
}

.delivery-completion,
.delivery-manager,
.delivery-latest {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.delivery-completion span,
.delivery-manager span,
.delivery-latest span {
  color: rgba(204, 251, 241, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.delivery-completion strong {
  color: #fef08a;
  font-size: 54px;
  line-height: 1;
}

.delivery-manager,
.delivery-latest {
  color: rgba(236, 254, 255, 0.88);
}

.delivery-hero .delivery-metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-hero .delivery-metric-grid div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.delivery-hero .delivery-metric-grid strong {
  color: #a7f3d0;
}

.delivery-hero .delivery-metric-grid span {
  color: rgba(236, 254, 255, 0.7);
}

.delivery-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.delivery-meta-strip div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.delivery-meta-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.delivery-meta-strip strong {
  overflow-wrap: anywhere;
}

.delivery-checklist-section,
.delivery-files-hero {
  margin-top: 18px;
}

.delivery-checklist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(260px, 0.9fr));
  gap: 16px;
}

.delivery-checklist-block {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.delivery-checklist-block h3 {
  margin: 0;
  font-size: 16px;
}

.delivery-file-grid,
.delivery-item-grid {
  display: grid;
  gap: 10px;
}

.delivery-file-card,
.delivery-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
}

.delivery-file-card span,
.delivery-item-head span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.delivery-file-card strong,
.delivery-item strong {
  overflow-wrap: anywhere;
}

.delivery-file-card p,
.delivery-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.delivery-item.pending {
  border-style: dashed;
  background: rgba(248, 250, 252, 0.82);
}

.delivery-item.pending .delivery-item-head em {
  background: rgba(180, 83, 9, 0.1);
  color: #b45309;
}

.delivery-files-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 22px;
  align-items: end;
}

.delivery-files-hero h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
}

.delivery-files-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.78));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.stat-card span,
.stat-card em {
  color: var(--muted);
  font-style: normal;
}

.stat-card strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  color: var(--text);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.split-grid h3 {
  margin: 0 0 10px;
}

.audit-filter-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.audit-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.website-filter-section {
  margin-top: 18px;
}

.website-date-filter {
  display: flex;
  align-items: center;
}

.website-tab-label {
  display: grid;
  gap: 2px;
  min-width: 160px;
}

.website-tab-label strong {
  font-size: 16px;
  line-height: 1.2;
}

.website-tab-label small {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  line-height: 1.35;
}

.traffic-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.traffic-dashboard {
  display: grid;
  gap: 16px;
}

.traffic-hero-grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
}

.single-column-chart-grid {
  grid-template-columns: 1fr;
}

.traffic-chart-card {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.72));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.traffic-donut-card,
.traffic-rank-card {
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(20, 184, 166, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.86));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.traffic-card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.traffic-card-title span {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.traffic-card-title strong {
  color: var(--muted);
  font-size: 13px;
}

.traffic-donut-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  align-items: center;
}

.traffic-donut-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(620px, 100%);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  cursor: crosshair;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 28px 54px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.traffic-donut-ring:hover,
.traffic-donut-ring.chart-hovered {
  transform: translateY(-2px) scale(1.015);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 34px 70px rgba(15, 23, 42, 0.16);
}

.traffic-donut-ring::after {
  content: "";
  position: absolute;
  inset: clamp(92px, 14vw, 118px);
  border-radius: inherit;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.traffic-donut-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.traffic-donut-segment {
  fill: var(--segment-color);
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 0.7;
  cursor: pointer;
  outline: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.traffic-donut-segment:hover,
.traffic-donut-segment:focus,
.traffic-donut-segment.chart-hovered {
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.22));
  opacity: 0.92;
  transform: scale(1.025);
}

.traffic-donut-empty {
  fill: rgba(15, 23, 42, 0.1);
}

.traffic-donut-center {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 2px;
}

.traffic-donut-center span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.traffic-donut-center strong {
  color: var(--text);
  font-size: clamp(72px, 9vw, 112px);
  line-height: 1;
}

.traffic-donut-legend {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.traffic-donut-legend li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  transition: background 0.18s ease, padding 0.18s ease, transform 0.18s ease;
}

.traffic-donut-legend li:hover,
.traffic-donut-legend li:focus,
.traffic-donut-legend li.chart-hovered {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(15, 118, 110, 0.08);
  transform: translateX(2px);
}

.traffic-donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}

.traffic-donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.traffic-donut-legend strong {
  color: var(--text);
}

.traffic-donut-legend em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.traffic-chart-card h3 {
  margin: 0 0 12px;
}

.traffic-login-trend h3 {
  font-weight: 950;
}

.traffic-login-trend {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.traffic-login-trend .traffic-line-chart {
  height: 100%;
  min-height: 360px;
}

.traffic-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.traffic-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.traffic-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.traffic-line-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-axis-capture {
  fill: transparent;
  pointer-events: all;
}

.chart-axis-pointer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.chart-axis-pointer.visible {
  opacity: 1;
}

.chart-axis-pointer line {
  stroke: rgba(15, 23, 42, 0.42);
  stroke-dasharray: 5 5;
  stroke-width: 1.4;
}

.chart-axis-dots circle {
  fill: #fff;
  stroke: var(--series-color);
  stroke-width: 2.5;
  filter: drop-shadow(0 3px 8px rgba(15, 23, 42, 0.18));
}

.traffic-grid line {
  stroke: rgba(15, 23, 42, 0.1);
}

.traffic-grid text,
.traffic-x-labels text {
  fill: var(--muted);
  font-size: 12px;
}

.traffic-line path {
  fill: none;
  stroke: var(--line-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition: opacity 0.18s ease, stroke-width 0.18s ease, filter 0.18s ease;
}

.traffic-line .chart-point {
  fill: #fff;
  stroke: var(--line-color);
  stroke-width: 2;
}

.chart-hit {
  fill: transparent;
  stroke: transparent;
  pointer-events: all;
}

.chart-hotspot {
  cursor: crosshair;
  outline: none;
}

.chart-point,
.data-command-series .chart-point {
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.18s ease, stroke-width 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.chart-hotspot:hover .chart-point,
.chart-hotspot:focus .chart-point,
.chart-hotspot.chart-hovered .chart-point {
  fill: var(--line-color, var(--series-color));
  stroke-width: 4;
  transform: scale(1.85);
  filter: drop-shadow(0 0 10px currentColor);
}

.chart-tooltip {
  position: fixed;
  z-index: 5000;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.9);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
}

.chart-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.traffic-rank-grid,
.data-mini-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.data-mini-chart-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-trend-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.traffic-section-kicker {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mini-trend-card {
  min-width: 0;
}

.mini-trend-card .traffic-chart-legend {
  margin-bottom: 4px;
}

.data-command-panel {
  display: grid;
  gap: 18px;
}

.data-command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.95fr);
  gap: 22px;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.26), transparent 18rem),
    radial-gradient(circle at 14% 84%, rgba(245, 158, 11, 0.18), transparent 16rem),
    linear-gradient(135deg, #07111f, #0f172a 64%, #082f2a);
  color: #e0f2fe;
}

.data-command-hero .eyebrow {
  color: #67e8f9;
}

.data-command-hero h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.data-command-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(224, 242, 254, 0.74);
  font-size: 16px;
  line-height: 1.75;
}

.data-command-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.data-command-kpis article {
  display: grid;
  align-content: space-between;
  min-height: 188px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.data-command-kpis span,
.data-command-kpis p {
  margin: 0;
  color: rgba(224, 242, 254, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.data-command-kpis strong {
  color: #fef08a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.data-command-kpis em {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
  font-style: normal;
  font-weight: 900;
}

.data-command-chart,
.data-runway-card,
.mini-trend-card.dark {
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(14, 165, 233, 0.18), transparent 18rem),
    linear-gradient(135deg, #07111f, #0f172a 72%, #111827);
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: #e0f2fe;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

.data-command-chart .traffic-card-title span,
.data-runway-card .traffic-card-title span,
.mini-trend-card.dark h3 {
  color: #f8fafc;
}

.data-command-chart .traffic-card-title strong,
.data-runway-card .traffic-card-title strong,
.data-command-chart .traffic-chart-legend,
.mini-trend-card.dark .traffic-chart-legend {
  color: rgba(224, 242, 254, 0.7);
}

.data-command-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.data-command-grid line {
  stroke: rgba(226, 232, 240, 0.12);
}

.data-command-labels text {
  fill: rgba(224, 242, 254, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.data-command-area {
  fill: var(--series-fill);
  stroke: none;
}

.data-command-line {
  fill: none;
  stroke: var(--series-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  filter: drop-shadow(0 0 10px var(--series-color));
}

.data-command-series circle {
  fill: #020617;
  stroke: var(--series-color);
  stroke-width: 3;
}

.data-command-secondary {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.data-command-secondary .data-mini-chart-grid {
  grid-template-columns: 1fr;
}

.mini-trend-card.dark .traffic-grid line {
  stroke: rgba(226, 232, 240, 0.12);
}

.mini-trend-card.dark .traffic-grid text,
.mini-trend-card.dark .traffic-x-labels text {
  fill: rgba(224, 242, 254, 0.66);
}

.mini-trend-card.dark .traffic-line circle {
  fill: #020617;
}

.data-runway-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 300px;
  padding-top: 24px;
}

.data-runway-bar {
  display: grid;
  flex: 1;
  min-width: 0;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  outline: none;
  transition: transform 0.18s ease;
}

.data-runway-bar:hover,
.data-runway-bar:focus,
.data-runway-bar.chart-hovered {
  transform: translateY(-4px);
}

.data-runway-bar span {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 34px;
  align-items: end;
  overflow: hidden;
  border-radius: 999px 999px 8px 8px;
  background: rgba(226, 232, 240, 0.08);
}

.data-runway-bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, #facc15, #fb923c 48%, #14b8a6);
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.34);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.data-runway-bar:hover i,
.data-runway-bar:focus i,
.data-runway-bar.chart-hovered i {
  filter: saturate(1.35) drop-shadow(0 0 14px rgba(250, 204, 21, 0.42));
  transform: scaleX(1.16);
}

.data-runway-bar small,
.data-runway-bar em {
  color: rgba(224, 242, 254, 0.62);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.data-runway-bar em {
  writing-mode: vertical-rl;
}

.traffic-rank-list {
  display: grid;
  gap: 12px;
}

.traffic-rank-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 14px;
  cursor: pointer;
  outline: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.traffic-rank-row:hover,
.traffic-rank-row:focus,
.traffic-rank-row.chart-hovered {
  background: rgba(15, 118, 110, 0.07);
  transform: translateX(3px);
}

.traffic-rank-row b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 12px;
}

.traffic-rank-row span {
  overflow: hidden;
  color: var(--text);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic-rank-row strong {
  color: var(--muted);
  font-size: 13px;
}

.traffic-rank-bar {
  grid-column: 2 / 4;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

.traffic-rank-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #38bdf8);
  transform-origin: left center;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.traffic-rank-row:hover .traffic-rank-bar i,
.traffic-rank-row:focus .traffic-rank-bar i,
.traffic-rank-row.chart-hovered .traffic-rank-bar i {
  filter: saturate(1.25) drop-shadow(0 0 8px rgba(56, 189, 248, 0.42));
  transform: scaleY(1.5);
}

.traffic-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 162px;
}

.traffic-bar-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  flex: 1;
}

.traffic-bar-stack {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  max-width: 28px;
  overflow: hidden;
  border-radius: 999px 999px 6px 6px;
  background: rgba(15, 23, 42, 0.06);
}

.traffic-bar-stack span {
  background: #7c3aed;
}

.traffic-bar-stack em {
  background: #06b6d4;
  font-style: normal;
}

.traffic-bar-item small {
  color: var(--muted);
  font-size: 11px;
}

.project-form {
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: 0;
}

.project-form .wide {
  min-width: 0;
}

.project-form .input {
  height: 46px;
  min-height: 46px;
}

.project-form .textarea {
  height: 92px;
  min-height: 92px;
}

.project-form .textarea {
  overflow-y: auto;
  resize: none;
}

.project-user-groups,
.project-user-picker {
  display: grid;
  gap: 16px;
}

.project-user-group,
.project-user-picker-section {
  display: grid;
  gap: 10px;
}

.project-user-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-user-group-heading h3 {
  margin: 0;
  font-size: 15px;
}

.project-user-table,
.aligned-project-table {
  table-layout: fixed;
}

.aligned-project-table {
  min-width: 860px;
}

.aligned-project-table .project-primary-col,
.aligned-project-table .project-action-col {
  width: 28%;
}

.aligned-project-table .project-meta-col {
  width: 18%;
}

.aligned-project-table .project-date-col {
  width: 26%;
}

.project-user-search {
  margin-bottom: 14px;
}

.user-name-list {
  display: grid;
  gap: 4px;
}

.compact-empty {
  padding: 18px;
  border-radius: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p,
.section p {
  line-height: 1.7;
}

.stat {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.badge.green {
  background: #dcfce7;
  color: var(--success);
}

.badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge.orange {
  background: #ffedd5;
  color: var(--warning);
}

.badge.danger-soft {
  background: #fee2e2;
  color: var(--danger);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.square-table-wrap {
  border-radius: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.equal-width-table {
  table-layout: fixed;
}

.equal-width-table col {
  width: auto !important;
}

.equal-width-table th,
.equal-width-table td {
  width: auto !important;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap thead th {
  text-align: left;
  vertical-align: middle;
}

.table-wrap thead th:last-child,
.table-wrap tbody td:last-child {
  text-align: center;
}

.table-wrap tbody td:last-child .toolbar {
  justify-content: center;
}

.inline-progress {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.inline-progress progress {
  width: 100%;
  height: 8px;
}

.upload-row.failed .inline-progress {
  color: var(--danger);
}

.readonly-field {
  display: grid;
  gap: 7px;
}

.readonly-field span {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.readonly-field strong {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
}

th {
  color: #475569;
  background: #f8fafc;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-table th,
.compact-table td {
  padding: 8px 10px;
  vertical-align: middle;
}

.compact-table .toolbar {
  gap: 6px;
}

.compact-table .button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
}

.activity-table code {
  display: block;
  max-width: 320px;
  overflow-wrap: anywhere;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  white-space: normal;
}

.detail-list-table {
  min-width: 0;
}

.detail-list-table th {
  width: 190px;
  color: #334155;
  background: #f8fafc;
  letter-spacing: 0;
  text-transform: none;
}

.detail-list-table.equal-width-table th {
  width: auto;
}

.project-overview-table {
  table-layout: fixed;
}

.project-overview-table th {
  width: 33.333%;
  font-size: 16px;
}

.project-overview-table td {
  width: 66.667%;
  font-size: 16px;
}

.detail-list-table td:last-child {
  text-align: left;
}

tr:last-child td {
  border-bottom: 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.pager-buttons {
  display: flex;
  gap: 8px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  padding: 10px 13px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 800;
}

.tab.active {
  background: var(--brand);
  color: #fff;
}

.file-cell {
  display: flex;
  align-items: center;
}

.viewer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.cesium-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.cesium-map-wrap {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 26px;
  background: #101827;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.14);
}

.cesium-container {
  position: absolute;
  inset: 0;
}

.cesium-loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: rgba(248, 250, 252, 0.9);
  color: #0f172a;
}

.cesium-loading h2 {
  margin: 0;
}

.cesium-view-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cesium-view-btn {
  padding: 9px 15px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb 0%, #0f766e 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.cesium-view-btn:hover {
  transform: translateY(-1px);
}

.coordinate-display-panel,
.scene-status-panel {
  position: absolute;
  z-index: 15;
  min-width: 250px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.78);
  color: #e0f2fe;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.coordinate-display-panel {
  right: 14px;
  bottom: 14px;
  font-size: 13px;
  line-height: 1.65;
}

.coordinate-display-panel h3,
.scene-status-panel h3 {
  margin: 0 0 8px;
  color: #67e8f9;
  font-size: 15px;
}

.scene-status-panel {
  left: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
}

.scene-status-header {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-status-panel span {
  color: rgba(224, 242, 254, 0.75);
  font-size: 12px;
}

.layer-control-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 18;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  color: #e0f2fe;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.layer-control-panel {
  position: absolute;
  top: 74px;
  right: 14px;
  z-index: 17;
  display: none;
  width: min(360px, calc(100% - 28px));
  max-height: calc(100% - 100px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5f3ff;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.layer-control-panel.visible {
  display: block;
}

.layer-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.layer-panel-header h3 {
  margin: 0;
  font-size: 16px;
}

.layer-panel-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.layer-panel-content {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.layer-group {
  display: grid;
  gap: 10px;
}

.layer-group h4 {
  margin: 0;
  color: #67e8f9;
}

.layer-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.layer-option em {
  color: rgba(224, 242, 254, 0.66);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.cesium-widget-credits {
  display: none !important;
}

.globe-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 45%, rgba(45, 212, 191, 0.2), transparent 14rem),
    linear-gradient(150deg, #08111f, #102a43 52%, #0f172a);
}

.globe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(68vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.74), transparent 0.7rem),
    radial-gradient(circle at 46% 45%, rgba(34, 197, 94, 0.54), transparent 4.5rem),
    radial-gradient(circle at 59% 58%, rgba(14, 165, 233, 0.46), transparent 6rem),
    repeating-linear-gradient(0deg, rgba(94, 234, 212, 0.24), rgba(94, 234, 212, 0.24) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(94, 234, 212, 0.18), rgba(94, 234, 212, 0.18) 1px, transparent 1px, transparent 34px),
    #0f766e;
  box-shadow: inset -36px -40px 80px rgba(2, 6, 23, 0.42), 0 0 90px rgba(45, 212, 191, 0.18);
  transform: translate(-50%, -50%);
}

.track-line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fbbf24, #ef4444, transparent);
  opacity: 0.9;
}

.track-line.one {
  top: 34%;
  left: 16%;
  width: 68%;
  transform: rotate(-12deg);
}

.track-line.two {
  top: 56%;
  left: 18%;
  width: 64%;
  transform: rotate(10deg);
}

.viewer-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  color: #e0f2fe;
}

.layer-list {
  display: grid;
  gap: 12px;
}

.layer-item {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.layer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.empty {
  padding: 40px;
  border: 1px dashed #cbd5e1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.preview-frame {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.modal-backdrop {
  position: fixed;
  top: var(--gdp-vv-top, 0);
  right: auto;
  bottom: auto;
  left: var(--gdp-vv-left, 0);
  z-index: 3000;
  display: grid;
  width: var(--gdp-vv-width, 100vw);
  height: var(--gdp-vv-height, 100vh);
  box-sizing: border-box;
  place-items: center;
  padding: clamp(4px, calc(var(--gdp-vv-height, 100vh) * 0.03), 22px);
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
}

.modal-card {
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: min(820px, calc(var(--gdp-vv-height, 100vh) - clamp(8px, calc(var(--gdp-vv-height, 100vh) * 0.06), 44px)));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(15, 23, 42, 0.26);
}

.modal-header,
.modal-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(8px, calc(var(--gdp-vv-height, 100vh) * 0.018), 18px) 20px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.modal-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 22px;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 20px;
}

.modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-grid > div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.detail-grid strong {
  overflow-wrap: anywhere;
}

.check-list {
  display: grid;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.check-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.check-row.disabled {
  color: var(--muted);
  background: #f8fafc;
}

.mobile-menu {
  display: none;
}

.scene-file-name {
  margin: 0 0 10px;
  font-weight: 800;
}

.result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 197, 94, 0.24), transparent 15rem),
    linear-gradient(135deg, #082f2a 0%, #0f172a 58%, #111827 100%);
  color: #ecfeff;
}

.result-hero h2 {
  max-width: 760px;
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.result-hero p {
  max-width: 720px;
  color: rgba(236, 254, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.result-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.result-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-hero-metrics div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.result-hero-metrics strong {
  color: #a7f3d0;
  font-size: 24px;
}

.result-hero-metrics span {
  color: rgba(236, 254, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.result-section {
  margin-top: 18px;
}

.result-map-grid,
.result-3d-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.result-3d-layout.single {
  grid-template-columns: 1fr;
}

.result-map-panel,
.result-model-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0f172a;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.12);
}

.result-map-viewer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #07111f;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.12);
}

.result-map-toolbar {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 150px;
  left: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.result-basemap-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

.result-basemap-toggle button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #334155;
  font-weight: 800;
}

.result-basemap-toggle button.active {
  background: var(--brand);
  color: #fff;
}

.result-map-toolbar > * {
  pointer-events: auto;
}

.result-map-toolbar span,
.result-map-tip {
  padding: 8px 11px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.76);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.result-map-toolbar span:empty {
  display: none;
}

.result-three-toolbar {
  left: 32px;
}

.result-map-toolbar .button {
  min-height: 0;
  padding: 8px 11px;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

.result-map-toolbar .button.active {
  border-color: rgba(45, 212, 191, 0.72);
  background: rgba(13, 148, 136, 0.82);
  color: #ecfeff;
}

.result-map-toolbar .button:disabled,
.result-map-toolbar .button:disabled:hover {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.46);
  color: rgba(226, 232, 240, 0.58);
  opacity: 0.58;
  transform: none;
}

.result-map-canvas {
  display: block;
  width: 100%;
  height: min(102vh, 1020px);
  min-height: 690px;
  cursor: grab;
  touch-action: none;
}

.result-map-canvas:active {
  cursor: grabbing;
}

.result-map-tip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 14px;
}

.result-map-svg {
  display: block;
  width: 100%;
  min-height: 520px;
}

.result-target-cards {
  display: grid;
  gap: 12px;
}

.result-target-cards article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.result-target-cards h3,
.result-figure-card h3,
.result-model-card h3 {
  margin: 8px 0 6px;
  letter-spacing: -0.03em;
}

.result-target-cards p,
.result-figure-card p,
.result-model-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.result-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.result-figure-grid.compact {
  grid-template-columns: 1fr;
}

.result-figure-grid.wide {
  grid-template-columns: 1fr;
}

.result-figure-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.result-figure-card img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #f8fafc;
}

.result-figure-grid.wide .result-figure-card img {
  max-height: none;
}

.result-figure-card div {
  padding: 14px;
}

.result-figure-card .badge {
  margin-top: 12px;
}

.result-model-card {
  position: relative;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 26%, rgba(236, 72, 153, 0.24), transparent 12rem),
    linear-gradient(150deg, #020617 0%, #0f172a 64%, #022c22 100%);
  color: #e0f2fe;
}

.result-model-card p {
  color: rgba(224, 242, 254, 0.76);
}

.result-model-canvas {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #020617;
  cursor: grab;
  touch-action: none;
}

.result-model-canvas:active {
  cursor: grabbing;
}

.result-target-cards code {
  color: #0f766e;
  font-weight: 800;
}

.result-voxel-scene {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.18), transparent 12rem);
  background-size: 34px 34px, 34px 34px, auto;
  perspective: 900px;
}

.result-voxel-scene::before {
  position: absolute;
  right: 38px;
  bottom: 42px;
  left: 38px;
  height: 150px;
  border: 2px solid rgba(125, 211, 252, 0.35);
  border-radius: 50%;
  content: "";
  transform: rotateX(68deg) rotateZ(-18deg);
}

.result-voxel-scene .core {
  position: absolute;
  display: block;
  border-radius: 44% 56% 62% 38%;
  filter: blur(0.2px);
  box-shadow: 0 0 38px currentColor;
  transform: rotateX(58deg) rotateZ(-18deg);
}

.result-voxel-scene .p1 {
  top: 54px;
  left: 92px;
  width: 170px;
  height: 92px;
  background: rgba(236, 72, 153, 0.72);
  color: rgba(236, 72, 153, 0.52);
}

.result-voxel-scene .p2 {
  top: 144px;
  left: 154px;
  width: 260px;
  height: 82px;
  background: rgba(37, 99, 235, 0.64);
  color: rgba(37, 99, 235, 0.48);
}

.result-voxel-scene .p3 {
  right: 82px;
  bottom: 58px;
  width: 180px;
  height: 84px;
  background: rgba(245, 158, 11, 0.68);
  color: rgba(245, 158, 11, 0.48);
}

.result-voxel-scene em {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 3px;
  height: 240px;
  background: linear-gradient(#f8fafc, #38bdf8, #1d4ed8);
}

.result-voxel-scene em::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 80px;
  color: rgba(224, 242, 254, 0.74);
  content: "0m / -150m / -500m";
  font-size: 12px;
  line-height: 1.4;
}

.result-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.result-source-list span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .auth-card,
  .app-shell,
  .project-list-hero,
  .project-delivery-grid,
  .project-delivery-card,
  .delivery-hero,
  .delivery-meta-strip,
  .delivery-checklist-grid,
  .delivery-files-hero,
  .data-command-hero,
  .data-command-secondary,
  .grid.cards,
  .grid.two,
  .audit-filter-form,
  .website-date-filter,
  .cesium-stage,
  .viewer-shell,
  .result-hero,
  .result-map-grid,
  .result-3d-layout,
  .traffic-hero-grid,
  .traffic-rank-grid,
  .data-mini-chart-grid,
  .data-trend-stack,
  .traffic-chart-grid,
  .stat-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .project-delivery-map {
    min-height: 150px;
  }

  .delivery-metric-grid,
  .project-delivery-metrics,
  .data-command-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-hero {
    min-height: auto;
  }

  .sidebar {
    position: sticky;
    height: auto;
    top: 0;
    z-index: 1000;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-brand {
    padding: 0 4px 10px;
  }

  .sidebar-brand .logo {
    width: 58px;
  }

  .nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 12px;
    white-space: nowrap;
  }

  .sidebar-footer {
    display: none;
  }

  .main {
    padding: 20px;
  }

  .project-toolbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading .toolbar,
  .project-toolbar .toolbar {
    width: 100%;
  }

  .result-map-toolbar,
  .result-three-toolbar {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 4;
    padding: 12px;
    background: rgba(2, 6, 23, 0.88);
    pointer-events: auto;
  }

  .result-basemap-toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 4;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
  }

  .result-basemap-toggle button {
    flex: 1;
  }

  .result-map-canvas {
    height: 68vh;
    min-height: 480px;
  }

  .cesium-map-wrap {
    min-height: 540px;
  }

}

@media (max-width: 640px) {
  .auth-shell,
  .main {
    padding: 16px;
  }

  .auth-hero,
  .auth-form,
  .section,
  .card {
    padding: 20px;
  }

  .auth-card {
    border-radius: 20px;
  }

  .auth-hero {
    gap: 18px;
  }

  .brand-mark {
    width: 68px;
  }

  .auth-copy h1 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .main {
    padding: 14px;
  }

  .page-title h1 {
    font-size: clamp(24px, 9vw, 34px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar,
  .project-delivery-actions,
  .delivery-hero-actions,
  .delivery-item-actions {
    width: 100%;
  }

  .toolbar .button,
  .project-delivery-actions .button,
  .delivery-hero-actions .button,
  .delivery-item-actions .button {
    flex: 1 1 140px;
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  }

  th,
  td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left !important;
  }

  tbody td:last-child,
  tbody th:last-child {
    border-bottom: 0;
  }

  .table-wrap tbody td:last-child .toolbar {
    justify-content: flex-start;
  }

  .detail-list-table tr {
    box-shadow: none;
  }

  .detail-list-table th {
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
    font-size: 12px;
  }

  .detail-list-table td,
  .detail-list-table th,
  .project-overview-table th,
  .project-overview-table td {
    width: 100%;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: end;
    padding: 8px;
  }

  .modal-card {
    width: 100%;
    max-height: calc(var(--gdp-vv-height, 100dvh) - 16px);
    border-radius: 22px 22px 0 0;
  }

  .modal-header,
  .modal-footer {
    padding: 14px 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
  }

  .traffic-donut-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .traffic-donut-ring {
    width: min(340px, 100%);
  }

  .traffic-donut-ring::after {
    inset: clamp(58px, 18vw, 78px);
  }

  .traffic-donut-center strong {
    font-size: clamp(48px, 16vw, 76px);
  }

  .delivery-metric-grid,
  .project-delivery-metrics,
  .data-command-kpis {
    grid-template-columns: 1fr;
  }

  .data-runway-bars {
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .data-runway-bar {
    min-width: 42px;
  }

  .traffic-donut-legend {
    width: 100%;
  }

  .result-hero-metrics,
  .result-figure-grid {
    grid-template-columns: 1fr;
  }

  .result-map-svg {
    min-height: 360px;
  }

  .result-map-toolbar {
    max-height: 180px;
    overflow-y: auto;
  }

  .result-map-toolbar .button {
    padding: 8px 10px;
    font-size: 12px;
  }

  .result-map-canvas {
    height: 56vh;
    min-height: 390px;
  }

  .result-map-tip {
    position: static;
    margin: 12px;
  }

  .result-model-canvas {
    min-height: 360px;
  }

  .cesium-map-wrap {
    min-height: 420px;
    border-radius: 20px;
  }

  .coordinate-display-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-width: 0;
  }

  .viewer-caption {
    position: static;
    margin: 16px;
  }
}
