/* Fiche instrument : corrections de la réunion du 12 octobre 2026. */
body:not(.sheet-editing) .field__label abbr{display:inline;}
.sheet-editing .sheet-toolbar{display:flex;}
.sheet-toolbar{min-height:38px;gap:8px;}
.sheet-top-actions{display:flex;gap:8px;align-items:center;}
.sheet-top-actions[hidden]{display:none;}
.sheet-toolbar [hidden]{display:none;}
.sheet-field-hint{font-size:12px;color:#647185;margin:0;line-height:1.5;}
.sheet-hint{background:transparent;border:0;color:#5d6c85;padding:2px;line-height:1;}
.sheet-hint:focus-visible{outline:2px solid var(--cg-primary);outline-offset:3px;border-radius:3px;}
.sector-picker__hint[hidden]{display:none;}
.sp-row--child{padding-left:56px;box-shadow:inset 38px 0 0 -37px #cdd6e1;}
#instrumentForm [data-calculated]{background:#edf0f4;color:#58677a;cursor:default;border-color:#d4dbe6;}
#instrumentForm [data-pending]{background:#f1f3f6;color:#7b8796;}
#sheetRemaining.date-danger{color:var(--cg-date-danger);}
#instrumentForm [data-section="finance"] .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;}
#instrumentForm [data-section="finance"] .field{flex-direction:column;align-items:stretch;gap:6px;}
#instrumentForm [data-section="finance"] .field__label{flex:none;}
#instrumentForm [data-section="finance"] .field__money{flex:0 1 auto;gap:5px;}
#instrumentForm [data-section="finance"] .field__money .form-select{flex-basis:70px;}
.sheet-info-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,32%);gap:24px;}
.sheet-info-copy,.sheet-attachments{min-width:0;}
.sheet-attachments h3{font-size:14px;font-weight:600;color:var(--cg-ink);margin:0 0 12px;}
.sheet-attachments h3 span{font-weight:400;color:#647185;font-size:12px;}
.sheet-attachment{display:flex;align-items:center;gap:10px;padding:8px;margin-bottom:8px;border:1px solid var(--cg-line);border-radius:7px;}
.sheet-attachment__preview{width:50px;height:50px;flex:none;display:flex;align-items:center;justify-content:center;border:0;background:#eef2f7;border-radius:5px;color:#596a80;font-size:23px;overflow:hidden;}
.sheet-attachment__preview img{width:100%;height:100%;object-fit:cover;}
.sheet-attachment__links{min-width:0;flex:1;font-size:13px;}
.sheet-attachment__name{display:block;overflow-wrap:anywhere;}
.sheet-attachment__download{font-size:12px;color:#62748e;}
.sheet-attachment__remove{background:none;border:0;color:#a64141;flex:none;}
.sheet-attachment__remove[hidden]{display:none;}
.sheet-attachment-add{position:relative;display:inline-flex;gap:6px;align-items:center;color:var(--cg-link);cursor:pointer;font-size:13px;margin:3px 0 10px;border:1px solid #c7d7f1;border-radius:6px;padding:7px 10px;}
.sheet-attachment-add[hidden]{display:none;}
.sheet-attachment-add:focus-within{outline:2px solid var(--cg-primary);outline-offset:2px;}
.sheet-attachment-add input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer;}
.sheet-document-image{display:block;max-width:100%;max-height:65vh;margin:0 auto;}
.sheet-document-pdf{width:100%;min-height:60vh;border:0;}
.sheet-document-text{white-space:pre-wrap;overflow-wrap:anywhere;}
#certificateStatus{margin-left:auto;display:inline-flex;}
@media(max-width:767.98px){
  .sheet-toolbar{margin:0 0 16px;justify-content:flex-start;}
  .sheet-info-layout{grid-template-columns:minmax(0,1fr);}
  #instrumentForm [data-section="finance"] .form-grid{grid-template-columns:minmax(0,1fr);}
  .sector-picker__panel{max-width:calc(100vw - 68px);width:max(100%,260px);}
}
