.t8{max-width:960px;margin:0 auto;direction:rtl;color:#1e293b;line-height:1.8}
.t8-hero{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;padding:36px 22px;border-radius:20px;margin-bottom:26px;text-align:center}
.t8-hero .t8-badge{display:inline-block;background:rgba(255,255,255,.22);padding:6px 16px;border-radius:25px;font-size:14px;margin-bottom:12px;font-weight:700}
.t8-hero .bj-hero-title{margin:0 0 12px;font-size:30px;font-weight:800;color:#fff;line-height:1.4}
.t8-hero p{margin:0 auto;max-width:680px;font-size:16px;opacity:.95;line-height:1.7}
.t8-app{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:24px;box-shadow:0 8px 30px rgba(0,0,0,.06);margin-bottom:36px}
.t8-drop{display:block;border:2.5px dashed #4f46e5;border-radius:18px;background:#f5f3ff;padding:40px 18px;text-align:center;cursor:pointer}
.t8-drop.over{background:#ede9fe}
.t8-drop .t8-ic{display:block;font-size:52px;margin-bottom:10px}
.t8-drop .t8-btn{display:inline-block;background:#4f46e5;color:#fff;padding:14px 36px;border-radius:35px;font-size:18px;font-weight:800;margin-bottom:12px}
.t8-drop .t8-sub{display:block;font-size:15px;color:#64748b;font-weight:600}
.t8-drop .t8-priv{display:block;font-size:13px;color:#059669;font-weight:700;margin-top:10px}
.t8-opts{display:flex;flex-wrap:wrap;gap:12px 18px;margin:18px 0;align-items:flex-end}
.t8-opts label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:15px;min-width:150px;flex:1 1 150px}
.t8-opts select,.t8-opts input[type=number],.t8-opts input[type=text]{padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;font-size:16px;background:#fafbff;font-family:inherit}
.t8-opts label.t8-chk{flex-direction:row;align-items:center;min-width:auto}
.t8-go{display:block;width:100%;background:#4f46e5;color:#fff;border:0;border-radius:14px;padding:15px;font-size:18px;font-weight:800;cursor:pointer;font-family:inherit;min-height:52px}
.t8-go[disabled]{opacity:.5;cursor:not-allowed}
.t8-sec{background:#eef2ff;color:#3730a3;border:0;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer;font-family:inherit;font-size:15px;min-height:44px}
.t8-bar{height:10px;background:#e5e7eb;border-radius:6px;overflow:hidden;margin:14px 0 6px}.t8-bar i{display:block;height:100%;width:0;background:#4f46e5;transition:width .2s}
.t8-status{text-align:center;color:#475569;font-weight:600;min-height:1.6em}
.t8-list{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px}
.t8-list li{display:flex;gap:12px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;flex-wrap:wrap}
.t8-list img{width:56px;height:56px;object-fit:cover;border-radius:10px;background:#e2e8f0}
.t8-list .t8-fn{flex:1 1 160px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.t8-list .t8-sz{font-size:14px;color:#64748b}
.t8-list a.t8-dl,.t8-dl{display:inline-block;background:#059669;color:#fff!important;text-decoration:none!important;padding:9px 16px;border-radius:10px;font-weight:700;min-height:40px}
.t8-out{margin-top:16px;text-align:center}
.t8-out canvas,.t8-out img,.t8-out video{max-width:100%;height:auto;border-radius:12px;border:1px solid #e2e8f0}
.t8-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:12px 0}
.t8-note{font-size:14px;color:#64748b;text-align:center;margin-top:8px}
.t8-err{color:#b91c1c;font-weight:700;text-align:center}
.t8-stage{position:relative;touch-action:none;user-select:none;margin:0 auto;max-width:420px}
.t8-stage canvas{width:100%;height:auto;display:block;border-radius:12px;background:#f1f5f9;cursor:grab}
.t8 .t8-toc{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px 20px;margin-bottom:26px}
.t8 .t8-toc ul{margin:8px 0 0;padding-right:20px}.t8 .t8-toc a{color:#4f46e5;text-decoration:none}
.t8 .t8-quick{background:#ecfdf5;border-right:4px solid #059669;border-radius:12px;padding:14px 18px;margin:0 0 24px;font-size:16px}
.t8 .article-body{font-size:16px;color:#334155;line-height:1.9}
.t8 .article-body h2{font-size:22px;color:#0f172a;margin-top:34px;border-bottom:2px solid #e2e8f0;padding-bottom:8px}
.t8 .article-body h3{font-size:18px;color:#0f172a}
.t8 .article-body table{width:100%;border-collapse:collapse;margin:14px 0;font-size:15px}
.t8 .article-body th,.t8 .article-body td{border:1px solid #e2e8f0;padding:8px 10px;text-align:right}
.t8 .article-body th{background:#f1f5f9}
.t8 .faq-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:12px}
.t8 .faq-item h3{margin:0 0 8px;font-size:17px}.t8 .faq-item p{margin:0;font-size:15px;color:#475569}
.t8 figure{margin:20px 0;text-align:center}.t8 figure img{max-width:100%;height:auto;border-radius:12px;border:1px solid #e2e8f0}
.t8 figcaption{font-size:14px;color:#64748b;margin-top:6px}
.t8-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:right}
.t8-diff>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px;max-height:480px;overflow:auto;font-size:15px;line-height:2;white-space:pre-wrap;word-break:break-word}
.t8-diff del{background:#fee2e2;color:#991b1b;text-decoration:line-through}.t8-diff ins{background:#dcfce7;color:#166534;text-decoration:none}
.t8-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:14px 0}
.t8-stats div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;text-align:center}.t8-stats b{display:block;font-size:22px;color:#1e1b4b}
.t8-meta{width:100%;border-collapse:collapse;font-size:14px;margin-top:8px}.t8-meta td{border-top:1px solid #e2e8f0;padding:4px 6px}
@media(max-width:600px){.t8-hero .bj-hero-title{font-size:24px}.t8-app{padding:16px}.t8-diff{grid-template-columns:1fr}.t8-drop{padding:30px 14px}}
.t8 [hidden],.t8-app [hidden]{display:none!important}
.t8 .t8-result{background:#f0fdfa;border:2px solid #99f6e4;border-radius:14px;padding:16px 18px;font-size:19px;line-height:1.9;font-weight:700;color:#0f172a;margin-top:14px;word-break:break-word}
.t8 .t8-result p{margin:4px 0;font-size:17px}.t8 .t8-result p strong{color:#0f766e}
.t8 .t8-num,.t8 .t8-hy{font-size:20px;padding:10px 12px;border:2px solid #cbd5e1;border-radius:12px;min-width:220px;max-width:100%}
.t8 .t8-tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:14px 0}
.t8 .t8-tab{background:#f1f5f9;border:2px solid #e2e8f0;border-radius:999px;padding:9px 18px;font-weight:700;cursor:pointer;min-height:44px;color:#334155}
.t8 .t8-tab.on{background:#b45309;border-color:#b45309;color:#fff}
.t8 .t8-text{width:100%;box-sizing:border-box;font-size:17px;line-height:1.8;padding:12px;border:2px solid #cbd5e1;border-radius:12px;margin-top:12px;font-family:inherit}
.t8 .t8-app [hidden]{display:none!important}
