.ahamo-library{height:100%;overflow:auto}.ahamo-library-body{padding:16px 20px 32px}.ahamo-library-tools .ui-input-field{width:15rem;max-width:100%}.ahamo-library .ui-tab{font-size:var(--ahamo-font-size-xs);padding:6px 10px}.ahamo-library-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.ahamo-library-files{container-type:inline-size}.ahamo-library-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}@container (width>=560px){.ahamo-library-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (width>=840px){.ahamo-library-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}}.ahamo-library-tile-picture{display:flex;position:relative}.ahamo-library-tile-picture>.ahamo-library-thumb{aspect-ratio:auto;border-radius:inherit;flex:1}.ahamo-library-play{background:var(--ahamo-text);color:var(--ahamo-panel);border-radius:999px;align-items:center;padding:4px 8px;display:inline-flex;position:absolute;bottom:8px;left:8px}.ahamo-library-badge{color:var(--ahamo-text);font-size:var(--ahamo-font-size-2xs);font-weight:var(--ahamo-weight-heading);letter-spacing:.02em;justify-content:center;align-items:center;display:flex}.ahamo-list-page .ahamo-library-documents .ui-list-panel{border:1px solid var(--ahamo-divider);border-radius:var(--ahamo-radius-panel);background:var(--ahamo-panel);display:block;overflow:hidden}.ahamo-list-page .ahamo-library-documents .ui-list-panel>.ui-list-row{border:0;border-bottom:1px solid var(--ahamo-divider);background:var(--ui-row-lit,none);border-radius:0;gap:12px;padding:12px 16px}.ahamo-list-page .ahamo-library-documents .ui-list-panel>.ui-list-row:last-child{border-bottom:0}.ahamo-list-page .ahamo-library-documents .ui-list-row-leading{width:40px;height:40px}.ahamo-library-documents .ui-list-row-title>.ui-item-open>.ui-item-title{overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}@container (width>=640px){.ahamo-library-documents .ui-list-row{align-items:center}.ahamo-library-documents .ui-list-row-main{flex-direction:row;align-items:center;gap:16px}.ahamo-library-documents .ui-list-row-title{flex:auto}.ahamo-library-documents .ui-list-row-detail-line{flex:none}.ahamo-library-documents .ui-list-row-detail{grid-template-columns:96px 128px;display:grid}.ahamo-library-documents .ahamo-library-separator{display:none}}.ahamo-library-list,.ahamo-library-picker{flex-direction:column;gap:2px;display:flex}.ahamo-library-picker{max-height:50vh;overflow:auto}.ahamo-attach-picker-search{min-width:10rem}.ahamo-attach-picker-files{overscroll-behavior:contain;min-width:0;max-height:min(55vh,32rem);overflow-y:auto}.ahamo-attach-picker-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;display:grid}.ahamo-attach-picker-grid .ahamo-library-tile{min-width:0;padding:6px}.ahamo-attach-picker-grid .ahamo-library-tile>.ui-checkbox{top:10px;left:10px}.ahamo-library-tile[data-disabled],.ahamo-library-row[data-disabled]{cursor:default;opacity:.55}.ahamo-library-caption{min-width:0}.ahamo-library-tile{border:1px solid var(--border);border-radius:var(--ahamo-radius-panel);background:var(--surface);cursor:pointer;flex-direction:column;gap:6px;padding:8px;display:flex;position:relative}.ahamo-library-row{border-radius:var(--ahamo-radius-control);cursor:pointer;align-items:center;gap:10px;padding:6px 8px;display:flex}.ahamo-library-tile:hover,.ahamo-library-row:hover,.ahamo-library-tile[data-selected],.ahamo-library-row[data-selected]{background:var(--surface-2)}.ahamo-library-tile:focus-visible,.ahamo-library-row:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.ahamo-library-tile>.ui-checkbox{z-index:1;position:absolute;top:14px;left:14px}.ahamo-library-thumb{aspect-ratio:4/3;border-radius:var(--ahamo-radius-control);background:var(--surface-2);color:var(--text-dim);justify-content:center;align-items:center;display:flex;overflow:hidden}.ahamo-library-thumb:has(>.ahamo-library-thumb-type){flex-direction:column;gap:6px}.ahamo-library-thumb-type{font-size:var(--ahamo-font-size-2xs);letter-spacing:.06em;color:var(--text-dim);font-weight:700}.ahamo-library-thumb .ui-image{width:100%;height:100%}.ahamo-list-page .ui-list-panel:has(>.ui-list-row[data-folder]){border:1px solid var(--ahamo-divider);border-radius:var(--ahamo-radius-panel);background:var(--ahamo-panel);gap:0;overflow:hidden}.ahamo-list-page .ui-list-panel>.ui-list-row[data-folder],.ahamo-list-page .ui-list-panel>.ui-list-row[data-folder]:last-child{border:0;border-bottom:1px solid var(--ahamo-divider);background:var(--ui-row-lit,transparent);border-radius:0;gap:0 12px;padding:7px 16px}.ahamo-list-page .ui-list-panel>.ui-list-row[data-folder]:last-child{border-bottom:0}.ui-list-row[data-folder]>.ui-list-row-leading{width:40px;height:40px}.ui-list-row[data-folder] .ui-list-row-main{gap:0}.ui-list-row[data-folder] .ui-list-row-title{min-height:0}.ahamo-library-row .ahamo-library-thumb{aspect-ratio:auto;flex-shrink:0;width:40px;height:40px}.ahamo-library-name,.ahamo-library-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ahamo-library-name{font-size:var(--ahamo-font-size-xs);margin:0;font-weight:500}.ahamo-library-meta{font-size:var(--ahamo-font-size-2xs)}.ahamo-library-empty{text-align:center;color:var(--text-dim);padding:48px 16px}.ahamo-library-selection-actions{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}.ahamo-library-selection-actions>.ui-button{justify-content:center;min-width:0}.ahamo-library-selection-actions>.ui-button.ahamo-library-selection-danger:not(:disabled){color:var(--danger)}.ahamo-library-uploads{border:1px solid var(--border);border-radius:var(--ahamo-radius-panel);padding:8px 12px}.ahamo-library-upload{min-width:0}.ahamo-library-file{container-type:inline-size}.ahamo-library-file-title{overflow-wrap:anywhere;min-width:0}.ahamo-library-file>.ui-page-header>.ui-stack{flex:1;min-width:0;max-width:none}.ahamo-library-file>.ui-page-header .ahamo-library-file-title{overflow-wrap:break-word;text-wrap:balance;display:block}.ahamo-library-file-body{gap:24px;min-width:0;display:grid}.ahamo-library-stage{min-width:0;position:relative}.ahamo-library-preview{border:1px solid var(--border);border-radius:var(--ahamo-radius-panel);background:var(--surface-2);justify-content:center;align-items:center;min-height:240px;max-height:75vh;padding:16px;display:flex;overflow:auto}.ahamo-library-preview[data-zoom=actual]{justify-content:flex-start;align-items:flex-start}.ahamo-library-preview[data-text]{background:var(--ahamo-panel);padding:0;display:block;overflow:hidden}.ahamo-file-preview{max-height:75vh;padding:16px;overflow:hidden}.ahamo-file-preview[data-kind=table] .ui-datatable-scroll{max-height:calc(75vh - 72px)}.ahamo-file-preview-text{overflow-wrap:anywhere;min-height:0;margin:0;overflow:auto}pre.ahamo-file-preview-text{font-family:var(--font-mono);font-size:var(--ahamo-font-size-xs);white-space:pre-wrap;line-height:1.6}.ahamo-library-zoom{position:absolute;bottom:16px;right:16px}.ahamo-library-facts{margin:0;display:grid}.ahamo-library-fact{border-top:1px solid var(--ahamo-divider);grid-template-columns:112px minmax(0,1fr);align-items:baseline;gap:12px;padding:12px 0;display:grid}.ahamo-library-fact dd{overflow-wrap:anywhere;min-width:0;margin:0}.ahamo-library-fact-link svg{vertical-align:-2px;margin-left:4px}@container (width>=720px){.ahamo-library-file-body{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:32px}.ahamo-library-fact{grid-template-columns:minmax(0,1fr);gap:4px}}.ahamo-library-choices{max-height:50vh;overflow:auto}.ahamo-library-choice{justify-content:flex-start;width:100%}.ahamo-library-choice[aria-pressed=true]{background:var(--surface-2);font-weight:600}@media (width<=599px){.ahamo-library-body{padding:12px}.ahamo-library-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}}.ahamo-uploads-thumb{aspect-ratio:auto;flex-shrink:0;width:40px;height:40px}.ahamo-uploads .ui-item-row .ahamo-uploads-cell{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ahamo-folder-back.ui-link{color:var(--ahamo-secondary);font-size:var(--ahamo-font-size-sm);align-self:flex-start;text-decoration:none}.ahamo-folder-back.ui-link:hover{color:var(--ahamo-text)}.ahamo-folder-brief{border:1px solid var(--ahamo-divider);border-radius:var(--ahamo-radius-panel);background:var(--ahamo-panel);padding:12px 16px}.ahamo-folder-brief-text.ui-text{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}
