/* Source styles live unmodified in original/. These rules wire interactive controls only. */
.classic-admin a{font-size:12px!important}.classic-admin{clear:both}
[hidden]{display:none!important}a[data-font]{cursor:pointer}
td:has(>div[id^="m11"]):hover>div[id^="m11"],div[id^="m11"]:hover{visibility:visible!important}
#bookmark-panel{position:fixed;left:50%;top:30%;transform:translateX(-50%);padding:20px;border:1px solid #8ebaf0;background:#fff;z-index:9999;text-align:left;box-shadow:0 8px 28px #0002;font:14px/1.8 sans-serif;width:330px}
#bookmark-panel button{margin-top:10px}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Allow search shortcuts to wrap without widening the original fixed-width page. */
#div1 td:has(>a.nl3){white-space:normal}#div1 a.nl3{white-space:nowrap}
div[id^="m11"]{display:none}td:has(>div[id^="m11"]):hover>div[id^="m11"],div[id^="m11"]:hover{display:block}

#classic-document{display:flow-root}.classic-document-end{height:1px;clear:both}

/* Only expanded same-origin frames delegate vertical scrolling to the parent. */
html.classic-frame-expanded{overflow-y:hidden!important}
/* Keep the original 28px search controls aligned across native browser widgets. */
#bdform td,#bd_form td,form:has(#jcinput) td,td:has(>#sugOut),td:has(>input.sb){vertical-align:middle}
#kww,#jcinput{box-sizing:border-box;margin:0!important;vertical-align:middle}
#sugOut>br,#bdform img[width="0"],#bd_form img[width="0"],td:has(>input.sb)>img[width="0"]{display:none}
input.sb[type="submit"],#bdform input[type="submit"],#bd_form input[type="submit"],form:has(#jcinput) input[type="submit"]{box-sizing:border-box;min-width:44px;padding:0 4px!important;margin:0!important;line-height:normal;text-align:center;vertical-align:middle}
input[type="submit"],input[type="reset"],button{white-space:nowrap;text-align:center}

/* The header and each bordered home section share the same centered outer width. */
#t0,#t1{margin-left:auto;margin-right:auto}
#div1>div{box-sizing:border-box}
/* Explicit control geometry prevents iOS native pills and radio metrics shifting text. */
input.sb[type="submit"],#classic-integrated-search input[type="submit"]{-webkit-appearance:none;appearance:none;box-sizing:border-box;height:28px;border:1px solid #888;border-radius:2px;background:#eee;color:#000;padding:0 4px!important;margin:0!important;font:14px/26px "宋体",SimSun,serif;text-align:center;vertical-align:middle}
#kww,#jcinput{-webkit-appearance:none;appearance:none;border:1px solid #888;border-radius:0;background:#fff;color:#000}
#classic-integrated-search{margin:0;padding:0}
#classic-integrated-search td{vertical-align:middle}
.classic-engine-choice{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;white-space:nowrap;font:12px/20px "宋体",SimSun,serif}
.classic-engine-choice>span{display:block;line-height:20px}
.classic-engine-choice>input[type="radio"]{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:inline-block;flex:0 0 13px;width:13px;height:13px;margin:0;padding:0;border:1px solid #777;border-radius:50%;background:#fff;vertical-align:middle}
.classic-engine-choice>input[type="radio"]:checked{border-color:#176bc1;background:radial-gradient(circle,#176bc1 0 3px,#fff 3.5px)}
