/* Procurement service detail pages. Shared tokens and chrome come from style.css. */
.page-operations {
  scrollbar-color: var(--muted) var(--gray);
  scrollbar-width: thin;
}
.page-operations .gv-name {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}
/* Desktop hero geometry inherits the procurement reference in style.css. */
.page-operations .gv-headline { margin-top: 12px; font-size: clamp(25px, 2.25vw, 32px); }
.page-operations .gv-desc { max-width: 670px; }
.page-operations .gv-actions { gap: 12px; }
.page-operations .gv-actions .btn-primary { min-width: 208px; }
.page-operations .gv-actions .btn-white { min-width: 160px; }
.page-operations .gv-textlink { position: static; margin-left: 0; font-size: 14px; }
.page-operations .gv-cap-ico {
  background: linear-gradient(140deg, var(--primary-light), var(--primary));
}
.page-operations .gv-banner {
  background: linear-gradient(110deg, var(--primary-hover), var(--primary) 68%, var(--primary-light));
}
.page-operations .gv-table-wrap {
  overflow-x: auto;
  scrollbar-color: var(--muted) var(--gray);
  scrollbar-width: thin;
}
.page-operations .gv-table { min-width: 620px; }
.page-operations .gv-table caption { padding: 16px 24px; text-align: left; font-size: 14px; }
.page-operations .section-head { align-items: flex-end; }
.page-operations .gv-docs ul { margin-top: 12px; }
.page-operations .gv-note { color: var(--text); }
.page-operations .page-anchors { scrollbar-width: thin; scrollbar-color: var(--muted) var(--gray); }
.page-operations .page-anchors::-webkit-scrollbar { display: block; height: 3px; }
.page-operations .page-anchors::-webkit-scrollbar-thumb,
.page-operations .gv-table-wrap::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--muted); }
.page-operations .page-anchors::-webkit-scrollbar-track,
.page-operations .gv-table-wrap::-webkit-scrollbar-track { background: var(--gray); }
.page-operations .gv-like :is(a, .is-unavailable) { min-height: 218px; }
.page-operations .gv-like p { margin-bottom: 16px; }
.page-operations .gv-like-go { position: relative; z-index: 1; }
.page-operations .faq-item summary { min-height: 60px; }
.page-operations .booking-form textarea { resize: none; }

/* Readable business diagrams, rather than illustrative dashboard screenshots. */
.op-hero-visual {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.93), rgba(242,248,255,.84));
  box-shadow: 0 20px 60px rgba(43, 95, 178, .12), inset 0 0 0 1px rgba(56,96,244,.05);
  isolation: isolate;
}
.op-visual-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--primary); font-size: 14px; font-weight: 600; }
.op-visual-head > .ph { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--tag); font-size: 20px; }
.op-visual-head > span:last-child { font-size: inherit; font-weight: 500; }
.op-visual-head:has(> strong) { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.op-visual-head:has(> strong) > strong { font-size: 18px; line-height: 1.5; }
.op-visual-head:has(> strong) > :is(p,span) { font-size: 12px; line-height: 1.6; font-weight: 400; color: var(--text); }
.op-visual-head:has(> strong):has(> .ph) { grid-template-columns: 36px 1fr; text-align: left; }
.op-visual-head:has(> strong) > .ph { grid-column: 1; grid-row: 1 / 3; }
.op-visual-head:has(> strong):has(> .ph) > :is(strong,span) { grid-column: 2; }
.op-visual-head > svg.ic { width: 28px; height: 28px; color: var(--primary); flex: none; }
.op-visual-hub {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--primary);
  border-radius: 15px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 22px rgba(56,96,244,.17);
}
.op-visual-hub > :is(strong, b, h3) { display: block; font-size: 21px; font-weight: 600; line-height: 1.45; }
.op-visual-hub > :is(p, small, span) { display: block; margin-top: 6px; color: #fff; font-size: 12px; line-height: 1.7; }
.op-visual-hub > svg.ic { width: 28px; height: 28px; margin: 0 auto 10px; color: #fff; }
.op-visual-hub > div > strong { display: block; font-size: 20px; font-weight: 600; }
.op-visual-hub > div > p { margin-top: 6px; font-size: 12px; line-height: 1.7; }
.op-visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.op-visual-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-visual-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.op-visual-node { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 17px 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: center; box-shadow: 0 4px 14px rgba(43,95,178,.035); }
.op-visual-node > .ph { margin-bottom: 8px; color: var(--primary); font-size: 23px; }
.op-visual-node > svg.ic { width: 24px; height: 24px; margin-bottom: 8px; color: var(--primary); }
.op-visual-node > :is(strong,b,h3) { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--title); }
.op-visual-node > :is(p,small,span) { margin-top: 5px; font-size: 11px; line-height: 1.6; color: var(--text); }
.op-visual-node.is-accent { border-color: var(--primary); background: var(--tag); }
.op-visual-connector { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; color: var(--primary); font-size: 11px; line-height: 1.5; }
.op-visual-connector > .ph { font-size: 17px; }
.op-visual-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--text); text-align: center; }
.op-hero-visual figcaption { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--text); text-align: center; }

/* Match the reference's 500 × 375 visual without shrinking the diagram text. */
@media (min-width: 901px) {
  .op-hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 375px;
    padding: 16px;
  }
  .op-hero-visual > * { flex-shrink: 0; }
  .op-hero-visual .op-visual-head { gap: 8px; margin-bottom: 8px; font-size: 12px; }
  .op-hero-visual .op-visual-head:has(> strong) { gap: 3px; padding: 8px 10px; }
  .op-hero-visual .op-visual-head:has(> strong) > strong { font-size: 16px; line-height: 1.4; }
  .op-hero-visual .op-visual-head:has(> strong) > :is(p, span) { font-size: 11px; line-height: 1.5; }
  .op-hero-visual .op-visual-head > .ph,
  .op-hero-visual .op-visual-head > svg.ic { width: 24px; height: 24px; font-size: 17px; }
  .page-self-supplier .op-hero-visual .op-visual-head { display: flex; flex-wrap: wrap; text-align: left; }
  .page-self-supplier .op-hero-visual .op-visual-head > span { margin-left: auto; }
  .op-hero-visual .op-visual-hub { padding: 10px 12px; border-radius: 12px; }
  .op-hero-visual .op-visual-hub > :is(strong, b, h3),
  .op-hero-visual .op-visual-hub > div > strong { font-size: 18px; line-height: 1.4; }
  .op-hero-visual .op-visual-hub > :is(p, small, span),
  .op-hero-visual .op-visual-hub > div > p { margin-top: 4px; font-size: 11px; line-height: 1.5; }
  .page-jd-supply .op-hero-visual .op-visual-hub { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
  .op-hero-visual .op-visual-hub > svg.ic { width: 24px; height: 24px; margin: 0; flex: none; }
  .op-hero-visual .op-visual-grid { gap: 8px; }
  .op-hero-visual .op-visual-node { padding: 8px; border-radius: 10px; }
  .op-hero-visual .op-visual-node > :is(strong, b, h3) { font-size: 13px; }
  .op-hero-visual .op-visual-node > :is(p, small, span) { margin-top: 3px; font-size: 11px; line-height: 1.5; }
  .op-hero-visual .op-visual-node > .ph,
  .op-hero-visual .op-visual-node > svg.ic { width: 20px; height: 20px; margin-bottom: 4px; font-size: 20px; }
  .op-hero-visual .op-visual-connector { min-height: 18px; font-size: 11px; }
  .op-hero-visual .op-visual-note,
  .op-hero-visual figcaption { margin-top: 8px; padding-top: 8px; font-size: 11px; line-height: 1.5; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .page-operations .op-hero-visual { min-height: 0; padding: 12px; }
}

/* The three product renders share the reference hero's 4:3 footprint. */
.page-operations .op-hero-visual--illustrated {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.op-hero-visual--illustrated > .op-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
/* Keep the original business diagram as the render's accessible text equivalent. */
.page-operations .op-hero-visual--illustrated > :not(.op-hero-image) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .page-operations .op-hero-visual--illustrated { width: min(100%, 360px); justify-self: center; }
}

/* Shared role / channel tabs. The native booking dialog remains the shared owner. */
.op-tabs { margin-top: 28px; }
.op-tablist, .op-tabs-list, [data-op-tabs] > [role="tablist"] { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.op-tab, [data-op-tabs] [role="tab"] { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.5; transition: border-color .2s, color .2s, background .2s; }
[data-op-tabs] [role="tab"]:hover { border-color: var(--primary); color: var(--primary); }
[data-op-tabs] [role="tab"][aria-selected="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
[data-op-tabs] [role="tab"] .ph { font-size: 20px; }
[data-op-tabs] [role="tabpanel"] { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.op-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.op-panel-copy h3 { font-size: 25px; line-height: 1.5; font-weight: 600; }
.op-panel-copy > p { margin-top: 12px; font-size: 15px; line-height: 1.9; color: var(--text); }
.op-panel-copy > ul { display: grid; gap: 10px; margin-top: 18px; }
.op-panel-copy > ul > li { position: relative; padding-left: 18px; color: var(--text); font-size: 14px; line-height: 1.85; }
.op-panel-copy > ul > li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.op-kicker { margin-bottom: 10px; color: var(--primary); font-size: 13px; font-weight: 600; }
.op-note { margin-top: 20px; font-size: 13px; line-height: 1.85; color: var(--text); }
.op-note strong { font-weight: 500; color: var(--title); }
.op-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.op-flow > :is(article,div,li):not(.op-flow-arrow) { min-width: 0; flex: 1; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--gray); }
.op-flow h3, .op-flow h4 { font-size: 16px; line-height: 1.5; }
.op-flow p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--text); }
.op-flow-arrow { align-self: center; color: var(--primary); }
.op-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.op-grid.is-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.op-grid.is-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.op-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.op-card > .ph { color: var(--primary); font-size: 28px; }
.op-card h3 { margin-top: 14px; font-size: 20px; font-weight: 500; }
.op-card p { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--text); }
.page-operations [role="tabpanel"]:focus-visible { outline-offset: 4px; }

@media (max-width: 1100px) {
  .op-hero-visual { padding: 20px; }
  .op-panel-grid { gap: 24px; }
  .op-grid.is-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .page-operations .gv-hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 36px; }
  .op-hero-visual { width: min(100%, 600px); justify-self: center; }
  .op-panel-grid { grid-template-columns: 1fr; }
  .op-grid, .op-grid.is-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-operations .gv-caps.is-3 { grid-template-columns: 1fr; }
  .page-operations .gv-like :is(a, .is-unavailable) { min-height: 200px; }
}
@media (max-width: 860px) {
  .page-operations .gv-table { min-width: 0; }
  .page-operations .gv-table caption { display: block; width: 100%; padding: 18px 20px; line-height: 1.8; }
}
@media (max-width: 600px) {
  .page-operations .gv-hero-in { padding-top: 24px; padding-bottom: 28px; gap: 26px; }
  .page-operations .gv-name { font-size: 31px; }
  .page-operations .gv-headline { font-size: 24px; line-height: 1.5; }
  .page-operations .gv-desc { font-size: 14px; line-height: 1.9; }
  .page-operations .gv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .page-operations .gv-actions .btn { width: 100%; min-width: 0; padding: 0 14px; gap: 6px; font-size: 14px; }
  .page-operations .gv-actions .btn-primary > .ph { display: none; }
  .page-operations .gv-actions .btn-primary { justify-content: center; }
  .page-operations .gv-textlink { grid-column: 1 / -1; margin-top: 4px; min-height: 38px; display: inline-flex; align-items: center; }
  .op-hero-visual { padding: 18px 14px; border-radius: 18px; }
  .op-visual-head { gap: 8px; margin-bottom: 16px; font-size: 13px; }
  .op-visual-head > span:last-child { font-size: 12px; }
  .op-visual-hub { padding: 17px 12px; }
  .op-visual-hub > :is(strong,b,h3) { font-size: 18px; }
  .op-visual-grid { gap: 8px; }
  .op-visual-node { padding: 14px 6px; }
  .op-visual-node > :is(strong,b,h3) { font-size: 12px; }
  .op-visual-node > :is(p,small,span) { font-size: 11px; }
  .op-tablist, .op-tabs-list, [data-op-tabs] > [role="tablist"] { gap: 8px; }
  .op-tab, [data-op-tabs] [role="tab"] { flex: 1 1 auto; min-height: 44px; padding: 9px 12px; font-size: 13px; }
  [data-op-tabs] [role="tabpanel"] { padding: 22px 18px; }
  .op-panel-copy h3 { font-size: 21px; }
  .op-panel-copy > p { font-size: 14px; }
  .op-flow { flex-direction: column; }
  .op-flow-arrow { transform: rotate(90deg); }
  .op-grid, .op-grid.is-2, .op-grid.is-4 { grid-template-columns: 1fr; }
  .op-card { padding: 24px 20px; }
  .page-operations .gv-table tbody tr { padding: 20px 18px; }
  .page-operations .gv-table tbody th { padding: 0; }
  .page-operations .gv-table td { padding: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-operations { scroll-behavior: auto; }
  .page-operations *, .page-operations *::before, .page-operations *::after { animation: none !important; transition: none !important; }
}
