.attachment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.attachment-grid > div { background: #f8f6f2; padding: 12px; border-radius: 10px; }
.attachment-grid small { display: block; color: var(--muted); margin-bottom: 8px; }
.attachment-image { display: block; width: 100%; max-height: 260px; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 8px; }
.attachment-pdf { display: block; width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.attachment-row { align-items: flex-start !important; flex-direction: column; }
.attachment-row strong { width: 100%; }
.compact-table { margin-top: 16px; }
.compact-table button { border: 0; background: #f7e8e5; color: var(--brand); padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.salary-subnav { display: flex; gap: 8px; padding: 6px; margin: 4px 0 22px; background: #f5f1eb; border: 1px solid var(--line); border-radius: 12px; width: fit-content; }
.salary-subnav button { border: 0; border-radius: 9px; padding: 10px 18px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.salary-subnav button.active { background: white; color: var(--brand); box-shadow: 0 2px 10px rgba(79, 37, 23, .08); }
.salary-view-head { margin-bottom: 14px; }
.salary-view-head h3 { margin: 0 0 5px; font-size: 20px; }
.salary-profile-table { overflow-x: auto; }
.salary-profile-table table { min-width: max(1040px, calc(620px + var(--salary-field-count, 0) * 150px)); }
.salary-profile-table button, #salary-view .data-card button { border: 0; background: #f7e8e5; color: var(--brand); padding: 8px 11px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.salary-field-head { display: grid; gap: 3px; min-width: 112px; }
.salary-field-head small { color: var(--muted); font-size: 10px; font-weight: 500; }
.salary-value-cell { min-width: 132px; }
.salary-inline-input { display: flex; align-items: center; gap: 5px; padding: 6px 8px; background: white; border: 1px solid var(--accent); border-radius: 8px; box-shadow: 0 0 0 3px #ffbe001c; }
.salary-inline-input span { color: var(--muted); }
.salary-inline-input input { width: 92px; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.salary-row-editing { background: #fff9e8 !important; }
.salary-row-editing td { border-top: 1px solid #f4d77b; border-bottom: 1px solid #f4d77b; }
.salary-inline-actions { display: flex; gap: 7px; }
.salary-inline-actions .primary { padding: 8px 12px; }
.salary-field-warning { height: auto; padding: 18px; margin-bottom: 16px; color: var(--brand); }
.salary-field-panel { margin-top: 12px; }
.employee-salary-shortcut { align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.employee-salary-shortcut p { margin: 5px 0 0; color: var(--muted); }
@media (max-width: 760px) { .attachment-grid { grid-template-columns: 1fr; } }
