.documents-root {
  --docs-ink: #173c39;
  --docs-text: #244844;
  --docs-muted: #536a65;
  --docs-line: #dde5df;
  --docs-strong: #b9ccc3;
  --docs-sage: #f0f6f3;
  color: var(--docs-text);
  font: 400 14px/1.55 var(--font, 'DM Sans Variable', 'DM Sans', sans-serif);
  min-width: 0;
}
.documents-root *, .documents-root *::before, .documents-root *::after { box-sizing: border-box; }
.documents-root [hidden] { display: none !important; }
.documents-root :focus-visible { outline: 2px solid #98442c; outline-offset: 3px; }
.docs-header { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.documents-root .docs-title { margin: 0 0 6px; color: var(--docs-ink); font: 650 34px/1.16 var(--font-display, 'Bricolage Grotesque Variable', 'Bricolage Grotesque', sans-serif); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.documents-root.docs-embedded .docs-title { font-size: 25px; }
.docs-embedded .docs-header { margin-bottom: 23px; }
.docs-description { color: var(--docs-muted); margin: 0; max-width: 65ch; }
.docs-header-actions { display: flex; gap: 8px; flex-shrink: 0; padding-top: 3px; }
.documents-root .docs-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 9px 13px; color: var(--docs-ink); background: #fff; border: 1px solid var(--docs-strong); border-radius: 7px; font: 600 13px/1.4 var(--font, 'DM Sans Variable', sans-serif); cursor: pointer; text-align: center; text-decoration: none; transition: background-color 120ms ease, border-color 120ms ease; }
.documents-root .docs-button:hover { background: #eef5f2; border-color: #7d9b8e; }
.documents-root .docs-button:active { transform: translateY(1px); }
.documents-root .docs-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.documents-root .docs-primary { background: #da6d54; border-color: #da6d54; color: #08243a; }
.documents-root .docs-primary:hover { background: #e47f68; border-color: #e47f68; }
.docs-icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
.docs-notice { margin: 0 0 20px; padding: 12px 16px; background: var(--docs-sage); border-radius: 7px; }
.documents-root .docs-error { color: #a32222; }
.docs-notice.docs-error { background: #fff1ee; }
.docs-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-bottom: 22px; }
.docs-field { display: flex; flex: 0 1 190px; flex-direction: column; gap: 6px; min-width: 0; }
.docs-field label { color: var(--docs-muted); font-size: 12px; font-weight: 600; }
.docs-search-field { flex: 1 1 240px; }
.documents-root input, .documents-root select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--docs-strong); border-radius: 7px; background: #fff; color: var(--docs-ink); font: inherit; }
.documents-root input::placeholder { color: #5d716a; opacity: 1; }
.documents-root input:disabled, .documents-root select:disabled { background: #f6f8f6; opacity: .65; }
.docs-search-wrap { position: relative; }
.docs-search-wrap > .docs-icon { position: absolute; top: 13px; left: 12px; color: var(--docs-muted); pointer-events: none; }
.docs-search-wrap input { padding-left: 40px; }
.docs-tabs { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--docs-line); margin-bottom: 12px; padding-bottom: 10px; }
.documents-root .docs-tab { border: 0; background: transparent; padding: 8px 14px; }
.documents-root .docs-tab[aria-pressed='true'] { background: #fae3d2; color: #173c39; }
.docs-count { margin-left: auto; color: var(--docs-muted); font-size: 12px; padding-right: 4px; }
.docs-workspace, .docs-main, .docs-list-area { min-width: 0; }
.docs-detail { scroll-margin-top: calc(var(--masthead, 76px) + 80px); }
.docs-workspace.docs-has-detail { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
.docs-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0; min-height: 40px; margin: 0 0 8px; }
.docs-breadcrumbs > .docs-icon, .docs-move-breadcrumbs > .docs-icon { width: 13px; height: 13px; color: var(--docs-muted); }
.documents-root .docs-crumb { background: transparent; border: 0; min-height: 38px; padding: 7px 9px; justify-content: start; overflow-wrap: anywhere; text-align: left; }
.docs-breadcrumbs .docs-crumb:first-child { margin-left: 0; }
.docs-crumb[aria-current='page'] { color: var(--docs-muted); }
.docs-table { width: 100%; border-collapse: collapse; table-layout: auto; }
.docs-table th { font-size: 11px; font-weight: 600; color: var(--docs-muted); padding: 9px 9px 11px; border-bottom: 1px solid var(--docs-line); text-align: left; white-space: nowrap; }
.docs-table td { padding: 11px 9px; border-bottom: 1px solid var(--docs-line); vertical-align: middle; color: var(--docs-muted); font-size: 12px; }
.docs-table th:first-child, .docs-table td:first-child { padding-left: 0; }
.docs-table th:last-child, .docs-table td:last-child { padding-right: 0; }
.docs-table tbody tr { cursor: pointer; transition: background-color 120ms ease; }
.docs-table tbody tr:hover { background: #f8faf8; }
.docs-table tbody tr.docs-selected { background: #edf5ef; }
.documents-root .docs-name { background: transparent; border: 0; border-radius: 4px; justify-content: flex-start; padding: 4px 6px; margin: 0; text-align: left; font-size: 13px; font-weight: 550; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.documents-root .docs-name:hover { background: transparent; }
.documents-root .docs-table .docs-button:focus-visible { outline: 2px solid #98442c; outline-offset: -2px; }
.documents-root .docs-name[draggable='true'] { cursor: grab; }
.documents-root .docs-name[draggable='true']:active { cursor: grabbing; transform: none; }
.documents-root .docs-drag-source .docs-name { opacity: .55; }
.documents-root .docs-table tbody tr.docs-drop-available, .documents-root .docs-crumb.docs-drop-available { background: #f0f6f3; }
.documents-root .docs-table tbody tr.docs-drop-hover, .documents-root .docs-crumb.docs-drop-hover { background: #e3f0e8; outline: 2px solid #527869; outline-offset: -2px; }
.documents-root.docs-moving .docs-name { cursor: progress; }
.docs-drag-cue { position: fixed; z-index: 80; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(70ch, calc(100vw - 32px)); margin: 0; padding: 12px 16px; border: 1px solid #b9ccc3; border-radius: 8px; background: #f0f6f3; color: #173c39; box-shadow: 0 4px 20px #173c3914; font-size: 13px; line-height: 1.5; pointer-events: none; }
.docs-name > .docs-icon { color: #527869; width: 22px; height: 22px; }
.docs-name-cell { width: 34%; min-width: 140px; }
.docs-customer-cell { max-width: 150px; overflow-wrap: anywhere; }
.docs-visibility { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; color: var(--docs-muted); line-height: 1.4; }
.docs-visibility > .docs-icon { width: 13px; height: 13px; }
.docs-visibility.docs-shared { color: #246452; }
.docs-size-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }
.docs-action-cell { width: 36px; }
.documents-root .docs-icon-button { width: 36px; height: 36px; min-height: 36px; padding: 7px; border: 0; background: transparent; }
.docs-empty { padding: 58px 22px 68px; text-align: center; }
.docs-empty-symbol { display: inline-flex; align-items: center; justify-content: center; height: 54px; width: 54px; background: #edf4ef; color: #456e5b; border-radius: 12px; margin-bottom: 16px; }
.docs-empty-symbol > .docs-icon { width: 27px; height: 27px; }
.documents-root .docs-empty h3 { color: var(--docs-ink); font: 600 23px/1.25 var(--font-display, 'Bricolage Grotesque Variable', sans-serif); letter-spacing: -.025em; margin: 0 0 10px; }
.docs-empty p { color: var(--docs-muted); font-size: 14px; max-width: 49ch; margin: 0 auto 20px; }
.docs-loading { padding: 50px 20px; text-align: center; color: var(--docs-muted); }
.docs-list-area[aria-busy='true'] { opacity: .65; pointer-events: none; }
.docs-detail { background: var(--docs-sage); border-radius: 12px; padding: 18px; min-width: 0; animation: docs-detail-enter 180ms cubic-bezier(.16, 1, .3, 1); }
.docs-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -3px -4px 6px 0; color: var(--docs-muted); font-size: 12px; }
.documents-root .docs-detail-title { color: var(--docs-ink); font: 600 21px/1.3 var(--font-display, 'Bricolage Grotesque Variable', sans-serif); letter-spacing: -.02em; overflow-wrap: anywhere; margin: 0 0 17px; }
.docs-preview { background: #e3ece6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 145px; padding: 18px; border-radius: 7px; margin-bottom: 20px; color: #426254; text-align: center; overflow: hidden; }
.docs-preview > .docs-icon { width: 35px; height: 35px; }
.docs-preview p { font-size: 12px; max-width: 28ch; margin: 0; }
.docs-preview img { display: block; width: 100%; max-height: 280px; object-fit: contain; }
.docs-preview:has(img) { padding: 0; }
.docs-preview-link { color: #784832; font-size: 12px; padding: 8px; text-decoration: underline; }
.docs-metadata { margin: 0 0 20px; display: grid; gap: 11px; }
.docs-metadata > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 9px; align-items: baseline; }
.docs-metadata dt { font-size: 11px; color: #526c5f; }
.docs-metadata dd { font-size: 12px; color: var(--docs-ink); margin: 0; overflow-wrap: anywhere; }
.docs-sharing { padding: 17px 0; border-top: 1px solid #d4e1d7; border-bottom: 1px solid #d4e1d7; margin-bottom: 18px; }
.docs-sharing h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.docs-sharing .docs-visibility { font-size: 12px; }
.docs-sharing p { font-size: 12px; color: #526c5f; margin: 8px 0 13px; }
.documents-root .docs-full-width { width: 100%; }
.docs-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.docs-detail-actions > .docs-primary { width: 100%; }
.documents-root .docs-danger { color: #a32222; }
.documents-root .docs-danger:hover { background: #ffebe5; }
.documents-root .docs-quiet { border: 0; background: transparent; padding: 7px 9px; }
.docs-dialog { border: 0; border-radius: 14px; background: #fff; color: var(--docs-text); padding: 28px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 24px 70px #142f4033; overflow: auto; font: 400 14px/1.55 var(--font, 'DM Sans Variable', sans-serif); }
.docs-dialog::backdrop { background: #082d2b66; }
.documents-root .docs-dialog h3 { font: 650 26px/1.2 var(--font-display, 'Bricolage Grotesque Variable', sans-serif); letter-spacing: -.025em; margin: 0 0 12px; }
.docs-dialog-intro { color: var(--docs-muted); font-size: 13px; margin: 0 0 22px; }
.docs-dialog-fields { display: grid; gap: 18px; }
.docs-dialog-fields .docs-field { flex: 1; }
.docs-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 26px; }
.docs-form-error { color: #a32222; font-size: 13px; margin: 18px 0 0; }
.docs-muted { color: var(--docs-muted); font-size: 12px; }
.docs-move-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; border-bottom: 1px solid var(--docs-line); padding-bottom: 6px; }
.docs-move-folders { min-height: 90px; max-height: 220px; overflow: auto; }
.documents-root .docs-move-folder { display: flex; width: 100%; justify-content: start; border: 0; border-bottom: 1px solid var(--docs-line); border-radius: 0; padding: 11px 8px; }
.docs-upload-selection { max-height: 185px; overflow: auto; }
.docs-upload-selection:empty { display: none; }
.docs-upload-selection p { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--docs-line); margin: 0; font-size: 12px; }
.docs-upload-selection strong { font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.docs-upload-selection span { color: var(--docs-muted); flex-shrink: 0; }
.docs-allowed-types { overflow-wrap: anywhere; margin: 0; }
.docs-uploads { background: var(--docs-sage); border-radius: 12px; padding: 16px 20px; margin-top: 26px; }
.docs-upload-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.docs-upload-heading h3 { margin: 0; font: 600 18px/1.3 var(--font-display, 'Bricolage Grotesque Variable', sans-serif); }
.docs-upload-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #d4e1d7; }
.docs-upload-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.docs-upload-copy strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.docs-upload-copy span { font-size: 12px; color: #526c5f; }
.docs-upload-row progress { width: 90px; height: 6px; accent-color: #246452; }
.docs-upload-row progress::-webkit-progress-bar { background: #d2e2d7; border-radius: 6px; }
.docs-upload-row progress::-webkit-progress-value { background: #246452; border-radius: 6px; }
.docs-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes docs-detail-enter { from { transform: translateY(7px); } to { transform: translateY(0); } }
@media (max-width: 1250px) {
  .docs-workspace.docs-has-detail { grid-template-columns: minmax(0, 1fr); }
  .docs-detail { max-width: none; }
  .docs-detail .docs-preview { float: right; width: 240px; margin: 0 0 18px 24px; }
  .docs-detail::after { content: ''; display: block; clear: both; }
  .docs-detail .docs-metadata, .docs-detail .docs-sharing { max-width: 470px; }
  .docs-detail-actions { clear: both; }
  .docs-detail-actions > .docs-primary { width: auto; }
  .docs-detail .docs-full-width { width: auto; }
}
@media (max-width: 900px) {
  .docs-header { flex-direction: column; gap: 18px; margin-bottom: 23px; }
  .docs-header-actions { padding-top: 0; }
  .documents-root input, .documents-root select { font-size: 16px; }
  .docs-name-cell { width: 31%; }
}
@media (max-width: 680px) {
  .documents-root .docs-title { font-size: 29px; }
  .docs-description { font-size: 13px; }
  .docs-header-actions { width: 100%; }
  .docs-header-actions > .docs-button { flex: 1; }
  .docs-toolbar { gap: 12px; margin-bottom: 18px; }
  .docs-field { flex: 1 1 130px; }
  .docs-search-field { flex-basis: 100%; }
  .docs-table, .docs-table tbody { display: block; }
  .docs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .docs-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px; padding: 11px 0 13px; border-bottom: 1px solid var(--docs-line); gap: 5px 12px; }
  .docs-table td { border: 0; padding: 0; font-size: 11px; width: auto; max-width: none; }
  .docs-table td:not(.docs-name-cell):not(.docs-action-cell)::before { content: attr(data-label); display: block; color: #5e746b; font-size: 10px; padding-bottom: 2px; }
  .docs-table .docs-name-cell { grid-column: 1 / 3; min-width: 0; }
  .docs-table .docs-action-cell { grid-column: 3; grid-row: 1; }
  .docs-table .docs-customer-cell, .docs-table .docs-visibility-cell { padding: 3px 0; }
  .documents-root .docs-name { font-size: 14px; }
  .docs-table .docs-visibility { font-size: 10px; }
  .docs-table td[data-label='Modified'] { grid-column: 1; }
  .docs-table td[data-label='Size'] { grid-column: 2; }
  .docs-empty { padding: 43px 10px 50px; }
  .documents-root .docs-empty h3 { font-size: 22px; }
  .docs-empty p { font-size: 13px; }
  .docs-detail .docs-preview { float: none; width: auto; margin: 0 0 20px; }
  .docs-detail { padding: 18px; }
  .docs-detail-actions > .docs-primary { width: 100%; }
  .docs-dialog { padding: 24px 20px; }
  .docs-upload-row { flex-wrap: wrap; gap: 8px; }
  .docs-upload-row progress { width: 64px; }
  .docs-upload-heading h3 { font-size: 17px; }
  .docs-uploads { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .documents-root *, .documents-root *::before, .documents-root *::after { animation: none !important; transition: none !important; }
}
