/* Reuses the existing AllPrint experience tokens; no external fonts or services. */
* { box-sizing:border-box }
html { scroll-behavior:auto }
body { margin:0;background:var(--ap-subtle);color:var(--ap-ink);font:16px/1.6 var(--ap-sans) }
a { color:var(--ap-blue);text-underline-offset:4px }
[hidden] { display:none!important }
.guide-shell { width:min(100%,1180px);margin-inline:auto;padding-inline:clamp(18px,4vw,40px) }
.guide-header { display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:22px;border-bottom:1px solid var(--ap-line) }
.guide-header>.ap-text-link { gap:8px;font-size:14px;text-align:right }
.guide-intro { max-width:760px;padding-block:48px 40px }
.guide-eyebrow { display:block;color:var(--ap-blue);font-size:11px;font-weight:750;letter-spacing:.12em;line-height:1.5 }
h1,h2,h3,p,figure { margin:0 }
h1,h2 { font-family:var(--ap-serif);font-weight:500;letter-spacing:-.025em }
h1 { margin-block:16px 22px;font-size:clamp(40px,5.5vw,64px);line-height:1.08 }
.guide-lead { max-width:570px;font-size:18px;line-height:1.65;color:var(--ap-muted) }
.guide-intro-note { margin-top:20px;font-size:14px }
.guide-intro-note a { display:inline-block;margin-left:10px }
.guide-comparison,.guide-framing { padding-block:32px 40px;border-top:1px solid var(--ap-line) }
.guide-section-head { display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;margin-bottom:26px }
h2 { font-size:clamp(28px,3.2vw,36px);line-height:1.18 }
.guide-section-head>p { max-width:430px;color:var(--ap-muted);font-size:15px }
.guide-comparison-grid { display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:40px;align-items:start }
.guide-scale { padding:20px;background:var(--ap-ivory);border:1px solid var(--ap-line);border-radius:var(--ap-radius);text-align:center }
.guide-sheets { display:block;width:100%;max-width:344px;height:auto;margin-inline:auto;overflow:visible }
.guide-sheet rect { fill:none;stroke:#78899a;stroke-width:1.5 }
.guide-sheet text { fill:var(--ap-blue);font:650 18px var(--ap-sans) }
[data-selected-size="4R"] [data-sheet="4R"] rect,
[data-selected-size="5R"] [data-sheet="5R"] rect,
[data-selected-size="8R"] [data-sheet="8R"] rect,
[data-selected-size="11R"] [data-sheet="11R"] rect { fill:#e4edf6;stroke:var(--ap-blue);stroke-width:3 }
.guide-scale figcaption { margin-top:4px;font-size:12px;line-height:1.7;color:var(--ap-muted) }
.guide-size-details { min-width:0 }
.guide-picker { padding:0;margin:0 0 22px;border:0;min-width:0 }
.guide-picker legend { padding:0;margin-bottom:12px;font-size:0.9375rem;font-weight:700 }
.guide-size-options { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px }
.guide-size-options label { display:flex;align-items:center;justify-content:center;gap:8px;min-height:76px;padding:10px 6px;border:1px solid #8493a1;border-radius:var(--ap-control-radius);background:white;cursor:pointer }
.guide-size-options label:has(input:checked) { background:#edf3f9;border-color:var(--ap-blue);box-shadow:inset 0 0 0 1px var(--ap-blue) }
.guide-size-options input { width:16px;height:16px;flex:none;margin:0;accent-color:var(--ap-blue) }
.guide-size-options strong { display:block;font-size:0.9375rem;line-height:1.4 }
.guide-size-options small { display:block;font-size:0.6875rem;color:var(--ap-muted);white-space:nowrap }
.guide-size-options label:has(:focus-visible) { outline:3px solid var(--ap-blue);outline-offset:4px }
.guide-selected { padding:20px 22px;margin-block:0 24px;border-left:3px solid var(--ap-blue);background:#edf3f9;border-radius:4px }
.guide-selected>strong { display:block;margin-block:4px;font:500 2.625rem/1.2 var(--ap-serif);color:var(--ap-blue) }
.guide-selected>span:not(.guide-eyebrow) { display:block }
[data-selected-inches] { font-size:1.125rem;font-weight:650 }
[data-selected-cm] { margin-top:4px;font-size:0.8125rem;color:var(--ap-muted) }
.guide-dimensions { width:100%;border-collapse:collapse;text-align:left;font-size:0.875rem;font-variant-numeric:tabular-nums }
.guide-dimensions caption { text-align:left;font-size:0.9375rem;font-weight:700;padding-bottom:9px }
.guide-dimensions th,.guide-dimensions td { padding:10px 6px;border-bottom:1px solid var(--ap-line);overflow-wrap:anywhere }
.guide-dimensions thead th { font-size:0.75rem;color:var(--ap-muted);font-weight:600 }
.guide-dimensions th:first-child { padding-left:0 }
.guide-dimensions td:last-child,.guide-dimensions th:last-child { padding-right:0 }
.guide-example-note { margin-bottom:20px;font-size:13px;color:var(--ap-muted);max-width:650px }
.guide-framing-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px }
.guide-framing-card { min-width:0;overflow:hidden;border:1px solid var(--ap-line);border-radius:var(--ap-radius);background:white }
.guide-paper-stage { min-height:310px;padding:26px;display:grid;place-items:center;background:var(--ap-ivory) }
.guide-paper { width:156px;max-width:100%;aspect-ratio:4/6;background:white;outline:1px solid #aab4bd;box-shadow:0 4px 10px #17283d12 }
[data-selected-size="5R"] .guide-paper { aspect-ratio:5/7 }
[data-selected-size="8R"] .guide-paper { aspect-ratio:8/10 }
[data-selected-size="11R"] .guide-paper { aspect-ratio:11/14 }
.guide-paper img { display:block;width:100%;height:100%;object-position:center }
.guide-paper--fit img { object-fit:contain }
.guide-paper--fill img { object-fit:cover }
.guide-framing-card figcaption { padding:24px }
h3 { margin-block:6px 10px;font-size:21px;line-height:1.3;letter-spacing:-.015em }
.guide-framing-card figcaption>p { font-size:15px;color:var(--ap-muted) }
.guide-framing-card .guide-tip { margin-top:14px;padding-top:14px;border-top:1px solid var(--ap-line);font-size:13px }
.guide-note { max-width:850px;font-size:13px;color:var(--ap-muted);margin-top:20px }
.guide-next { display:flex;align-items:center;justify-content:space-between;gap:32px;padding:28px;background:#edf3f9;border-radius:var(--ap-radius);margin-block:0 40px }
.guide-next h2 { font-size:28px }
.guide-next p { max-width:620px;font-size:14px;color:var(--ap-muted);margin-top:10px }
.guide-next .ap-button { flex-shrink:0 }
.guide-footer { border-top:1px solid var(--ap-line);display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:16px 24px;font-size:12px;color:var(--ap-muted) }
@media(max-width:800px) {
  .guide-comparison-grid { gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) }
  .guide-size-options { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .guide-size-options label { min-height:60px }
  .guide-next { align-items:start;flex-direction:column;gap:20px }
}
@media(max-width:620px) {
  .guide-header { padding-block:18px;gap:16px }
  .guide-header>.ap-text-link { max-width:85px;font-size:12px;line-height:1.5 }
  .guide-header .ap-brand { gap:8px }
  .guide-header .ap-brand-word { font-size:18px }
  .guide-header .ap-brand-tagline { font-size:10px }
  .guide-header .ap-brand img { width:36px;height:36px }
  .guide-intro { padding-block:32px }
  .guide-lead { font-size:17px }
  .guide-intro-note a { display:block;margin:10px 0 0;min-height:32px }
  .guide-section-head { grid-template-columns:1fr;gap:14px;margin-bottom:22px }
  .guide-comparison-grid { grid-template-columns:1fr }
  .guide-scale { padding:12px }
  .guide-sheets { max-width:300px }
  .guide-size-options { grid-template-columns:repeat(auto-fit,minmax(min(100%,3.8rem),1fr)) }
  .guide-size-options label { flex-direction:column;gap:5px;min-height:86px;padding:10px 4px;text-align:center }
  .guide-dimensions { font-size:0.8125rem }
  .guide-dimensions thead th { font-size:0.6875rem }
  .guide-framing-grid { gap:18px;grid-template-columns:1fr }
  .guide-paper-stage { min-height:270px;padding:22px }
  .guide-paper { width:146px }
  .guide-framing-card figcaption { padding:22px }
  .guide-next { padding:22px }
  .guide-next .ap-button { width:100% }
  .guide-footer { align-items:start;flex-direction:column;gap:8px }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important;transition:none!important;scroll-behavior:auto!important }
}
@media(forced-colors:active) {
  .guide-scale,.guide-paper,.guide-framing-card,.guide-selected,.guide-next { border:1px solid CanvasText }
  .guide-sheet rect { stroke:CanvasText }
  .guide-sheet text { fill:CanvasText }
  .guide-size-options label:has(input:checked) { border:3px solid Highlight }
}

.phone-original { max-width:320px;margin:18px 0 28px }
.phone-original img,.phone-paper img { display:block;width:100% }
.phone-original img { height:auto }
.phone-formats { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px }
.phone-format { padding:18px;background:white;border:1px solid var(--ap-line);border-radius:12px }
.phone-format h3 { margin:0 0 14px }
.phone-pair { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px }
.phone-pair figure { margin:0 }
.phone-paper { aspect-ratio:var(--paper);outline:1px solid #87939b;background:white }
.phone-paper img { height:100%;object-fit:contain }
.phone-fill img { object-fit:cover }
.phone-pair figcaption,.phone-original figcaption { margin-top:5px;font-size:.9rem }

li[id^="resolution-"]:target {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  scroll-margin-block: 1rem;
}

.guide-shell [data-start-size] { font-size:.9375rem;max-width:100%;white-space:normal;text-align:center }
.guide-dimensions tbody th { white-space:nowrap }

/* Guide mounts the shared bar on the header itself. */
@media (max-width: 480px) {
  .guide-header.ap-unified-bar {
    flex-wrap: wrap;
  }
  :root[data-orders-view=guide] body .guide-header.ap-unified-bar .ap-customer-nav {
    grid-template-columns: minmax(44px, 1.6fr) repeat(3, minmax(max-content, 1fr));
    column-gap: 4px;
  }
}
