.bmc-text-processing{--surface:#ffffff;--surface-muted:#f4f6fb;--border:#e3e8f2;--text-main:#1c2333;--text-muted:#5f6b85;--primary:#4f46ef;--primary-dark:#312e81;--accent:#36cfc9;--shadow-soft:0 20px 45px rgba(15,23,42,0.08);--gradient:linear-gradient(135deg,#4f46ef 0%,#7c3aed 100%);}
.to-obf{padding-bottom:2rem;}
.to-obf__grid{display:grid;grid-template-columns:1fr;gap:1.25rem;}
@media (min-width:900px){.to-obf__grid{grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start;}}
.to-obf__card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.25rem;box-shadow:0 1px 3px rgba(0,0,0,0.04);}
@media (min-width:600px){.to-obf__card{padding:1.5rem;}}
.to-obf__card-head{margin-bottom:1rem;}
.to-obf__card-title{font-size:1rem;font-weight:600;color:var(--text-main);margin:0 0 0.25rem 0;}
.to-obf__card-desc{font-size:0.875rem;color:var(--text-muted);margin:0;}
.to-obf__field{margin-bottom:1.25rem;}
.to-obf__label{display:block;font-size:0.8125rem;font-weight:600;color:var(--text-muted);margin-bottom:0.5rem;}
.to-obf__label-inline{display:inline-flex;align-items:center;gap:0.35rem;}
.to-obf__input{width:100%;min-height:clamp(160px,40vw,260px);padding:1rem;font-size:1rem;line-height:1.6;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted);color:var(--text-main);resize:vertical;transition:border-color 0.2s ease,box-shadow 0.2s ease;}
.to-obf__input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(79,70,239,0.12);}
.to-obf__input::placeholder{color:var(--text-muted);opacity:0.8;}
.to-obf__select{width:100%;min-height:44px;padding:0.6rem 0.75rem;font-size:0.9375rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-main);cursor:pointer;transition:border-color 0.2s ease;}
.to-obf__select:focus{outline:none;border-color:var(--primary);}
.to-obf__hint{margin-top:0.5rem;padding:0.6rem 0.75rem;font-size:0.8125rem;color:var(--text-muted);background:var(--surface-muted);border-radius:8px;border:1px solid var(--border);}
.to-obf__range-wrap{margin-top:0.5rem;}
.to-obf__range{width:100%;height:6px;border-radius:999px;background:var(--surface-muted);-webkit-appearance:none;appearance:none;}
.to-obf__range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:var(--primary);cursor:pointer;box-shadow:0 0 0 3px rgba(79,70,239,0.2);}
.to-obf__range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--primary);cursor:pointer;border:none;box-shadow:0 0 0 3px rgba(79,70,239,0.2);}
.to-obf__range-meta{display:flex;justify-content:space-between;margin-top:0.35rem;font-size:0.75rem;font-weight:600;color:var(--text-muted);}
.to-obf__toggles{display:grid;grid-template-columns:1fr;gap:0.5rem;}
@media (min-width:400px){.to-obf__toggles{grid-template-columns:repeat(2,1fr);}}
@media (min-width:600px){.to-obf__toggles{grid-template-columns:repeat(3,1fr);}}
.to-obf__toggle{display:flex;align-items:center;gap:0.6rem;padding:0.65rem 0.85rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);cursor:pointer;transition:border-color 0.2s ease,background 0.2s ease;}
.to-obf__toggle:hover{border-color:var(--primary);background:var(--surface-muted);}
.to-obf__toggle input[type="checkbox"]{width:1.125rem;height:1.125rem;accent-color:var(--primary);cursor:pointer;}
.to-obf__toggle span{font-size:0.875rem;font-weight:500;color:var(--text-main);}
.to-obf__actions{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem;margin-top:1.25rem;}
.to-obf__btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;min-height:44px;padding:0.65rem 1rem;font-size:0.9375rem;font-weight:600;border-radius:10px;border:1px solid var(--border);background:var(--surface-muted);color:var(--text-main);cursor:pointer;transition:background 0.2s ease,border-color 0.2s ease,transform 0.15s ease;}
.to-obf__btn:hover{background:var(--surface);border-color:var(--primary);transform:translateY(-1px);}
.to-obf__btn:disabled{opacity:0.6;cursor:not-allowed;transform:none;}
.to-obf__btn--primary{border:none;background:var(--primary);color:#fff;}
.to-obf__btn--primary:hover{background:var(--primary-dark);border:none;}
.to-obf__status,.status-message{margin-top:1rem;padding:0.65rem 0.85rem;font-size:0.875rem;border-radius:8px;display:none;}
.to-obf__status.show,.status-message.show{display:block;}
.to-obf__status.success,.status-message.success{background:rgba(34,197,94,0.12);color:#059669;border:1px solid rgba(34,197,94,0.3);}
.to-obf__status.warning,.status-message.warning{background:rgba(245,158,11,0.12);color:#d97706;border:1px solid rgba(245,158,11,0.3);}
.to-obf__status.error,.status-message.error{background:rgba(239,68,68,0.12);color:#dc2626;border:1px solid rgba(239,68,68,0.3);}
.to-obf__status.info,.status-message.info{background:rgba(14,165,233,0.12);color:#0284c7;border:1px solid rgba(14,165,233,0.3);}
.to-obf__empty{text-align:center;padding:2rem 1rem;color:var(--text-muted);font-size:0.9375rem;}
.to-obf__result[hidden]{display:none;}
.to-obf__stats{display:grid;grid-template-columns:repeat(2,1fr);gap:0.6rem;margin-top:1rem;}
@media (min-width:400px){.to-obf__stats{grid-template-columns:repeat(3,1fr);}}
.to-obf__stat{padding:0.75rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);}
.to-obf__stat-label{font-size:0.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:var(--text-muted);}
.to-obf__stat-value{font-size:1.25rem;font-weight:700;color:var(--text-main);margin-top:0.2rem;}
.readability-badge{display:inline-flex;align-items:center;padding:0.4rem 0.75rem;border-radius:999px;font-size:0.8125rem;font-weight:600;margin-top:0.75rem;}
.readability-badge--success{background:rgba(34,197,94,0.15);color:#059669;}
.readability-badge--warning{background:rgba(245,158,11,0.15);color:#d97706;}
.readability-badge--danger{background:rgba(239,68,68,0.15);color:#dc2626;}
.readability-badge--info{background:rgba(14,165,233,0.15);color:#0284c7;}
.to-obf__out-actions{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border);}
.to-obf__copy-row{display:flex;flex-wrap:wrap;gap:0.6rem;margin-bottom:1rem;}
.to-obf__copy-btn{display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;min-height:40px;padding:0.5rem 0.9rem;font-size:0.875rem;font-weight:600;border-radius:8px;border:1px solid var(--border);background:var(--surface-muted);color:var(--text-main);cursor:pointer;transition:background 0.2s ease,border-color 0.2s ease;}
.to-obf__copy-btn:hover{background:rgba(79,70,239,0.08);border-color:var(--primary);}
.to-obf__copy-btn[data-state="copied"]{background:rgba(34,197,94,0.12);border-color:rgba(34,197,94,0.4);color:#059669;}
.to-obf__share{background:rgba(79,70,239,0.06);border:1px solid rgba(79,70,239,0.15);border-radius:10px;padding:1rem;}
.to-obf__share-title{font-size:0.875rem;font-weight:600;margin:0 0 0.6rem 0;color:var(--text-main);}
.to-obf__share-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0.5rem;}
@media (min-width:380px){.to-obf__share-grid{grid-template-columns:repeat(3,1fr);}}
.to-obf__share-btn{border:none;border-radius:8px;padding:0.5rem 0.6rem;font-size:0.75rem;font-weight:600;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:0.35rem;transition:transform 0.15s ease,opacity 0.15s ease;}
.to-obf__share-btn:hover{transform:translateY(-1px);opacity:0.95;}
.to-obf__share-btn--x{background:#0f172a;}
.to-obf__share-btn--facebook{background:#1877f2;}
.to-obf__share-btn--linkedin{background:#0a66c2;}
.to-obf__share-btn--reddit{background:#ff4500;}
.to-obf__share-btn--telegram{background:#229ed9;}
.to-obf__share-btn--whatsapp{background:#25d366;color:#0f172a;}
.to-obf__help{width:1.125rem;height:1.125rem;border-radius:50%;background:rgba(79,70,239,0.12);color:var(--primary);border:none;cursor:help;font-size:0.7rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;}
.to-obf__help:hover{background:rgba(79,70,239,0.2);}
.to-obf-edu{margin-top:2.5rem;padding:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:16px;}
.to-obf-edu h2{font-size:1.375rem;font-weight:700;margin:0 0 1rem 0;color:var(--text-main);}
.to-obf-edu p{font-size:0.9375rem;color:var(--text-muted);line-height:1.65;margin:0 0 0.75rem 0;}
.to-obf-edu p:last-child{margin-bottom:0;}
.to-obf-edu__cards{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1.25rem;}
@media (min-width:500px){.to-obf-edu__cards{grid-template-columns:repeat(3,1fr);}}
.to-obf-edu__card{padding:1rem;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted);}
.to-obf-edu__card h5{font-size:0.9375rem;font-weight:600;margin:0 0 0.35rem 0;color:var(--text-main);}
.to-obf-edu__card p{font-size:0.8125rem;margin:0;}
.to-obf-edu__flow{display:grid;grid-template-columns:1fr;gap:0.75rem;margin-top:1.25rem;padding:1rem;border:1px dashed var(--border);border-radius:12px;background:var(--surface-muted);}
@media (min-width:520px){.to-obf-edu__flow{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));}}
.to-obf-edu__flow strong{font-size:0.875rem;color:var(--text-main);}
.to-obf-edu__flow p{font-size:0.8125rem;margin:0.25rem 0 0 0;}
@media (prefers-reduced-motion:reduce){.to-obf__btn,.to-obf__copy-btn,.to-obf__share-btn,.to-obf__toggle{transition:none;}}
