/* Match the compact Responsible control without changing form names or permissions. */
html[data-crm-theme] body.crm-app.crm-point .record-panel{--siu-field-height:32px}
html[data-crm-theme] body.crm-app.crm-point .record-panel :is(.record-field,.custom-field){min-width:0;align-items:center;min-height:46px}
html[data-crm-theme] body.crm-app.crm-point .record-panel :is(.record-field,.custom-field)>span:first-child{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-crm-theme] body.crm-app.crm-point .record-panel :is(.record-field,.custom-field) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select){height:var(--siu-field-height)!important;min-height:var(--siu-field-height)!important;max-height:var(--siu-field-height)!important;min-width:0!important;padding:5px 8px!important;line-height:20px!important;text-overflow:ellipsis;white-space:nowrap}
html[data-crm-theme] body.crm-app.crm-point .record-panel :is(.custom-readonly,.field-readonly){min-width:0;max-width:100%;height:var(--siu-field-height);line-height:20px;padding:6px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-crm-theme] body.crm-app.crm-point .record-panel .field-file.siu-file-compact{display:flex!important;align-items:center;gap:4px!important;min-width:0;max-width:100%;height:var(--siu-field-height);margin:0;padding:0;position:relative}
.siu-file-picker{position:relative;display:flex;align-items:center;flex:1;min-width:0;height:var(--siu-field-height,32px);border:1px solid var(--point-line);border-radius:8px;background:var(--point-input,var(--point-card));color:var(--point-text);padding:5px 8px;overflow:hidden;cursor:pointer}
.siu-file-picker>span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:20px}
html[data-crm-theme] body.crm-app.crm-point .record-panel .siu-file-picker>input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;opacity:0!important;margin:0!important;padding:0!important;cursor:pointer;z-index:1}
.siu-file-picker:focus-within{outline:2px solid var(--point-blue);outline-offset:1px}
.siu-file-details{position:relative;flex:none}
html[data-crm-theme] body.crm-app.crm-point .record-panel .siu-file-details>summary{display:grid;place-items:center;width:32px;height:32px;padding:0!important;border:1px solid var(--point-line);border-radius:8px;background:var(--point-input,var(--point-card));color:var(--point-text);font-size:20px;line-height:1;cursor:pointer;list-style:none}
.siu-file-details>summary::-webkit-details-marker{display:none}
.siu-file-info{position:fixed;z-index:2000;display:flex;flex-direction:column;gap:8px;width:min(290px,calc(100vw - 24px));max-height:50dvh;overflow:auto;padding:12px;border:1px solid var(--point-line);border-radius:10px;background:var(--point-card);color:var(--point-text);box-shadow:var(--theme-shadow);white-space:normal;overflow-wrap:anywhere}
.siu-file-details:not([open])>.siu-file-info{display:none}
.siu-file-info :is(strong,small){white-space:normal!important;overflow:visible!important}
.siu-file-info [hidden]{display:none!important}
.siu-field-tooltip{position:fixed;z-index:2500;max-width:min(320px,calc(100vw - 24px));padding:7px 10px;border-radius:7px;background:var(--point-text);color:var(--point-card);font-size:13px;line-height:1.4;box-shadow:0 3px 12px #0002;pointer-events:none;overflow-wrap:anywhere}
