/*
  Any AI? / Tool Profile Precision Polish V1 · 2026-11-07
  Deliberately additive; scope = current tool-profile layout only.
  Keep homepage header/footer, information hierarchy, experiment evidence,
  pricing truth and existing component geometry untouched.
*/
body.tp-page {
  --tp-polish-ink: #253743;
  --tp-polish-heading: #213544;
  --tp-polish-reading: #43545f;
  --tp-polish-muted: #63717a;
  --tp-polish-border: #dee3e3;
  --tp-polish-border-strong: #c9d4d8;
  --tp-polish-paper: #fffefa;
  --tp-polish-blue: #325d7b;
  --tp-polish-blue-hover: #244a65;
  --tp-polish-blue-soft: #edf2f6;
  --tp-polish-blue-line: #adc1ce;
  --tp-polish-brand: #285c47;
  --tp-polish-copper: #ab895a;
  --tp-polish-success-bg: #e7f4ed;
  --tp-polish-success-text: #276147;
  --tp-polish-warn: #896135;
  --tp-polish-warn-bg: #f7efe2;
  --tp-polish-focus: #446e8b;
}
/* The page's ivory backdrop and shell remain exactly as published. */
body.tp-page .hero,
body.tp-page .profile-use,
body.tp-page .plaincard,
body.tp-page .profile-plan-card,
body.tp-page .case-note,
body.tp-page .dr-output-case,
body.tp-page .profile-trial-case,
body.tp-page .taskrow,
body.tp-page .tasks,
body.tp-page .profile-source-groups,
body.tp-page .profile-image-trial {
  border-color: var(--tp-polish-border);
}
body.tp-page .hero {
  border-top-color: var(--tp-polish-copper);
  box-shadow: 0 6px 24px -15px rgba(32, 49, 60, .18);
}
body.tp-page .identity h1,
body.tp-page .section h2,
body.tp-page .section h3,
body.tp-page .plaincard>h3,
body.tp-page .profile-pricing h3,
body.tp-page .profile-task-access h4,
body.tp-page .tasktitle b,
body.tp-page .source b,
body.tp-page .profile-image-trial h3,
body.tp-page .dr-output-case h3 {
  color: var(--tp-polish-heading);
}
body.tp-page .tagline,
body.tp-page .profile-use p,
body.tp-page .facts dd.small,
body.tp-page .profile-plan-limits li,
body.tp-page .profile-trial-case>summary,
body.tp-page .profile-source-group>summary,
body.tp-page .taskrow summary {
  color: var(--tp-polish-ink);
}
body.tp-page .eyebrow,
body.tp-page .section-name,
body.tp-page .facts dt,
body.tp-page .profile-verification,
body.tp-page .profile-plan-price small,
body.tp-page .profile-plan-kind,
body.tp-page .profile-plan-card .profile-plan-description,
body.tp-page .profile-price-note,
body.tp-page .profile-plans-foot,
body.tp-page .profile-trials>p,
body.tp-page .profile-image-trial p,
body.tp-page .dr-sample-note,
body.tp-page .dr-eyebrow,
body.tp-page .dr-output-date,
body.tp-page .dr-preview-label {
  color: var(--tp-polish-muted);
}
body.tp-page .facts dd .ic,
body.tp-page .profile-plan-limits .ic {
  color: var(--tp-polish-brand);
}
/* Primary purchase/usage action stays forest green. Discovery links are blue. */
body.tp-page .actions .primary {
  background: var(--tp-polish-brand);
  color: #fff;
  box-shadow: 0 6px 18px -12px rgba(31, 85, 60, .45);
  border-color: transparent;
}
body.tp-page .actions .primary:hover {
  background: #204b3a;
}
body.tp-page .actions .secondary {
  background: var(--tp-polish-paper);
  color: var(--tp-polish-ink);
  border-color: var(--tp-polish-border);
}
body.tp-page .actions .secondary:hover {
  border-color: var(--tp-polish-blue-line);
  background: var(--tp-polish-blue-soft);
  color: var(--tp-polish-blue-hover);
}
body.tp-page :is(.textlink, .dr-text-link, .profile-context a) {
  color: var(--tp-polish-blue);
  text-underline-offset: 3px;
}
body.tp-page :is(.textlink, .dr-text-link, .profile-context a):hover {
  color: var(--tp-polish-blue-hover);
}
body.tp-page .rail {
  border-bottom-color: var(--tp-polish-border);
}
body.tp-page .rail a {
  color: var(--tp-polish-muted);
}
body.tp-page .rail a:hover,
body.tp-page .rail a:focus-visible {
  color: var(--tp-polish-blue-hover);
}
body.tp-page .rail a.active,
body.tp-page .rail a[aria-current="location"] {
  color: var(--tp-polish-blue);
  border-bottom-color: var(--tp-polish-blue);
}
/* Neutrals for surfaces and input borders, cool steel only for interactions. */
body.tp-page .profile-use-icon {
  background: #f4f6f6;
  color: var(--tp-polish-blue);
  border-color: var(--tp-polish-border);
}
body.tp-page .profile-plan-card {
  background: #fafaf8;
}
body.tp-page .profile-plan-price strong {
  color: var(--tp-polish-heading);
  font-variant-numeric: tabular-nums;
}
body.tp-page .profile-plan-kind {
  background: var(--tp-polish-paper);
  border-color: var(--tp-polish-border);
}
body.tp-page .profile-plan-more>summary,
body.tp-page .dr-disclosure>summary,
body.tp-page .dr-output-comparison>summary,
body.tp-page .profile-task-access .textlink,
body.tp-page .profile-image-trial details>summary {
  color: var(--tp-polish-blue);
}
body.tp-page .profile-plan-more>summary:hover,
body.tp-page .dr-disclosure>summary:hover,
body.tp-page .dr-output-comparison>summary:hover {
  color: var(--tp-polish-blue-hover);
}
body.tp-page .taskbar .searchbox {
  border-color: var(--tp-polish-border);
}
body.tp-page .searchbox:focus-within {
  border-color: var(--tp-polish-blue-line);
  box-shadow: 0 0 0 3px rgba(50, 93, 123, .10);
}
body.tp-page .searchbox input {
  color: var(--tp-polish-ink);
  caret-color: var(--tp-polish-blue);
}
body.tp-page .task-total,
body.tp-page .taskbar .searchbox input::placeholder {
  color: var(--tp-polish-muted);
}
body.tp-page .status {
  background: var(--tp-polish-success-bg);
  color: var(--tp-polish-success-text);
}
body.tp-page .status.conditions {
  background: var(--tp-polish-warn-bg);
  color: var(--tp-polish-warn);
}
body.tp-page .status.other {
  background: #f0f2f2;
  color: var(--tp-polish-muted);
}
body.tp-page .more button,
body.tp-page .profile-source-groups .source:hover {
  border-color: var(--tp-polish-border);
}
body.tp-page .more button {
  background: var(--tp-polish-paper);
  color: var(--tp-polish-blue);
}
body.tp-page .more button:hover {
  background: var(--tp-polish-blue-soft);
  border-color: var(--tp-polish-blue-line);
}
/* The references are quieter than the original-output evidence. */
body.tp-page .profile-source-groups {
  border-color: var(--tp-polish-border);
}
body.tp-page .profile-source-group>summary {
  color: var(--tp-polish-ink);
}
body.tp-page .profile-source-group>summary small,
body.tp-page .source small {
  color: var(--tp-polish-muted);
}
body.tp-page .source:hover {
  background: rgba(237, 242, 246, .43);
}
body.tp-page .source:hover b {
  color: var(--tp-polish-blue);
}
/* Text downloads need usable hit areas, not larger typography or new cards. */
body.tp-page a.dr-text-link,
body.tp-page .profile-image-trial details a[download] {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 7px;
  margin-inline: -7px 0;
  border-radius: 7px;
}
body.tp-page a.dr-text-link:hover,
body.tp-page .profile-image-trial details a[download]:hover {
  background: var(--tp-polish-blue-soft);
}
body.tp-page .profile-image-trial picture {
  display: block;
  width: 100%;
}
body.tp-page .profile-image-trial picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
body.tp-page :is(a,button,input,summary):focus-visible {
  outline: 2px solid var(--tp-polish-focus);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  body.tp-page .profile-plan-price small,
  body.tp-page .profile-plan-kind {
    font-size: 12px;
  }
  body.tp-page .profile-plan-card .profile-plan-description,
  body.tp-page .profile-trials>p {
    line-height: 1.9;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.tp-page :is(a,button,summary) { transition: none!important; }
}
