/* Academic-hub search, scoped to the two entry-page mounts. */
.tun-entry-search{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(170px,1.1fr) minmax(130px,.82fr) minmax(210px,1.45fr) 142px;grid-template-areas:"region major ownership keyword submit" "status status status status status";gap:9px;width:100%;margin:0;padding:11px;border-radius:20px;background:#fff;border:1px solid #e7edf7;box-shadow:0 18px 50px rgba(29,55,111,.1);color:#0b1d4f;font:inherit;box-sizing:border-box}
.tun-entry-search *{box-sizing:border-box}
.tun-entry-search label.tes-field{display:block;position:relative;width:auto;height:auto;clip:auto;overflow:visible;min-width:0;margin:0;padding:8px 13px;border:1px solid #dce5f2;border-radius:12px;background:#f9fbff;transition:border-color .18s ease,background .18s ease}
.tun-entry-search .tes-field:focus-within{border-color:#67a8e8;background:#fff}
.tun-entry-search .tes-field>span{display:block;margin-bottom:1px;color:#657291;font-size:12px;font-weight:800;letter-spacing:.04em;line-height:1.5}
.tun-entry-search .tes-field select,.tun-entry-search .tes-field input{display:block;width:100%;max-width:100%;min-width:0;min-height:27px;height:27px;margin:0;padding:0;border:0;border-radius:0;outline:0;color:#0b1d4f;background:transparent;box-shadow:none;font:750 13px/1.5 "Noto Sans TC","PingFang TC",sans-serif}
.tun-entry-search .tes-field select{appearance:auto;cursor:pointer}
.tun-entry-search .tes-field>span.tes-keyword-control{position:relative;display:block;margin:0}
.tun-entry-search .tes-keyword-control input{padding-right:26px}
.tun-entry-search button.tes-keyword-clear{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;min-width:26px;height:26px;min-height:26px;margin:0;padding:3px;border:0;border-radius:6px;background:transparent;color:#657291;cursor:pointer}
.tun-entry-search .tes-keyword-clear svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.tun-entry-search .tes-region{grid-area:region}.tun-entry-search .tes-major{grid-area:major}.tun-entry-search .tes-ownership{grid-area:ownership}.tun-entry-search .tes-keyword{grid-area:keyword}
.tun-entry-search button.tes-submit{grid-area:submit;min-width:0;min-height:48px;margin:0;padding:10px 14px;border:0;border-radius:13px;color:#fff;font:850 14px/1.5 "Noto Sans TC","PingFang TC",sans-serif;background:linear-gradient(100deg,#168cff,#7259ef 64%,#ed78b5);cursor:pointer;transition:filter .18s ease}
.tun-entry-search button.tes-submit:hover{filter:brightness(.96)}
.tun-entry-search button.tes-toggle{display:none}
.tun-entry-search .tes-status{grid-area:status;display:flex;align-items:center;gap:8px;min-height:24px;padding:0 4px;color:#67738f;font-size:13px;line-height:1.6}
.tun-entry-search .tes-filters{display:flex;flex-wrap:wrap;gap:6px}
.tun-entry-search .tes-chip{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#eef6ff;color:#145e9e;font-size:13px;font-weight:800}
.tun-entry-search button.tes-clear{min-width:0;min-height:28px;margin:0 0 0 auto;padding:3px 6px;border:0;border-radius:0;background:transparent;color:#155fa6;font-size:13px;font-weight:850;cursor:pointer}
.tun-entry-search [hidden]{display:none!important}
.tun-entry-search :is(select,input,button):focus-visible{outline:3px solid #167dde;outline-offset:3px}
.tun-entry-search-ready .tun26 .tun26-search-wrap{width:min(1180px,100%)}
.tun-entry-search-ready .aud-page-root .aud-search{padding:0;border:0;background:transparent;box-shadow:none}
.tun-entry-search-ready .aud-search form.tun-entry-search{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(170px,1.1fr) minmax(130px,.82fr) minmax(210px,1.45fr) 142px;gap:9px}
@media(max-width:1050px){.tun-entry-search,.tun-entry-search-ready .aud-search form.tun-entry-search{grid-template-columns:1fr 1.25fr 1fr 1.35fr;grid-template-areas:"region major ownership keyword" "status status status submit"}}
@media(max-width:700px){.tun-entry-search,.tun-entry-search-ready .aud-search form.tun-entry-search{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"keyword toggle" "region region" "major major" "ownership ownership" "submit submit" "status status";padding:9px}.tun-entry-search label.tes-advanced{display:none}.tun-entry-search.is-open label.tes-advanced{display:block}.tun-entry-search button.tes-toggle{grid-area:toggle;display:block;min-width:82px;min-height:48px;padding:8px;border:1px solid #c8d8ed;border-radius:12px;background:#eef5ff;color:#155fa6;font-size:12px;font-weight:850;cursor:pointer}.tun-entry-search .tes-field input{font-size:16px}.tun-entry-search .tes-field select{height:30px;font-size:16px}.tun-entry-search .tes-status{align-items:flex-start;flex-wrap:wrap;padding:4px 2px 1px}.tun-entry-search button.tes-clear{margin-left:0}}
@media(prefers-reduced-motion:reduce){.tun-entry-search *{transition:none!important}}
