/*
 * PixiCore Online Tools - Premium individual workspace
 * This layer owns the catalog, tool launcher and dialog experience.
 * The original functional form styles remain available inside the dialog.
 */

:root {
  --pc-tools-bg: #061225;
  --pc-tools-bg-soft: #0a1a31;
  --pc-tools-surface: rgba(11, 29, 54, 0.78);
  --pc-tools-surface-strong: rgba(8, 23, 45, 0.96);
  --pc-tools-border: rgba(121, 197, 255, 0.16);
  --pc-tools-border-strong: rgba(71, 222, 203, 0.32);
  --pc-tools-text: #f4f8ff;
  --pc-tools-muted: #9fb0c8;
  --pc-tools-blue: #2d8cff;
  --pc-tools-cyan: #35c7ff;
  --pc-tools-green: #43e1ba;
  --pc-tools-violet: #8a72ff;
  --pc-tools-shadow: 0 32px 90px rgba(0, 8, 24, 0.34);
}

.pc-online-tools-page {
  background:
    radial-gradient(circle at 76% 8%, rgba(39, 157, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 14% 32%, rgba(46, 224, 185, 0.08), transparent 32rem),
    linear-gradient(180deg, #061225 0%, #08162a 46%, #061225 100%);
  color: var(--pc-tools-text);
}

.pc-online-tools-page .tools {
  background: transparent;
  margin-top: 0 !important;
  overflow: clip;
  padding: 0 !important;
}

.pc-online-tools-page .tools > .container-fluid {
  max-width: none;
  padding: 0;
}

.pc-online-tools-page .tool-index {
  padding: 0 !important;
}

.pc-tools-experience {
  position: relative;
}

.pc-tools-hero {
  isolation: isolate;
  min-height: min(900px, calc(100svh - 74px));
  overflow: hidden;
  padding: clamp(8.5rem, 11vw, 11.25rem) clamp(1.25rem, 4vw, 4rem) clamp(5rem, 8vw, 7rem);
  position: relative;
}

.pc-tools-hero::before {
  background-image:
    linear-gradient(rgba(92, 171, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 171, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: -3;
}

.pc-tools-aurora {
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.pc-tools-aurora--one {
  background: #1e8cff;
  height: 30rem;
  right: 7%;
  top: 14%;
  width: 30rem;
}

.pc-tools-aurora--two {
  background: #2ad9ad;
  bottom: 5%;
  height: 22rem;
  left: 5%;
  width: 22rem;
}

.pc-tools-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  margin: 0 auto;
  max-width: 1500px;
}

.pc-tools-hero__copy {
  max-width: 680px;
}

.pc-tools-eyebrow {
  align-items: center;
  color: #67e6d2;
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.pc-tools-eyebrow::before {
  background: linear-gradient(90deg, var(--pc-tools-cyan), var(--pc-tools-green));
  border-radius: 99px;
  content: "";
  height: 2px;
  width: 2.5rem;
}

.pc-tools-title {
  color: var(--pc-tools-text);
  font-size: clamp(4rem, 6.2vw, 6.7rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin: 0;
  max-width: 9.5ch;
  text-wrap: balance;
}

.pc-tools-title > span {
  display: block;
}

.pc-tools-title__accent {
  background: linear-gradient(105deg, #89d7ff 10%, #36bff5 48%, #49e2b6 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pc-tools-hero__lead {
  color: var(--pc-tools-muted);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.72;
  margin: 2rem 0 0;
  max-width: 620px;
}

.pc-tools-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.pc-tools-primary,
.pc-tools-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 750;
  gap: 0.75rem;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.85rem 1.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pc-tools-primary {
  background: linear-gradient(115deg, #2d8cff, #31c8f3 55%, #42ddb5);
  border: 0;
  box-shadow: 0 18px 42px rgba(31, 156, 255, 0.28);
  color: white;
}

.pc-tools-secondary {
  background: rgba(11, 30, 56, 0.76);
  border: 1px solid rgba(138, 208, 255, 0.22);
  color: #dcecff;
}

.pc-tools-primary:hover,
.pc-tools-secondary:hover {
  transform: translateY(-3px);
}

.pc-tools-secondary:hover {
  border-color: var(--pc-tools-border-strong);
  box-shadow: 0 16px 38px rgba(0, 9, 26, 0.26);
}

.pc-tools-trust {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.pc-tools-trust article {
  align-items: flex-start;
  background: rgba(10, 28, 52, 0.55);
  border: 1px solid rgba(118, 193, 255, 0.12);
  border-radius: 1rem;
  display: flex;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.85rem;
}

.pc-tools-trust i {
  color: #56d9c2;
  margin-top: 0.15rem;
}

.pc-tools-trust span,
.pc-tools-trust strong,
.pc-tools-trust small {
  display: block;
}

.pc-tools-trust strong {
  color: #eaf4ff;
  font-size: 0.82rem;
  line-height: 1.25;
}

.pc-tools-trust small {
  color: #8094af;
  font-size: 0.7rem;
  line-height: 1.4;
  margin-top: 0.24rem;
}

.pc-tools-hero__visual {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 48%, rgba(47, 180, 255, 0.2), transparent 34%),
    rgba(4, 15, 33, 0.62);
  border: 1px solid rgba(96, 187, 255, 0.2);
  border-radius: clamp(2rem, 4vw, 3.5rem);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025), var(--pc-tools-shadow);
  max-width: 680px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.pc-tools-hero__visual::before {
  background: radial-gradient(circle, rgba(82, 207, 255, 0.12) 0 1px, transparent 2px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(circle, black, transparent 72%);
  opacity: 0.5;
  position: absolute;
}

.pc-tools-core {
  align-items: center;
  background: linear-gradient(145deg, rgba(15, 45, 79, 0.95), rgba(5, 20, 43, 0.92));
  border: 1px solid rgba(91, 209, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 75px rgba(49, 163, 255, 0.25), inset 0 0 45px rgba(48, 224, 188, 0.08);
  display: flex;
  flex-direction: column;
  height: 15.5rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15.5rem;
  z-index: 3;
}

.pc-tools-core img {
  filter: drop-shadow(0 0 25px rgba(45, 206, 255, 0.24));
  height: 8.75rem;
  object-fit: contain;
  width: 8.75rem;
}

.pc-tools-core small {
  color: #90cceb;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-top: 0.5rem;
}

.pc-tools-core__glow {
  animation: pcToolsPulse 3.4s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, #34d8c0, transparent);
  bottom: 1.5rem;
  height: 2px;
  position: absolute;
  width: 48%;
}

.pc-tools-orbit {
  border: 1px solid rgba(61, 199, 255, 0.28);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pc-tools-orbit::before,
.pc-tools-orbit::after {
  background: #4fe1c2;
  border-radius: 50%;
  box-shadow: 0 0 18px #4fe1c2;
  content: "";
  height: 0.55rem;
  position: absolute;
  width: 0.55rem;
}

.pc-tools-orbit--outer {
  animation: pcToolsSpin 23s linear infinite;
  height: 82%;
  width: 82%;
}

.pc-tools-orbit--outer::before { left: 11%; top: 14%; }
.pc-tools-orbit--outer::after { bottom: 9%; right: 18%; }

.pc-tools-orbit--inner {
  animation: pcToolsSpinReverse 17s linear infinite;
  border-color: rgba(109, 111, 255, 0.24);
  height: 62%;
  width: 62%;
}

.pc-tools-orbit--inner::before { right: 5%; top: 36%; }
.pc-tools-orbit--inner::after { bottom: 3%; left: 34%; }

.pc-tools-float {
  animation: pcToolsFloat 5s ease-in-out infinite;
  backdrop-filter: blur(18px);
  background: rgba(11, 34, 62, 0.84);
  border: 1px solid rgba(107, 201, 255, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 10, 28, 0.3);
  display: grid;
  gap: 0.15rem;
  min-width: 9.5rem;
  padding: 1rem;
  position: absolute;
  z-index: 4;
}

.pc-tools-float i {
  color: #53d9c3;
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.pc-tools-float span {
  color: #f3f8ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pc-tools-float small {
  color: #8aa0bc;
  font-size: 0.68rem;
}

.pc-tools-float--ocr { left: 8%; top: 13%; }
.pc-tools-float--pdf { animation-delay: -1.5s; right: 7%; top: 18%; }
.pc-tools-float--image { animation-delay: -2.8s; bottom: 11%; right: 13%; }

.pc-tools-signal {
  background: linear-gradient(90deg, transparent, rgba(60, 212, 194, 0.65), transparent);
  height: 1px;
  opacity: 0.7;
  position: absolute;
  transform-origin: left center;
  width: 11rem;
}

.pc-tools-signal--one { left: 25%; top: 30%; transform: rotate(18deg); }
.pc-tools-signal--two { bottom: 27%; right: 24%; transform: rotate(-24deg); }

.pc-tools-explorer,
.pc-tools-journey {
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem);
}

.pc-tools-explorer {
  scroll-margin-top: 7rem;
}

.pc-tools-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2.4rem;
}

.pc-tools-section-heading > div:first-child {
  max-width: 780px;
}

.pc-tools-section-heading h2,
.pc-tools-journey h2 {
  color: var(--pc-tools-text);
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.pc-tools-section-heading p,
.pc-tools-journey__intro > p {
  color: var(--pc-tools-muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 1.2rem 0 0;
  max-width: 720px;
}

.pc-tools-counter {
  align-items: flex-end;
  background: rgba(10, 28, 51, 0.7);
  border: 1px solid var(--pc-tools-border);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 10rem;
  padding: 1rem 1.2rem;
}

.pc-tools-counter strong {
  color: #5ce2c8;
  font-size: 2.1rem;
  line-height: 1;
}

.pc-tools-counter span {
  color: #879bb4;
  font-size: 0.73rem;
  margin-top: 0.35rem;
}

.pc-tools-controlbar {
  background: rgba(8, 24, 45, 0.78);
  border: 1px solid var(--pc-tools-border);
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 9, 26, 0.2);
  padding: 1rem;
  position: sticky;
  top: 5.5rem;
  z-index: 20;
}

.pc-tools-search {
  align-items: center;
  background: rgba(4, 16, 34, 0.75);
  border: 1px solid rgba(113, 188, 255, 0.18);
  border-radius: 1.15rem;
  display: flex;
  min-height: 3.6rem;
  padding: 0 1rem;
}

.pc-tools-search:focus-within {
  border-color: rgba(69, 222, 191, 0.55);
  box-shadow: 0 0 0 4px rgba(54, 208, 184, 0.08);
}

.pc-tools-search i { color: #5bd9c6; }
.pc-tools-search input {
  background: transparent;
  border: 0;
  color: white;
  flex: 1;
  font-size: 1rem;
  min-width: 0;
  outline: 0;
  padding: 0 0.9rem;
}
.pc-tools-search input::placeholder { color: #7087a5; }
.pc-tools-search kbd {
  background: rgba(122, 164, 210, 0.1);
  border: 1px solid rgba(137, 185, 233, 0.16);
  border-radius: 0.5rem;
  color: #9eb1c9;
  font-size: 0.68rem;
  padding: 0.3rem 0.45rem;
}

.pc-tools-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.pc-tools-filters button {
  background: transparent;
  border: 1px solid rgba(118, 187, 255, 0.15);
  border-radius: 999px;
  color: #9cb0c9;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 2.55rem;
  padding: 0.55rem 0.9rem;
  transition: 180ms ease;
}

.pc-tools-filters button:hover,
.pc-tools-filters button.is-active {
  background: linear-gradient(115deg, rgba(45, 140, 255, 0.2), rgba(54, 220, 183, 0.14));
  border-color: rgba(72, 219, 190, 0.42);
  color: white;
}

.pc-tools-search-status {
  color: #7f94ae;
  font-size: 0.72rem;
  min-height: 1rem;
  padding: 0.55rem 0.35rem 0;
}

.pc-tools-catalog {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.pc-tool-launcher {
  --tool-accent: #35c7ff;
  background:
    linear-gradient(145deg, rgba(13, 35, 64, 0.88), rgba(7, 22, 43, 0.92));
  border: 1px solid rgba(111, 190, 255, 0.15);
  border-radius: 1.6rem;
  box-shadow: 0 20px 52px rgba(0, 9, 27, 0.2);
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 19rem;
  overflow: hidden;
  padding: 1.45rem;
  position: relative;
  text-align: left;
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}

.pc-tool-launcher::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--tool-accent) 35%, transparent), transparent 68%);
  content: "";
  height: 16rem;
  opacity: 0.32;
  position: absolute;
  right: -7rem;
  top: -7rem;
  transition: opacity 260ms ease, transform 260ms ease;
  width: 16rem;
}

.pc-tool-launcher::after {
  background: linear-gradient(90deg, transparent, var(--tool-accent), transparent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 12%;
  opacity: 0.55;
  position: absolute;
  width: 76%;
}

.pc-tool-launcher:hover,
.pc-tool-launcher:focus-visible {
  border-color: color-mix(in srgb, var(--tool-accent) 48%, transparent);
  box-shadow: 0 28px 70px rgba(0, 9, 28, 0.34), 0 0 0 1px color-mix(in srgb, var(--tool-accent) 20%, transparent);
  outline: none;
  transform: translateY(-8px);
}

.pc-tool-launcher:hover::before { opacity: 0.55; transform: scale(1.12); }

.pc-tool-launcher__top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pc-tool-launcher__icon {
  align-items: center;
  background: color-mix(in srgb, var(--tool-accent) 14%, rgba(10, 29, 55, 0.95));
  border: 1px solid color-mix(in srgb, var(--tool-accent) 34%, transparent);
  border-radius: 1rem;
  color: var(--tool-accent);
  display: inline-flex;
  font-size: 1.25rem;
  height: 3.35rem;
  justify-content: center;
  width: 3.35rem;
}

.pc-tool-launcher__index {
  color: rgba(186, 216, 245, 0.28);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.pc-tool-launcher__category {
  color: var(--tool-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 1.4rem;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.pc-tool-launcher h3 {
  color: #f5f9ff;
  font-size: 1.42rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0.55rem 0 0;
  position: relative;
  z-index: 1;
}

.pc-tool-launcher p {
  color: #8fa3bc;
  font-size: 0.9rem;
  line-height: 1.58;
  margin: 0.75rem 0 0;
  position: relative;
  z-index: 1;
}

.pc-tool-launcher__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.2rem;
  position: relative;
  z-index: 1;
}

.pc-tool-launcher__tags span {
  background: rgba(112, 164, 215, 0.08);
  border: 1px solid rgba(133, 187, 235, 0.12);
  border-radius: 999px;
  color: #93aac3;
  font-size: 0.66rem;
  padding: 0.32rem 0.55rem;
}

.pc-tool-launcher__cta {
  align-items: center;
  color: #e9f5ff;
  display: flex;
  font-size: 0.8rem;
  font-weight: 750;
  gap: 0.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.pc-tool-launcher__cta i { color: var(--tool-accent); transition: transform 180ms ease; }
.pc-tool-launcher:hover .pc-tool-launcher__cta i { transform: translateX(4px); }

.pc-tools-empty {
  align-items: center;
  background: rgba(8, 25, 47, 0.72);
  border: 1px dashed rgba(119, 192, 251, 0.22);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  padding: 4rem 1.5rem;
  text-align: center;
}
.pc-tools-empty i { color: #45dbbd; font-size: 2rem; }
.pc-tools-empty h3 { color: white; margin: 1rem 0 0; }
.pc-tools-empty p { color: #8da1ba; margin: 0.5rem 0 1rem; }
.pc-tools-empty button { background: rgba(47, 141, 255, 0.17); border: 1px solid rgba(79, 190, 255, 0.25); border-radius: 999px; color: white; padding: 0.75rem 1rem; }

.pc-tools-source-grid,
.tools .tool-empty-state {
  display: none !important;
}

.pc-tools-journey {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding-top: 4rem;
}

.pc-tools-journey__steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-tools-journey__steps article {
  background: rgba(10, 29, 54, 0.68);
  border: 1px solid var(--pc-tools-border);
  border-radius: 1.45rem;
  min-height: 17rem;
  padding: 1.35rem;
  position: relative;
}

.pc-tools-journey__steps article::after {
  background: linear-gradient(90deg, transparent, rgba(60, 221, 188, 0.45), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 12%;
  position: absolute;
  width: 76%;
}

.pc-tools-journey__steps span {
  color: rgba(130, 183, 230, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.pc-tools-journey__steps i {
  color: #4edcc1;
  display: block;
  font-size: 1.4rem;
  margin-top: 2.2rem;
}

.pc-tools-journey__steps h3 {
  color: white;
  font-size: 1.15rem;
  margin: 1rem 0 0;
}

.pc-tools-journey__steps p {
  color: #8499b2;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0.6rem 0 0;
}

.pc-tool-dialog[hidden] { display: none !important; }
.pc-tool-dialog {
  inset: 0;
  position: fixed;
  z-index: 10050;
}

.pc-tool-dialog__backdrop {
  backdrop-filter: blur(18px);
  background: rgba(0, 7, 20, 0.78);
  inset: 0;
  position: absolute;
}

.pc-tool-dialog__panel {
  animation: pcToolDialogIn 280ms cubic-bezier(.2,.8,.2,1) both;
  background:
    radial-gradient(circle at 92% 4%, rgba(49, 155, 255, 0.11), transparent 22rem),
    linear-gradient(155deg, rgba(10, 28, 52, 0.99), rgba(5, 17, 36, 0.99));
  border: 1px solid rgba(112, 194, 255, 0.22);
  border-radius: 2rem;
  box-shadow: 0 40px 120px rgba(0, 5, 18, 0.58);
  display: flex;
  flex-direction: column;
  inset: clamp(1rem, 3vw, 2.5rem);
  max-height: calc(100svh - clamp(2rem, 6vw, 5rem));
  overflow: hidden;
  position: absolute;
}

.pc-tool-dialog__header {
  align-items: center;
  border-bottom: 1px solid rgba(113, 188, 250, 0.14);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  padding: 1.1rem 1.25rem;
}

.pc-tool-dialog__back,
.pc-tool-dialog__close {
  align-items: center;
  background: rgba(109, 172, 224, 0.08);
  border: 1px solid rgba(124, 193, 249, 0.14);
  color: #ddebfb;
  display: inline-flex;
  justify-content: center;
}

.pc-tool-dialog__back {
  border-radius: 999px;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
}

.pc-tool-dialog__close {
  border-radius: 50%;
  height: 2.7rem;
  width: 2.7rem;
}

.pc-tool-dialog__identity {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-width: 0;
}

.pc-tool-dialog__icon {
  align-items: center;
  background: rgba(58, 201, 181, 0.12);
  border: 1px solid rgba(67, 221, 187, 0.28);
  border-radius: 1rem;
  color: #50ddc1;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 3.3rem;
  justify-content: center;
  width: 3.3rem;
}

.pc-tool-dialog__identity small {
  color: #58d8c2;
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pc-tool-dialog__identity h2 {
  color: white;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  margin: 0.15rem 0 0;
}

.pc-tool-dialog__identity p {
  color: #879db7;
  font-size: 0.8rem;
  margin: 0.25rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-tool-dialog__body {
  display: grid;
  flex: 1;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.3fr);
  min-height: 0;
  overflow: auto;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.pc-tool-dialog__mount {
  min-width: 0;
}

.pc-tool-dialog__mount > .card {
  background: rgba(10, 29, 55, 0.86) !important;
  border: 1px solid rgba(112, 194, 255, 0.18) !important;
  border-radius: 1.5rem !important;
  box-shadow: none !important;
  margin: 0 !important;
  min-height: 100%;
  overflow: visible !important;
  transform: none !important;
}

.pc-tool-dialog__mount > .card::before,
.pc-tool-dialog__mount > .card::after,
.pc-tool-dialog__mount .tool-card-intro,
.pc-tool-dialog__mount .tool-selection-orbit {
  display: none !important;
}

.pc-tool-dialog__mount .card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(113, 189, 251, 0.12) !important;
  color: white !important;
  padding: 1.15rem 1.25rem !important;
}

.pc-tool-dialog__mount .card-body {
  padding: clamp(1.2rem, 2.5vw, 2.1rem) !important;
}

.pc-tool-dialog__mount .form-control,
.pc-tool-dialog__mount .form-select {
  background-color: rgba(3, 15, 32, 0.75) !important;
  border-color: rgba(113, 190, 251, 0.18) !important;
  color: #edf6ff !important;
  min-height: 3.25rem;
}

.pc-tool-dialog__mount .btn-primary,
.pc-tool-dialog__mount .btn-success {
  border-radius: 0.95rem !important;
  min-height: 3.25rem;
}

.pc-tool-dialog__aside {
  align-self: start;
  display: grid;
  gap: 0.75rem;
  position: sticky;
  top: 0;
}

.pc-tool-dialog__aside > div {
  align-items: flex-start;
  background: rgba(8, 24, 46, 0.72);
  border: 1px solid rgba(112, 190, 250, 0.13);
  border-radius: 1.15rem;
  display: flex;
  gap: 0.75rem;
  padding: 0.95rem;
}

.pc-tool-dialog__aside i {
  color: #50ddc1;
  margin-top: 0.2rem;
}

.pc-tool-dialog__aside span,
.pc-tool-dialog__aside strong,
.pc-tool-dialog__aside small { display: block; }
.pc-tool-dialog__aside strong { color: #eaf4ff; font-size: 0.8rem; }
.pc-tool-dialog__aside small { color: #8196af; font-size: 0.7rem; line-height: 1.45; margin-top: 0.25rem; }

body.pc-tool-dialog-open { overflow: hidden; }

@keyframes pcToolsSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pcToolsSpinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes pcToolsFloat { 50% { transform: translateY(-12px); } }
@keyframes pcToolsPulse { 50% { opacity: 0.4; transform: scaleX(0.75); } }
@keyframes pcToolDialogIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } }

@media (max-width: 1199.98px) {
  .pc-tools-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr); gap: 3rem; }
  .pc-tools-title { font-size: clamp(3.7rem, 6vw, 5.2rem); }
  .pc-tools-trust { grid-template-columns: 1fr; }
  .pc-tools-trust article { max-width: 28rem; }
  .pc-tools-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-tools-journey { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .pc-tools-hero { min-height: 0; padding-top: 8.5rem; }
  .pc-tools-hero__grid { grid-template-columns: 1fr; }
  .pc-tools-hero__copy { max-width: 760px; }
  .pc-tools-title { max-width: 10ch; }
  .pc-tools-hero__visual { justify-self: center; max-width: 680px; }
  .pc-tools-controlbar { position: relative; top: auto; }
  .pc-tool-dialog__body { grid-template-columns: 1fr; }
  .pc-tool-dialog__aside { grid-template-columns: repeat(3, minmax(0, 1fr)); position: static; }
}

@media (max-width: 767.98px) {
  .pc-tools-hero { padding-inline: 1rem; }
  .pc-tools-title { font-size: clamp(3.25rem, 14vw, 4.65rem); }
  .pc-tools-hero__lead { font-size: 1rem; }
  .pc-tools-hero__actions { align-items: stretch; flex-direction: column; }
  .pc-tools-primary, .pc-tools-secondary { width: 100%; }
  .pc-tools-trust { margin-top: 1.4rem; }
  .pc-tools-hero__visual { aspect-ratio: 1 / 1.08; }
  .pc-tools-core { height: 12rem; width: 12rem; }
  .pc-tools-core img { height: 6.6rem; width: 6.6rem; }
  .pc-tools-float { min-width: 7.8rem; padding: 0.8rem; }
  .pc-tools-float--ocr { left: 4%; top: 8%; }
  .pc-tools-float--pdf { right: 3%; top: 13%; }
  .pc-tools-float--image { bottom: 8%; right: 5%; }
  .pc-tools-section-heading { align-items: flex-start; flex-direction: column; }
  .pc-tools-counter { align-items: flex-start; }
  .pc-tools-catalog { grid-template-columns: 1fr; }
  .pc-tool-launcher { min-height: 17rem; }
  .pc-tools-journey__steps { grid-template-columns: 1fr; }
  .pc-tools-journey__steps article { min-height: 13rem; }
  .pc-tool-dialog__panel { border-radius: 1.2rem; inset: 0.45rem; max-height: calc(100svh - 0.9rem); }
  .pc-tool-dialog__header { grid-template-columns: 1fr auto; padding: 0.8rem; }
  .pc-tool-dialog__back { grid-column: 1 / -1; justify-self: start; }
  .pc-tool-dialog__identity { min-width: 0; }
  .pc-tool-dialog__identity p { display: none; }
  .pc-tool-dialog__aside { grid-template-columns: 1fr; }
  .pc-tools-search kbd { display: none; }
}

@media (max-width: 479.98px) {
  .pc-tools-title { font-size: clamp(2.9rem, 15vw, 4rem); }
  .pc-tools-hero__visual { border-radius: 1.6rem; }
  .pc-tools-float--ocr { top: 5%; }
  .pc-tools-float--pdf { top: 10%; }
  .pc-tools-float--image { bottom: 5%; }
  .pc-tools-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.35rem; scrollbar-width: none; }
  .pc-tools-filters::-webkit-scrollbar { display: none; }
  .pc-tools-filters button { flex: 0 0 auto; }
  .pc-tools-explorer, .pc-tools-journey { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-tools-orbit,
  .pc-tools-float,
  .pc-tools-core__glow,
  .pc-tool-dialog__panel {
    animation: none !important;
  }
  .pc-tool-launcher,
  .pc-tools-primary,
  .pc-tools-secondary {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   PIXICORE_ONLINE_TOOLS_PREMIUM_V4
   Dialog geometry, title contrast and contextual field help
   ========================================================== */

.pc-online-tools-page {
  overflow-x: clip;
}

/* The dialog is portaled to <body> by JS, so no section can clip it. */
.pc-online-tools-page .pc-tool-dialog {
  box-sizing: border-box;
  height: 100dvh;
  inset: 0;
  width: 100%;
}

.pc-online-tools-page .pc-tool-dialog__panel {
  box-sizing: border-box;
  inset-block: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom));
  inset-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  margin-inline: auto;
  max-height: calc(100dvh - 24px);
  max-width: 1720px;
  width: auto;
}

.pc-online-tools-page .pc-tool-dialog__header {
  box-sizing: border-box;
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  grid-template-columns: auto minmax(0, 1fr) 46px;
  min-width: 0;
  padding: 1rem clamp(1rem, 2vw, 1.6rem);
  width: 100%;
}

.pc-online-tools-page .pc-tool-dialog__identity,
.pc-online-tools-page .pc-tool-dialog__identity > div {
  min-width: 0;
}

.pc-online-tools-page .pc-tool-dialog__close {
  align-self: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.13), transparent 45%),
    rgba(23, 55, 91, 0.82);
  border-color: rgba(132, 206, 255, 0.3);
  box-shadow: 0 10px 26px rgba(0, 7, 22, 0.26);
  box-sizing: border-box;
  height: 44px;
  inset: auto;
  justify-self: end;
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  position: relative;
  transform: none;
  width: 44px;
  z-index: 4;
}

.pc-online-tools-page .pc-tool-dialog__close:hover {
  background: linear-gradient(135deg, rgba(45, 140, 255, 0.34), rgba(67, 225, 186, 0.22));
  border-color: rgba(102, 225, 202, 0.55);
  color: #ffffff;
}

.pc-online-tools-page .pc-tool-dialog__close:focus-visible,
.pc-online-tools-page .pc-tool-dialog__back:focus-visible {
  outline: 3px solid rgba(89, 223, 203, 0.72);
  outline-offset: 3px;
}

/* High-contrast premium titles: clear on both luminous gradients and dark glass. */
.pc-online-tools-page .pc-tools-title,
.pc-online-tools-page .pc-tools-section-heading h2,
.pc-online-tools-page .pc-tools-journey h2,
.pc-online-tools-page .pc-tool-dialog__identity h2 {
  color: #f8fbff;
  text-shadow:
    0 2px 0 rgba(0, 5, 18, 0.72),
    0 14px 42px rgba(0, 5, 20, 0.46);
}

.pc-online-tools-page .pc-tools-title__accent {
  filter: drop-shadow(0 6px 18px rgba(0, 38, 72, 0.48));
}

.pc-online-tools-page .pc-tools-section-heading h2,
.pc-online-tools-page .pc-tools-journey h2 {
  position: relative;
}

.pc-online-tools-page .pc-tools-section-heading h2::after,
.pc-online-tools-page .pc-tools-journey h2::after {
  background: linear-gradient(90deg, #35c7ff, #43e1ba, transparent);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(67, 225, 186, 0.18);
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.85rem;
  max-width: 8.5rem;
  width: 24%;
}

/* The title inside the mounted functional card must not inherit old dark text. */
.pc-online-tools-page .pc-tool-dialog__mount .card-header > span:not(.tool-card-icon),
.pc-online-tools-page .pc-tool-dialog__mount .card-header > [data-i18n],
.pc-online-tools-page .pc-tool-dialog__mount .card-header {
  color: #eef7ff !important;
  font-weight: 780 !important;
  text-shadow: 0 2px 14px rgba(0, 5, 18, 0.45);
}

.pc-online-tools-page .pc-tool-dialog__mount .card-header > span:not(.tool-card-icon) {
  font-size: clamp(1rem, 1.4vw, 1.16rem) !important;
}

.pc-online-tools-page .pc-tool-dialog__mount .card-header i[data-bs-toggle="popover"] {
  align-items: center;
  background: linear-gradient(145deg, rgba(238, 247, 255, 0.98), rgba(213, 230, 255, 0.96));
  border: 1px solid rgba(98, 155, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 8, 26, 0.22);
  color: #214fb5 !important;
  cursor: help;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

/* Semantic help trigger generated for every form field. */
.pc-online-tools-page .tool-field-help {
  align-items: center;
  background: linear-gradient(135deg, rgba(25, 58, 103, 0.98), rgba(31, 91, 166, 0.94));
  border: 1px solid rgba(137, 201, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 8, 28, 0.22);
  color: #f4f9ff;
  cursor: help;
  display: inline-flex;
  gap: 0.42rem;
  margin: -0.05rem 0 0.65rem;
  min-height: 30px;
  padding: 0.3rem 0.65rem 0.3rem 0.38rem;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pc-online-tools-page .tool-field-help:hover,
.pc-online-tools-page .tool-field-help:focus-visible,
.pc-online-tools-page .tool-field-help.is-open {
  border-color: rgba(85, 226, 196, 0.72);
  box-shadow: 0 10px 26px rgba(0, 11, 35, 0.3), 0 0 0 3px rgba(67, 225, 186, 0.11);
  outline: 0;
  transform: translateY(-1px);
}

.pc-online-tools-page .tool-field-help__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  height: 1.22rem;
  justify-content: center;
  width: 1.22rem;
}

.pc-online-tools-page .tool-field-help__label {
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.01em;
}

/* Keep help descriptions accessible without depending on Bootstrap utilities. */
.pc-online-tools-page .tool-field-help .visually-hidden {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.pc-tool-field-help-popover {
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 199, 255, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(10, 31, 58, 0.99), rgba(4, 18, 38, 0.995));
  border: 1px solid rgba(110, 203, 255, 0.34);
  border-radius: 15px;
  box-shadow: 0 24px 64px rgba(0, 5, 20, 0.46);
  color: #edf7ff;
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.58;
  max-width: min(360px, calc(100vw - 24px));
  opacity: 0;
  padding: 0.85rem 1rem;
  pointer-events: none;
  position: fixed;
  transform: translateY(-4px) scale(0.985);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: hidden;
  width: max-content;
  z-index: 10220;
}

.pc-tool-field-help-popover.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.pc-tool-field-help-popover::before {
  background: #0b294a;
  border-left: 1px solid rgba(110, 203, 255, 0.3);
  border-top: 1px solid rgba(110, 203, 255, 0.3);
  content: "";
  height: 10px;
  left: var(--pc-help-arrow, 28px);
  position: absolute;
  top: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
}

.pc-tool-field-help-popover.is-above::before {
  bottom: -6px;
  top: auto;
  transform: translateX(-50%) rotate(225deg);
}

/* Bootstrap header popovers need to sit above the 10050 dialog layer. */
.popover.pc-tools-bootstrap-popover,
.popover.custom-popover {
  z-index: 10210 !important;
}

.popover.pc-tools-bootstrap-popover .popover-header,
.popover.pc-tools-bootstrap-popover .popover-body {
  color: #edf7ff;
}

.popover.pc-tools-bootstrap-popover .popover-header {
  background: #102e52;
  border-bottom-color: rgba(116, 197, 255, 0.2);
}

.popover.pc-tools-bootstrap-popover .popover-body {
  background: #081d38;
}

@media (max-width: 767.98px) {
  .pc-online-tools-page .pc-tool-dialog__panel {
    border-radius: 1.25rem;
    inset-block: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-bottom));
    inset-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
    max-height: calc(100dvh - 16px);
  }

  .pc-online-tools-page .pc-tool-dialog__header {
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr) 42px;
    padding: 0.75rem;
  }

  .pc-online-tools-page .pc-tool-dialog__back {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pc-online-tools-page .pc-tool-dialog__identity {
    grid-column: 1;
  }

  .pc-online-tools-page .pc-tool-dialog__close {
    grid-column: 2;
    grid-row: 2;
    height: 40px;
    min-height: 40px;
    min-width: 40px;
    width: 40px;
  }

  .pc-online-tools-page .pc-tools-section-heading h2::after,
  .pc-online-tools-page .pc-tools-journey h2::after {
    width: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-online-tools-page .tool-field-help,
  .pc-tool-field-help-popover {
    transition-duration: 0.01ms !important;
  }
}

/* PIXICORE_ONLINE_TOOLS_MOBILE_V1_START */

@media (max-width: 767.98px) {
  body.pc-online-tools-page,
  .pc-online-tools-page {
    overflow-x: clip;
  }

  .pc-online-tools-page .pc-tools-container {
    width: min(calc(100% - 28px), 680px);
    max-width: 680px;
    margin-inline: auto;
    padding-inline: 0;
  }

  /*
   * Hero : scène visuelle d’abord, message ensuite.
   */
  .pc-online-tools-page .pc-tools-hero {
    min-height: 0;
    padding:
      clamp(5.8rem, 15vw, 6.6rem)
      0
      clamp(3.3rem, 9vw, 4rem);
  }

  .pc-online-tools-page .pc-tools-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(2rem, 7vw, 2.8rem);
  }

  .pc-online-tools-page .pc-tools-hero__visual {
    order: 1;
    width: min(100%, 530px);
    max-width: 530px;
    min-height: 390px;
    aspect-ratio: auto;
    margin-inline: auto;
    justify-self: auto;
    overflow: hidden;
    border-radius: 26px;
  }

  .pc-online-tools-page .pc-tools-hero__copy {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .pc-online-tools-page .pc-tools-kicker {
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .pc-online-tools-page .pc-tools-title {
    width: min(100%, 10.8ch);
    max-width: 10.8ch;
    margin-inline: auto;
    font-size: clamp(2.25rem, 10.6vw, 3.25rem);
    line-height: 1.01;
    letter-spacing: -.045em;
    text-align: center;
    text-wrap: balance;
  }

  .pc-online-tools-page .pc-tools-hero__lead {
    width: min(100%, 36rem);
    margin-inline: auto;
    font-size: clamp(.98rem, 4.1vw, 1.06rem);
    line-height: 1.58;
    text-align: center;
    text-wrap: pretty;
  }

  .pc-online-tools-page .pc-tools-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .72rem;
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  .pc-online-tools-page .pc-tools-hero__actions > * {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    margin: 0;
  }

  .pc-online-tools-page .pc-tools-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: .62rem;
    width: min(100%, 32rem);
    margin-inline: auto;
    text-align: left;
  }

  .pc-online-tools-page .pc-tools-trust article {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: .75rem .85rem;
    border-radius: 15px;
  }

  /*
   * Scène visuelle compacte.
   */
  .pc-online-tools-page .pc-tools-visual-shell {
    min-height: 390px;
    height: 390px;
    border-radius: 26px;
  }

  .pc-online-tools-page .pc-tools-float {
    min-width: 0;
    width: min(132px, 36vw);
    padding: .65rem;
    border-radius: 15px;
    font-size: .72rem;
  }

  .pc-online-tools-page .pc-tools-float strong {
    font-size: .76rem;
  }

  .pc-online-tools-page .pc-tools-float small {
    font-size: .59rem;
  }

  /*
   * Recherche et filtres.
   */
  .pc-online-tools-page .pc-tools-discovery {
    padding-block: clamp(3.5rem, 10vw, 4.5rem);
  }

  .pc-online-tools-page .pc-tools-search {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
  }

  .pc-online-tools-page .pc-tools-search input {
    min-width: 0;
    font-size: .95rem;
  }

  .pc-online-tools-page .pc-tools-filters {
    display: flex;
    gap: .55rem;
    width: 100%;
    padding: .15rem 0 .35rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline proximity;
  }

  .pc-online-tools-page .pc-tools-filters::-webkit-scrollbar {
    display: none;
  }

  .pc-online-tools-page .pc-tools-filters button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: .65rem .82rem;
    border-radius: 14px;
    font-size: .78rem;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  /*
   * Catalogue : cartes moins hautes.
   */
  .pc-online-tools-page .pc-tools-catalog {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .pc-online-tools-page .pc-tool-launcher {
    min-height: 0 !important;
    padding: 1.15rem;
    border-radius: 22px;
  }

  .pc-online-tools-page .pc-tool-launcher__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .pc-online-tools-page .pc-tool-launcher h3 {
    font-size: clamp(1.2rem, 5.6vw, 1.48rem);
    line-height: 1.15;
    text-wrap: balance;
  }

  .pc-online-tools-page .pc-tool-launcher p {
    font-size: .91rem;
    line-height: 1.5;
    text-wrap: pretty;
  }

  .pc-online-tools-page .pc-tool-launcher__cta {
    margin-top: 1rem;
  }

  /*
   * Parcours utilisateur compact.
   */
  .pc-online-tools-page .pc-tools-journey {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pc-online-tools-page .pc-tools-journey__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .pc-online-tools-page .pc-tools-journey__steps article {
    min-height: 0 !important;
    padding: 1.05rem;
    border-radius: 19px;
  }

  /*
   * Atelier plein écran mobile.
   */
  .pc-online-tools-page .pc-tool-dialog__panel {
    inset: .35rem;
    width: auto;
    max-width: none;
    max-height: calc(100svh - .7rem);
    border-radius: 20px;
  }

  .pc-online-tools-page .pc-tool-dialog__header {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: .55rem;
    padding: .72rem;
  }

  .pc-online-tools-page .pc-tool-dialog__back {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    min-height: 42px;
  }

  .pc-online-tools-page .pc-tool-dialog__identity {
    min-width: 0;
  }

  .pc-online-tools-page .pc-tool-dialog__identity h2 {
    font-size: 1.08rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .pc-online-tools-page .pc-tool-dialog__identity p {
    display: none;
  }

  .pc-online-tools-page .pc-tool-dialog__close {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .pc-online-tools-page .pc-tool-dialog__body {
    grid-template-columns: 1fr;
    gap: .8rem;
    padding: .75rem;
  }

  .pc-online-tools-page .pc-tool-dialog__workspace {
    min-width: 0;
    padding: .8rem;
    border-radius: 17px;
  }

  .pc-online-tools-page .pc-tool-dialog__aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .pc-online-tools-page input,
  .pc-online-tools-page select,
  .pc-online-tools-page textarea,
  .pc-online-tools-page button {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .pc-online-tools-page .pc-tools-container {
    width: min(calc(100% - 24px), 420px);
  }

  .pc-online-tools-page .pc-tools-hero__visual,
  .pc-online-tools-page .pc-tools-visual-shell {
    min-height: 360px;
    height: 360px;
    border-radius: 22px;
  }

  .pc-online-tools-page .pc-tools-title {
    width: min(100%, 10.3ch);
    max-width: 10.3ch;
    font-size: clamp(2.05rem, 10.5vw, 2.75rem);
  }

  .pc-online-tools-page .pc-tools-float {
    width: min(118px, 35vw);
    padding: .56rem;
  }

  .pc-online-tools-page .pc-tool-launcher {
    padding: 1rem;
  }

  .pc-online-tools-page .pc-tool-dialog__panel {
    inset: .2rem;
    max-height: calc(100svh - .4rem);
    border-radius: 17px;
  }
}

@media (max-width: 360px) {
  .pc-online-tools-page .pc-tools-hero__visual,
  .pc-online-tools-page .pc-tools-visual-shell {
    min-height: 335px;
    height: 335px;
  }

  .pc-online-tools-page .pc-tools-title {
    font-size: 1.95rem;
  }

  .pc-online-tools-page .pc-tools-float small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-online-tools-page .pc-tools-float,
  .pc-online-tools-page .pc-tools-signal,
  .pc-online-tools-page .pc-tool-launcher {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* PIXICORE_ONLINE_TOOLS_MOBILE_V1_END */

/* PIXICORE_ONLINE_TOOLS_PREMIUM_CONTRAST_V1_START */

.pc-online-tools-page {
  --pc-tools-light-title: #0b2547;
  --pc-tools-light-copy: #304e70;
  --pc-tools-light-muted: #56708c;
  --pc-tools-light-accent: #145fb5;
}

/*
 * Titres des sections sur fond clair.
 */
.pc-online-tools-page .pc-tools-section-heading h2,
.pc-online-tools-page .pc-tools-journey h2,
.pc-online-tools-page .pc-tools-discovery h2 {
  color: var(--pc-tools-light-title);
  font-weight: 850;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .9),
    0 8px 22px rgba(29, 75, 121, .075);
}

.pc-online-tools-page .pc-tools-section-heading > span,
.pc-online-tools-page .pc-tools-section-kicker,
.pc-online-tools-page .pc-tools-discovery__kicker {
  color: var(--pc-tools-light-accent);
  font-weight: 850;
}

.pc-online-tools-page .pc-tools-section-heading p,
.pc-online-tools-page .pc-tools-discovery > p,
.pc-online-tools-page .pc-tools-journey > p {
  color: var(--pc-tools-light-copy);
  font-weight: 520;
}

/*
 * Barre de recherche.
 */
.pc-online-tools-page .pc-tools-search {
  color: var(--pc-tools-light-title);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .99),
      rgba(244, 249, 255, .98)
    );
  border-color: rgba(42, 112, 181, .22);
  box-shadow:
    0 16px 38px rgba(27, 75, 122, .09),
    inset 0 1px 0 rgba(255, 255, 255, .95);
}

.pc-online-tools-page .pc-tools-search input {
  color: #102d50;
  font-weight: 570;
}

.pc-online-tools-page .pc-tools-search input::placeholder {
  color: #627c98;
  opacity: 1;
}

.pc-online-tools-page .pc-tools-search i {
  color: #1768b5;
}

/*
 * Filtres.
 */
.pc-online-tools-page .pc-tools-filters button {
  color: #294b6e;
  font-weight: 720;
  background: rgba(244, 249, 255, .96);
  border-color: rgba(53, 121, 186, .17);
}

.pc-online-tools-page .pc-tools-filters button:hover,
.pc-online-tools-page .pc-tools-filters button:focus-visible {
  color: #0d3970;
  background: #fff;
  border-color: rgba(29, 116, 199, .33);
}

.pc-online-tools-page .pc-tools-filters button.is-active,
.pc-online-tools-page .pc-tools-filters button[aria-pressed="true"] {
  color: #fff;
  background:
    linear-gradient(
      135deg,
      #176bd1,
      #1255a6
    );
  border-color: rgba(21, 91, 171, .62);
  box-shadow:
    0 10px 22px rgba(20, 83, 158, .18),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}

/*
 * Cartes des outils.
 */
.pc-online-tools-page .pc-tool-launcher {
  color: var(--pc-tools-light-copy);
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, .99),
      rgba(242, 248, 255, .975)
    );
  border-color:
    color-mix(
      in srgb,
      var(--tool-accent, #246ad3) 22%,
      rgba(68, 124, 181, .15)
    );
  box-shadow:
    0 18px 44px rgba(28, 76, 123, .085),
    inset 0 1px 0 rgba(255, 255, 255, .98);
}

.pc-online-tools-page .pc-tool-launcher::after {
  opacity: .46;
}

.pc-online-tools-page .pc-tool-launcher h3 {
  color: var(--pc-tools-light-title);
  font-weight: 840;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .94);
}

.pc-online-tools-page .pc-tool-launcher p {
  color: var(--pc-tools-light-copy);
  font-weight: 510;
}

.pc-online-tools-page .pc-tool-launcher small,
.pc-online-tools-page .pc-tool-launcher__meta,
.pc-online-tools-page .pc-tool-launcher__eyebrow {
  color: #496887;
  font-weight: 670;
}

.pc-online-tools-page .pc-tool-launcher__cta {
  color:
    color-mix(
      in srgb,
      var(--tool-accent, #1768b5) 82%,
      #073466
    );
  font-weight: 820;
}

.pc-online-tools-page .pc-tool-launcher:hover,
.pc-online-tools-page .pc-tool-launcher:focus-visible {
  background:
    linear-gradient(
      150deg,
      #fff,
      rgba(239, 247, 255, .99)
    );
  border-color:
    color-mix(
      in srgb,
      var(--tool-accent, #246ad3) 42%,
      rgba(42, 104, 165, .2)
    );
  box-shadow:
    0 24px 54px rgba(28, 76, 123, .14),
    0 0 0 1px
      color-mix(
        in srgb,
        var(--tool-accent, #246ad3) 12%,
        transparent
      );
}

/*
 * Parcours et étapes.
 */
.pc-online-tools-page .pc-tools-journey__steps article {
  color: var(--pc-tools-light-copy);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .985),
      rgba(242, 248, 254, .97)
    );
  border-color: rgba(52, 119, 185, .16);
}

.pc-online-tools-page .pc-tools-journey__steps article h3 {
  color: var(--pc-tools-light-title);
  font-weight: 830;
}

.pc-online-tools-page .pc-tools-journey__steps article p {
  color: var(--pc-tools-light-copy);
  font-weight: 510;
}

.pc-online-tools-page .pc-tools-journey__steps article strong,
.pc-online-tools-page .pc-tools-journey__steps article b {
  color: #145eae;
}

/*
 * État vide.
 */
.pc-online-tools-page .pc-tools-empty {
  color: var(--pc-tools-light-copy);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .985),
      rgba(241, 248, 255, .97)
    );
}

.pc-online-tools-page .pc-tools-empty h3 {
  color: var(--pc-tools-light-title);
  font-weight: 830;
}

.pc-online-tools-page .pc-tools-empty p {
  color: var(--pc-tools-light-copy);
}

/*
 * Fenêtre des outils.
 */
.pc-online-tools-page .pc-tool-dialog__panel {
  color: #dceaf7;
}

.pc-online-tools-page .pc-tool-dialog__workspace {
  color: #dceaf7;
  background:
    linear-gradient(
      145deg,
      rgba(8, 24, 43, .985),
      rgba(7, 20, 37, .99)
    );
}

.pc-online-tools-page .pc-tool-dialog__workspace h2,
.pc-online-tools-page .pc-tool-dialog__workspace h3,
.pc-online-tools-page .pc-tool-dialog__workspace h4,
.pc-online-tools-page .pc-tool-dialog__identity h2 {
  color: #f5faff;
  font-weight: 820;
  text-shadow: 0 2px 12px rgba(0, 7, 20, .35);
}

.pc-online-tools-page .pc-tool-dialog__workspace p,
.pc-online-tools-page .pc-tool-dialog__workspace label,
.pc-online-tools-page .pc-tool-dialog__identity p {
  color: #bfd0e0;
}

.pc-online-tools-page .pc-tool-dialog__workspace label {
  font-weight: 680;
}

.pc-online-tools-page .pc-tool-dialog__workspace input,
.pc-online-tools-page .pc-tool-dialog__workspace select,
.pc-online-tools-page .pc-tool-dialog__workspace textarea {
  color: #102c4b;
  background: rgba(251, 253, 255, .985);
  border-color: rgba(112, 169, 220, .34);
  font-weight: 550;
}

.pc-online-tools-page
.pc-tool-dialog__workspace input::placeholder,
.pc-online-tools-page
.pc-tool-dialog__workspace textarea::placeholder {
  color: #6c8299;
  opacity: 1;
}

.pc-online-tools-page .pc-tool-dialog__aside {
  color: #ccdae8;
}

.pc-online-tools-page .pc-tool-dialog__aside strong {
  color: #f2f8ff;
  font-weight: 780;
}

.pc-online-tools-page .pc-tool-dialog__aside small {
  color: #afc2d5;
}

/*
 * Focus clavier visible et premium.
 */
.pc-online-tools-page .pc-tool-launcher:focus-visible,
.pc-online-tools-page .pc-tools-filters button:focus-visible,
.pc-online-tools-page .pc-tools-search:focus-within {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(36, 132, 217, .16),
    0 18px 44px rgba(28, 76, 123, .12);
}

@media (max-width: 767.98px) {
  .pc-online-tools-page .pc-tool-launcher h3,
  .pc-online-tools-page .pc-tools-section-heading h2,
  .pc-online-tools-page .pc-tools-journey h2 {
    letter-spacing: -.025em;
  }

  .pc-online-tools-page .pc-tool-launcher p,
  .pc-online-tools-page .pc-tools-journey__steps article p {
    line-height: 1.56;
  }
}

/* PIXICORE_ONLINE_TOOLS_PREMIUM_CONTRAST_V1_END */
