.resource-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:24px 0}.resource-toolbar label{flex:1;min-width:135px}.resource-toolbar label:has(input){flex:2}.resource-toolbar button{margin-bottom:16px}.resource-actions,.resource-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.resource-shortcuts .button{padding:10px 14px}.resource-pager{display:flex;gap:20px;align-items:center;justify-content:flex-end;margin:22px 0}.resource-preview{display:block;max-width:620px;max-height:90px;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:13px}.resource-path{display:block;max-width:480px;overflow-wrap:anywhere}.resource-editor{width:min(1180px,96vw)!important;max-width:96vw!important}.record-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;max-height:clamp(140px,calc(100dvh - 410px),54vh);overflow:auto;margin:18px 0;padding-right:8px}.record-fields label{margin:0;font-size:12px}.record-fields label[hidden]{display:none}.record-fields textarea{min-height:90px}.resource-raw{height:58vh;font-family:Consolas,'Microsoft YaHei',monospace!important;white-space:pre;overflow:auto;tab-size:4}.sidebar nav{max-height:calc(100vh - 250px);overflow:auto}@media(max-width:850px){.record-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-toolbar{gap:8px}.resource-preview{max-width:360px}}@media(max-width:520px){.record-fields{grid-template-columns:1fr}.resource-pager{gap:8px;font-size:12px;justify-content:space-between}.resource-pager .button{padding:8px}.resource-actions .button{flex:1}}

.form-actions .dialog-close{position:static;font-size:12px}
