.print-toolbar{position:sticky;top:0;z-index:999;background:#0f172a;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 4px 15px #0003;padding:.75rem 0}.toolbar-inner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}.toolbar-brand{display:flex;align-items:center;gap:1.25rem}.btn-toolbar-back{display:inline-flex;align-items:center;gap:.45rem;background:#ffffff1a;color:#cbd5e1;text-decoration:none;font-size:.8125rem;font-weight:600;padding:.45rem .85rem;border-radius:6px;transition:all .15s}.btn-toolbar-back:hover{background:#fff3;color:#fff}.toolbar-title-group{display:flex;flex-direction:column}.toolbar-badge{font-size:.7rem;text-transform:uppercase;font-weight:700;color:#38bdf8;letter-spacing:.05em}.toolbar-doc-title{font-size:1.15rem;font-weight:700;color:#fff;margin:0}.toolbar-actions{display:flex;align-items:center;gap:1.25rem}.print-guide-hint{display:inline-flex;align-items:center;gap:.45rem;color:#94a3b8;font-size:.8125rem}.btn-print-action{display:inline-flex;align-items:center;gap:.5rem;background:#2563eb;color:#fff;border:none;font-weight:700;font-size:.9375rem;padding:.6rem 1.25rem;border-radius:6px;cursor:pointer;font-family:inherit;transition:background .15s}.btn-print-action:hover{background:#1d4ed8}.print-workspace{background:#e2e8f0;padding:2.5rem 1rem 5rem;min-height:calc(100vh - 120px);display:flex;justify-content:center}.print-mount{display:flex;flex-direction:column;align-items:center;gap:2.5rem;width:100%;max-width:900px}.print-loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:4rem;color:#64748b;font-weight:600}.spinner{width:36px;height:36px;border:3px solid #cbd5e1;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.a4-sheet{background:#fff;width:210mm;min-height:297mm;padding:14mm 16mm;box-sizing:border-box;box-shadow:0 10px 30px #00000026;display:flex;flex-direction:column;color:#0f172a;font-family:Plus Jakarta Sans,system-ui,sans-serif;position:relative}.sheet-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.sheet-brand{font-size:8pt;font-weight:700;color:#2563eb;letter-spacing:.05em}.sheet-title{font-size:16pt;font-weight:800;color:#0f172a;margin:4px 0 2px}.sheet-meta{font-size:8pt;color:#64748b;margin:0}.sheet-ref-box{background:#f8fafc;border:1px solid #cbd5e1;padding:6px 10px;border-radius:6px;text-align:center;min-width:130px}.ref-label{display:block;font-size:7.5pt;font-weight:700;color:#2563eb;margin-bottom:4px;letter-spacing:.04em;text-transform:uppercase}.ref-flag-img{width:120px;height:80px;object-fit:contain;background:#fff;border:1px solid rgba(0,0,0,.3);display:block;box-shadow:0 1px 4px #0000001f}.sheet-divider{height:1px;background:#e2e8f0;margin:8px 0 12px}.sheet-flag-area{display:flex;justify-content:center;align-items:center;background:#fff;border:1.5px solid #0f172a;padding:12px;margin-bottom:14px;min-height:95mm}.coloring-flag-svg{max-width:100%;max-height:90mm;object-fit:contain}.sheet-legend-area{margin-bottom:12px}.legend-heading{font-size:9.5pt;font-weight:700;color:#0f172a;margin:0 0 6px}.legend-list{display:flex;flex-direction:column;gap:4px}.print-palette-row{display:flex;align-items:center;gap:8px;font-size:8pt;color:#475569}.palette-swatch{width:12px;height:12px;border-radius:2px;border:1px solid #0f172a;display:inline-block}.sheet-trivia-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:10px 14px;margin-bottom:14px}.trivia-header{font-size:8pt;font-weight:800;color:#2563eb;margin-bottom:4px}.trivia-body{font-size:8pt;color:#1e293b;line-height:1.4;margin:0 0 6px}.trivia-footer{font-size:7.5pt;font-weight:700;color:#64748b;border-top:1px solid #e2e8f0;padding-top:4px}.sheet-footer{margin-top:auto;border-top:1px solid #e2e8f0;padding-top:6px;display:flex;justify-content:space-between;font-size:7.5pt;color:#64748b}.sheet-footer strong{color:#2563eb}.sheet-subhead{font-size:7pt;font-weight:700;color:#64748b;margin-bottom:8px;text-transform:uppercase}.flashcards-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(4,1fr);gap:6mm;flex:1}.flashcard-front,.flashcard-back{border:1px dashed #94a3b8;border-radius:4px;padding:8px;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box;height:60mm;position:relative;background:#fff}.flashcard-img-wrap{flex:1;display:flex;align-items:center;justify-content:center}.flashcard-flag{max-width:90%;max-height:44mm;border:1px solid rgba(0,0,0,.15);box-shadow:0 1px 3px #0000001a}.card-num{font-size:6pt;color:#94a3b8}.back-accent{position:absolute;top:0;left:0;right:0;height:3px;background:#2563eb;border-radius:4px 4px 0 0}.back-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e2e8f0;padding-bottom:4px;margin-top:2px}.back-title{font-size:11pt;font-weight:800;color:#0f172a;margin:0;line-height:1.1}.back-subtitle{font-size:6.5pt;color:#64748b;display:block}.back-iso{font-size:8.5pt;font-weight:800;color:#2563eb}.back-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px 6px;font-size:6.5pt;color:#334155;padding:4px 0;border-bottom:1px solid #f1f5f9}.back-hints-box{flex:1;padding:3px 0}.hints-tag{font-size:6pt;font-weight:700;color:#2563eb;display:block}.hints-list{margin:2px 0 0;padding-left:12px;font-size:6pt;color:#1e293b;line-height:1.25}.poster-header{text-align:center;border-bottom:1px solid #e2e8f0;padding-bottom:8px;margin-bottom:10px}.poster-title{font-size:16pt;font-weight:800;margin:4px 0 2px}.poster-meta{font-size:8pt;color:#64748b;margin:0}.poster-grid{display:grid;gap:6px;flex:1}.poster-cols-4{grid-template-columns:repeat(4,1fr)}.poster-cols-5{grid-template-columns:repeat(5,1fr)}.poster-cols-6{grid-template-columns:repeat(6,1fr)}.poster-cell{border:1px solid #e2e8f0;border-radius:3px;padding:4px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff}.poster-flag-wrap{width:100%;height:22mm;display:flex;align-items:center;justify-content:center}.poster-flag{max-width:90%;max-height:20mm;border:.5px solid rgba(0,0,0,.2)}.poster-name{font-size:6.5pt;font-weight:700;color:#0f172a;display:block;margin-top:3px;line-height:1.1}.poster-cap{font-size:5.5pt;color:#64748b;display:block}.pexeso-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);gap:8mm;flex:1}.pexeso-card{border:1.5px solid #0f172a;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;box-sizing:border-box;height:54mm;position:relative;background:#fff}.pexeso-flag{max-width:85%;max-height:34mm;border:.5px solid rgba(0,0,0,.2)}.pexeso-brand{font-size:5.5pt;color:#94a3b8;position:absolute;bottom:4px}.pexeso-accent{position:absolute;top:0;left:0;right:0;height:4px;background:#2563eb;border-radius:4px 4px 0 0}.pexeso-name{font-size:9.5pt;font-weight:800;color:#0f172a;text-align:center}.pexeso-cap{font-size:7pt;color:#64748b;margin:4px 0}.pexeso-iso{font-size:11pt;font-weight:800;color:#2563eb}.pexeso-back-card{background:#f8fafc}.pexeso-back-inner{border:1px solid #2563eb;width:calc(100% - 10px);height:calc(100% - 10px);display:flex;flex-direction:column;align-items:center;justify-content:center}.back-logo{font-size:11pt;font-weight:800;color:#2563eb;letter-spacing:.05em}.back-sub{font-size:6pt;color:#64748b}.test-header{border-bottom:1px solid #cbd5e1;padding-bottom:6px;margin-bottom:10px}.test-header h3{font-size:11pt;font-weight:800;color:#2563eb;margin:0 0 6px}.test-fields{display:flex;gap:1.5rem;font-size:8pt;color:#1e293b}.test-section-title{font-size:9pt;font-weight:700;color:#0f172a;margin:8px 0}.test-flags-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 16px}.test-flag-item{display:flex;align-items:center;gap:12px;border-bottom:1px dotted #e2e8f0;padding-bottom:4px}.test-flag-img{width:55px;height:36px;object-fit:cover;border:.5px solid #000}.test-flag-lines{font-size:8pt;line-height:1.5}.test-qa-list{display:flex;flex-direction:column;gap:8px;margin-top:6px}.test-qa p{font-size:8pt;margin:0 0 2px;font-weight:600}.test-line{font-size:8pt;color:#475569}.key-group h4{font-size:9.5pt;font-weight:800;margin:0 0 6px;color:#0f172a}.key-list{display:grid;grid-template-columns:1fr 1fr;gap:4px;font-size:7.5pt}.key-sub{font-size:7.5pt;color:#64748b;margin:4px 0 0}.grading-scale{margin-top:2rem;background:#f8fafc;border:1px solid #cbd5e1;padding:10px 14px;border-radius:4px;font-size:8pt}@media print{.no-print{display:none!important}body,html{background:#fff!important;margin:0!important;padding:0!important}.print-workspace{background:#fff!important;padding:0!important;margin:0!important;display:block!important}.print-mount{display:block!important;max-width:100%!important;gap:0!important}.a4-sheet{box-shadow:none!important;width:100%!important;height:100%!important;min-height:100vh!important;padding:8mm 12mm!important;page-break-inside:avoid}.page-break{break-after:page!important;page-break-after:always!important}@page{size:A4 portrait;margin:6mm}}@media (max-width: 768px){.toolbar-inner{flex-direction:column;align-items:flex-start;gap:.75rem}.toolbar-actions{width:100%;justify-content:space-between}.print-workspace{padding:1rem 0}.a4-sheet{width:100%;min-height:auto;padding:1rem;border-radius:0}}
