/* The Packer tour adapter (/playground/packer/). Designer tour owns layout and motion; this file only
 * supplies the kraft palette of the Packer workspace (kraft #e9d5b3, brown ink, die-cut red) and the
 * illustrations. Written by Claude Opus 5.5 (claude-opus-5-5), 2026-11-28. */
.packer-tour { --purple: #8f5424; --purple-dark: #74421a; --purple-soft: #f7eddd; --glow: #ecd9bb; }
.packer-tour .chapter-tab[aria-selected=true] { background: #fbf4e8; border-color: #cfa77a; box-shadow: 0 0 0 2px #fff,0 0 0 3px #ecd9bb; }
.packer-tour .pk-artwork { display: grid; place-items: center; }
.packer-tour small { display: block; font-size: 10px; color: #6e6e73; margin-top: 4px; }

/* Shared board: a light kraft card with a toolbar, like the Bulk PDF boards. */
.pk-board { width: 540px; background: #fffdf9; border: 1px solid #e6d5bf; border-radius: 18px; overflow: hidden; box-shadow: 0 25px 65px -25px #5a3a1a33; }
.pk-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; background: #fbf4e8; border-bottom: 1px solid #eadcc8; font-size: 11px; color: #2a1b0e; }
.pk-bar b { font-weight: 600; }
.pk-bar > span { color: #9a8064; font-size: 8px; letter-spacing: .6px; }
.pk-dots { color: #cdb79b; letter-spacing: 3px; }
.pk-pane { padding: 26px 30px 28px; background: radial-gradient(ellipse at 50% 60%, #f3e3c9, #fffdf9 72%); }
.pk-pane svg { display: block; width: 100%; height: auto; }
.pk-panel { fill: #d6a467; } .pk-flap { fill: #ecca97; } .pk-glue { fill: #b47c40; }
.pk-cut { fill: none; stroke: #d1222c; stroke-width: 1.6; stroke-linejoin: round; }
.pk-score { fill: none; stroke: #2a1b0e; stroke-width: 1; stroke-dasharray: 5 4; opacity: .7; }
.pk-svg-text { fill: #2a1b0e; font: 600 11px Inter, system-ui, sans-serif; }

/* Overview window: stats row and an isometric box. */
.pk-window { width: 500px; transform: rotate(-2deg); }
.pk-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pk-stat { background: #fff; border: 1px solid #e6d5bf; border-radius: 10px; padding: 8px 10px; color: #2a1b0e; }
.pk-stat span { display: block; font-size: 8px; color: #7a5f40; }
.pk-stat b { display: block; font-size: 19px; letter-spacing: -.4px; margin-top: 2px; }
.pk-stat--hi { background: #2a1b0e; border-color: #2a1b0e; color: #f9f0e1; }
.pk-stat--hi span { color: #e9d5b3; }
.pk-stat--hi b { font-size: 23px; }

/* Legend chips under a drawing. */
.pk-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 10px; color: #6c5233; }
.pk-legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid #d1222c; vertical-align: middle; margin-right: 5px; }
.pk-legend i.s { border-top: 2px dashed #2a1b0e; }
.pk-legend i.p { height: 10px; border: 0; background: #d6a467; }

/* Deckle result line. */
.pk-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fbf4e8; color: #2a1b0e; font-size: 13px; }
.pk-result b { font-size: 20px; letter-spacing: -.4px; color: #8f5424; }

/* Quotation document. */
.pk-doc { width: 400px; background: #fff; color: #1b1b1b; padding: 30px 32px; border: 1px solid #e6d5bf; border-radius: 4px; box-shadow: 0 22px 50px -20px #5a3a1a40; transform: rotate(-2deg); }
.pk-doc-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid #1b1b1b; padding-bottom: 10px; margin-bottom: 12px; }
.pk-doc-head strong { font-size: 24px; letter-spacing: -.6px; }
.pk-doc-head span { font-size: 9px; color: #6b6152; text-align: right; line-height: 1.5; }
.pk-doc table { width: 100%; border-collapse: collapse; font-size: 10px; }
.pk-doc th, .pk-doc td { border-bottom: 1px solid #e3dccf; padding: 7px 4px; text-align: left; }
.pk-doc th { font-size: 8px; color: #6b6152; font-weight: 600; }
.pk-doc .n { text-align: right; white-space: nowrap; }
.pk-doc-total { display: flex; justify-content: space-between; margin: 12px 0 0 auto; width: 190px; border-top: 2px solid #1b1b1b; padding-top: 7px; font-size: 15px; font-weight: 600; }
.pk-doc-sign { display: flex; justify-content: space-between; margin-top: 30px; font-size: 9px; color: #6b6152; }
.pk-doc-sign span { width: 120px; border-top: 1px solid #b9b1a4; padding-top: 5px; text-align: center; }
.pk-doc-pill { position: absolute; right: 18px; bottom: -6px; padding: 10px 14px; border-radius: 999px; background: #2a1b0e; color: #f9f0e1; font-size: 12px; font-weight: 600; box-shadow: 0 12px 26px -12px #2a1b0e80; }
.pk-quote-art { position: relative; width: 520px; display: grid; place-items: center; padding: 10px 0 30px; }

/* Final scene: every tool in the workspace. */
.pk-final { width: 520px; text-align: center; color: #2a1b0e; }
.pk-final-icon { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 28px; background: #e9d5b3; display: grid; place-items: center; box-shadow: 0 22px 44px -22px #5a3a1a66; }
.pk-final-icon svg { width: 64px; height: 64px; }
.pk-final > strong { display: block; font-size: 34px; letter-spacing: -1px; }
.pk-final > span { display: block; font-size: 13px; color: #6e6e73; margin: 4px 0 22px; }
.pk-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pk-tools span { padding: 13px 8px; border-radius: 12px; background: #fff; border: 1px solid #e6d5bf; font-size: 12px; font-weight: 600; }
.pk-tools span:first-child { background: #2a1b0e; border-color: #2a1b0e; color: #f9f0e1; }
