.td-jy{--td-blue:#1759c7;--td-ink:#172b4d;--td-border:#cbd6e5;--td-bg:#f4f8fd;box-sizing:border-box;color:var(--td-ink);background:#fff;border:1px solid var(--td-border);border-radius:16px;padding:clamp(12px,3vw,26px);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:1100px;margin:20px auto;min-width:0;text-align:left;color-scheme:light}
.td-jy *{box-sizing:border-box}.td-jy h2{font-size:clamp(22px,4vw,30px);line-height:1.25;margin:0 0 8px;color:var(--td-ink)}.td-jy p{margin:0 0 15px}.td-jy .td-privacy{background:#edf7ff;border:1px solid #cce6f8;border-radius:9px;padding:10px 13px;font-size:14px;display:flex;gap:8px;align-items:flex-start}.td-jy .td-toolbar,.td-jy .td-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}.td-jy button,.td-jy select{font:inherit;font-size:14px;line-height:1.3;border:1px solid var(--td-border);background:#fff;color:var(--td-ink);padding:10px 13px;border-radius:8px;min-height:44px;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;margin:0}.td-jy button:hover:not(:disabled){background:#eaf2ff;border-color:var(--td-blue)}.td-jy button.td-primary{background:var(--td-blue);color:#fff;border-color:var(--td-blue);font-weight:650}.td-jy button.td-primary:hover:not(:disabled){background:#1249a5;color:#fff}.td-jy button:disabled{opacity:.48;cursor:not-allowed}.td-jy button:focus-visible,.td-jy select:focus-visible,.td-jy textarea:focus-visible{outline:3px solid #78a9fa;outline-offset:2px}.td-jy .td-panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.td-jy .td-pane{min-width:0}.td-jy .td-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 6px}.td-jy .td-head label{font-weight:700}.td-jy .td-count{font-size:12px;color:#50637d;text-align:right}.td-jy textarea{display:block;width:100%;min-width:0;min-height:320px;height:360px;resize:vertical;background:var(--td-bg);border:1px solid var(--td-border);color:#142944;border-radius:9px;padding:12px;font:14px/1.6 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;tab-size:2;margin:0;white-space:pre;overflow:auto;box-shadow:none}.td-jy .td-status{padding:10px 12px;border-radius:8px;background:var(--td-bg);color:#435670;overflow-wrap:anywhere;font-size:14px;min-height:44px;margin:0}.td-jy .td-status[data-kind="error"]{background:#fff0ef;color:#9d2727;border:1px solid #f1c5c5}.td-jy .td-status[data-kind="success"]{background:#edf9f1;color:#17643a;border:1px solid #bde4cc}.td-jy .td-footer{text-align:center;font-size:13px;margin:16px 0 0;color:#50637d}.td-jy .td-footer a{color:var(--td-blue)}.td-jy [hidden]{display:none!important}.td-jy .td-indent{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px}.td-jy .td-hint{font-size:13px;color:#50637d;margin:8px 0 0}
@media(max-width:700px){.td-jy .td-panes{grid-template-columns:minmax(0,1fr)}.td-jy textarea{height:250px;min-height:190px}.td-jy .td-toolbar,.td-jy .td-actions{gap:7px}.td-jy .td-actions button{flex:1 1 120px}}@media(max-width:360px){.td-jy button,.td-jy select{padding:9px}.td-jy .td-head{flex-wrap:wrap}}

/* Keep code editors multiline even when the active theme styles textareas. */
.td-jy textarea[data-role="input"],.td-jy textarea[data-role="output"]{white-space:pre!important;overflow-wrap:normal!important;word-break:normal!important;text-align:left!important;line-height:1.6!important;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important}

.td-jy .td-file-info{font-size:13px;color:#435670;background:var(--td-bg);border:1px solid var(--td-border);border-radius:8px;padding:8px 12px;margin:0 0 14px;overflow-wrap:anywhere}
