/* Catalogue and customiser: real formats, editable quantities, visible checkout. */
body:has(#printed-books-app dialog[open]) { overflow: hidden; }
#printed-books-app #custom-title:focus { outline: none; }
#printed-books-app [hidden] { display: none !important; }
#printed-books-app .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
#printed-books-app .book.actual-sheet { height: auto; aspect-ratio: 743/1050; padding: 0; display: block; container-type: inline-size; background: #fff; border-radius: 2px; }
#printed-books-app .book.actual-sheet::before { display: none; }
#printed-books-app .actual-format-image { display: block; width: 100%; height: auto; max-width: none; }
#printed-books-app .sample-brand { position: absolute; inset: 4% 5.6% auto; height: 5.1%; display: flex; gap: 1.5cqw; align-items: center; padding: .4cqw 1cqw; background: #fff; border: 1px dashed #b6c3d2; color: #142b49; overflow: hidden; text-align: left; }
#printed-books-app .sample-brand .logo-placeholder { display: grid; place-content: center; border: 1px solid #9baec5; border-radius: 2px; width: 5.5cqw; height: 5.5cqw; flex-shrink: 0; font: 600 1.15cqw/1.3 var(--sans); text-align: center; color: #526b8b; }
#printed-books-app .sample-brand .book-logo { position: static; display: block; width: 5.5cqw; height: 5.5cqw; max-width: none; max-height: none; object-fit: contain; margin: 0; flex-shrink: 0; }
#printed-books-app .sample-brand-details { min-width: 0; display: grid; gap: .3cqw; }
#printed-books-app .sample-brand-details b { font: 700 2cqw/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#printed-books-app .sample-brand-details span { font: 400 1.05cqw/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#printed-books-app .price-saving { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
#printed-books-app .price-saving del { color: #748298; font: 400 13px var(--sans); }
#printed-books-app .discount-badge { background: #e5f4ec; color: #17623f; font: 600 11px var(--sans); padding: 4px 7px; border-radius: 5px; }
#printed-books-app .card-price { display: grid; gap: 8px; }
#printed-books-app .card-price .price { white-space: nowrap; }
#printed-books-app .card-price-row { align-items: center; gap: 12px; }
#printed-books-app .card-sample-link { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: transparent; color: #244da5; padding: 12px 0; min-height: 44px; font: 600 12px var(--sans); text-align: left; margin: 0 0 8px; }
#printed-books-app .product-art .compact { min-height: 300px; padding: 40px 0 25px; }
#printed-books-app .product-art .actual-sheet { width: 174px; height: auto; transform: rotate(-3deg); }
#printed-books-app .hero-visual .actual-sheet { height: auto; }
#printed-books-app .hero-digital { margin-top: 16px; color: #37516f; font: 400 12px/1.7 var(--sans); }
#printed-books-app .hero-digital a { color: #244da5; font-weight: 600; }

#printed-books-app .paper-digital { background: #f0f5fb; border-block: 1px solid #dce5f0; }
#printed-books-app .digital-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 34px; }
#printed-books-app .digital-heading h2 { margin-top: 12px; }
#printed-books-app .digital-heading > p { color: #4c6380; font: 400 15px/1.8 var(--sans); max-width: 480px; }
#printed-books-app .digital-showcase { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); align-items: center; gap: 40px; }
#printed-books-app .digital-story h3 { margin: 18px 0 14px; font: 500 26px/1.3 var(--display); letter-spacing: -.03em; }
#printed-books-app .digital-story p { color: #4c6380; font: 400 13px/1.8 var(--sans); }
#printed-books-app .digital-story ul { display: grid; gap: 9px; margin: 20px 0; padding: 0; list-style: none; font: 500 12px/1.6 var(--sans); }
#printed-books-app .digital-story li::before { content: '✓'; color: #207054; margin-right: 9px; }
#printed-books-app .digital-story .digital-language { font-size: 11px; }
#printed-books-app .digital-screen { min-width: 0; border: 1px solid #d1dce9; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 12px 32px #1935550b; }
#printed-books-app .digital-screen-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #f8fafd; border-bottom: 1px solid #e2e8f0; font: 500 10px/1.5 var(--sans); color: #4c6380; }
#printed-books-app .digital-screen-dot { width: 7px; height: 7px; border-radius: 50%; background: #75a48e; }
#printed-books-app .digital-screen > a { display: block; padding: 10px; }
#printed-books-app .digital-screen img { width: 100%; height: auto; display: block; }
#printed-books-app .digital-screen figcaption { padding: 12px 14px; border-top: 1px solid #e2e8f0; color: #667c96; font: 400 10px/1.6 var(--sans); }
#printed-books-app .digital-screen figcaption a { color: #244da5; white-space: nowrap; }
#printed-books-app .digital-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; list-style: none; padding: 0; margin: 34px 0 18px; border: 1px solid #d1dce9; border-radius: 10px; background: #fff; }
#printed-books-app .digital-steps li { padding: 22px; border-right: 1px solid #dce5f0; }
#printed-books-app .digital-steps li:last-child { border: 0; }
#printed-books-app .digital-steps li > span { color: #59718e; font: 500 9px/1.5 var(--mono); letter-spacing: .04em; }
#printed-books-app .digital-steps h3 { margin: 11px 0 8px; font: 600 14px/1.4 var(--sans); }
#printed-books-app .digital-steps p { color: #4c6380; font: 400 12px/1.7 var(--sans); }
#printed-books-app .digital-format-note { color: #667c96; font: 400 11px/1.8 var(--sans); max-width: 920px; }
#printed-books-app .paper-digital .software-banner { margin-top: 28px; background: #fff; }
#printed-books-app .paper-digital .software-banner p { max-width: 580px; }
#printed-books-app .paper-digital .software-right { display: grid; gap: 12px; justify-items: end; }
#printed-books-app .paper-digital .software-right .button { font-size: 12px; }

#printed-books-app .custom-dialog { width: 1060px; max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); background: #fff; overflow: hidden; border-radius: 16px; margin: auto; }
#printed-books-app .custom-dialog[open] { display: flex; flex-direction: column; }
#printed-books-app .custom-dialog .dialog-bar { position: relative; flex-shrink: 0; padding: 18px 24px; gap: 16px; }
#printed-books-app .custom-dialog .dialog-bar h2 { font: 600 24px/1.25 var(--sans); color: #112b4d; }
#printed-books-app .dialog-bar p { font: 400 12px/1.5 var(--sans); color: #697b92; margin: 5px 0 0; }
#printed-books-app .dialog-bar .close-button { width: 44px; height: 44px; min-width: 44px; font-size: 25px; border-radius: 50%; }
#printed-books-app .custom-dialog .dialog-content { padding: 20px 24px; min-height: 0; overflow: auto; flex: 1; overscroll-behavior: contain; }
#printed-books-app .custom-dialog .builder-shell { grid-template-columns: 320px minmax(0,1fr); gap: 28px; padding: 0; align-items: start; }
#printed-books-app .custom-dialog .preview-panel { position: sticky; top: 0; border-radius: 12px; border-color: #e0e7f0; background: #eff3f8; min-width: 0; }
#printed-books-app .custom-dialog .preview-top { padding: 12px 14px; gap: 6px; }
#printed-books-app .custom-dialog .preview-top .mono { font-size: 8px; letter-spacing: .08em; }
#printed-books-app .custom-dialog .preview-switch button { padding: 6px 8px; min-height: 32px; font-size: 10px; }
#printed-books-app .format-preview-button { display: block; width: 100%; border: 0; background: transparent; padding: 18px 16px 12px; color: #2b4a70; text-align: center; cursor: zoom-in; }
#printed-books-app .format-preview-button [data-live-document] { display: block; }
#printed-books-app .format-preview-button .actual-sheet { width: 224px; height: auto; max-width: 100%; margin: auto; transform: none; box-shadow: 0 4px 16px #18335415; border: 1px solid #d4dce8; }
#printed-books-app .preview-enlarge { display: flex; align-items: center; justify-content: center; gap: 12px; font: 600 12px var(--sans); margin: 14px 0 0; min-height: 30px; }
#printed-books-app .preview-tools { padding: 12px 16px 14px; background: #fff; border-top: 1px solid #e0e7f0; }
#printed-books-app .try-logo { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: transparent; padding: 0; min-height: 38px; font: 600 12px var(--sans); color: #244da5; cursor: pointer; }
#printed-books-app .preview-tools p { margin: 4px 0 0; font: 400 10px/1.6 var(--sans); color: #697b92; }
#printed-books-app .custom-dialog .config-panel { border: 0; border-radius: 0; padding: 0; min-width: 0; }
#printed-books-app .custom-dialog .config-section { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e5eaf1; }
#printed-books-app .custom-dialog .config-heading { font: 600 13px/1.4 var(--sans); margin: 0 0 9px; justify-content: space-between; gap: 8px; }
#printed-books-app .config-heading > span { font: 400 10px var(--sans); color: #758399; text-align: right; }
#printed-books-app .custom-dialog .option { min-height: 57px; padding: 10px; border: 1px solid #d3dce8; border-radius: 8px; }
#printed-books-app .custom-dialog .option b { font-size: 12px; }
#printed-books-app .custom-dialog .option small { font-size: 10px; margin-top: 4px; }
#printed-books-app .custom-dialog .option[aria-pressed=true] { border: 1px solid #315bc9; background: #f0f5ff; box-shadow: inset 0 0 0 1px #315bc9; padding: 10px; }
#printed-books-app .custom-dialog .option[aria-pressed=true]::after { top: 6px; right: 7px; font-size: 9px; }
#printed-books-app .custom-dialog .copy-note { font-size: 11px; margin: 9px 0 0; padding: 0; line-height: 1.5; }
#printed-books-app .quantity-row { display: flex; align-items: center; gap: 18px; }
#printed-books-app .quantity-stepper { display: flex; border: 1px solid #b9c8dc; border-radius: 8px; height: 44px; overflow: hidden; flex-shrink: 0; background: #fff; }
#printed-books-app .quantity-stepper button { background: #f6f8fb; border: 0; width: 40px; font: 500 21px var(--sans); color: #244da5; cursor: pointer; }
#printed-books-app .quantity-stepper input { width: 62px; padding: 0 4px; text-align: center; font: 600 16px var(--sans); color: #112b4d; border: 0; border-inline: 1px solid #e1e7ef; border-radius: 0; -moz-appearance: textfield; }
#printed-books-app .quantity-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
#printed-books-app .quantity-stepper:focus-within { outline: 2px solid #7599ed; outline-offset: 2px; }
#printed-books-app .quantity-stepper input:focus { outline: 0; }
#printed-books-app .quantity-rate { display: grid; gap: 4px; }
#printed-books-app .quantity-rate b { font: 600 15px var(--sans); }
#printed-books-app .quantity-rate b .muted { font-size: 11px; font-weight: 400; }
#printed-books-app .quantity-rate > span { font: 400 10px var(--sans); color: #60758f; }
#printed-books-app .quantity-presets { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
#printed-books-app .quantity-presets button { border: 1px solid #dbe3ee; border-radius: 6px; padding: 8px 9px; background: #fff; font: 500 11px var(--sans); color: #334d70; min-height: 36px; }
#printed-books-app .quantity-presets button span { margin-left: 6px; font-weight: 600; }
#printed-books-app .quantity-presets button small { font-size: 9px; color: #7d8b9e; margin-left: 2px; }
#printed-books-app .quantity-presets .preset-label { margin: 0; font-weight: 500; }
#printed-books-app .quantity-presets .preset-rate { margin-left: 6px; }
#printed-books-app .quantity-presets .preset-rate > span { margin: 0; }
#printed-books-app .quantity-presets button[aria-pressed=true] { background: #eef4ff; border-color: #315bc9; color: #244da5; }
#printed-books-app .custom-dialog .quantity-help { font: 400 10px/1.6 var(--sans); margin: 8px 0 0; }
#printed-books-app .quantity-error { font: 400 11px/1.5 var(--sans); color: #b42318; margin: 6px 0 0; }
#printed-books-app .quantity-error:empty { display: none; }
#printed-books-app .custom-request-note { padding: 12px 14px; background: #f5f8fc; border-radius: 8px; margin-bottom: 10px; }
#printed-books-app .custom-request-note b { font: 600 12px/1.4 var(--sans); }
#printed-books-app .custom-request-note p { font: 400 11px/1.6 var(--sans); margin: 5px 0 0; color: #61748d; }
#printed-books-app .custom-request-note .dispatch-note { font-size: 10px; }
#printed-books-app .custom-dialog .optional-preview { margin: 0; border: 0; }
#printed-books-app .custom-dialog .optional-preview > summary { font: 500 11px/1.5 var(--sans); padding: 8px 0; color: #244da5; min-height: 32px; }
#printed-books-app .custom-dialog .optional-preview .field-grid { margin-top: 12px; }
#printed-books-app .custom-checkout { display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 24px; padding: 16px 24px; border-top: 1px solid #dce4ef; box-shadow: 0 -5px 20px #17355408; background: #fff; flex-shrink: 0; z-index: 40; }
#printed-books-app .checkout-label { font: 400 11px var(--sans); color: #61748d; }
#printed-books-app .checkout-total { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0; }
#printed-books-app .checkout-total > strong { font: 600 28px/1.2 var(--sans); color: #102b4d; letter-spacing: -.03em; }
#printed-books-app .checkout-price > p { font: 400 11px/1.4 var(--sans); margin: 4px 0 0; color: #61748d; }
#printed-books-app .checkout-action > p { font: 400 10px/1.5 var(--sans); color: #718197; text-align: center; margin: 6px 0 0; }
#printed-books-app .checkout-action .button { min-height: 46px; border-radius: 8px; font-size: 13px; }
#printed-books-app button:disabled { cursor: default; opacity: .45; }
#printed-books-app dialog { margin: auto; }
#printed-books-app .sample-dialog { width: 920px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); background: #fff; overflow: hidden; }
#printed-books-app .sample-dialog[open] { display: flex; flex-direction: column; }
#printed-books-app .sample-dialog .dialog-bar { flex-shrink: 0; padding: 14px 20px; position: static; gap: 16px; }
#printed-books-app .sample-dialog .dialog-bar h2 { font-size: 17px; }
#printed-books-app .sample-toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px; background: #fff; border-bottom: 1px solid #e4eaf2; flex-shrink: 0; }
#printed-books-app .sample-toolbar button, #printed-books-app .sample-toolbar a { border: 1px solid #d5dfed; background: #f8faff; border-radius: 6px; min-height: 36px; padding: 8px 12px; font: 500 12px var(--sans); color: #244da5; text-decoration: none; }
#printed-books-app .sample-scroll { min-height: 0; overflow: auto; background: #edf1f7; padding: 20px; overscroll-behavior: contain; }
#printed-books-app .sample-scroll > div { width: min(743px,100%); margin: auto; }
#printed-books-app .sample-scroll .actual-sheet { width: 100%; height: auto; transform: none; box-shadow: 0 3px 12px #16325215; border-color: #dbe3ed; }
#printed-books-app .sample-scroll.is-zoomed > div { width: 1050px; max-width: none; }
#printed-books-app .sample-custom-note { flex-shrink: 0; padding: 12px 20px; margin: 0; font: 400 11px/1.6 var(--sans); color: #61748d; border-top: 1px solid #dce4ef; background: #fff; }
#printed-books-app .mobile-format-link { display: none; }
@media (max-width: 740px) {
  #printed-books-app .hero-visual { overflow: clip; }
  #printed-books-app .digital-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
  #printed-books-app .digital-heading > p { font-size: 13px; }
  #printed-books-app .digital-showcase { grid-template-columns: 1fr; gap: 24px; }
  #printed-books-app .digital-story h3 { font-size: 25px; }
  #printed-books-app .digital-steps { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  #printed-books-app .digital-steps li { padding: 16px; border-bottom: 1px solid #dce5f0; }
  #printed-books-app .digital-steps li:nth-child(2) { border-right: 0; }
  #printed-books-app .digital-steps li:nth-child(3) { border-bottom: 0; }
  #printed-books-app .digital-steps h3 { font-size: 13px; }
  #printed-books-app .digital-steps p { font-size: 11px; }
  #printed-books-app .paper-digital .software-right { justify-items: start; }
  #printed-books-app .custom-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  #printed-books-app .custom-dialog .dialog-bar { padding: 14px 16px; }
  #printed-books-app .custom-dialog .dialog-bar h2 { font-size: 21px; }
  #printed-books-app .custom-dialog .dialog-bar p { font-size: 10px; max-width: 240px; }
  #printed-books-app .custom-dialog .dialog-content { padding: 16px; }
  #printed-books-app .custom-dialog .builder-shell { grid-template-columns: minmax(0,1fr); gap: 20px; }
  #printed-books-app .custom-dialog .config-panel { grid-row: 1; }
  #printed-books-app .custom-dialog .preview-panel { position: static; grid-row: 2; }
  #printed-books-app .custom-dialog .option-grid { gap: 6px; }
  #printed-books-app .custom-dialog .option { min-height: 62px; padding: 9px 7px; }
  #printed-books-app .custom-dialog .option[aria-pressed=true] { padding: 9px 7px; }
  #printed-books-app .custom-dialog .option b { font-size: 12px; }
  #printed-books-app .custom-dialog .option small { font-size: 10px; }
  #printed-books-app .config-heading > span { font-size: 9px; }
  #printed-books-app .quantity-row { gap: 14px; }
  #printed-books-app .quantity-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  #printed-books-app .quantity-presets button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 5px; font-size: 11px; min-height: 56px; }
  #printed-books-app .quantity-presets .preset-rate { margin: 0; }
  #printed-books-app .quantity-presets button span { margin-left: 4px; }
  #printed-books-app .custom-checkout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 12px 16px; }
  #printed-books-app .checkout-total { gap: 6px; margin-block: 4px; }
  #printed-books-app .checkout-total > strong { font-size: 25px; }
  #printed-books-app .checkout-total .price-saving { gap: 5px; }
  #printed-books-app .checkout-total .price-saving del { font-size: 11px; }
  #printed-books-app .checkout-total .discount-badge { font-size: 9px; padding: 3px 5px; }
  #printed-books-app .checkout-price > p { font-size: 9px; }
  #printed-books-app .checkout-action .button { font-size: 11px; padding-inline: 12px; gap: 8px; min-height: 44px; }
  #printed-books-app .checkout-action > p { font-size: 9px; }
  #printed-books-app .mobile-format-link { display: block; padding: 10px 0 0; border: 0; color: #244da5; font: 500 11px var(--sans); background: transparent; min-height: 32px; }
  #printed-books-app .sample-dialog .dialog-bar h2 { font-size: 14px; }
  #printed-books-app .sample-dialog .dialog-bar p { font-size: 10px; }
  #printed-books-app .sample-toolbar { padding: 10px 12px; gap: 8px; }
  #printed-books-app .sample-toolbar button, #printed-books-app .sample-toolbar a { font-size: 10px; padding: 8px; }
  #printed-books-app .sample-scroll { padding: 12px; }
}
/* Order details are separate from the printable-book configuration. */
#printed-books-app .config-panel textarea { width:100%; border:1px solid #cad7e4; border-radius:9px; padding:12px; font:inherit; resize:vertical; background:#fff; color:#162c43 }
#printed-books-app .optional-preview > .field { margin-top:14px }
#printed-books-app .order-dialog { width:min(1040px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:0; border:1px solid #d3dce6; border-radius:20px; background:#fff; color:#172e46; box-shadow:0 28px 100px #081b3540 }
#printed-books-app .order-dialog[open] { display:flex; flex-direction:column }
#printed-books-app .order-dialog::backdrop { background:#132942a8; backdrop-filter:blur(5px) }
#printed-books-app .order-dialog .dialog-bar { flex-shrink:0; padding:20px 26px; align-items:center; gap:12px }
#printed-books-app .order-dialog h2 { font-size:25px; line-height:1.25 }
#printed-books-app .order-kicker { font:600 10px/1.5 ui-monospace,monospace; letter-spacing:.12em; color:#65778b; margin:0 0 5px }
#printed-books-app .order-progress { display:flex; gap:28px; padding:12px 26px; margin:0; list-style:none; background:#f5f8fc; border-bottom:1px solid #e0e7ef; flex-shrink:0 }
#printed-books-app .order-progress li { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:#708095 }
#printed-books-app .order-progress li[aria-current] { color:#2856c7 }
#printed-books-app .order-body { min-height:0; overflow:auto; overscroll-behavior:contain; display:grid; grid-template-columns:280px minmax(0,1fr); align-items:start; flex:1 }
#printed-books-app .order-overview { padding:24px; margin:0; background:#f5f8fc; align-self:stretch; border-right:1px solid #e0e7ef }
#printed-books-app .order-overview-top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:15px }
#printed-books-app .order-text-button { background:none; border:0; padding:5px 0; color:#2c50a5; font:600 12px/1.5 inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px }
#printed-books-app .order-overview img { display:block; width:94px; height:auto; border:1px solid #ced9e6; box-shadow:0 5px 15px #1e355219; margin:0 auto 20px; background:#fff }
#printed-books-app .order-overview h3 { font-size:19px; line-height:1.35; margin-bottom:6px }
#printed-books-app .order-overview > p { font-size:12px; line-height:1.6; color:#64758b }
#printed-books-app .order-amount { display:flex; flex-direction:column; gap:3px; margin:18px 0 8px }
#printed-books-app .order-amount strong { font-size:30px; line-height:1.2; letter-spacing:-.04em }
#printed-books-app .order-amount span { font-size:12px; color:#64758b }
#printed-books-app .order-included { margin-top:22px; border-top:1px solid #dbe4ee; padding-top:20px; font-size:12px; line-height:1.75 }
#printed-books-app .order-included p { margin-top:8px; color:#64758b }
#printed-books-app .order-main { padding:26px 30px; min-width:0 }
#printed-books-app .order-section { padding:0 0 24px; margin:0 0 25px; border-bottom:1px solid #e2e9f0 }
#printed-books-app .order-section-heading { display:flex; gap:12px; margin-bottom:18px; align-items:start }
#printed-books-app .order-section-heading > span { border-radius:50%; width:28px; height:28px; display:grid; place-items:center; background:#e9f0ff; color:#3257b9; font:600 10px ui-monospace,monospace; flex-shrink:0 }
#printed-books-app .order-section h3 { font-size:16px; line-height:1.5; font-weight:650 }
#printed-books-app .order-section-heading p { margin-top:3px; color:#687c90; font-size:12px; line-height:1.6 }
#printed-books-app .order-field { min-width:0; margin:0 0 15px }
#printed-books-app .order-field label { display:block; font-size:12px; font-weight:600; line-height:1.5; margin-bottom:7px; color:#2c435c }
#printed-books-app .order-field label small { color:#7d8998; font-size:10px; font-weight:400; margin-left:4px }
#printed-books-app .order-field label > span { color:#4c6eae }
#printed-books-app .order-field input { appearance:none; width:100%; min-height:44px; background:#fff; border:1px solid #cbd7e4; border-radius:8px; padding:11px 12px; font:400 14px/1.5 inherit; color:#182e45; box-sizing:border-box }
#printed-books-app .order-field input:focus { outline:3px solid #4073dd26; border-color:#3c65c3 }
#printed-books-app .order-field input[aria-invalid=true] { border-color:#b44242; background:#fffafa }
#printed-books-app .order-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px }
#printed-books-app .order-country { display:flex; flex-direction:column; justify-content:center; font-size:12px; gap:8px; color:#7d8998 }
#printed-books-app .order-country b { color:#344b65; font-size:14px; font-weight:500 }
#printed-books-app .field-error { color:#ac3737; font-size:11px; display:block; line-height:1.5; margin-top:5px }
#printed-books-app .field-error:empty { display:none }
#printed-books-app .order-checkbox { display:flex; align-items:flex-start; gap:10px; font-size:12px; line-height:1.65; cursor:pointer; color:#52677c }
#printed-books-app .order-checkbox input { accent-color:#3159b9; width:17px; height:17px; flex-shrink:0; margin-top:2px }
#printed-books-app .order-consent { padding:0 0 8px }
#printed-books-app [data-billing-address] { padding:18px 0 0; border:0; margin:0; min-width:0 }
#printed-books-app .order-honey { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden }
#printed-books-app .order-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-shrink:0; border-top:1px solid #d5dfeb; padding:14px 26px; background:#fff; box-shadow:0 -5px 18px #1d3f5c06 }
#printed-books-app .order-footer-action { display:flex; flex-direction:column; align-items:flex-end; gap:5px; max-width:72% }
#printed-books-app .order-footer-action .button { min-height:46px; min-width:230px; font-size:13px }
#printed-books-app .order-footer-action .fine { font-size:10px; text-align:right }
#printed-books-app [data-order-status] { font-size:11px; line-height:1.5; color:#52677c; text-align:right }
#printed-books-app [data-order-status]:empty { display:none }
#printed-books-app .order-review-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 24px }
#printed-books-app .order-review-heading h3 { font-size:23px; line-height:1.3 }
#printed-books-app .order-review-section { margin-bottom:24px }
#printed-books-app .order-review-section h4 { margin:0 0 9px; font-size:14px; font-weight:650 }
#printed-books-app .order-review-section dl { font-size:12px; line-height:1.7 }
#printed-books-app .order-review-section dl > div { display:grid; grid-template-columns:125px minmax(0,1fr); gap:12px; padding:7px 0; border-bottom:1px solid #eef2f6 }
#printed-books-app .order-review-section dt { color:#748496 }
#printed-books-app .order-review-section dd { overflow-wrap:anywhere; margin:0; color:#273f59; white-space:pre-line }
#printed-books-app .order-proof-note { padding:16px; border-radius:12px; background:#eef4ff; font-size:12px; line-height:1.7 }
#printed-books-app .order-proof-note p { margin-top:5px; color:#657891 }
#printed-books-app #order-result { padding:20px 0; font-size:14px; line-height:1.8 }
#printed-books-app #order-result h3 { font-size:26px; line-height:1.3; margin:12px 0 }
#printed-books-app #order-result > p { margin-bottom:16px }
#printed-books-app .order-result-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:#e1f1e9; color:#247359; font-size:24px; margin-bottom:20px }
#printed-books-app .order-reference { font:600 13px ui-monospace,monospace; color:#2c50a5 }
#printed-books-app .order-whatsapp { margin:24px 0 12px; background:#11694c }
#printed-books-app .order-dialog button:disabled { opacity:.55; cursor:wait }
@media(max-width:740px) {
  #printed-books-app .order-dialog { width:calc(100vw - 16px); max-height:calc(100dvh - 16px); border-radius:14px }
  #printed-books-app .order-dialog .dialog-bar { padding:16px }
  #printed-books-app .order-dialog h2 { font-size:20px }
  #printed-books-app .order-progress { padding:10px 16px; gap:22px }
  #printed-books-app .order-body { display:block }
  #printed-books-app .order-overview { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 14px; border-right:0; border-bottom:1px solid #e0e7ef; padding:16px }
  #printed-books-app .order-overview-top { grid-column:1/-1; margin-bottom:5px }
  #printed-books-app .order-overview img, #printed-books-app .order-included { display:none }
  #printed-books-app .order-overview h3 { font-size:16px; margin:0 }
  #printed-books-app .order-overview > p { grid-column:1; font-size:11px }
  #printed-books-app .order-amount { grid-column:2; grid-row:2/4; text-align:right; margin:0; justify-content:center }
  #printed-books-app .order-amount strong { font-size:23px }
  #printed-books-app .order-amount span { font-size:10px }
  #printed-books-app .order-overview .order-estimate { grid-column:1/-1; margin-top:5px }
  #printed-books-app .order-main { padding:22px 18px }
  #printed-books-app .order-field input { font-size:16px }
  #printed-books-app .order-contact-grid { grid-template-columns:1fr }
  #printed-books-app .order-footer { padding:12px 16px; gap:10px }
  #printed-books-app .order-footer-action { max-width:76% }
  #printed-books-app .order-footer-action .button { min-width:0; width:100%; padding:12px 16px; font-size:12px }
  #printed-books-app .order-footer > .order-text-button { font-size:10px; max-width:70px }
  #printed-books-app .order-footer-action .fine { font-size:9px }
  #printed-books-app .order-review-section dl > div { grid-template-columns:95px minmax(0,1fr); gap:10px }
}
@media(max-width:370px) {
  #printed-books-app .order-field-grid { grid-template-columns:1fr }
  #printed-books-app .order-country { display:none }
  #printed-books-app .order-overview { display:block }
  #printed-books-app .order-overview-top { display:flex }
  #printed-books-app .order-amount { flex-direction:row; align-items:baseline; gap:10px; margin:8px 0 }
}
