/* 通过压缩实际内容高度减少滚动，展开补充资料后仍允许正常滚动。 */
.settings-scroll.form-compact{padding:18px;overflow-y:auto}
.form-compact>.eyebrow{margin-bottom:6px;font-size:12px;line-height:18px}
.form-compact .settings-title h1{margin-bottom:6px}
.form-compact>.intro{font-size:13px;line-height:1.7}
.compact-main{margin-top:14px}
.form-compact .field{margin-top:10px;gap:4px}
.form-compact .field>span{font-size:13px;line-height:18px}
.form-compact input:not([type=file]),.form-compact select{height:32px;font-size:14px;padding:0 8px}
.form-compact textarea{height:62px;min-height:62px;padding:8px 10px;font-size:14px;line-height:1.65;resize:vertical}
.compact-name>.field{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;margin-top:0;gap:8px}
.form-compact .upload{min-height:0;height:62px;padding:9px 10px;margin:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:9px;background:#fcfdff;border-radius:8px}
.form-compact .upload>svg{width:26px;height:26px;margin:0;flex:none}
.form-compact .upload>img{width:34px;height:40px;object-fit:contain;border-radius:5px;flex:none}
.upload-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.upload-copy b{font-size:14px;line-height:18px;font-weight:500;white-space:nowrap}
.upload-copy small{font-size:11px;line-height:15px;color:#9aa7ba;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.compact-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px}
.compact-upload-grid .upload{gap:6px;padding:8px}
.compact-upload-grid .upload>svg{width:21px;height:21px}
.compact-upload-grid .upload>img{width:26px;height:35px}
.compact-upload-grid .upload-copy b{font-size:13px;line-height:18px}
.compact-upload-grid .upload-copy small{font-size:11px;line-height:14px}
.compact-fields{margin-top:12px;gap:7px}
.compact-fields>.field{margin-top:0}
.form-compact .triple select{font-size:13px;padding-left:4px;padding-right:1px}
.form-compact .setting-section{margin:14px 0}
.form-compact .setting-section h3{font-size:14px;line-height:20px;margin-bottom:8px}
.form-compact .choices{gap:6px}
.form-compact .choices button{font-size:13px;padding:7px 10px;line-height:18px}
.form-compact .mode-choices{gap:8px}
.form-compact .mode-choices button{padding:9px 10px}
.form-compact .mode-choices b{font-size:13px;line-height:20px}
.form-compact .mode-choices small{font-size:11px;line-height:17px;margin-top:3px}
.compact-extra{border:1px solid #e6ebf3;border-radius:8px;margin-top:12px;background:#fafbfd}
.compact-extra>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px;min-height:38px;padding:8px 10px;color:#70829d;font-size:12px;line-height:18px}
.compact-extra>summary::-webkit-details-marker{display:none}
.compact-extra>summary .extra-label{margin-left:auto;font-size:10px;color:#9ba8bb}
.compact-extra>summary svg{height:12px;width:12px;transition:transform .15s}
.compact-extra[open]>summary svg{transform:rotate(180deg)}
.compact-extra[open]>summary .extra-label{visibility:hidden}
.compact-extra-content{padding:0 11px 13px}
.compact-extra-content .field:first-child{margin-top:0}
.compact-extra-content textarea{height:100px;min-height:100px;background:white}
.form-compact+.settings-footer{padding:10px 18px}
.form-compact+.settings-footer>div{margin-bottom:8px;font-size:11px;line-height:18px}
.form-compact+.settings-footer .submit{padding:10px 12px;font-size:14px;line-height:20px}
.form-compact+.settings-footer>small{display:none}
@media(max-height:900px){.toolbox-settings .mini-intro{margin-top:18px;padding-top:18px}.toolbox-settings .mini-intro img{display:none}.toolbox-settings .mini-intro h3{font-size:20px;margin:10px 0}.toolbox-settings .mini-intro p{font-size:12px}.toolbox-settings .categories{gap:5px}.toolbox-settings .categories button{padding:10px 12px}}
@media(max-height:820px){.settings-scroll.form-compact{padding-top:16px;padding-bottom:16px}.form-compact>.intro{display:none}.compact-main{margin-top:11px}.form-compact .setting-section{margin:12px 0}.compact-fields{margin-top:10px}.compact-extra{margin-top:10px}}
