.tf-wrapper{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:900px;margin:0 auto}
.tf-wrapper .tf-bar{display:flex;align-items:stretch;gap:8px;width:100%}
.tf-wrapper .tf-input{flex:1 1 auto;min-width:0;width:auto;margin:0;height:auto}
.tf-wrapper .tf-button{flex:0 0 auto;margin:0;white-space:nowrap}
.tf-result{width:100%}
.tf-loading{text-align:center;padding:16px;opacity:.7}
.tf-alert{margin-top:16px;padding:12px 16px;border-radius:6px;border:1px solid}
.tf-alert-danger{background:#fdecea;border-color:#f5c2c0;color:#8a1c14}
.tf-alert-warning{background:#fff7e0;border-color:#f3dc9a;color:#7a5800}
.tf-alert-info{background:#e8f2fc;border-color:#b9d6f5;color:#124a80}
.tf-result-box{margin-top:24px}
.tf-title{margin-bottom:16px}
.tf-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:640px){.tf-grid{grid-template-columns:1fr}}
.tf-card{border:1px solid #e3e3e3;border-radius:8px;padding:16px;margin-bottom:16px;background:#fff}
.tf-grid>.tf-card{background:#f7f7f7}
.tf-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eee}
.tf-row:last-child{border-bottom:0}
.tf-muted{color:#777}
.tf-badge{display:inline-block;background:#0066cc;color:#fff;border-radius:999px;padding:3px 10px;margin:0 6px 6px 0;font-size:.85em}
.tf-steps{list-style:none;margin:0;padding:0}
.tf-step{display:flex;gap:12px;align-items:flex-start;position:relative;padding-bottom:18px;margin:0}
.tf-step:not(:last-child)::after{content:"";position:absolute;left:17px;top:36px;bottom:0;width:2px;background:#cfd8e3}
.tf-step:last-child{padding-bottom:0}
.tf-step-num{flex:0 0 36px;height:36px;border-radius:50%;background:#0066cc;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85em}
.tf-step strong{display:block}
.tf-step small{color:#777}
.tf-photo-card{padding:8px;text-align:center}
.tf-photo{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:6px;margin:0 auto}
.tf-photo-placeholder{max-width:220px;opacity:.85}
