/* Страницы с классом .t-base64 на <body> (изолировано от остальных макетов) */
.t-base64 [hidden]{display:none!important}
.t-base64 .cprow{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}
.t-base64 .b64-io{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.t-base64 .b64-hd{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.t-base64 .b64-hd label{font-size:13.5px;font-weight:700}
.t-base64 .b64-hd span{font-size:12.5px;color:var(--mu)}
.t-base64 textarea{width:100%;min-height:190px;resize:vertical;font:13.5px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:break-word;white-space:pre-wrap}
.t-base64 .b64-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;border:1px solid var(--line);border-radius:10px;padding:6px 10px;font-size:13px;background:var(--bg)}
.t-base64 .b64-chip button{width:26px;height:26px;border-radius:8px;border:1px solid var(--line);background:var(--card);cursor:pointer;color:var(--mu)}
.t-base64 .bad-msg{display:block;font-size:13px;color:var(--err);margin-top:10px}
.t-base64 .bad-msg.ok{color:var(--mu)}
.t-base64 .b64-pv{margin-top:10px;border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--bg);text-align:center}
.t-base64 .b64-pv img{max-width:100%;max-height:260px;border-radius:8px}
.t-base64 .b64-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.t-base64 .b64-st{border:1px solid var(--line);border-radius:12px;padding:8px 16px;min-width:120px}
.t-base64 .b64-st b{display:block;font:800 18px/1.25 ui-monospace,monospace}
.t-base64 .b64-st span{font-size:12.5px;color:var(--mu)}
.t-base64 .b64-opt{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:16px;align-items:center}
.t-base64 .b64-sel{font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px}
.t-base64 .b64-sel select{height:38px;padding:0 10px;border:1.5px solid var(--line);border-radius:10px;background-color:color-mix(in srgb,var(--bg) 35%,var(--card));color:var(--tx);font:inherit;font-size:14px}
.t-base64 .lb{display:block;margin-top:16px}
.t-base64 .b64-act{margin-top:16px}
.t-base64 .b64-sp{flex:1}
.t-base64 .b64-file{position:relative;overflow:hidden;cursor:pointer}
.t-base64 .b64-file input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}
.t-base64 .tbw{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.t-base64 .b64-tb{width:100%;border-collapse:collapse;font-size:14px}
.t-base64 .b64-tb th{background:var(--bg);text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--mu);padding:9px 12px}
.t-base64 .b64-tb td{padding:9px 12px;border-top:1px solid var(--line);vertical-align:top;min-width:150px}
.t-base64 .win pre{white-space:pre;overflow-x:auto}
.t-base64 .b64-h3{font-size:15.5px;margin:18px 0 8px}
.t-base64 .step,.t-base64 .lead,.t-base64 .card p{min-width:0;overflow-wrap:break-word}
@media(max-width:700px){.t-base64 .b64-io{grid-template-columns:minmax(0,1fr)}.t-base64 textarea{min-height:150px}.t-base64 .b64-sp{display:none}}
