.word-card{background:var(--bi-surface);border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden}.toolbar{background:linear-gradient(135deg,var(--bi-surface-2) 0%,var(--bi-border) 100%);padding:1.5rem 2rem;border-bottom:1px solid var(--bi-border)}.toolbar-row{display:flex;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.toolbar-row:last-child{margin-bottom:0}.tool-label{font-weight:600;color:var(--bi-text);min-width:60px;margin-right:.5rem}.level-select{width:120px;display:inline-block}.custom-num{width:80px;display:none}.custom-num.show{display:inline-block}.toolbar-actions{margin-left:auto;display:flex;gap:.75rem}.preview-container{padding:2rem;background:var(--bi-surface-2)}.preview-paper{width:900px;margin:0 auto;background:var(--bi-surface);padding:40px 60px;box-shadow:0 2px 10px #0000001a;border-radius:4px}.answer-paper{margin-top:2rem;display:none}.paper-title{text-align:center;font-size:2rem;font-weight:600;color:var(--bi-text);margin-bottom:1.5rem}.paper-info{display:flex;justify-content:center;flex-wrap:wrap;gap:1.5rem;font-size:.95rem;color:var(--bi-text-muted);margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--bi-border)}.word-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:0}.word-item{width:33.333%;padding:.75rem 1rem;display:flex;align-items:center;font-size:1rem;border-bottom:1px dashed var(--bi-border)}.word-item:nth-child(3n+1){padding-left:0}.word-item:nth-child(3n){padding-right:0}.word-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #666;border-radius:50%;font-size:.85rem;color:var(--bi-text-muted);margin-right:.75rem;flex-shrink:0;background:var(--bi-surface)}.word-text{flex:1}.word-answer{color:#28a745;font-weight:500}@media print{body *{visibility:hidden}.preview-container,.preview-container *{visibility:visible}.preview-container{position:absolute;left:0;top:0;width:100%;padding:0;background:var(--bi-surface)}.preview-paper{box-shadow:none;width:100%;padding:20px;page-break-after:always}.answer-paper{display:block!important;page-break-before:always}.toolbar,.navbar,.toast-container{display:none!important}}@media (max-width: 992px){.preview-paper{width:100%;padding:20px}.word-item{width:50%}.word-item:nth-child(3n+1),.word-item:nth-child(3n){padding-left:1rem;padding-right:1rem}.word-item:nth-child(odd){padding-left:0}.word-item:nth-child(2n){padding-right:0}.toolbar-actions{margin-left:0;width:100%;justify-content:flex-start}}@media (max-width: 576px){.toolbar{padding:1rem}.toolbar-row{flex-direction:column;align-items:flex-start}.tool-label{margin-bottom:.5rem}.btn-group{flex-wrap:wrap}.word-item{width:100%;padding-left:0!important;padding-right:0!important}.paper-info{flex-direction:column;gap:.5rem}.paper-title{font-size:1.5rem}}.btn-group .btn-outline-primary{border-color:var(--brand);color:var(--brand)}.btn-group .btn-outline-primary:hover,.btn-group .btn-check:checked+.btn-outline-primary{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-strong) 100%);border-color:transparent;color:#fff}.modal-content{border-radius:12px;border:none}.modal-header{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-strong) 100%);color:#fff;border-radius:12px 12px 0 0}.modal-header .btn-close{filter:invert(1)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.word-item{animation:fadeIn .3s ease forwards}.word-item:nth-child(1){animation-delay:.01s}.word-item:nth-child(2){animation-delay:.02s}.word-item:nth-child(3){animation-delay:.03s}.word-item:nth-child(4){animation-delay:.04s}.word-item:nth-child(5){animation-delay:.05s}.word-item:nth-child(6){animation-delay:.06s}.word-item:nth-child(7){animation-delay:.07s}.word-item:nth-child(8){animation-delay:.08s}.word-item:nth-child(9){animation-delay:.09s}.word-item:nth-child(10){animation-delay:.1s}.word-item:nth-child(11){animation-delay:.11s}.word-item:nth-child(12){animation-delay:.12s}.word-item:nth-child(13){animation-delay:.13s}.word-item:nth-child(14){animation-delay:.14s}.word-item:nth-child(15){animation-delay:.15s}.word-item:nth-child(16){animation-delay:.16s}.word-item:nth-child(17){animation-delay:.17s}.word-item:nth-child(18){animation-delay:.18s}.word-item:nth-child(19){animation-delay:.19s}.word-item:nth-child(20){animation-delay:.2s}
