.durable-attachments{padding:16px;border:1px solid #bdcbd6;border-radius:8px;overflow-wrap:anywhere}.durable-attachments dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px}.durable-attachments dd{margin:0;min-width:0}.durable-attachments fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;margin-top:12px}.durable-attachments label{display:grid;gap:6px;min-width:0}.durable-attachments input,.durable-attachments select,.durable-attachments textarea{max-width:100%;min-width:0}.durable-attachments button{min-height:44px;padding:8px 12px}.durable-attachment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;padding:0;list-style:none}.durable-attachment-grid>li{border:1px solid #d1dae1;padding:12px;min-width:0}.durable-attachment-actions{display:flex;gap:8px;flex-wrap:wrap}.durable-attachments img{max-width:100%;max-height:70vh;object-fit:contain}.durable-attachments iframe{width:100%;height:65vh;border:1px solid #bdcbd6}@media(max-width:700px){.durable-attachments fieldset{grid-template-columns:1fr}.durable-attachments{padding:10px}.durable-attachment-actions button{flex:1}}@media print{.durable-attachments{display:none}}.durable-attachment-thumbnail{display:block;width:8rem;max-width:100%;height:6rem;object-fit:contain}.durable-attachments .durable-saved-photo-submit:not(:disabled){background:#17466a;border:1px solid #17466a;color:#fff}.durable-attachments .durable-saved-photo-submit:disabled{background:#edf1f4;border:1px solid #c8d0d7;color:#4b5760}.attachment-gallery{container-type:inline-size;border:0;padding:0;color:#18364d}.attachment-add-files header,.attachment-gallery-header,.attachment-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.attachment-gallery h2,.attachment-gallery h3,.attachment-gallery p{margin:0}.attachment-card-details p,.attachment-format,.attachment-gallery-header p{color:#506579;font-size:.9rem}.attachment-gallery-grid{display:grid;grid-template-columns:minmax(0,1fr);list-style:none;padding:0;margin:0;gap:16px}@container (min-width: 340px){.attachment-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width: 840px){.attachment-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (min-width: 1080px){.attachment-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.attachment-card{display:flex;flex-direction:column;min-width:0;border:1px solid #d1dae1;border-radius:12px;overflow:hidden;background:#fff}.attachment-card-media{position:relative;aspect-ratio:4/3;display:grid;place-items:center;background:#eef3f6;color:#5e778a}.attachment-card-media>button{position:absolute;inset:0;border:0;background:transparent;color:inherit;padding:0;margin:0;width:100%;height:100%;display:grid;place-items:center;overflow:hidden}.attachment-card-media>button:focus-visible{outline-offset:-4px}.attachment-card-media img{width:100%;height:100%;max-height:none;object-fit:cover}.attachment-card-media .employee-icon{width:32px;height:32px}.attachment-card-details{flex:1;min-width:0;padding:12px;display:flex;flex-direction:column;gap:6px}.attachment-gallery .attachment-card-details h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.5em;max-height:2.5em;overflow:hidden;overflow-wrap:anywhere;font-size:1rem;line-height:1.25}.attachment-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-height:24px;color:#506579;font-size:.82rem}.attachment-status{background:#edf1f4;color:#31465a;border-radius:12px;padding:2px 8px;font-weight:650}.attachment-status[data-state=approved]{background:#e4f2e9;color:#235738}.attachment-status[data-state=quarantined]{background:#fff1d7;color:#704700}.attachment-status[data-state=rejected]{background:#fce7e4;color:#812e2b}.attachment-card-actions{position:relative;margin-top:auto}.attachment-card-actions summary{display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;min-height:44px;padding:8px 4px;cursor:pointer;color:#17466a}.attachment-card-actions summary::-webkit-details-marker{display:none}.attachment-card-actions summary .employee-icon{width:14px;height:14px;transform:rotate(90deg)}.attachment-card-actions[open] summary .employee-icon{transform:rotate(-90deg)}.attachment-card-menu{position:absolute;z-index:1;inset:auto 0 calc(100% + 2px);max-height:210px;overflow:auto;background:white;border:1px solid #bdcbd6;border-radius:8px;padding:6px;box-shadow:0 4px 12px #14283926}.attachment-gallery .attachment-card-menu dl{display:block;padding:4px 6px;margin:0;font-size:.82rem}.attachment-card-menu dt{color:#506579}.attachment-card-menu dd{overflow-wrap:anywhere}.attachment-gallery .attachment-card-menu button{display:block;width:100%;padding-inline:8px;text-align:left;background:transparent;border:0;color:#17466a}.attachment-card-menu button:hover{background:#eef3f6}.attachment-pagination,.attachment-pickers{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.attachment-gallery button,.attachment-pickers label{border-radius:7px}.attachment-gallery .attachment-primary:not(:disabled),.attachment-gallery .durable-saved-photo-submit:not(:disabled){background:#17466a;color:#fff;border:1px solid #17466a}.attachment-pagination{justify-content:center;margin-top:14px}.attachment-empty{padding:22px;border:1px dashed #b9c9d6;border-radius:10px}.attachment-add-files{margin-top:20px;padding:16px;border:1px solid #d1dae1;border-radius:12px;background:#fff}.attachment-add-files fieldset{display:grid;grid-template-columns:minmax(0,1fr);border:0;margin:0;padding:0;min-width:0}.attachment-pickers label{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:9px 14px;cursor:pointer;border:1px solid #aebfcd}.attachment-pickers label:focus-within{outline:2px solid #17466a;outline-offset:2px}.attachment-pickers input{pointer-events:none}.attachment-add-files fieldset:disabled .attachment-pickers label{opacity:.55;cursor:default}.attachment-fields{display:grid;align-items:end;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.attachment-gallery .attachment-fields select,.attachment-gallery .attachment-fields textarea{box-sizing:border-box;min-height:44px;margin:0}.attachment-fields textarea{resize:vertical}.attachment-pickers .employee-icon,.attachment-selected-file .employee-icon{flex:none;width:20px;height:20px}.attachment-selected-file{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 8px 0 12px;border:1px solid #d1dae1;border-radius:8px;background:#f4f7f9}.attachment-selected-file strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-selected-file button{border:0;background:transparent;color:#17466a}.attachment-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.attachment-preview{width:min(860px,calc(100vw - 24px));max-height:calc(100dvh - 24px);color:#18364d;border:1px solid #bdcbd6;border-radius:12px;padding:16px}.attachment-preview::backdrop{background:#142839aa}.attachment-preview img{display:block;margin:auto}@container (max-width: 470px){.attachment-fields{grid-template-columns:minmax(0,1fr)}}.employee-page .attachment-pickers label{position:relative;display:inline-flex}.employee-page .attachment-pickers input{position:absolute;inset:0 auto auto 0;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}