/* Domain Overview secondary tabs (views/domain-more-tabs.js, 2026-11-23): Site structure, Outgoing links, Growth report
   and Google & Bing, in the redesigned look — compact stat strips with ink numbers that never wrap, green bars, small
   honesty chips, info tips instead of footnotes, and one muted line where a value is missing. */
#app.rf-shell .do-page{--dmt-ink:#1f2933;--dmt-muted:rgba(0,0,0,.55);--dmt-faint:rgba(0,0,0,.42);--dmt-accent:var(--ah-orange,#0f6b4e);--dmt-soft:var(--ah-orange-soft,#e8f5ee);--dmt-line:var(--ah-line,#dcdfe3);--dmt-line-2:var(--ah-line-2,#e9ebee)}
#app.rf-shell .do-page .dmt-tab{display:grid;gap:14px;min-width:0}
#app.rf-shell .do-page .dmt-tab>.do-card,#app.rf-shell .do-page .dmt-grid>.do-card{margin:0}
#app.rf-shell .do-page .dmt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
#app.rf-shell .do-page .dmt-card{border-radius:12px;min-width:0;transition:box-shadow .15s,transform .15s}
#app.rf-shell .do-page .dmt-card:hover{box-shadow:0 4px 14px rgba(16,24,40,.06)}
#app.rf-shell .do-page .dmt-card .rf-card-head h2{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--dmt-ink);font-size:14.5px;font-weight:650}
#app.rf-shell .do-page .dmt-card .rf-card-head p{color:var(--dmt-muted);font-size:12.5px}

/* Stat strip: equal cells, the number on one line. */
#app.rf-shell .do-page .dmt-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}
#app.rf-shell .do-page .dmt-card .dmt-stats{margin:0}
#app.rf-shell .do-page .dmt-card .dmt-stats+.dmt-chart{margin-top:14px}
/* The standard card body padding (matches the card head's 20px sides) for everything that is not an edge-to-edge table. */
#app.rf-shell .do-page .dmt-pad{padding:2px 20px 18px;min-width:0}
#app.rf-shell .do-page .dmt-pad+.rf-table-wrap{border-top:1px solid var(--dmt-line-2)}
#app.rf-shell .do-page .dmt-oneline{display:flex;align-items:center;gap:8px;margin:0;color:var(--dmt-ink);font-size:13.5px}
#app.rf-shell .do-page .dmt-stat{position:relative;display:grid;grid-template-rows:20px auto 18px;align-content:start;gap:4px;min-width:0;padding:12px 14px;border:1px solid var(--dmt-line);border-radius:10px;background:#fff;transition:transform .15s,box-shadow .15s}
#app.rf-shell .do-page .dmt-stat:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(16,24,40,.06)}
#app.rf-shell .do-page .dmt-stat-label{display:flex;align-items:center;gap:4px;height:20px;min-width:0;color:var(--dmt-muted);font-size:12px;font-weight:500;line-height:20px}
#app.rf-shell .do-page .dmt-stat-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app.rf-shell .do-page .dmt-stat-label .dmt-tip-btn{width:16px;height:16px}
#app.rf-shell .do-page .dmt-stat-sub.is-empty{color:var(--dmt-faint)}
#app.rf-shell .do-page .dmt-stat-value{overflow:hidden;color:var(--dmt-ink);font-size:22px;font-weight:650;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}
#app.rf-shell .do-page .dmt-stat-sub{overflow:hidden;color:var(--dmt-muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}
#app.rf-shell .do-page .dmt-delta{display:inline-flex;align-items:center;padding:0 6px;border-radius:999px;font-size:11.5px;font-weight:600;line-height:18px;white-space:nowrap}
#app.rf-shell .do-page .dmt-delta.is-up{background:#e7f6ee;color:#0b7a43}
#app.rf-shell .do-page .dmt-delta.is-down{background:#fdecea;color:#b42318}
#app.rf-shell .do-page .dmt-delta.is-flat{background:#f1f3f5;color:var(--dmt-muted)}

/* Honesty chips, muted lines and tips. */
#app.rf-shell .do-page .dmt-chip{display:inline-flex;padding:0 7px;border-radius:999px;background:#f1f3f5;color:var(--dmt-muted);font-size:10.5px;font-weight:600;line-height:18px;white-space:nowrap}
#app.rf-shell .do-page .dmt-chip-measured,#app.rf-shell .do-page .dmt-chip-data{background:var(--dmt-soft);color:var(--dmt-accent)}
#app.rf-shell .do-page .dmt-chip-estimated{background:#fdf5e6;color:#8a5a00}
#app.rf-shell .do-page .dmt-muted{display:flex;align-items:flex-start;gap:7px;margin:0;padding:8px 2px;color:var(--dmt-muted);font-size:12.5px;line-height:1.45}
#app.rf-shell .do-page .dmt-muted .ic{flex:0 0 auto;width:14px;height:14px;margin-top:2px;color:var(--dmt-faint)}
#app.rf-shell .do-page .dmt-tip{position:relative;display:inline-flex;vertical-align:middle}
#app.rf-shell .do-page .dmt-tip-btn{display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:none;color:var(--dmt-faint);cursor:help}
#app.rf-shell .do-page .dmt-tip-btn .ic{width:13px;height:13px}
#app.rf-shell .do-page .dmt-tip-btn:hover,#app.rf-shell .do-page .dmt-tip-btn:focus-visible{background:var(--dmt-soft);color:var(--dmt-accent);outline:0}
#app.rf-shell .do-page .dmt-tip-body{position:absolute;z-index:30;top:calc(100% + 6px);left:-8px;width:max-content;max-width:min(280px,calc(100vw - 48px));padding:9px 11px;border-radius:8px;background:#1f2933;color:#fff;font-size:12px;font-weight:400;line-height:1.45;letter-spacing:0;text-align:left;white-space:normal;box-shadow:0 8px 24px rgba(16,24,40,.18);display:none;pointer-events:none}
/* Hidden tips take no space, so they can never widen the page; shown ones stay inside the viewport. */
#app.rf-shell .do-page .dmt-tip:hover .dmt-tip-body,#app.rf-shell .do-page .dmt-tip:focus-within .dmt-tip-body{display:block}

/* Tables and bars. */
#app.rf-shell .do-page .dmt-table td.num,#app.rf-shell .do-page .dmt-table th.num{font-variant-numeric:tabular-nums;white-space:nowrap}
#app.rf-shell .do-page .dmt-table td{color:var(--dmt-ink)}
#app.rf-shell .do-page .dmt-link{display:inline-block;max-width:100%;overflow:hidden;color:var(--dmt-ink)!important;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
#app.rf-shell .do-page .dmt-link:hover{color:var(--dmt-accent)!important;text-decoration:underline}
#app.rf-shell .do-page .dmt-bar{display:block;max-width:180px;margin-top:4px}
#app.rf-shell .do-page .dmt-bar .rf-meter,#app.rf-shell .do-page .dmt-bars .rf-meter{height:5px;border-radius:999px;background:#eef0f2}
#app.rf-shell .do-page .dmt-bars{display:grid;gap:9px}
#app.rf-shell .do-page .dmt-bar-row{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr) auto;align-items:center;gap:10px;font-size:13px}
#app.rf-shell .do-page .dmt-bar-label{overflow:hidden;color:var(--dmt-ink);text-overflow:ellipsis;white-space:nowrap}
#app.rf-shell .do-page .dmt-bar-value{color:var(--dmt-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
#app.rf-shell .do-page .dmt-bar-value small{margin-left:4px;color:var(--dmt-faint)}
#app.rf-shell .do-page .dmt-folder{color:var(--dmt-ink);font-weight:600}
#app.rf-shell .do-page .dmt-tree{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:4px;color:var(--dmt-muted);font-size:12px}
#app.rf-shell .do-page .dmt-tree small{color:var(--dmt-faint)}
#app.rf-shell .do-page .dmt-anchors{max-width:260px;overflow:hidden;color:var(--dmt-muted);text-overflow:ellipsis;white-space:nowrap}
#app.rf-shell .do-page .dmt-split{display:flex;height:12px;border-radius:999px;background:#eef0f2;overflow:hidden;gap:2px}
#app.rf-shell .do-page .dmt-split i{display:block;min-width:4px;height:100%;border-radius:999px}
#app.rf-shell .do-page .dmt-split-follow{background:var(--dmt-accent)}
#app.rf-shell .do-page .dmt-split-nofollow{background:#9cc9b4}
#app.rf-shell .do-page .dmt-split-sponsored{background:#f2b8a0}
#app.rf-shell .do-page .dmt-split-ugc{background:#c7cbd1}
#app.rf-shell .do-page .dmt-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0;padding:0;list-style:none;color:var(--dmt-muted);font-size:12.5px}
#app.rf-shell .do-page .dmt-legend small{color:var(--dmt-faint)}
#app.rf-shell .do-page .dmt-legend b{color:var(--dmt-ink);font-variant-numeric:tabular-nums}
#app.rf-shell .do-page .dmt-dot{display:inline-block;flex:0 0 auto;width:9px;height:9px;margin-right:6px;border-radius:3px}
#app.rf-shell .do-page .dmt-chart{min-width:0}
#app.rf-shell .do-page .dmt-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px;margin:0}
#app.rf-shell .do-page .dmt-compare>div{padding:10px 12px;border:1px solid var(--dmt-line-2);border-radius:9px;background:#fafbfc}
#app.rf-shell .do-page .dmt-compare dt{color:var(--dmt-muted);font-size:12px}
#app.rf-shell .do-page .dmt-compare dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:4px 0 0}
#app.rf-shell .do-page .dmt-compare dd b{color:var(--dmt-ink);font-size:18px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
#app.rf-shell .do-page .dmt-compare dd small{color:var(--dmt-faint);font-size:12px;white-space:nowrap}
#app.rf-shell .do-page .dmt-subhead{margin:12px 0 6px;color:var(--dmt-ink);font-size:12.5px;font-weight:650}
#app.rf-shell .do-page .dmt-subhead-top{margin-top:14px}
#app.rf-shell .do-page .dmt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
#app.rf-shell .do-page .dmt-chips li{padding:2px 9px;border:1px solid var(--dmt-line-2);border-radius:999px;background:#fafbfc;color:var(--dmt-ink);font-size:12px}

/* Google & Bing: the stat strip replaces the four big metric cards; the market table keeps the same tone. */
#app.rf-shell .do-page .dmt-engines{display:grid;gap:14px;min-width:0}
#app.rf-shell .do-page .dmt-engines>.rf-card{margin:0}
#app.rf-shell .do-page .dmt-engines .do-engines-head p{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0;color:var(--dmt-muted);font-size:13px}
#app.rf-shell .do-page .dmt-engines .rf-metric-value,#app.rf-shell .do-page .dmt-engines .rf-table td.num{color:var(--dmt-ink)}

@media(max-width:900px){
  #app.rf-shell .do-page .dmt-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  #app.rf-shell .do-page .dmt-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #app.rf-shell .do-page .dmt-stat{padding:10px 12px}
  #app.rf-shell .do-page .dmt-stat-value{font-size:19px}
  #app.rf-shell .do-page .dmt-hide-sm{display:none}
  #app.rf-shell .do-page .dmt-bar-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}
  #app.rf-shell .do-page .dmt-bar-row .rf-meter{grid-column:1/-1;grid-row:2}
  #app.rf-shell .do-page .dmt-link{max-width:52vw}
  #app.rf-shell .do-page .dmt-tip-body{position:fixed;top:auto;left:16px;right:16px;width:auto;max-width:none;margin-top:6px}
  #app.rf-shell .do-page .dmt-tab .rf-table-wrap,#app.rf-shell .do-page .dmt-engines .rf-table-wrap{overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){#app.rf-shell .do-page :is(.dmt-stat,.dmt-card){transition:none}}
