.prix-template-preview {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #edece7;
  color: #172d28;
  font-family: Arial, sans-serif;
}
.prix-template-preview * { box-sizing: border-box; }
.pt-header { position: sticky; top: 0; z-index: 20; flex: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px 24px; background: #fff; border-bottom: 1px solid #deded9; }
.pt-brand { display: flex; align-items: center; flex: 0 0 136px; }
.pt-brand img { display: block; width: 136px; max-width: 100%; height: auto; }
.pt-context { flex: 1; min-width: 0; display: grid; gap: 7px; padding-left: 24px; border-left: 1px solid #deded9; }
.pt-breadcrumb { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11px; line-height: 1.3; color: #626566; }
.pt-breadcrumb a { color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 0; }
.pt-breadcrumb a:hover { color: #172d28; text-decoration: underline; }
.pt-breadcrumb > span { color: #999d98; }
.pt-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; text-align: left; --prix-type-h1: 17px; }
.pt-title h1 { font-size: 17px; line-height: 1.2; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pt-technology { padding: 3px 6px; border: 1px solid #deded9; border-radius: 4px; font-size: 10px; color: #626566; }
.pt-viewports { display: flex; gap: 2px; padding: 3px; border: 1px solid #deded9; border-radius: 8px; flex-shrink: 0; }
.pt-viewports[hidden] { display: none; }
.pt-viewports button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 5px; background: transparent; color: #626566; cursor: pointer; }
.pt-viewports button[aria-pressed="true"] { color: #172d28; background: #eaf0e4; }
.pt-viewports button:hover { background: #f0f2ec; }
.pt-viewports svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pt-cta { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 20px; min-height: 44px; padding: 12px 18px; background: #172d28; color: #fff; text-decoration: none; border-radius: 6px; font-size: 13px; line-height: 1.4; font-weight: 600; }
.pt-cta:hover { background: #2f4648; }
.pt-header :is(a,button):focus-visible { outline: 3px solid #dd4a37; outline-offset: 3px; }
/* Only the embedded website scrolls; the Prix toolbar stays in view. */
.pt-main { flex: 1 1 0; min-height: 0; overflow: hidden; display: flex; justify-content: center; }
.pt-frame { width: 100%; max-width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.pt-main[data-viewport="tablet"] .pt-frame { width: 768px; }
.pt-main[data-viewport="mobile"] .pt-frame { width: 390px; }
@media (max-width: 1000px) {
  .pt-header { gap: 16px; padding: 12px 16px; }
  .pt-context { padding-left: 16px; }
  .pt-viewports { display: none; }
}
@media (max-width: 600px) {
  .pt-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 12px 16px; }
  .pt-brand { width: 100px; }
  .pt-brand img { width: 100px; }
  .pt-cta { grid-column: 2; grid-row: 1; gap: 10px; padding: 11px 12px; font-size: 12px; }
  .pt-context { grid-column: 1 / -1; grid-row: 2; border-left: 0; padding: 10px 0 0; border-top: 1px solid #ecece7; gap: 5px; }
  .pt-title { --prix-type-h1: 15px; }
  .pt-title h1 { font-size: 15px; }
}
