:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #253c38;
  background: #f6f8f7;
  font-synthesis: none;
  --green: #267160;
  --line: #e3e9e5;
  --muted: #7b8984;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #62b9a4;
  outline-offset: 3px;
}
button {
  color: inherit;
}
input,
select {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 11px;
  color: inherit;
  min-width: 0;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-weight: 550;
  letter-spacing: -1.5px;
  font-size: 38px;
  margin-bottom: 12px;
}
h2 {
  font-size: 17px;
  font-weight: 600;
}
small,
.muted {
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1.6px;
  color: #264f44;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-by { margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
.brand-dot {
  color: #5f9e83;
}
.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  background: #fcfdfb;
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
}
.workspace {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 40px 0 33px;
}
.workspace strong {
  font-size: 13px;
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #e8ece0;
  color: #647c56;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.avatar.small {
  width: 31px;
  height: 31px;
  font-size: 12px;
}
.nav-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #86958a;
  font-weight: 650;
}
.nav-label {
  margin-left: 13px;
}
.nav {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin: 4px 0;
  color: #79867f;
}
.nav span {
  font-size: 18px;
  min-width: 20px;
}
.nav.active {
  background: #e7eee6;
  color: #365d46;
  font-weight: 600;
}
.nav:hover {
  background: #edf2ee;
}
.storage-card {
  margin-top: 45px;
  padding: 17px 14px;
  background: #f0f4ed;
  border: 1px solid #e4eadd;
  border-radius: 11px;
}
.storage-title {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.storage-card > strong {
  font-size: 19px;
  font-weight: 550;
  display: block;
}
.storage-card small {
  font-size: 10px;
  line-height: 1.6;
  display: block;
}
.storage-card progress {
  margin: 12px 0 4px;
  width: 100%;
  height: 5px;
}
.cost {
  border-top: 1px solid #dfe7d9;
  padding-top: 14px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.cost b {
  color: #365d46;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 45px;
}
.sidebar-bottom > small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  margin: 35px 13px 0;
}
.main {
  min-width: 0;
}
.topbar {
  height: 83px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 0 40px;
  background: #fdfefd;
}
.topbar > span:first-child {
  font-size: 12px;
  color: var(--muted);
  margin-right: auto;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 300px;
  background: #f4f6f4;
  border-radius: 8px;
  padding: 0 12px;
  color: #87958d;
}
.search input {
  border: 0;
  background: none;
  width: 100%;
  padding: 11px 3px;
  font-size: 11px;
}
.search > span {
  font-size: 24px;
}
.content {
  padding: 39px 40px 25px;
  max-width: 1500px;
  margin: auto;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}
.heading p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.heading .eyebrow {
  margin-bottom: 16px;
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid #dce4de;
  border-radius: 8px;
  background: white;
  font-size: 12px;
  padding: 12px 15px;
  white-space: nowrap;
  font-weight: 500;
}
.button:hover {
  background: #eef4ee;
}
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.button.primary:hover {
  background: #205f51;
}
/* File fields (components/file-picker.blade.php): the browser's input stays under the French button, focusable and
   checked by the form; the selectors outweigh the input and label rules of the pages (contracts.css, hr-vault.css). */
.file-picker {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.file-picker > .file-picker-label,
.file-picker-row > .button {
  margin: 0;
}
.file-picker-row {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}
.file-picker-row > input.file-picker-input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
}
.file-picker-row > .button {
  cursor: pointer;
}
.file-picker-input:focus-visible + .button {
  outline: 3px solid #62b9a4;
  outline-offset: 3px;
}
.file-picker-status {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 400;
}
.file-picker-hint {
  font-weight: 400;
}
.file-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 330px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.crumb {
  font-size: 12px;
  font-weight: 600;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters select {
  padding: 8px;
  font-size: 11px;
  border-color: #e6ebe7;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: #9aa69f;
  padding: 12px 20px;
  background: #fcfdfb;
}
td {
  padding: 16px 20px;
  border-top: 1px solid #f0f3f0;
  font-size: 12px;
}
th:first-child {
  width: 53%;
}
td:nth-child(2),
td:nth-child(3) {
  font-size: 11px;
  color: #94a097;
  white-space: nowrap;
}
td:last-child {
  width: 45px;
  padding: 8px 16px;
}
.file-name {
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 0;
  font-size: 12px;
  max-width: 450px;
}
.file-name > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-icon {
  font-size: 21px;
  color: #b89e67;
  background: #f8f4e9;
  border-radius: 7px;
  width: 34px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.file-icon.document {
  font-size: 17px;
  color: #738d97;
  background: #eff4f5;
}
.file-icon.image {
  color: #819c72;
  background: #f0f4eb;
}
.file-icon.space {
  color: #5d8a7d;
  background: #e9f3ef;
}
#space-trash {
  margin-left: 12px;
  color: var(--muted);
}
.file-row:hover {
  background: #fbfcfa;
}
.context {
  position: relative;
}
.context summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 6px;
  font-size: 19px;
}
.context[open] .menu {
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 5;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 40px #203a3020;
  padding: 6px;
  min-width: 170px;
}
.menu button {
  display: block;
  font-size: 12px;
  padding: 10px;
  width: 100%;
  text-align: left;
  border-radius: 5px;
}
.menu button:hover {
  background: #f0f4ee;
}
.empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
}
.empty-icon {
  font-size: 45px;
  color: #a4b395;
  display: block;
  margin-bottom: 18px;
}
.empty h2 {
  color: #526d5d;
  font-size: 17px;
}
.empty p {
  font-size: 12px;
}
.below {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 38px;
  margin-top: 36px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-title span {
  font-size: 10px;
  color: #98a397;
}
.activity ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity li {
  font-size: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.activity li time {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.privacy {
  border: 1px solid #e2e9dd;
  border-radius: 12px;
  padding: 22px;
  background: #eff3e9;
}
.privacy > span {
  font-size: 25px;
  color: #809574;
}
.privacy h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 13px 0 9px;
}
.privacy p {
  font-size: 11px;
  line-height: 1.8;
  color: #8a9683;
  margin: 0;
}
footer {
  margin-top: 45px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #a0aba3;
  display: flex;
  justify-content: space-between;
}
progress {
  accent-color: #729274;
  border: 0;
  border-radius: 10px;
}
progress::-webkit-progress-bar {
  background: #dfe7d9;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: #789a6d;
  border-radius: 10px;
}
#message {
  padding: 13px;
  background: #fff4df;
  border: 1px solid #eed7aa;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 13px;
}
#transfer[hidden],
[hidden] {
  display: none !important;
}
.more {
  margin: 15px 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  width: min(540px, calc(100% - 30px));
  padding: 25px;
  color: inherit;
  box-shadow: 0 20px 100px #16382a30;
}
dialog::backdrop {
  background: #1c302752;
  backdrop-filter: blur(3px);
}
dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon-button {
  font-size: 25px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
label.field {
  display: block;
  font-size: 13px;
  margin: 16px 0;
}
label.field input,
label.field select {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.modal-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.landing {
  max-width: 1150px;
  margin: auto;
  padding: 55px 45px;
}
.landing > .eyebrow {
  display: block;
  margin-top: 95px;
}
.landing h1 {
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: -4px;
  margin: 20px 0 25px;
}
.landing > p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.9;
  color: #7c8f81;
}
.landing > .button {
  margin: 15px 0 50px;
}
.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.landing-grid b {
  font-size: 13px;
}
.landing-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 15px;
}
.shared-page,
.admin-page {
  max-width: 1100px;
  margin: auto;
  padding: 40px;
}
.shared-page .eyebrow {
  margin-top: 60px;
}
.shared-list {
  list-style: none;
  padding: 0;
}
.shared-list li {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.admin-page h1 {
  margin-top: 40px;
}
.admin-users {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.admin-users form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.admin-page label {
  display: block;
  margin: 15px 0;
  font-size: 12px;
}
.admin-page input,
.admin-page select {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.admin-page section {
  margin-top: 45px;
}
.admin-page p {
  line-height: 1.7;
}
.drop-active {
  outline: 3px dashed #72a18c;
  outline-offset: -12px;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 60px;
  }
  .heading {
    margin-bottom: 45px;
  }
  .file-panel {
    min-height: 420px;
  }
}
@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 15px;
  }
  .content {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .below {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .admin-users {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    padding: 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .brand {
    font-size: 26px;
  }
  .workspace,
  .nav-label,
  .storage-card,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 17px;
    gap: 5px;
  }
  .nav {
    white-space: nowrap;
    padding: 11px 12px;
    font-size: 11px;
    width: auto;
    flex-shrink: 0;
  }
  .nav span {
    display: none;
  }
  .topbar {
    padding: 14px 18px;
    height: auto;
  }
  .topbar > span:first-child {
    display: none;
  }
  .search {
    width: 100%;
  }
  .content {
    padding: 26px 18px;
  }
  .heading {
    gap: 22px;
    margin-bottom: 25px;
  }
  h1 {
    font-size: 32px;
  }
  .quick-actions {
    width: 100%;
  }
  .quick-actions .button {
    flex: 1;
    font-size: 11px;
    padding: 12px 8px;
  }
  .toolbar {
    padding: 12px;
    flex-wrap: wrap;
  }
  .filters {
    margin-left: auto;
  }
  .filters select {
    max-width: 125px;
  }
  .below {
    display: block;
  }
  .privacy {
    margin-top: 25px;
  }
  .section-title span {
    display: none;
  }
  th,
  td {
    padding: 14px 12px;
  }
  th:nth-child(3),
  td:nth-child(3) {
    display: none;
  }
  th:first-child {
    width: auto;
  }
  .file-name {
    max-width: 220px;
    font-size: 11px;
  }
  .file-icon {
    width: 27px;
    height: 31px;
  }
  .activity li {
    font-size: 11px;
  }
  .landing {
    padding: 25px;
  }
  .landing > .eyebrow {
    margin-top: 65px;
  }
  .landing h1 {
    letter-spacing: -2px;
  }
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .admin-users {
    grid-template-columns: 1fr;
  }
  .admin-page,
  .shared-page {
    padding: 25px;
  }
  footer {
    font-size: 9px;
    gap: 10px;
  }
}

@media (max-width: 700px) {
  .storage-card {
    display: block;
    margin-top: 14px;
    padding: 12px;
  }
  .storage-title {
    margin-bottom: 5px;
  }
  .storage-card > strong {
    font-size: 16px;
  }
  .storage-card progress {
    margin: 6px 0;
  }
  .cost {
    margin-top: 8px;
    padding-top: 8px;
  }
  .sidebar-bottom {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 4px;
  }
  .sidebar-bottom > small {
    display: none;
  }
  .sidebar-bottom .nav {
    padding: 7px 10px;
    font-size: 10px;
  }
}
.table-wrap {
  overflow: visible;
}
.context[open] .menu {
  max-height: 280px;
  overflow-y: auto;
}

.offers-page { max-width: 1120px; margin: 0 auto; padding: 40px 24px; }
.offers-page > .brand { margin-bottom: 64px; }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.offer-card h2 { font-size: 30px; }
.offer-price { font-size: 24px; font-weight: 650; }
.offer-price small { font-size: 14px; font-weight: 400; }
.offer-details { margin-top: 40px; max-width: 760px; line-height: 1.7; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .offer-grid { grid-template-columns: 1fr; } }

#file-preview { width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; }
#file-preview::backdrop { background: rgb(15 30 25 / 65%); backdrop-filter: blur(3px); }
.preview-header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: white; }
.preview-heading { flex: 1; min-width: 0; }
.preview-heading h2 { margin: 0 0 5px; overflow-wrap: anywhere; }
.preview-header .icon-button { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; }
#file-preview-body { display: grid; place-items: center; min-height: 240px; max-height: calc(100dvh - 160px); overflow: auto; padding: 20px; background: #f0f4f1; }
.preview-image { display: block; max-width: 100%; max-height: calc(100dvh - 210px); object-fit: contain; }
.preview-text { align-self: start; justify-self: stretch; width: 100%; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.65 ui-monospace, monospace; background: white; padding: 20px; border-radius: 8px; }
.preview-status { padding: 24px; text-align: center; }
@media (max-width: 520px) { .preview-header { padding: 12px; gap: 6px; } #file-preview-body { padding: 10px; } }

.text-editor { width: 100%; min-height: 45vh; resize: vertical; padding: 16px; font: 14px/1.6 monospace; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; tab-size: 4; }

.office-header { min-height: 64px; padding: 12px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.office-workspace { height: calc(100dvh - 100px); min-height: 300px; width: 100%; }
#office-editor { height: 100%; }

.imports-panel { position: fixed; z-index: 100; top: 90px; right: 20px; bottom: 20px; width: min(390px, calc(100vw - 32px)); display: flex; flex-direction: column; padding: 0; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 50px rgb(22 49 39 / 18%); overflow: hidden; }
.imports-panel[hidden], .imports-toggle[hidden] { display: none; }
.imports-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px; gap: 12px; }
.imports-header h2 { margin: 0 0 6px; font-size: 20px; }
#imports-summary { margin: 0; font-size: 12px; color: var(--muted); }
.imports-header .icon-button { min-width: 36px; min-height: 36px; font-size: 24px; }
.imports-panel > progress { width: calc(100% - 40px); margin: 0 20px 12px; flex-shrink: 0; }
.imports-list { list-style: none; padding: 0 20px; margin: 0; overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; }
.import-row { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 135px; }
.import-row strong, .import-path, .import-detail { overflow-wrap: anywhere; }
.import-row strong { font-size: 13px; }
.import-path, .import-detail { font-size: 11px; color: var(--muted); }
.import-status { font-size: 12px; }
.import-row progress { width: 100%; height: 5px; }
.import-row[data-state="done"] .import-status { color: #216b51; }
.import-row[data-state="error"] .import-status, .import-row[data-state="error"] .import-detail { color: #a52d25; }
.imports-panel footer { padding: 16px 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.imports-panel footer small { font-size: 11px; color: var(--muted); }
.imports-toggle { position: fixed; bottom: 20px; right: 20px; z-index: 99; box-shadow: 0 4px 20px rgb(22 49 39 / 15%); }
@media (max-width: 600px) { .imports-panel { top: 16px; right: 16px; bottom: 16px; } }
/* Public deposit page of a file request. */
.deposit-page { max-width: 640px; }
.deposit-form { display: grid; gap: 14px; margin: 24px 0; }
.deposit-form .field, .deposit-form .file-picker { display: grid; gap: 6px; font-size: 14px; }
.deposit-form input, .deposit-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.deposit-form input:focus-visible, .deposit-form textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.deposit-form .button { justify-self: start; min-height: 44px; }
.deposit-instructions { padding: 14px 16px; border-left: 3px solid var(--green); background: white; white-space: pre-line; }
.deposit-error { color: #a33a2b; margin: 0; }
.deposit-list { list-style: none; padding: 0; }
.deposit-list li { padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.deposit-list li.done { color: var(--green); }
.deposit-list li.failed { color: #a33a2b; }
@media (max-width: 640px) { .deposit-form .button { justify-self: stretch; } }
/* Import from another cloud */
dialog.cloud-import { width: min(640px, calc(100% - 30px)); }
.cloud-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 6px; font-size: 12px; color: var(--muted); counter-reset: step; }
.cloud-steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line); counter-increment: step; }
.cloud-steps li::before { content: counter(step) ". "; }
.cloud-steps li.done { border-color: #9cc7bb; }
.cloud-steps li[aria-current] { border-color: var(--green); color: var(--green); font-weight: 600; }
.cloud-import .notice { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #fdf1ec; color: #8a3b1c; font-size: 13px; }
.cloud-providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 16px 0; }
.cloud-provider { display: grid; gap: 4px; min-height: 64px; text-align: left; }
.cloud-provider small { color: var(--muted); font-weight: 400; }
.cloud-crumbs { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 6px; }
.cloud-crumbs .crumb:not(:last-child)::after { content: " ›"; color: var(--muted); }
.cloud-tree { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.cloud-tree li { padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.cloud-tree li:last-child { border-bottom: 0; }
.cloud-entry { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.cloud-folder { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.cloud-folder:hover { color: var(--green); text-decoration: underline; }
.cloud-summary { margin: 14px 0; padding-left: 18px; line-height: 1.8; font-size: 14px; }
.cloud-warning { color: #a3401a; font-weight: 600; }
.cloud-issues { margin: 10px 0; font-size: 13px; }
.cloud-issues ul { max-height: 160px; overflow: auto; padding-left: 18px; color: var(--muted); }
.cloud-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.cloud-folders { display: grid; gap: 4px; max-height: 220px; overflow: auto; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.cloud-folders .cloud-folder { padding: 6px 8px; }
.cloud-import progress { width: 100%; margin: 12px 0; }
@media (max-width: 560px) { .cloud-steps { font-size: 11px; } .cloud-entry { grid-template-columns: auto 1fr; } .cloud-entry small { grid-column: 2; } }
/* Nouveau and Importer menus of Mes fichiers */
.action-menu { position: relative; display: flex; }
.action-menu-caret { font-size: 10px; opacity: 0.7; }
.action-menu-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: grid; gap: 2px; min-width: 230px; max-width: calc(100vw - 32px); padding: 6px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px #253c3818; }
.action-menu-list [role="menuitem"] { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 7px; background: none; color: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.action-menu-list [role="menuitem"]:hover, .action-menu-list [role="menuitem"]:focus-visible { background: #edf3ef; outline: none; }
.action-menu-list small { color: var(--muted); font-size: 11px; }
@media (max-width: 800px) { .quick-actions .action-menu { flex: 1; } .quick-actions .action-menu > .button { flex: 1; } }
