.tb-shell{max-width:1140px;margin:30px auto;padding:0 18px 40px;color:var(--site-ink,#17253b);direction:rtl;text-align:right}
.tb-shell *{box-sizing:border-box}.tb-shell [hidden]{display:none!important}
.tb-shell h1,.tb-shell h2,.tb-shell p,.tb-shell label,.tb-shell strong,.tb-shell small{color:inherit!important}
.tb-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin:18px 0 28px}
.tb-hero h1{font-size:clamp(1.35rem,3vw,1.9rem);margin:10px 0}.tb-hero p{margin:8px 0;line-height:1.9}
.tb-kicker,.tb-help,.tb-footnote{font-size:.88rem;line-height:1.9}.tb-access{border:1px solid var(--site-line,#cbd5e1);border-radius:99px;padding:10px 16px;background:var(--site-surface,#fff);font-size:.88rem}
.tb-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tb-shell .tb-card{display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid var(--site-line,#d7dde6);border-radius:20px;text-decoration:none;background:var(--site-surface,#fff);color:var(--site-ink,#17253b)!important;box-shadow:0 5px 20px #00000009;transition:transform .15s,border-color .15s}
.tb-card:hover{transform:translateY(-3px);border-color:var(--site-accent,#2563eb)}.tb-card:focus-visible,.tb-shell button:focus-visible,.tb-shell a:focus-visible{outline:3px solid var(--site-accent,#2563eb);outline-offset:3px}
.tb-symbol{display:inline-flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;border-radius:14px;color:#fff!important;background:linear-gradient(135deg,#2563eb,#7c3aed);font-size:24px;font-family:Arial,sans-serif}
.tb-card h2{font-size:1.08rem;margin:8px 0}.tb-card p{font-size:.9rem;line-height:1.9;margin:0 0 12px}.tb-card-action{margin-top:auto;font-size:.88rem;font-weight:bold}
.tb-panel{padding:28px;border:1px solid var(--site-line,#d7dde6);background:var(--site-surface,#fff);border-radius:22px}
.tb-upload{display:flex;flex-direction:column;gap:12px;border:2px dashed var(--site-line,#9baac1);padding:22px;border-radius:16px;cursor:pointer}.tb-upload input{max-width:100%;color:inherit}.tb-upload span{font-size:.85rem}
.tb-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.tb-fields label{display:flex;flex-direction:column;gap:9px;font-size:.95rem}.tb-fields input:not([type=checkbox]),.tb-fields select{width:100%;padding:10px 12px;min-height:44px;border-radius:10px;border:1px solid var(--site-line,#a8b4c7);background:var(--site-surface,#fff);color:var(--site-ink,#17253b)!important;font:inherit}.tb-fields small{font-size:.8rem}.tb-fields .tb-check{flex-direction:row;align-items:center}.tb-check input{accent-color:#2563eb;width:19px;height:19px}
.tb-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px}.tb-shell .tb-primary,.tb-shell .tb-secondary,.tb-file-action{display:inline-flex;justify-content:center;align-items:center;padding:11px 18px;border-radius:12px;cursor:pointer;font:inherit;text-decoration:none;border:1px solid var(--site-line,#a8b4c7)}
.tb-shell .tb-primary{background:#2456c4!important;color:#fff!important;border-color:#2456c4}.tb-shell .tb-secondary,.tb-file-action{background:var(--site-surface,#fff)!important;color:var(--site-ink,#17253b)!important}.tb-primary:disabled{opacity:.65;cursor:wait}.tb-back{color:inherit!important;text-decoration:underline}.tb-note{padding:15px 18px;border-inline-start:3px solid #3b82f6;border-radius:10px;background:var(--site-soft,var(--site-surface,#f1f5f9));line-height:1.95;font-size:.88rem}.tb-status{line-height:1.9;min-height:1.9em}.tb-status[data-error="1"]{border:1px solid #e05555;border-radius:10px;padding:10px}.tb-result{border:1px solid var(--site-line,#d7dde6);padding:22px;border-radius:14px;margin-top:22px}.tb-result h2{font-size:1.1rem}.tb-files{padding:0;list-style:none}.tb-files li{display:flex;align-items:center;gap:8px;margin:10px 0;border-bottom:1px solid var(--site-line,#d7dde6);padding-bottom:10px}.tb-file-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:.9rem}.tb-file-action{padding:5px 10px;font-size:18px}.tb-file-action:disabled{opacity:.4;cursor:default}.tb-photo-preview{display:block;object-fit:cover;max-width:180px;width:100%;aspect-ratio:3/4;margin:18px 0;border:1px solid var(--site-line,#cbd5e1);border-radius:8px}.tb-footnote{margin-top:24px}
@media(max-width:850px){.tb-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.tb-cards,.tb-fields{grid-template-columns:1fr}.tb-panel{padding:18px}.tb-hero{gap:12px}.tb-shell{padding-inline:12px}.tb-actions>*{width:100%}.tb-upload{padding:16px}}
