.print-page { font-family: ui-sans-serif, system-ui, sans-serif; background-color: #e8efea; background-image: linear-gradient(90deg, #c6dacf38 1px, transparent 1px), linear-gradient(#c6dacf38 1px, transparent 1px); background-size: 22px 22px; }
.print-page .shell { --max: 1286px; width: min(calc(100% - 40px), var(--max)); }
.print-page .topbar { background: #fffdf6; border-bottom: 1px solid #bac4bd; }
.print-page .topbar-inner { min-height: 52px; }
.print-page .brand { font: 700 29px/1 Georgia, serif; }
.print-page nav { gap: 36px; font-size: 16px; }
.print-heading { padding: 20px 0 22px; text-align: center; }
.print-heading h1 { font: 700 clamp(32px, 3.3vw, 49px)/1.08 Georgia, serif; }
.print-heading p { margin: 9px 0 0; color: #424743; font-size: 20px; }
.print-workspace { display: grid; grid-template-columns: minmax(300px, .515fr) minmax(0, 1fr); gap: 14px; }
.print-controls, .print-preview, .print-instructions { background: #fffdf6; border: 1px solid #353a36; border-radius: 5px; box-shadow: 0 2px 1px #26342b12; }
.print-controls { padding: 22px; }
.print-workspace h2 { font: 750 21px/1.25 ui-sans-serif, system-ui, sans-serif; }
.print-upload-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 12px; }
.print-button { min-height: 48px; padding: 10px 16px; border: 1px solid #9eaba2; border-radius: 6px; color: #151515; background: #fff; font: 600 15px/1.25 ui-sans-serif, system-ui, sans-serif; cursor: pointer; box-shadow: 0 2px 0 #2221; transition: transform 100ms ease, box-shadow 100ms ease; }
.print-button.primary { background: #e84f2b; color: white; border-color: #ca4526; font-size: 18px; box-shadow: inset 0 1px #ffffff38, 0 2px 0 #b43b20; }
.print-button:hover:not(:disabled) { filter: brightness(.96); }
.print-button:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.print-button:disabled { background: #c6cdc7; border-color: #abb6ae; color: #48534b; box-shadow: none; cursor: not-allowed; }
.print-help { margin: 10px 0 0; color: #5d655f; font-size: 13px; line-height: 1.5; }
#fileStatus { min-height: 20px; overflow-wrap: anywhere; }
#fileStatus[data-error="true"], .print-status[data-error="true"] { color: #ae2f16; }
.print-controls fieldset { border: 0; border-top: 1px solid #ccd1cc; padding: 20px 0 0; margin: 25px 0 0; min-width: 0; }
.print-controls legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; font-size: 21px; font-weight: 750; }
.print-field { clear: both; display: grid; grid-template-columns: minmax(110px, 1fr) minmax(100px, 1.25fr); align-items: center; gap: 12px; margin: 0 0 14px; font-size: 15px; }
.print-field select, .print-field input { min-width: 0; width: 100%; height: 44px; padding: 8px 10px; border: 1px solid #c3c9c5; border-radius: 5px; background: #fff; color: #151515; font: 400 16px/1.2 ui-sans-serif, system-ui, sans-serif; box-shadow: inset 0 1px 2px #232d2410; }
.print-field input:invalid { border-color: #b84d32; }
.print-preview { padding: 18px 22px; display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.print-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.print-text-button { min-height: 44px; padding: 5px; background: transparent; border: 0; text-decoration: underline; color: #58645b; font: 13px ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.print-preview-surface { display: grid; place-items: center; position: relative; min-height: 370px; flex: 1; padding: 5px 0; cursor: pointer; }
.print-preview-surface.is-dragging { outline: 2px dashed #e84f2b; outline-offset: -3px; background: #f9edcc; }
.print-preview canvas { display: block; width: auto; max-width: 100%; height: auto; max-height: 485px; }
#posterEmpty { text-align: center; position: relative; }
#posterEmpty img { display: block; max-height: 420px; width: auto; max-width: 100%; object-fit: contain; padding: 8px; background: #fff; box-shadow: 0 3px 12px #17231930; }
#posterEmpty p { position: absolute; bottom: 18px; left: 16px; right: 16px; padding: 10px; background: #fffdf6ef; font-size: 14px; }
.print-result { margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: #434c46; font-size: 14px; }
.print-result strong { font-weight: 600; }
.print-center { text-align: center; }
.print-warning { padding: 9px 12px; margin: 9px 0; color: #794014; background: #fff2d7; border-left: 3px solid #ce924a; font-size: 13px; line-height: 1.45; }
.print-download { width: min(100%, 330px); margin: 12px auto 0; }
.print-status { min-height: 0; margin: 5px 0 0; font-size: 13px; line-height: 1.4; text-align: center; color: #087b67; }
.print-status:empty { display: none; }
.print-instructions { margin-top: 14px; display: grid; grid-template-columns: 230px 1fr 170px; gap: 24px; align-items: center; padding: 20px 22px; }
.print-instructions h2 { font: 700 24px/1.2 Georgia, serif; }
.print-instructions ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.print-instructions li { padding: 0 16px 0 48px; position: relative; border-right: 1px solid #cdd3ce; counter-increment: steps; }
.print-instructions li::before { content: counter(steps); position: absolute; left: 3px; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ffebb1; font-size: 19px; }
.print-instructions b { display: block; margin-bottom: 4px; font-size: 14px; }
.print-instructions span { font-size: 12px; line-height: 1.5; color: #535e56; }
.print-related { display: grid; gap: 8px; font-size: 13px; color: #154e84; }
.print-notes { max-width: 1000px; margin: 22px auto 24px; color: #4d5950; font-size: 14px; line-height: 1.6; }
.print-notes details { border-bottom: 1px solid #b7c9bd; padding: 12px 0; }
.print-notes summary { font-weight: 650; cursor: pointer; }
.print-credit { font-size: 12px; }
.print-page tool-feedback { width: 100%; }
.print-page footer { margin-top: 20px; }
@media(max-width: 1000px) { .print-workspace { grid-template-columns: 320px minmax(0, 1fr); } .print-controls, .print-preview { padding: 18px; } .print-instructions { grid-template-columns: 1fr; gap: 18px; } .print-related { display: flex; flex-wrap: wrap; gap: 20px; } .print-page nav { gap: 18px; } }
@media(max-width: 700px) { .print-page .shell { width: min(calc(100% - 24px), 540px); } .print-page .topbar-inner { flex-direction: column; align-items: flex-start; padding: 15px 0 10px; gap: 12px; } .print-page .brand { font-size: 26px; } .print-page nav { font-size: 14px; width: 100%; justify-content: space-between; } .print-heading { padding: 24px 0 18px; } .print-heading h1 { font-size: 34px; } .print-heading p { font-size: 16px; line-height: 1.4; } .print-workspace { grid-template-columns: minmax(0, 1fr); } .print-preview-surface { min-height: 280px; } .print-preview canvas { max-height: 450px; } #posterEmpty img { max-height: 350px; } .print-instructions ol { grid-template-columns: 1fr; gap: 18px; } .print-instructions li { border-right: 0; } .print-instructions span { font-size: 14px; } .print-instructions h2 { font-size: 25px; } .print-related a { padding: 8px 0; } }
@media(prefers-reduced-motion: reduce) { .print-page *, .print-page { scroll-behavior: auto; transition: none; } }
