.tdlg{--ink:#e9f2ff;--muted:#a9bbd1;--panel:#14243b;--line:#304763;--accent:#60e6be;--blue:#72b7ff;box-sizing:border-box;background:#0b1628;color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;border-radius:22px;padding:clamp(14px,3vw,32px);max-width:1280px;margin:24px auto;overflow:hidden;color-scheme:dark}.tdlg *{box-sizing:border-box}.tdlg h2,.tdlg h3,.tdlg p{color:inherit;margin:0}.tdlg h2{font-size:clamp(25px,4vw,40px);line-height:1.12;letter-spacing:-.035em}.tdlg h3{font-size:19px}.tdlg .td-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.tdlg .td-eyebrow{color:var(--accent);font-size:12px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;margin-bottom:8px}.tdlg .td-sub{color:var(--muted);margin-top:9px;font-size:14px}.tdlg .td-logo{display:grid;place-items:center;width:94px;height:98px;border:1px solid var(--line);background:radial-gradient(ellipse at 50% 40%,#2b4964,#14243b 75%);border-radius:20px;flex-shrink:0}.tdlg .td-tux{display:block;width:76px;height:84px;max-width:100%;filter:drop-shadow(0 3px 4px #07111f80)}.tdlg .td-prompt{color:#72b7ff;font-weight:700;user-select:none;-webkit-user-select:none}.tdlg .td-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:18px;align-items:start}.tdlg .td-panel{background:var(--panel);border:1px solid var(--line);padding:clamp(13px,2.5vw,23px);border-radius:16px;min-width:0}.tdlg .td-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tdlg label{display:block;font-weight:650;font-size:13px;margin:12px 0 6px;color:var(--ink)}.tdlg input,.tdlg select,.tdlg button{font:inherit;border-radius:9px;max-width:100%;min-height:44px;letter-spacing:normal;text-transform:none}.tdlg input,.tdlg select{background:#0c192c;color:var(--ink);border:1px solid #415775;padding:10px;width:100%;box-shadow:none}.tdlg input::placeholder{color:#a2b2c7}.tdlg button{cursor:pointer;border:1px solid var(--line);background:#203650;color:var(--ink);padding:9px 13px;font-size:14px;font-weight:700;line-height:1.3;white-space:normal}.tdlg button:hover{filter:brightness(1.14)}.tdlg button:disabled{opacity:.48;cursor:not-allowed}.tdlg :is(button,input,select,a):focus-visible{outline:3px solid var(--accent);outline-offset:2px}.tdlg .td-primary{background:var(--accent);color:#09251e;border-color:var(--accent);width:100%;margin-top:17px;min-height:48px}.tdlg .td-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.tdlg .td-terminal{margin-top:13px;border:1px solid #354960;border-radius:12px;overflow:hidden;background:#07111f}.tdlg .td-terminalbar{display:flex;align-items:center;gap:7px;background:#21324a;padding:10px 13px;font-size:12px;color:#c3d0e1}.tdlg .td-dot{width:9px;height:9px;border-radius:50%;background:#ff777c;flex:none}.tdlg .td-dot:nth-child(2){background:#ffd080}.tdlg .td-dot:nth-child(3){background:#60e6be}.tdlg .td-terminalbar span:last-child{margin-left:auto}.tdlg pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;min-height:114px;margin:0;background:transparent;border:0;color:#8ef1ce;padding:19px;font:15px/1.7 ui-monospace,Consolas,monospace}.tdlg .td-meta{font-size:12px;color:var(--blue);font-weight:700;margin-top:10px}.tdlg .td-explain{font-size:14px;color:var(--muted);margin-top:11px}.tdlg .td-warning{border:1px solid #846133;background:#352b20;color:#ffe1a0;border-radius:10px;padding:11px 13px;margin-top:12px;font-size:13px;overflow-wrap:anywhere}.tdlg .td-error{color:#ffb0b4;font-size:13px;margin-top:8px;overflow-wrap:anywhere}.tdlg .td-status{font-size:13px;color:var(--accent);min-height:20px;margin-top:9px}.tdlg .td-quick{margin-top:18px}.tdlg .td-quick .td-actions button{font-family:ui-monospace,Consolas,monospace;font-size:13px}.tdlg .td-foot{border-top:1px solid var(--line);margin-top:22px;padding-top:15px;color:var(--muted);font-size:13px}.tdlg a{color:#9fcbff;text-decoration:underline}.tdlg .td-foot p+p{margin-top:8px}.tdlg [hidden]{display:none!important}.tdlg .td-help{font-size:12px;color:var(--muted);margin-top:5px}.tdlg .td-result-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.tdlg .td-tag{border:1px solid #426183;border-radius:99px;padding:3px 10px;color:#cbe3ff;font-size:12px;font-weight:650}.tdlg .td-count{font-size:12px;color:var(--muted);margin-top:6px}.tdlg .td-field{min-width:0}

.tdlg .td-learn{margin-top:20px;border:1px solid #355b75;border-radius:13px;padding:15px;background:#102d40}.tdlg .td-learn-head{display:flex;align-items:center;gap:9px;color:#9fddff}.tdlg .td-learn-head svg{flex:none}.tdlg .td-learn-head h3{font-size:16px}.tdlg .td-learn-status{font-size:12px;color:var(--muted);margin-top:6px}.tdlg .td-learn-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:7px}.tdlg .td-learn-list:empty{margin:0}.tdlg .td-learn-list li{margin:0;padding:0;min-width:0}.tdlg .td-learn-list a{display:block;background:#162d43;border:1px solid #34536c;padding:10px 12px;border-radius:9px;text-decoration:none;color:#d5ecff;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.tdlg .td-learn-list a:hover{border-color:#72b7ff;text-decoration:underline}.tdlg .td-learn-search{display:inline-block;margin-top:10px;font-size:13px;font-weight:650}

/* Responsive layout follows the tool's actual width, including WordPress columns. */
.tdlg{width:100%;min-width:0;container-name:tdlg;container-type:inline-size;padding:clamp(10px,2vw,24px);overflow:visible;overflow-wrap:anywhere}
.tdlg .td-hero>div:first-child,.tdlg .td-grid,.tdlg .td-row,.tdlg label,.tdlg .td-result-heading>*,.tdlg .td-learn-head h3{min-width:0}
.tdlg input,.tdlg select{display:block;min-width:0;max-width:100%;width:100%;font-size:16px;min-height:48px;margin:6px 0 0;line-height:1.4}
.tdlg button{min-height:48px;min-width:0;overflow-wrap:anywhere;touch-action:manipulation}
.tdlg .td-terminal,.tdlg pre{max-width:100%;min-width:0}
.tdlg pre,.tdlg pre span{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.tdlg .td-terminalbar span:last-child{min-width:0;text-align:right}
.tdlg .td-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.tdlg .td-actions button{width:100%;margin:0}
.tdlg .td-actions [data-act="reset"]{grid-column:1/-1}
.tdlg .td-learn-list a{min-height:48px;display:flex;align-items:center}
.tdlg .td-learn-search{display:inline-flex;align-items:center;min-height:44px;max-width:100%}
.tdlg .td-result-heading{scroll-margin-top:80px}
@container tdlg (min-width:920px){.tdlg .td-actions:has([data-act="reset"]){grid-template-columns:repeat(3,minmax(0,1fr))}.tdlg .td-actions [data-act="reset"]{grid-column:auto}}
@container tdlg (max-width:800px){.tdlg .td-grid{grid-template-columns:minmax(0,1fr);gap:14px}.tdlg .td-hero{align-items:flex-start;gap:12px;margin-bottom:18px}.tdlg .td-logo{width:72px;height:78px;border-radius:15px}.tdlg .td-tux{width:58px;height:65px}.tdlg h2{font-size:30px}}
@container tdlg (max-width:520px){.tdlg .td-row{grid-template-columns:minmax(0,1fr);gap:0}.tdlg .td-panel{padding:12px;border-radius:12px}.tdlg .td-hero{gap:9px}.tdlg h2{font-size:clamp(23px,7cqi,30px)}.tdlg .td-logo{width:54px;height:61px;border-radius:12px}.tdlg .td-tux{width:44px;height:49px}.tdlg pre{font-size:14px;padding:12px;min-height:90px}.tdlg .td-learn{padding:12px}.tdlg .td-eyebrow{font-size:11px;letter-spacing:.06em}.tdlg .td-foot{margin-top:16px}.tdlg .td-result-heading h3{font-size:17px}}
@container tdlg (max-width:300px){.tdlg .td-actions{grid-template-columns:minmax(0,1fr)}.tdlg .td-hero{gap:7px}.tdlg .td-logo{width:46px;height:52px}.tdlg .td-tux{width:38px;height:43px}.tdlg .td-panel{padding:10px}.tdlg .td-terminalbar{padding:8px;gap:5px}}
/* Fallback for browsers without container queries. */
@supports not (container-type:inline-size){@media(max-width:850px){.tdlg .td-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:580px){.tdlg .td-row,.tdlg .td-actions{grid-template-columns:minmax(0,1fr)}.tdlg .td-logo{width:54px;height:61px}.tdlg .td-tux{width:44px;height:49px}.tdlg .td-panel{padding:12px}.tdlg pre{font-size:14px;padding:12px}}}
@media(max-width:480px){.tdlg{margin:10px auto;border-radius:14px}}

/* Native, readable dropdowns even inside dark/light WordPress themes. */
.tdlg.tdlg select[data-el]{
 appearance:auto!important;-webkit-appearance:menulist!important;
 display:block!important;visibility:visible!important;opacity:1!important;
 position:static!important;clip:auto!important;clip-path:none!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:48px!important;max-height:none!important;
 color-scheme:light!important;color:#14243b!important;-webkit-text-fill-color:#14243b!important;
 background:#f4f8ff!important;border:1px solid #92a7c1!important;
 border-radius:9px!important;padding:10px 12px!important;
 font:500 16px/1.4 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
 text-indent:0!important;text-transform:none!important;letter-spacing:normal!important;
 text-shadow:none!important;box-shadow:none!important;pointer-events:auto!important;
}
.tdlg.tdlg select[data-el] option,.tdlg.tdlg select[data-el] optgroup{
 color:#14243b!important;-webkit-text-fill-color:#14243b!important;background-color:#f4f8ff!important;
 font-size:16px!important;visibility:visible!important;opacity:1!important;
}
.tdlg.tdlg select[data-el]:focus-visible{outline:3px solid #60e6be!important;outline-offset:2px!important}
.tdlg .td-init-notice{font-size:13px;color:#ffe1a0;background:#352b20;border:1px solid #846133;border-radius:9px;padding:10px;margin-top:10px}
