:root{color-scheme:dark;font-family:"DM Sans",Inter,system-ui,-apple-system,sans-serif;background:#0b1026;color:#f1f5ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 72% 5%,#28316b88,transparent 40%),radial-gradient(ellipse at 10% 28%,#15595b55,transparent 42%),#0b1026;min-height:100vh}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.top{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1240px)/2));background:#10172de8;border-bottom:1px solid #ffffff18}.brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:850}.brand img{border-radius:12px;object-fit:contain}.accent{color:#69e0da}.slash{color:#647194;margin:0 4px}.top nav{display:flex;gap:23px;font-size:13px;color:#c8d2ed;font-weight:650}.top nav a:hover,.attribution a{color:#6be5de}main{max-width:1240px;padding:0 22px 80px;margin:auto}.hero{text-align:center;padding:72px 0 52px}.eyebrow{font-size:11px;letter-spacing:.23em;color:#71ded9;font-weight:800}.hero h1{font-size:clamp(40px,6vw,72px);letter-spacing:-.06em;line-height:1.08;margin:17px 0}.hero h1 em{font-style:normal;background:linear-gradient(95deg,#b59aff,#68e5dc,#f2a6a3);background-clip:text;color:transparent}.hero>p:not(.eyebrow){max-width:650px;color:#b5c1dd;line-height:1.7;margin:0 auto 26px}#search-form{display:flex;gap:8px;max-width:770px;margin:auto;padding:7px;border:1px solid #566391;background:#1c2646;border-radius:18px;box-shadow:0 15px 45px #02081755}#search{flex:1;min-width:0;background:transparent;color:white;border:0;outline:0;padding:15px;font-size:16px}#search::placeholder{color:#99a7c4}#search-form button,.primary{background:linear-gradient(110deg,#7566e5,#4d91d8);border:0;border-radius:12px;color:white;padding:12px 22px;font-weight:800}.chips{display:flex;gap:9px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:18px;color:#9caace;font-size:13px}.chips button,.secondary,.tab{border:1px solid #526080;background:#222e51;color:#dbe5ff;border-radius:11px;padding:8px 12px}.chips button:hover,.secondary:hover,.tab:hover{border-color:#69e5dc}.layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px}.panel{background:#151e37;border:1px solid #354363;border-radius:22px;box-shadow:0 14px 50px #0003;overflow:hidden}.panel-heading{padding:22px 22px 12px;display:flex;justify-content:space-between;align-items:center}.panel-heading h2{margin:0;font-size:17px}.panel-heading small,.subtle{color:#93a3c6}.subtle{padding:0 22px}.result{display:block;width:100%;text-align:left;border:0;border-top:1px solid #ffffff0d;background:transparent;color:#f5f7ff;padding:15px 22px}.result:hover,.result.active{background:#28365b}.result strong{display:block;font-size:15px}.result small{display:block;color:#aebddd;margin-top:5px;line-height:1.4}.attribution{font-size:11px;color:#9faecc;line-height:1.7;padding:20px;border-top:1px solid #ffffff18}.content{min-width:0}#status{color:#91dfdb;font-size:13px;margin-bottom:9px;min-height:18px}.placeholder{text-align:center;padding:90px 25px;color:#acbad9}.placeholder span{font-size:36px;color:#7be6df}.placeholder h2{color:#fff}.entry{padding:30px}.entry-head{display:flex;justify-content:space-between;gap:10px}.entry h2{font-size:clamp(30px,4vw,46px);margin:8px 0;overflow-wrap:anywhere}.pill{display:inline-block;border:1px solid #556c91;border-radius:50px;padding:5px 10px;color:#b4e9e6;font-size:12px}.meaning{font-size:22px;margin:22px 0;color:#f4f5ff}.tabrow{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.tab[aria-selected=true]{background:#47518b;color:white;border-color:#9e99ee}.section{border-top:1px solid #ffffff1a;padding-top:17px;line-height:1.7;color:#d7e0f6}.section p{margin:8px 0}.section small{color:#aab9d7}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.notice{border:1px solid #4c6383;background:#1b2d48;border-radius:12px;padding:12px;font-size:13px;color:#d4e4ff}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:800px){.top{height:auto;padding:16px;gap:15px;flex-wrap:wrap}.top nav{flex-wrap:wrap;gap:12px}.hero{padding:44px 0 35px}.layout{grid-template-columns:1fr}.entry{padding:20px}}
/* Dictionary 3.1 translation studio */
.translate-studio{margin:30px 0 45px;padding:28px;background:#141e39;border:1px solid #52638b66;border-radius:22px;color:#edf3ff}.studio-title{display:flex;justify-content:space-between;gap:16px;align-items:start}.studio-title h2{font-size:clamp(25px,3vw,35px);margin:6px 0}.studio-title p:not(.eyebrow){color:#b8c8e6;line-height:1.6}.translate-studio label{display:block;margin:12px 0 8px;color:#dce6fa;font-weight:700}.translate-studio textarea,.translate-studio select{width:100%;box-sizing:border-box;border:1px solid #53658d;background:#0c1530;color:#f4f7ff;border-radius:13px;padding:14px;font:inherit;line-height:1.6}.translate-studio textarea:focus,.translate-studio select:focus{outline:2px solid #72dcd6;outline-offset:2px}.translate-studio textarea[readonly]{background:#101c36}.studio-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.studio-controls select{width:auto;min-width:205px}.studio-controls button{background:#6554d7;color:white;border:0;border-radius:11px;padding:11px 18px;font-weight:700}.studio-controls button.secondary{background:#293759;color:#dbe8ff;border:1px solid #52638b}.studio-controls button:disabled{opacity:.55;cursor:not-allowed}#translation-status{min-height:1.4em;color:#8ee4d9;margin:12px 0;white-space:pre-wrap}.translate-studio .attribution{margin-top:20px}@media(max-width:600px){.translate-studio{padding:17px}.studio-title{display:block}.studio-controls select{width:100%}}

/* Dictionary 3.2: mutually exclusive, accessible language workspaces */
.mode-switch-wrap{display:flex;justify-content:center;padding:27px 0 8px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#141d38;border:1px solid #435476;border-radius:18px;width:min(100%,510px);box-shadow:0 14px 40px #0004}.mode-switch button{font:inherit;font-weight:750;letter-spacing:.01em;cursor:pointer;padding:14px 22px;color:#b7c6e3;background:transparent;border:0;border-radius:13px;transition:background .18s,color .18s,box-shadow .18s}.mode-switch button[aria-selected="true"]{color:#fff;background:linear-gradient(115deg,#6153cf,#3a699e);box-shadow:0 5px 18px #0005}.mode-switch button:focus-visible{outline:2px solid #7eece1;outline-offset:3px}#translation-studio{margin-top:30px}#dictionary-workspace[hidden],#translation-studio[hidden]{display:none!important}@media(max-width:600px){.mode-switch-wrap{padding:18px 0 2px}.mode-switch button{padding:12px 8px;font-size:14px}}
