.portal-footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:12px;padding:4px 0}.portal-footer button{font-family:Arial,'Microsoft YaHei',sans-serif;font-weight:700;color:#111;background:transparent;border:0;padding:4px 2px;min-height:44px;font-size:13px;white-space:nowrap}.portal-mask{position:fixed;inset:0;background:#0006;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px}.portal-mask[hidden]{display:none}.portal-dialog{background:white;border-radius:12px;width:100%;max-width:480px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 12px 40px #0003}.portal-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e4e8ee;flex:none}.portal-heading h2{margin:0;font-size:19px}.portal-heading button{min-width:44px;min-height:44px;border:0;background:transparent;font-size:24px;color:#111}.portal-body{overflow-y:auto;overscroll-behavior:contain;padding:16px;line-height:1.7;font-size:14px;white-space:pre-wrap}.portal-body form{white-space:normal}.portal-body label{display:block;margin-bottom:12px}.portal-body input:not([type=checkbox]),.portal-body textarea{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #ced8e4;border-radius:6px;padding:10px;background:#f8fafc;font:inherit}.portal-body textarea{min-height:120px}.portal-body .consent{display:flex;gap:8px;align-items:flex-start;font-size:13px}.portal-body .consent input{margin-top:6px}.portal-body button[type=submit]{min-height:44px;width:100%;background:#168df5;color:white;border:0;border-radius:6px;font:inherit;font-weight:700}.portal-status{white-space:normal;color:#33516b}.portal-body details{white-space:pre-wrap;margin-bottom:12px}.portal-body summary{cursor:pointer;color:#176cb0}
