/* Dental-EMT: file cards and admin intake, 06.11.2026 v2. Scoped to Files only. */
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:1180px!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:18px 0 16px!important;min-width:0!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead > h2{
 flex:1 1 240px!important;min-width:0!important;max-width:100%!important;font-size:24px!important;line-height:1.25!important;margin:0!important;overflow-wrap:break-word!important;word-break:normal!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead > div,
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .album-toolbar{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;min-width:0!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .album-toolbar{margin:16px 0!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead + p.muted{font-size:14px!important;line-height:1.55!important;margin:0 0 16px!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead button,
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .album-toolbar button{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;min-height:44px!important;padding:10px 14px!important;margin:0!important;font-size:14px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;border-radius:10px!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content #adminFileInbox{display:inline-flex!important;align-items:center!important;justify-content:center!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #moveInboxFiles{flex:1 1 210px!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #selectAllInboxFiles{flex:0 1 auto!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .folderpath{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;margin:0 0 16px!important;min-width:0!important;font-size:14px!important;line-height:1.4!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .folderpath button{
 display:inline-flex!important;align-items:center!important;min-width:0!important;max-width:100%!important;min-height:36px!important;padding:6px 8px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font-size:14px!important;line-height:1.4!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-rows:auto!important;align-items:start!important;justify-items:stretch!important;gap:16px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 0 16px!important;padding:18px!important;border-radius:16px!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > *{box-sizing:border-box!important;grid-column:1!important;grid-row:auto!important;min-width:0!important;max-width:100%!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > label{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;justify-self:stretch!important;width:100%!important;margin:0!important;padding:0!important;font-size:14px!important;font-weight:500!important;line-height:1.4!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > label > input[type="checkbox"]{
 box-sizing:border-box!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;accent-color:#087fa4;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > :not(label):not(.team-file-details){
 justify-self:center!important;align-self:start!important;width:min(100%,220px)!important;min-width:0!important;max-width:220px!important;margin:0 auto!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > :not(label):not(.team-file-details) :is(img,canvas){
 display:block!important;max-width:100%!important;width:auto!important;height:auto!important;max-height:240px!important;object-fit:contain!important;margin-inline:auto!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details{
 display:block!important;justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;text-align:left!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details > .tag{display:inline-block!important;max-width:100%!important;margin:0 0 10px!important;font-size:12px!important;line-height:1.35!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details > h3{
 width:100%!important;max-width:100%!important;margin:0 0 10px!important;font-size:18px!important;font-weight:650!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details > small{display:block!important;margin:0!important;font-size:13px!important;line-height:1.55!important;overflow-wrap:break-word!important;word-break:normal!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details .member-name{display:inline-flex!important;align-items:center!important;gap:7px!important;max-width:100%!important;min-width:0!important;vertical-align:middle!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details .member-name > span:last-child{width:auto!important;min-width:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details .chat-avatar{flex:0 0 26px!important;width:26px!important;height:26px!important;min-width:26px!important}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details > p{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;width:100%!important;margin:16px 0 0!important;padding:14px 0 0!important;border-top:1px solid var(--line,#80808040)!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details > p button{
 box-sizing:border-box!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:10px 12px!important;border-radius:10px!important;font-size:14px!important;font-weight:500!important;line-height:1.35!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
}
:is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details > p button[data-file-share]{flex-basis:100%!important;white-space:normal!important;text-align:left!important}
@media(min-width:760px){
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card{grid-template-columns:180px minmax(0,1fr)!important;column-gap:24px!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > label{grid-column:1/-1!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card > :not(label):not(.team-file-details){grid-column:1!important;width:100%!important;max-width:180px!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-details{grid-column:2!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card:has(> .team-file-details:first-child){grid-template-columns:minmax(0,1fr)!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card:has(> .team-file-details:first-child) > .team-file-details{grid-column:1!important}
}
@media(max-width:479px){
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead{align-items:stretch!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead > h2{flex-basis:100%!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .sectionhead > div{justify-content:flex-start!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content .team-file-card{padding:16px!important;gap:14px!important}
 :is(body[data-active-tab="files"],body:has(#content .team-file-card),body:has(#moveInboxFiles)) #content > .album-toolbar button{flex:1 1 100%!important;text-align:center!important}
}
