/* Domain report tabs (2026-11-30): one glass tab bar, six tabs, no inner scrollbar on desktop, a swipe row with a
   fade on phones; bento grids inside Technical and Evidence; AI & API access card; back-to-top on phones.
   The bar is a new element (.pd-report-tabs), so the older .pd-scan-navigation rules do not reach it. */
.pd-report-tabs{position:sticky;top:72px;z-index:40;display:block;width:100%;max-width:1240px;margin:20px auto 28px;padding:0;
  background:rgba(11,17,23,.86);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border:0;border-bottom:1px solid rgba(148,163,184,.16);border-radius:0;box-shadow:none}
.pd-report-tabs__list{position:relative;display:flex;align-items:stretch;gap:4px;margin:0;padding:0 4px;overflow:visible;list-style:none}
.pd-report-tabs__list>a{position:relative;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:52px;padding:0 16px;
  color:#94a3b8;font:600 .94rem/1.2 Inter,system-ui,sans-serif;letter-spacing:-.005em;text-decoration:none;white-space:nowrap;
  background:none;border:0;border-radius:0;box-shadow:none;outline:0;transition:color .18s ease}
.pd-report-tabs__list>a:hover{color:#f8fafc}
.pd-report-tabs__list>a::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px;background:#3ee6b5;
  box-shadow:0 0 10px rgba(62,230,181,.5);opacity:0;transform:scaleX(.4);transition:opacity .2s ease,transform .25s cubic-bezier(.2,.7,.2,1)}
.pd-report-tabs__list>a[aria-selected="true"]{color:#fff}
.pd-report-tabs__list>a[aria-selected="true"]::after{opacity:1;transform:scaleX(1)}
.pd-report-tabs__list>a:focus-visible{color:#fff;box-shadow:inset 0 0 0 2px rgba(111,214,246,.75);border-radius:8px}
.pd-report-tabs__badge{display:inline-flex;align-items:center;min-width:20px;height:20px;padding:2px 7px;border-radius:999px;
  background:rgba(148,163,184,.12);color:#cbd5e1;font:600 11px/1 "JetBrains Mono",ui-monospace,monospace;justify-content:center}
.pd-report-tabs__list>a[aria-selected="true"] .pd-report-tabs__badge{background:rgba(62,230,181,.14);color:#3ee6b5}
.pd-report-tabs__badge[hidden]{display:none}
@media (min-width:1024px){
  .pd-report-tabs__list{justify-content:flex-start;flex-wrap:nowrap}
}
@media (max-width:1023px){
  .pd-report-tabs{top:64px;margin:16px 0 22px}
  .pd-report-tabs::after{content:"";position:absolute;inset:0 0 0 auto;width:36px;pointer-events:none;
    background:linear-gradient(90deg,rgba(11,17,23,0),rgba(11,17,23,.95))}
  [dir="rtl"] .pd-report-tabs::after{inset:0 auto 0 0;background:linear-gradient(270deg,rgba(11,17,23,0),rgba(11,17,23,.95))}
  .pd-report-tabs__list{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-inline:0 36px;scroll-snap-type:x proximity}
  .pd-report-tabs__list::-webkit-scrollbar{display:none}
  .pd-report-tabs__list>a{min-height:48px;padding:0 13px;font-size:.9rem;scroll-snap-align:start}
}

/* Tabs mode: the Simple / Expert machinery stays off (no switch, nothing hidden by it). */
html[data-pd-tabs="v1"] [data-pd-view-set],html[data-pd-tabs="v1"] .pdv-mode,html[data-pd-tabs="v1"] .pdh-now__expert,html[data-pd-tabs="v1"] .pdh-now__hint{display:none!important}
html[data-pd-tabs="v1"] main#main-content>[data-pd-tab-panel]{scroll-margin-top:150px}

/* Overview: mini metrics that open the other tabs, with the AI dossier. */
.pd-report-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.pd-report-metrics>a{display:inline-flex;align-items:baseline;gap:8px;padding:10px 14px;border-radius:12px;text-decoration:none;
  border:1px solid rgba(148,163,184,.16);background:linear-gradient(180deg,rgba(25,38,48,.7),rgba(15,23,30,.7));box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  color:#cbd5e1;font-size:.86rem;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.pd-report-metrics>a strong{color:#f8fafc;font:700 1.02rem/1 Inter,system-ui,sans-serif}
.pd-report-metrics>a:hover{border-color:rgba(62,230,181,.38);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 16px 40px -16px rgba(62,230,181,.2);transform:translateY(-1px)}
.pd-report-metrics__ai{color:#3ee6b5!important;margin-inline-start:auto;align-items:center!important}
.pd-report-metrics__ai-mark{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:rgba(62,230,181,.14);color:#3ee6b5;font:700 .66rem/1 "JetBrains Mono",ui-monospace,monospace}

/* Technical filters. */
.pd-report-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.pd-report-filters>button{appearance:none;min-height:34px;padding:6px 14px;border-radius:999px;border:1px solid rgba(148,163,184,.2);
  background:rgba(255,255,255,.02);color:#94a3b8;font:600 .88rem/1 Inter,system-ui,sans-serif;cursor:pointer;transition:color .18s,border-color .18s,background-color .18s}
.pd-report-filters>button:hover{color:#f8fafc;border-color:rgba(148,163,184,.38)}
.pd-report-filters>button[aria-pressed="true"]{color:#fff;border-color:rgba(62,230,181,.55);background:rgba(62,230,181,.12)}
.pd-report-filters>button:focus-visible{outline:2px solid #6fd6f6;outline-offset:2px}
@media (max-width:640px){.pd-report-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.pd-report-filters::-webkit-scrollbar{display:none}.pd-report-filters>button{flex:none}}

/* AI & API access. */
.pd-report-ai{margin:20px 0 28px;padding:20px 22px;border-radius:16px;border:1px solid rgba(62,230,181,.28);
  background:radial-gradient(120% 140% at 0 0,rgba(62,230,181,.08),transparent 60%),rgba(15,23,30,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.pd-report-ai .sec-title{margin:0 0 6px}
.pd-report-ai p{margin:0 0 14px;color:#94a3b8;font-size:.92rem;line-height:1.6}
.pd-report-ai__links{display:flex;flex-wrap:wrap;gap:10px}
.pd-report-ai__link{appearance:none;display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border-radius:10px;cursor:pointer;
  border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.03);color:#e2e8f0;font:600 .88rem/1 Inter,system-ui,sans-serif;text-decoration:none}
.pd-report-ai__link:hover{border-color:rgba(62,230,181,.45);color:#fff}
.pd-report-ai__link:first-child{border-color:rgba(62,230,181,.5);color:#3ee6b5}

/* Bento grids on desktop: domain card groups, the technical panels and the source rows. */
@media (min-width:1024px){
  html[data-pd-tabs="v1"] #report-intelligence>.card:has(>.pd-infra-group){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
  html[data-pd-tabs="v1"] #report-intelligence>.card>:not(.pd-infra-group){grid-column:1/-1}
  html[data-pd-tabs="v1"] #network-evidence .pd-technical-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start}
  html[data-pd-tabs="v1"] #report-infrastructure .layout-evidence{display:block!important}
}

/* Back to top on phones: bottom right corner. */
@media (max-width:1023px){
  html[data-pd-tabs="v1"] #back-to-top{bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;right:16px!important;left:auto!important}
  html[data-pd-tabs="v1"][dir="rtl"] #back-to-top{right:auto!important;left:16px!important}
}
@media print{.pd-report-tabs,.pd-report-filters,.pd-report-metrics{display:none!important}}

/* Report-wide link colours are !important with two ids (domain-report-october.css :where(a)); the tab bar, metrics
   and AI links keep their own colours with the same anchor. */
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-tabs__list>a{color:#96a5af!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-tabs__list>a:hover{color:#e2e8f0!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-tabs__list>a[aria-selected="true"],html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-tabs__list>a:focus-visible{color:#f1f5f4!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-metrics>a{color:#cbd5e1!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-metrics>a.pd-report-metrics__ai{color:#3ee6b5!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-ai__link{color:#e2e8f0!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-ai__link:first-child{color:#3ee6b5!important}

/* Button system on the report (owner spec 2026-11-30): radius 10, primary / secondary / pill / icon. */
html#pd-report-document[data-pd-tabs="v1"]{--r-btn:10px;--r-card:14px;--r-pill:999px}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pdh .pdh-cta{min-height:48px!important;border-radius:var(--r-btn)!important;background:#3ee6b5!important;color:#06231a!important;font-weight:650!important;transition:transform .18s ease,box-shadow .2s ease!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pdh .pdh-cta:hover{transform:translateY(-1px);box-shadow:0 10px 26px -10px rgba(62,230,181,.55)!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pdh .pdh-share__toggle,html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-copy-iocs{min-height:48px!important;border-radius:var(--r-btn)!important;background:#15212b!important;border:1px solid rgba(148,163,184,.22)!important;color:#f1f5f4!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pdh .pdh-share__toggle:hover,html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-copy-iocs:hover{border-color:rgba(62,230,181,.45)!important;background:#1a2935!important}
.pd-copy-iocs{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;font:600 .94rem/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.pd-copy-iocs.is-copied{color:#3ee6b5!important;border-color:rgba(62,230,181,.55)!important}
@media (max-width:640px){.pd-copy-iocs{width:100%}}
/* Icon copy buttons: 32px, 40px on touch screens; a tick for 1.5 s after copying. */
.pd-copy-icon,#captured-requests button.pd-req-copy[data-pd-icon]{appearance:none;display:inline-grid;place-items:center;width:32px;height:32px;min-height:0!important;padding:0!important;margin-inline-start:6px;vertical-align:middle;
  border-radius:8px!important;border:1px solid rgba(148,163,184,.2)!important;background:rgba(255,255,255,.03)!important;color:#c2cdd1;cursor:pointer;font-size:0!important;line-height:0}
.pd-copy-icon::before,#captured-requests button.pd-req-copy[data-pd-icon]::before{content:"";width:15px;height:15px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat}
.pd-copy-icon:hover,#captured-requests button.pd-req-copy[data-pd-icon]:hover{color:#f1f5f4;border-color:rgba(62,230,181,.45)!important}
.pd-copy-icon.is-copied,#captured-requests button.pd-req-copy[data-pd-icon].is-copied{color:#3ee6b5;border-color:rgba(62,230,181,.55)!important}
.pd-copy-icon.is-copied::before,#captured-requests button.pd-req-copy[data-pd-icon].is-copied::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}
.pd-copy-icon:focus-visible,#captured-requests button.pd-req-copy[data-pd-icon]:focus-visible{outline:2px solid #6fd6f6;outline-offset:2px}
@media (pointer:coarse){.pd-copy-icon,#captured-requests button.pd-req-copy[data-pd-icon]{width:40px;height:40px}.pd-report-filters>button{min-height:40px}}
/* E-mail addresses wrap at the break points added by the script. */
.pd-email-wrap{overflow-wrap:break-word!important;word-break:normal!important}
/* AI-only dossier. */
.pd-ai-only{display:inline-flex;align-items:center;margin-inline-start:8px;padding:2px 8px;border-radius:999px;border:1px solid rgba(231,181,104,.35);background:rgba(231,181,104,.08);color:#e7b568;font:600 11px/1.5 "JetBrains Mono",ui-monospace,monospace;white-space:nowrap;vertical-align:middle}
.pd-report-ai__address{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px}
.pd-report-ai__address code{padding:8px 12px;border-radius:8px;background:rgba(0,0,0,.28);border:1px solid rgba(148,163,184,.16);color:#e2e8f0;font:500 .84rem/1.4 "JetBrains Mono",ui-monospace,monospace;overflow-wrap:anywhere}
.pd-report-ai__copy{appearance:none;min-height:36px;padding:0 14px;border-radius:10px;border:1px solid rgba(62,230,181,.5);background:rgba(62,230,181,.1);color:#3ee6b5;font:600 .86rem/1 Inter,system-ui,sans-serif;cursor:pointer}
.pd-report-ai__copy.is-copied{background:rgba(62,230,181,.2)}
.pd-report-ai__note{margin:0 0 14px!important;font-size:.84rem!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page .pd-report-ai__copy{color:#3ee6b5!important}
/* Tools: one neutral frame for every scanner card; the status stays a badge inside; "Check" sits on the line. */
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page #report-tools .ev-chip{border-color:rgba(148,163,184,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;border-radius:12px!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page #report-tools .ev-chip:hover{border-color:rgba(62,230,181,.38)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 16px 40px -16px rgba(62,230,181,.2)!important}
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page #report-tools .ev-chip>.ev-check{margin-inline-start:auto!important;align-self:center!important;white-space:nowrap!important}
/* Analysis heading starts on the left like the other chapter headings. */
html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page #report-summary .pd-section-heading,html#pd-report-document[data-pd-tabs="v1"] body#pd-report-page #report-summary .pd-section-heading__title{text-align:start!important;justify-content:flex-start!important}
