#real-record-dialog.molecule-profile-dialog{width:min(1180px,calc(100% - 40px));max-width:none;max-height:90vh;border:1px solid #BFD6DF;border-radius:5px;padding:0;color:#0C2540;box-shadow:0 24px 100px #0C254044;overflow:auto;background:#fff}
#real-record-dialog.mol-expanded{width:calc(100% - 28px);height:calc(100vh - 28px);max-height:calc(100vh - 28px)}
#mol-window-toolbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 24px;background:#fff;border-bottom:1px solid #C8DCE4}
#mol-window-toolbar>span{font-size:9px;letter-spacing:1.7px;color:#0E6B74}
#mol-window-toolbar>div{display:flex;gap:8px}
#mol-window-toolbar button,#molecule-profile button{font-size:11px;line-height:1.5;color:#0E6B74;border:1px solid #C8DCE4;background:white;padding:7px 10px;border-radius:3px;cursor:pointer}
#molecule-profile button:hover,#mol-window-toolbar button:hover{background:#E8F4FA}
#molecule-profile button:disabled{opacity:.4;cursor:default}
#molecule-profile{padding:24px 28px 28px;min-width:0}
#molecule-profile button:focus-visible{outline:2px solid #0E6B74;outline-offset:3px}
.mol-profile-heading{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid #C8DCE4;margin-bottom:22px}
.mol-profile-kicker{font-size:9px;letter-spacing:1.5px;color:#0E6B74;margin:0 0 9px}
#real-dialog-body #mol-profile-title{font:400 34px/1.2 'Cormorant Garamond',Georgia,serif;color:#0C2540;margin:0;overflow-wrap:anywhere;max-width:740px}
.mol-profile-id{font:10px/1.8 monospace;color:#647F8C;margin-top:10px;overflow-wrap:anywhere}
.mol-heading-actions{display:flex;gap:6px;flex-wrap:wrap}
.mol-profile-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;align-items:start}
.mol-structure-panel{min-width:0}
.mol-structure-label{font-size:10px;letter-spacing:.8px;color:#526D82;margin-bottom:10px}
#mol-structure{height:260px;border:1px solid #C8DCE4;border-radius:3px;background:#fff;display:flex;align-items:center;justify-content:center;position:relative;min-width:0}
#mol-structure svg{width:100%;height:100%;display:block}
#mol-structure p{font-size:11px;line-height:1.8;padding:20px;color:#647F8C}
.mol-structure-caption{font-size:10px;line-height:1.8;color:#647F8C;margin:10px 0}
.mol-structure-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}
.mol-inline-field{font-size:10px;color:#647F8C;padding:11px 0;border-top:1px solid #C8DCE4}
.mol-inline-field strong{display:block;font:11px/1.9 monospace;overflow-wrap:anywhere;color:#0C2540;margin-top:5px}
.mol-structure-notice{font-size:10px;color:#647F8C;line-height:1.9;border-top:1px solid #C8DCE4;padding-top:13px}
.mol-structure-notice a{color:#0E6B74;text-decoration:underline}
.mol-profile-main{min-width:0}
.mol-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #C8DCE4;padding-bottom:18px;gap:15px;margin-bottom:18px}
.mol-profile-stats strong{display:block;font:400 30px/1 'Cormorant Garamond',Georgia,serif;color:#0E6B74}
.mol-profile-stats span{font-size:10px;line-height:1.7;display:block;color:#647F8C;margin-top:6px}
#mol-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #C8DCE4;padding-bottom:13px;margin-bottom:18px}
#mol-tabs button[aria-selected=true]{color:white;background:#0E6B74;border-color:#0E6B74}
.mol-section-heading{font:400 24px/1.35 'Cormorant Garamond',Georgia,'Microsoft YaHei',serif;margin:0 0 13px;color:#0C2540}
#mol-properties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 15px}
.mol-property{border-top:1px solid #C8DCE4;padding:11px 0;min-width:0}
.mol-property dt{font-size:10px;line-height:1.7;color:#647F8C}
.mol-property dd{font-size:13px;line-height:1.8;margin-top:5px;color:#0C2540;overflow-wrap:anywhere}
#real-dialog-body dl.mol-property{display:block;grid-template-columns:none;gap:0;margin:0}
#real-dialog-body dl.mol-property dt{font-weight:400}
#real-dialog-body dl.mol-property dd{white-space:normal;word-break:normal;margin:6px 0 0}
.mol-method-note{font-size:10px;line-height:1.9;color:#647F8C;margin:10px 0 22px}
.mol-selected-record{border:1px solid #C8DCE4;border-left:2px solid #0E6B74;background:#F5FAFC;padding:15px 17px;margin-top:20px;border-radius:3px}
.mol-selected-record h4{font-size:12px;font-weight:600;color:#0E6B74;margin-bottom:11px}
#mol-selected-value{font:400 25px/1.3 'Cormorant Garamond',Georgia,serif;margin-bottom:12px;color:#0C2540}
#real-dialog-body .mol-record-fields{display:grid;grid-template-columns:105px minmax(0,1fr);gap:7px 12px;font-size:11px;line-height:1.8;margin:12px 0}
#real-dialog-body .mol-record-fields dt{color:#647F8C;font-weight:400}
#real-dialog-body .mol-record-fields dd{overflow-wrap:anywhere}
.mol-assay-description{font-size:11px;line-height:1.9;color:#526D82;margin:14px 0}
.mol-original-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0;font-size:10px}
#molecule-profile a{color:#0E6B74;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.mol-source-message{font-size:10px;line-height:1.9;color:#647F8C;margin:11px 0}
.mol-filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px;align-items:center}
.mol-filter-bar input,.mol-filter-bar select{font-size:11px;min-height:34px;border:1px solid #C8DCE4;padding:7px 9px;background:white;min-width:0;max-width:100%;border-radius:3px}
.mol-filter-bar select{max-width:220px}.mol-filter-bar input{flex:1}
.mol-table-scroll{max-width:100%;overflow:auto;border:1px solid #C8DCE4;border-radius:3px}
.mol-table{width:100%;min-width:580px;border-collapse:collapse;font-size:11px}
.mol-table th,.mol-table td{text-align:left;border-bottom:1px solid #E8F4FA;padding:10px;vertical-align:top;line-height:1.7}
.mol-table th{font-size:10px;background:#E8F4FA;color:#526D82;font-weight:600}
.mol-table tr[data-current=true]{background:#F0F8FA}
#molecule-profile .mol-table button{padding:0;border:0;background:transparent;text-decoration:underline;text-align:left;font-size:10px}
.mol-table small{display:block;font-size:9px;color:#647F8C;margin-top:3px}
.mol-pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:13px 0;font-size:10px;color:#647F8C}
.mol-summary-targets{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}
.mol-source-card{border-top:1px solid #C8DCE4;padding:15px 0}
.mol-source-card p{font-size:10px;line-height:1.9;color:#647F8C;margin:8px 0}
#molecule-profile .mol-source-card .mol-paper-open{font:400 21px/1.4 'Cormorant Garamond',Georgia,'Microsoft YaHei',serif;padding:0;border:0;text-align:left;background:none;color:#0C2540}
.mol-identifier-item{padding:14px 0;border-top:1px solid #C8DCE4;font-size:11px}
.mol-identifier-item h4{font-size:11px;color:#647F8C;margin-bottom:7px;font-weight:400}
.mol-identifier-item code{font:11px/1.9 monospace;display:block;overflow-wrap:anywhere;white-space:pre-wrap;margin-bottom:10px}
.mol-identifier-item textarea{width:100%;min-height:90px;font:11px/1.9 monospace;border:1px solid #C8DCE4;background:#F5FAFC;color:#0C2540;padding:10px;border-radius:3px;resize:vertical}
.mol-empty{font-size:12px;line-height:1.9;color:#647F8C;margin:15px 0}
.mol-global-note{font-size:10px;line-height:1.9;border-top:1px solid #C8DCE4;color:#647F8C;padding-top:18px;margin-top:22px}
.real-table .real-open-record{font-size:10px}.real-table .real-open-molecule{display:block;font-size:13px;font-weight:600;text-align:left;margin-top:7px;line-height:1.8;text-decoration:none}
.real-table .real-open-molecule:hover{text-decoration:underline}
.real-table td.real-mol-cell{display:flex;align-items:flex-start;gap:10px}
.real-mol-thumb{flex:0 0 auto;width:150px;height:112.5px;border:1px solid #DCE8ED;border-radius:4px;background:#fff;overflow:hidden}
.real-mol-thumb svg{width:100%;height:100%;display:block}
.real-mol-thumb:empty{border-style:dashed;background:#F5FAFC}
.real-mol-info{min-width:0}
#molecule-profile:lang(zh-CN) .mol-section-heading{font-family:'Microsoft YaHei',Arial,sans-serif;font-size:17px}
@media(max-width:850px){.mol-profile-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}#molecule-profile{padding:20px}#mol-properties{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#real-record-dialog.molecule-profile-dialog{width:calc(100% - 16px);max-height:calc(100vh - 18px)}#mol-window-toolbar{padding:11px 13px;gap:10px}#mol-window-toolbar>span{font-size:8px;letter-spacing:.8px}#mol-window-toolbar button{font-size:10px;padding:6px 8px}#molecule-profile{padding:18px 15px}.mol-profile-layout{grid-template-columns:1fr;gap:22px}#real-dialog-body #mol-profile-title{font-size:29px}.mol-profile-heading{gap:13px;padding-bottom:17px;margin-bottom:18px}.mol-heading-actions{gap:5px}.mol-structure-panel{border-bottom:1px solid #C8DCE4;padding-bottom:16px}#mol-structure{height:230px}.mol-profile-stats{gap:10px}.mol-profile-stats strong{font-size:28px}#mol-tabs button{font-size:10px;padding:7px 8px}#mol-properties{grid-template-columns:repeat(2,minmax(0,1fr))}.mol-filter-bar select{width:100%;max-width:none}.mol-selected-record{padding:13px}#real-dialog-body .mol-record-fields{grid-template-columns:1fr;gap:2px}#real-dialog-body .mol-record-fields dd{margin-bottom:9px}}
