.do-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.do-hero {
  padding: 54px 0 30px;
  border-bottom: 1px solid var(--line);
}

.do-hero .breadcrumb {
  margin-bottom: 22px;
}

.do-eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.do-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.2vw, 3.95rem);
  line-height: 1.04;
}

.do-lede {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.do-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.do-meta a,
.do-section :where(p, li, td) a,
.do-side-panel a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.do-meta a:hover,
.do-section :where(p, li, td) a:hover,
.do-side-panel a:hover,
.do-list-item:hover strong,
.do-tag-row a:hover {
  color: var(--accent-2);
}

.do-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  padding: 38px 0 70px;
}

.do-main {
  min-width: 0;
}

.do-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.do-section:first-child {
  padding-top: 0;
}

.do-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.58rem;
  line-height: 1.2;
}

.do-section p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
}

.do-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.do-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.do-table th,
.do-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.do-table th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.do-table td strong {
  color: var(--ink);
}

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

.do-pick {
  position: relative;
  margin: 18px 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.07), rgba(99, 102, 241, 0.06) 42%, rgba(2, 6, 23, 0.26)),
    rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.do-pick::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent 72%);
  opacity: 0.55;
}

.do-pick:hover {
  border-color: rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(99, 102, 241, 0.08) 42%, rgba(2, 6, 23, 0.2)),
    rgba(15, 23, 42, 0.68);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.do-pick h3 {
  margin: 0 0 16px;
  padding-left: 2px;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.3;
}

.do-pick-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.do-pick-metrics div {
  position: relative;
  min-width: 0;
  padding: 10px 12px 11px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.28);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.do-pick-metrics div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(125, 92, 255, 0.72));
  opacity: 0;
  transition: opacity 160ms ease;
}

.do-pick:hover .do-pick-metrics div,
.do-pick-metrics div:hover {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(15, 23, 42, 0.72);
}

.do-pick-metrics div:hover {
  transform: translateY(-1px);
}

.do-pick:hover .do-pick-metrics div::before,
.do-pick-metrics div:hover::before {
  opacity: 1;
}

.do-pick-metrics span,
.do-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.do-pick-metrics strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.do-field {
  position: relative;
  min-height: 0;
  padding: 15px 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.32);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.do-field::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: transparent;
  transition: background 160ms ease;
}

.do-field-primary {
  border-color: rgba(45, 212, 191, 0.22);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.09), rgba(31, 41, 55, 0.12)), rgba(2, 6, 23, 0.36);
}

.do-field:hover,
.do-field:focus-visible,
.do-fact:hover,
.do-fact:focus-visible {
  border-color: rgba(56, 189, 248, 0.48);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  outline: none;
}

.do-field:hover::before,
.do-field:focus-visible::before {
  background: var(--accent);
}

.do-field strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.do-field p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.do-fact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.do-fact {
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.24);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.do-fact p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
}

.do-fact p strong {
  color: var(--ink);
  font-size: 1rem;
}

.do-fact p small {
  color: var(--muted);
  font-size: 0.85rem;
}

.do-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid rgba(24, 200, 120, 0.34);
  border-radius: 999px;
  background: rgba(24, 200, 120, 0.1);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.do-badge.risk-high {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.11);
  color: #fca5a5;
}

.do-badge.risk-medium {
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.11);
  color: #fbbf24;
}

.do-badge.risk-low {
  border-color: rgba(24, 200, 120, 0.34);
  background: rgba(24, 200, 120, 0.1);
  color: var(--accent-2);
}

.do-sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
}

.do-side-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.do-side-panel + .do-side-panel {
  margin-top: 16px;
}

.do-side-panel h2,
.do-side-panel h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.do-side-panel p,
.do-side-panel li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.do-side-panel ul {
  margin: 0;
  padding-left: 18px;
}

.do-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.do-article-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 8px;
}

.do-article-card .meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.do-article-card h3 {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.3;
}

.do-article-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.do-article-card .tag-list {
  margin-top: 20px;
}

.do-list-item {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.do-list-item:hover {
  border-color: rgba(24, 200, 120, 0.48);
  transform: translateY(-1px);
}

.do-list-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.do-list-item span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.do-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.do-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.do-tag-row a,
.do-tag-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
}

.do-tag-row span {
  color: #94a3b8;
  cursor: default;
}

.do-disclaimer {
  padding: 18px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.09);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.do-methodology {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.do-methodology summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.do-methodology p {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .do-pick-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .do-grid,
  .do-field-grid,
  .do-fact-row,
  .do-archive-grid {
    grid-template-columns: 1fr;
  }

  .do-grid {
    gap: 20px;
    padding-top: 28px;
  }

  .do-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .do-pick-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .do-pick,
  .do-pick-metrics div,
  .do-field,
  .do-fact,
  .do-list-item {
    transition: none;
  }

  .do-pick:hover,
  .do-pick-metrics div:hover,
  .do-field:hover,
  .do-field:focus-visible,
  .do-fact:hover,
  .do-fact:focus-visible,
  .do-list-item:hover {
    transform: none;
  }
}
