html,body,#root{margin:0;min-height:100%;width:100%}body{background:#eef1eb}*{box-sizing:border-box}a{color:inherit}button,input{font:inherit}::selection{background:#d6e5bd}.brand-logo{width:154px;height:auto;display:block}.dropzone{border:1.5px dashed #94a197;border-radius:14px;background:#f4f7f0;text-align:center;padding:28px 18px}.file-name{overflow-wrap:anywhere}.stage-line{border-left:2px solid #d9e0d5;padding:0 0 18px 18px;margin-left:8px}input[type=file]{max-width:100%}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.workspace-handoff {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  color: #19332d;
  background: radial-gradient(ellipse at center, #f8faf6 0%, #eef1eb 70%);
  text-align: center;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.handoff-content { width: min(100%, 360px); }
.handoff-content img { display: block; width: 164px; height: auto; margin: 0 auto 24px; filter: brightness(0) saturate(100%) invert(19%) sepia(18%) saturate(1120%) hue-rotate(104deg); }
.handoff-content p { margin: 0; color: #4f665b; }
.handoff-status::after {
  content: ""; display: block; width: 84px; height: 3px; margin: 18px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, transparent, #477457, transparent) -48px 0 / 48px 100% no-repeat, #d6e1d3;
  animation: handoff-progress 1.8s ease-in-out infinite;
}
@keyframes handoff-progress { to { background-position: 84px 0; } }
@media (prefers-reduced-motion: reduce) { .handoff-status::after { animation: none; background-position: center; } }
.handoff-content h1 { font: 28px/1.25 Georgia, serif; margin: 0 0 10px; }
.handoff-content a { display: inline-block; margin-top: 20px; color: #205541; font-weight: 600; text-underline-offset: 3px; }

.processing-panel > summary { display: flex; gap: 12px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; }
.processing-panel > summary::-webkit-details-marker { display: none; }
.processing-panel summary > svg:last-child { margin-left: auto; }
.processing-panel[open] summary > svg:last-child { transform: rotate(180deg); }
@media (max-width: 599px) {
  .file-list .MuiTable-root { min-width: 0; }
  .file-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .file-list tbody, .file-list table { display: block; }
  .file-list tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 16px; }
  .file-list tbody tr + tr { border-top: 1px solid #d9e0d5; }
  .file-list tbody td { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .file-list td:nth-child(-n+3), .file-list td:last-child { grid-column: 1 / -1; }
  .file-list td[data-label]::before { display: block; content: attr(data-label); font-size: 12px; color: #62756a; }
}

#library-files > :first-child { min-height: 47px; padding: 0 16px; }
#library-files .library-file-filters { padding: 10px 16px; }
.library-file-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (min-width: 600px) {
  #library-files .file-list table, #library-sources .file-list table { table-layout: fixed; }
  #library-files .file-list table { min-width: 780px; }
  #library-files .file-list .MuiTableCell-root { padding: 5px 10px; overflow-wrap: anywhere; }
  #library-files .file-list thead th:first-child { width: 25%; }
  #library-files .file-list thead th:nth-child(2) { width: 15%; }
  #library-files .file-list thead th:nth-child(3) { width: 23%; }
  #library-sources .file-list thead th:first-child { width: 25%; }
  #library-sources .file-list td { overflow-wrap: anywhere; }
}
@media (max-width: 599px) {
  #library-files .file-list tbody tr { padding: 8px 12px; gap: 3px 10px; }
  #library-files .file-list td[data-label]::before { display: inline; margin-right: 6px; }
}

#library-sources .MuiTableCell-root { padding: 2px 12px; }
#library-sources thead .MuiTableCell-root { padding-block: 5px; }
#library-sources .MuiTableCell-root a { min-height: 34px; padding-block: 2px; }
#library-sources tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 599px) {
  #library-sources .file-list tbody tr {
    grid-template-columns: minmax(0, 1fr) min(38%, 120px);
    grid-template-areas: "name status" "provider status";
    gap: 0 8px; align-items: center; padding: 4px 12px;
  }
  #library-sources .file-list tbody td { padding: 0; }
  #library-sources .file-list td:first-child { grid-area: name; }
  #library-sources .file-list td:nth-child(2) { grid-area: provider; font-size: 12px; color: #52655b; padding-left: 26px; }
  #library-sources .file-list td:nth-child(3) { grid-area: status; font-size: 12px; text-align: right; }
  #library-sources .file-list td:nth-child(n+4), #library-sources .file-list td[data-label]::before { display: none; }
  #library-sources .file-list td a { min-height: 28px; }
}

.member-permissions { display: grid; gap: 12px; align-items: start; }
.member-permissions > section { min-width: 0; }
.member-permissions > section > :first-child { padding: 9px 16px; }

.org-sidebar-nav { margin: 2px 0 8px 22px; border-left: 1px solid #507264; padding-left: 7px; }
.org-sidebar-nav .MuiButton-root { justify-content: flex-start; min-height: 36px; padding: 4px 12px; border-radius: 6px; color: #cbded4; font-weight: 500; }
.org-sidebar-nav .MuiButton-root[aria-current] { background: #e6f1e9; color: #163d32; font-weight: 650; }
.org-sidebar-nav .MuiButton-root:not([aria-current]):hover { background: #264e40; color: white; }
.org-sidebar-nav .MuiButton-startIcon svg { font-size: 17px; }
.org-mobile-nav { border-bottom: 1px solid #cbd5cf; gap: 2px; }
.org-mobile-nav .MuiButton-root { min-height: 44px; min-width: 0; flex: 1; border-radius: 0; border-bottom: 3px solid transparent; color: #4a6056; }
.org-mobile-nav .MuiButton-root[aria-current] { color: #164b37; border-bottom-color: currentColor; background: #e4eee7; }
.org-mobile-nav .MuiButton-startIcon { display: none; }
.org-sidebar-nav a:focus-visible, .org-mobile-nav a:focus-visible, .file-list a:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.file-list a.MuiButton-root { color: #205541; }
.file-list a.MuiButton-root:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) {
  #library-files .library-file-filters > .MuiTextField-root { flex: 1 1 100px; }
  #library-sources .file-list .MuiTableCell-root a { min-height: 44px; }
}
