:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #101f37;
  background: #f4f7fb;
  font-synthesis: none;
  --blue: #0878ff;
  --muted: #718099;
  --border: #e4eaf2;
  --soft: #f7f9fc;
  --danger: #d94747;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  vertical-align: middle;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #90bfff;
  outline-offset: 3px;
}
button,
input,
select,
textarea {
  border-radius: 6px;
}
input,
select,
textarea {
  border: 1px solid #d8e1ed;
  background: white;
  color: #172943;
  padding: 10px 12px;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid #dbeaff;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
label {
  font-size: 14px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 0;
  font-weight: 650;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.wordmark {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -2px;
  color: #0a2546;
  line-height: 1;
}
.button,
.icon-button,
.text-button,
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px solid #d8e1ed;
  min-height: 40px;
  padding: 9px 14px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}
.button:hover {
  background: #f6f9fd;
  border-color: #b7c7db;
}
.button.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 2px 4px #0878ff15;
}
.button.primary:hover {
  background: #0067e6;
}
.button.danger {
  color: white;
  background: var(--danger);
  border-color: var(--danger);
}
.button.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}
.danger-text {
  color: var(--danger) !important;
}
.icon-button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 7px;
  border-color: transparent;
  background: transparent;
}
.icon-button:hover {
  background: #eaf2fd;
}
.text-button,
.quiet-button {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 28px;
  color: #556783;
  font-weight: 400;
}
.text-button:hover,
.quiet-button:hover {
  color: var(--blue);
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.full-width {
  width: 100%;
}
.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #6b7a91;
}
.boot .wordmark {
  color: var(--blue);
}
#app {
  display: flex;
  min-height: 100vh;
  background: white;
  max-width: 1800px;
  margin: auto;
}
.sidebar {
  width: 218px;
  flex: none;
  border-right: 1px solid var(--border);
  padding: 32px 14px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  z-index: 30;
}
.sidebar > .wordmark {
  padding: 0 17px;
  margin-bottom: 32px;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  width: 100%;
  text-align: left;
  background: transparent;
  padding: 13px 16px;
  min-height: 48px;
  font-size: 15px;
  border-radius: 7px;
  white-space: nowrap;
}
.nav-item svg {
  width: 21px;
  height: 21px;
}
.nav-item:hover {
  background: #f4f7fc;
}
.nav-item.active {
  color: var(--blue);
  background: #edf5ff;
  font-weight: 550;
}
.nav-count {
  margin-left: auto;
  background: #dcebff;
  font-size: 12px;
  border-radius: 5px;
  line-height: 22px;
  min-width: 22px;
  text-align: center;
  color: var(--blue);
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-bottom .nav-item {
  font-size: 13px;
  gap: 12px;
}
.sidebar-bottom .quiet-button {
  justify-content: flex-start;
  padding: 8px 17px;
  font-size: 12px;
  color: #8793a4;
}
.sidebar-bottom .quiet-button svg {
  width: 16px;
  height: 16px;
}
.workspace {
  min-width: 0;
  flex: 1;
  padding: 32px 30px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.heading-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce5f0;
  background: #f9fbfe;
  min-width: 190px;
  width: 255px;
  padding: 0 12px;
  height: 41px;
  border-radius: 7px;
  color: #556780;
}
.search-box input {
  background: transparent;
  border: 0;
  padding: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  height: 100%;
}
.search-box:focus-within {
  outline: 2px solid #dbeaff;
  border-color: var(--blue);
}
.search-box input:focus {
  outline: 0;
}
.search-box svg {
  width: 18px;
  height: 18px;
}
.view-switch {
  display: flex;
  border: 1px solid #dce5f0;
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}
.view-switch .icon-button {
  width: 30px;
  height: 31px;
  min-height: 31px;
  padding: 6px;
  border-radius: 4px;
  color: #60718a;
}
.view-switch .icon-button.active {
  background: #e6f2ff;
  color: var(--blue);
}
.toolbar .button {
  height: 41px;
}
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
  min-height: 25px;
  gap: 12px;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}
.breadcrumbs button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #687a94;
}
.breadcrumbs button:hover {
  color: var(--blue);
}
.breadcrumbs .current {
  color: #172942;
  font-weight: 500;
}
.breadcrumbs .separator {
  color: #8795a8;
}
.content-meta {
  font-size: 12px;
  color: #8995a7;
  white-space: nowrap;
}
.selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edf5ff;
  color: #0870ef;
  border: 1px solid #dceaff;
  border-radius: 7px;
  padding: 9px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.selection-bar > div {
  display: flex;
  gap: 8px;
}
.notice {
  border: 1px solid #cfe1ff;
  background: #f1f7ff;
  color: #32577e;
  border-radius: 7px;
  padding: 12px 15px;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.65;
}
.notice.error {
  background: #fff4f3;
  border-color: #f6d6d2;
  color: #a23d39;
}
#view-content {
  flex: 1;
}
.file-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.file-table thead {
  background: #f6f8fb;
  color: #61718b;
}
.file-table th {
  height: 43px;
  font-weight: 450;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.file-table td {
  height: 56px;
  border-bottom: 1px solid #e9eef5;
  color: #5b6b83;
}
.file-table th:first-child,
.file-table td:first-child {
  width: 45px;
  text-align: center;
}
.file-table th:last-child,
.file-table td:last-child {
  width: 46px;
  text-align: center;
  padding-right: 8px;
}
.file-table .size-col {
  width: 15%;
}
.file-table .date-col {
  width: 23%;
}
.file-table .sort-button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: inherit;
  font-size: 13px;
}
.sort-button svg {
  width: 13px;
  height: 13px;
  color: #8291a5;
}
.file-table tr.selected td {
  background: #e5f1ff;
  color: #405879;
}
.file-table tbody tr:hover td {
  background: #f8fbff;
}
.file-table tbody tr.selected:hover td {
  background: #deedff;
}
.file-table tbody tr:focus-within td {
  background: #f5f9ff;
}
.file-name {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  color: #14233a;
  font-weight: 450;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: left;
  height: 55px;
}
.file-name span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-name:hover span:last-child {
  color: var(--blue);
}
.file-icon {
  width: 35px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 5px;
  color: #6380a8;
  background: #edf2f8;
}
.file-icon svg {
  width: 25px;
  height: 25px;
}
.file-icon.folder {
  background: transparent;
  color: #ffbe28;
}
.file-icon.folder svg {
  width: 34px;
  height: 34px;
  fill: #ffd363;
  stroke: #f8b733;
  stroke-width: 1.2;
}
.file-icon.image {
  color: #479882;
  background: #e8f5ef;
}
.file-icon.pdf {
  color: #ed5a56;
  background: #fff0ef;
}
.file-icon.video {
  color: #8b65dd;
  background: #f2ecff;
}
.file-icon.audio {
  color: #cc8350;
  background: #fff3e9;
}
.file-icon.archive {
  color: #8490a3;
  background: #edf0f6;
}
.file-thumb {
  width: 36px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.empty-state {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px;
  color: #79879b;
}
.empty-state > svg {
  height: 48px;
  width: 48px;
  color: #b4c4d9;
  margin-bottom: 18px;
}
.empty-state h2 {
  color: #425874;
  font-size: 17px;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 13px;
  margin-bottom: 20px;
  max-width: 370px;
}
.empty-state .button {
  margin-bottom: 0;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  padding: 4px 0 22px;
}
.file-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  min-width: 0;
  background: white;
  position: relative;
  padding: 12px;
}
.file-card:hover {
  border-color: #aecffb;
  background: #fbfdff;
}
.file-card.selected {
  background: #edf5ff;
  border-color: #97c2ff;
}
.file-card > input {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}
.file-card > .icon-button {
  position: absolute;
  top: 5px;
  right: 6px;
  z-index: 1;
}
.grid-file-open {
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  padding: 0;
  display: block;
}
.grid-art {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px 0 15px;
  overflow: hidden;
  border-radius: 6px;
  background: #f8fafd;
}
.grid-art .file-icon {
  width: 57px;
  height: 64px;
}
.grid-art .file-icon svg {
  width: 40px;
  height: 40px;
}
.grid-art .file-icon.folder {
  width: 65px;
}
.grid-art .file-icon.folder svg {
  width: 60px;
  height: 60px;
}
.grid-art .file-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid-name {
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 7px;
}
.grid-meta {
  font-size: 11px;
  color: #8190a5;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.loading-state {
  padding: 85px 20px;
  text-align: center;
  color: #7f8ba0;
  font-size: 14px;
}
.skeleton {
  height: 15px;
  background: #eef2f7;
  border-radius: 4px;
  animation: pulse 1.2s ease infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #a0aaba;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 26px;
}
.mobile-menu {
  display: none;
}
.sidebar-scrim {
  position: fixed;
  inset: 0;
  background: #12284830;
  z-index: 29;
}
.upload-dock {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 17px;
  background: white;
}
.dock-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 14px;
}
.dock-heading .text-button {
  font-size: 12px;
}
.upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.upload-row:last-child {
  border-bottom: 0;
}
.upload-dock .upload-row {
  padding: 0;
}
.upload-detail {
  flex: 1;
  min-width: 0;
}
.upload-name {
  font-size: 13px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 9px;
}
.upload-progress-line {
  display: flex;
  align-items: center;
  gap: 14px;
}
.progress-track {
  height: 7px;
  background: #e6edf6;
  border-radius: 9px;
  overflow: hidden;
  flex: 1;
  max-width: 520px;
}
.progress-track > span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 9px;
  transition: width 0.2s;
}
.progress-track.complete > span {
  background: #39a889;
}
.upload-stats {
  font-size: 11px;
  color: #667793;
  min-width: 160px;
  white-space: nowrap;
}
.upload-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.upload-actions .icon-button {
  border: 1px solid #dce4ef;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  min-height: 29px;
  padding: 6px;
  color: #74829b;
}
.upload-actions .icon-button svg {
  width: 16px;
  height: 16px;
}
.upload-actions .cancel-upload {
  border-color: transparent;
}
.upload-error {
  font-size: 12px;
  color: #b84f4f;
  margin-top: 6px;
}
.upload-note {
  font-size: 13px;
  color: #74849b;
  line-height: 1.7;
  margin: 5px 0 20px;
}
.task-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 0 0 15px;
  color: #6d7d94;
  font-size: 13px;
}
.drop-overlay {
  position: absolute;
  inset: 10px;
  border: 2px dashed #79b3ff;
  border-radius: 10px;
  background: #f1f7fff0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: var(--blue);
  pointer-events: none;
}
.drop-overlay > svg {
  width: 52px;
  height: 52px;
}
.drop-overlay > strong {
  font-size: 23px;
}
.drop-overlay > span {
  color: #7486a0;
  font-size: 14px;
}
.share-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.share-name > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}
.share-name strong {
  font-size: 13px;
  font-weight: 500;
  color: #253851;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-name small {
  font-size: 11px;
  color: #8997a9;
}
.share-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.share-table th:first-child,
.share-table td:first-child {
  width: auto;
  text-align: left;
  padding-left: 12px;
}
.share-table th:last-child,
.share-table td:last-child {
  width: 160px;
  padding-right: 10px;
}
.status-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #edf7f2;
  color: #489172;
}
.status-pill.expired {
  background: #f2f4f7;
  color: #8995a6;
}
.status-pill.deleted {
  background: #f2f4f7;
  color: #8995a6;
}
.status-pill.revoked {
  background: #fff1f0;
  color: #c47572;
}
.trash-table .date-col {
  width: 22%;
}
.trash-table th:last-child,
.trash-table td:last-child {
  width: 170px;
}
.trash-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}
.path-text {
  font-size: 11px;
  color: #8d9bae;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal {
  border: 1px solid #dfe7f1;
  border-radius: 9px;
  box-shadow: 0 14px 60px #1c3e6630;
  width: 390px;
  max-width: calc(100vw - 32px);
  padding: 18px 18px 20px;
  color: #172842;
  background: #fff;
  overflow: visible;
}
.modal::backdrop {
  background: #122c4838;
  backdrop-filter: blur(2px);
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.modal-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}
.modal-heading h2 svg {
  color: var(--blue);
}
.modal-heading .icon-button {
  height: 28px;
  width: 28px;
  min-height: 28px;
  padding: 5px;
}
.modal form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-label {
  font-size: 13px;
  color: #4e607c;
}
.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.field-row > label {
  font-size: 13px;
}
.field-row select {
  font-size: 13px;
  min-width: 164px;
}
.modal-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 6px;
}
.modal-copy {
  color: #7889a0;
  font-size: 12px;
  line-height: 1.65;
  margin: 12px 0 0;
}
.modal-file {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
  min-width: 0;
}
.modal-file > span {
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-file small {
  display: block;
  margin-top: 5px;
  color: #7f8da1;
  font-size: 11px;
}
/* File history keeps the existing modal chrome and scrolls within the viewport. */
.modal:has(.history-dialog) {
  width: 620px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.history-dialog {
  min-width: 0;
}
.history-dialog h3 {
  margin: 0 0 10px;
  font-size: 14px;
}
.history-current {
  border-bottom: 1px solid #e7edf5;
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.history-current .modal-file,
.history-confirm .modal-file {
  margin-bottom: 0;
}
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.history-version {
  border: 1px solid #e1e8f2;
  border-radius: 6px;
  padding: 13px;
  min-width: 0;
}
.history-version-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}
.history-version-heading h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}
.history-size {
  color: #7889a0;
  font-size: 12px;
  white-space: nowrap;
}
.history-metadata {
  margin: 11px 0;
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.history-metadata > div {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 8px;
}
.history-metadata dt {
  color: #7889a0;
}
.history-metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.history-version-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.history-empty {
  padding: 18px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #7889a0;
}
.history-help {
  margin: 18px 0;
  font-size: 12px;
  line-height: 1.65;
  color: #7889a0;
}
.history-help summary {
  cursor: pointer;
  color: #4e607c;
}
.history-help p {
  margin: 10px 0 0;
}
.history-confirm > p {
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.history-dialog > .modal-actions {
  border-top: 1px solid #e7edf5;
  padding-top: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .history-version-heading {
    flex-direction: column;
    gap: 5px;
  }
  .history-metadata > div {
    grid-template-columns: 95px minmax(0, 1fr);
  }
}
.switch {
  position: relative;
  width: 35px;
  height: 20px;
  display: inline-block;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.switch span {
  display: block;
  background: #ced8e5;
  width: 35px;
  height: 20px;
  border-radius: 20px;
  pointer-events: none;
}
.switch span:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  transition: transform 0.15s;
}
.switch input:checked + span {
  background: var(--blue);
}
.switch input:checked + span:after {
  transform: translateX(15px);
}
.switch input:focus-visible + span {
  outline: 3px solid #90bfff;
  outline-offset: 3px;
}
.password-field {
  margin-top: 8px;
}
.share-result {
  padding-top: 10px;
}
.share-link-row {
  display: flex;
  gap: 6px;
}
.share-link-row input {
  width: 100%;
  font-size: 12px;
  color: #536a88;
  background: #f9fbfe;
}
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.menu-list .button {
  justify-content: flex-start;
  border: 0;
  box-shadow: none;
  background: transparent;
  font-weight: 400;
}
.menu-list .button:hover {
  background: #f3f7fd;
}
.form-error {
  color: #bf4848;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.confirm-copy {
  font-size: 14px;
  color: #697c96;
  word-break: break-word;
}
.folder-picker {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px;
  max-height: 260px;
  overflow-y: auto;
}
.folder-picker .breadcrumbs {
  padding: 6px;
  margin-bottom: 6px;
  font-size: 12px;
}
.folder-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  background: white;
  padding: 10px 7px;
  border-radius: 4px;
  text-align: left;
  font-size: 13px;
}
.folder-option svg {
  color: #f2b33a;
}
.folder-option:hover {
  background: #edf5ff;
}
.folder-option > svg:last-child {
  color: #8b9aae;
  margin-left: auto;
  width: 16px;
}
.folder-empty {
  font-size: 12px;
  color: #8997aa;
  padding: 16px 8px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  background: #183552;
  color: white;
  box-shadow: 0 4px 20px #122d4930;
  border-radius: 7px;
  font-size: 13px;
  z-index: 100;
  line-height: 1.5;
  text-align: center;
}
.toast.error {
  background: #a84643;
}
.preview-modal {
  width: 940px;
  max-width: calc(100vw - 40px);
  height: auto;
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.preview-modal .modal-heading {
  position: sticky;
  top: -18px;
  background: white;
  padding: 0 0 8px;
  z-index: 2;
}
.preview-modal h2 {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-stage {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.preview-stage img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}
.preview-stage video {
  max-width: 100%;
  max-height: 65vh;
  display: block;
}
.preview-stage audio {
  width: min(520px, calc(100% - 35px));
  margin: 55px 15px;
}
.preview-stage iframe {
  width: 100%;
  height: 65vh;
  border: 0;
  background: white;
}
.preview-stage pre {
  font:
    13px/1.75 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  margin: 0;
  padding: 24px;
  width: 100%;
  max-height: 65vh;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #384d69;
  align-self: stretch;
}
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #8895a6;
  font-size: 12px;
}
.preview-unsupported {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px;
  text-align: center;
  color: #8190a5;
}
.preview-unsupported svg {
  width: 52px;
  height: 52px;
  color: #96aac5;
}
.preview-unsupported p {
  font-size: 13px;
  margin: 0;
}
.standalone-screen {
  min-height: 100vh;
  background: #f5f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.login-card {
  width: 400px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 8px 35px #32537b08;
}
.login-card > .wordmark {
  display: block;
  margin-bottom: 28px;
}
.login-card h1 {
  font-size: 24px;
  letter-spacing: -0.4px;
  margin-bottom: 13px;
}
.login-card > .muted {
  font-size: 13px;
  margin-bottom: 25px;
}
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-card form label {
  font-size: 12px;
  color: #5e7089;
}
.login-card form input {
  height: 43px;
}
.login-card form .button {
  margin-top: 4px;
}
.login-dashboard {
  font-size: 12px;
  color: #6a7d98;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 21px;
}
.login-dashboard:hover {
  color: var(--blue);
}
.login-dashboard svg {
  width: 15px;
  height: 15px;
}
.privacy-note {
  font-size: 10px;
  color: #a0abba;
  text-align: center;
  margin: 28px 0 0;
  line-height: 1.65;
}
.public-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 1100px;
  margin: auto;
  padding: 30px 35px;
  gap: 32px;
}
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-header .wordmark {
  font-size: 31px;
}
.public-header > span {
  font-size: 12px;
  color: #8492a7;
}
.public-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  max-width: 720px;
  align-self: center;
  padding: 24px;
  margin: auto 0;
  box-shadow: 0 4px 24px #3b5d8505;
}
.public-card .preview-stage {
  border: 0;
  background: #f7f9fc;
}
.public-card h1 {
  font-size: 21px;
  margin-top: 20px;
  word-break: break-word;
  line-height: 1.4;
}
.public-file-size {
  font-size: 13px;
  color: #7385a0;
  margin: 9px 0 20px;
}
.public-properties {
  display: flex;
  gap: 25px;
  border-top: 1px solid var(--border);
  padding: 17px 0;
  font-size: 12px;
  color: #637795;
}
.public-properties > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.public-properties svg {
  width: 17px;
  height: 17px;
}
.public-card > .button {
  margin-top: 3px;
}
.public-card .share-note {
  font-size: 11px;
  color: #98a4b5;
  text-align: center;
  margin: 18px 0 0;
}
.public-screen > footer {
  text-align: center;
  font-size: 11px;
  color: #9da8b8;
}
.unlock-card,
.public-unavailable {
  text-align: center;
  padding: 30px 15px;
}
.unlock-card > svg,
.public-unavailable > svg {
  width: 50px;
  height: 50px;
  color: #91a8c8;
  margin-bottom: 12px;
}
.unlock-card h1,
.public-unavailable h1 {
  font-size: 22px;
  margin: 12px 0;
}
.unlock-card p,
.public-unavailable p {
  font-size: 13px;
  color: #8796aa;
}
.unlock-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 310px;
  margin: 25px auto 0;
  text-align: left;
}
.unlock-card label {
  font-size: 12px;
  color: #6d7d93;
}
.public-unavailable {
  padding: 55px 10px;
}
@media (min-width: 1500px) {
  #app {
    margin: 30px auto;
    min-height: calc(100vh - 60px);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    max-width: 1480px;
  }
  .sidebar {
    height: calc(100vh - 60px);
  }
  .workspace {
    min-height: calc(100vh - 60px);
    padding: 32px;
  }
  .toolbar {
    margin-bottom: 27px;
  }
  .file-table td {
    height: 59px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 192px;
    padding-inline: 10px;
  }
  .workspace {
    padding: 28px 23px 20px;
  }
  .toolbar {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
  .toolbar-actions {
    width: 100%;
  }
  .search-box {
    flex: 1;
    width: auto;
  }
  .file-table .date-col {
    width: 25%;
  }
  .upload-stats {
    min-width: 130px;
  }
  .upload-progress-line {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 190px;
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    height: 100dvh;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-menu {
    display: inline-flex;
  }
  .workspace {
    padding: 22px 18px 20px;
    min-height: 100dvh;
  }
  .toolbar {
    gap: 20px;
    margin-bottom: 20px;
  }
  .toolbar h1 {
    font-size: 24px;
  }
  .heading-group {
    gap: 8px;
    margin-left: -6px;
  }
  .toolbar-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-box {
    order: 0;
    flex-basis: calc(100% - 88px);
    min-width: 120px;
  }
  .view-switch {
    order: 1;
  }
  .toolbar-actions > .button {
    order: 2;
    flex: 1;
  }
  .toolbar-actions .button {
    font-size: 13px;
    height: 39px;
  }
  .content-header {
    margin-bottom: 14px;
  }
  .breadcrumbs {
    gap: 9px;
    font-size: 13px;
  }
  .content-meta {
    font-size: 11px;
  }
  .file-table {
    font-size: 12px;
  }
  .file-table th:first-child,
  .file-table td:first-child {
    width: 28px;
    text-align: left;
  }
  .file-name {
    gap: 10px;
    font-size: 13px;
  }
  .file-table .date-col {
    display: none;
  }
  .file-table .size-col {
    width: 70px;
  }
  .file-table th:last-child,
  .file-table td:last-child {
    width: 33px;
    padding-right: 0;
  }
  .file-icon {
    width: 31px;
    height: 35px;
  }
  .file-icon svg {
    width: 24px;
    height: 24px;
  }
  .file-icon.folder svg {
    width: 30px;
    height: 30px;
  }
  .file-thumb {
    width: 31px;
    height: 35px;
  }
  .file-table td {
    height: 58px;
  }
  .file-table th {
    height: 40px;
  }
  .file-table .icon-button {
    width: 30px;
    padding: 6px;
  }
  .workspace-footer {
    font-size: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
  }
  .upload-dock {
    margin-top: 24px;
    padding: 14px 12px;
  }
  .upload-row {
    gap: 10px;
  }
  .upload-row > .file-icon {
    display: none;
  }
  .upload-progress-line {
    display: block;
  }
  .upload-stats {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    white-space: normal;
    min-width: 0;
  }
  .progress-track {
    max-width: none;
  }
  .upload-actions {
    gap: 3px;
  }
  .dock-heading .text-button {
    font-size: 11px;
  }
  .upload-name {
    font-size: 12px;
  }
  .file-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .grid-art {
    height: 118px;
  }
  .share-table th:first-child,
  .share-table td:first-child {
    width: auto;
  }
  .share-table th:last-child,
  .share-table td:last-child {
    width: 91px;
    padding-right: 3px;
  }
  .share-table .size-col {
    width: 70px;
  }
  .share-table .date-col {
    display: none;
  }
  .share-actions {
    gap: 0;
  }
  .share-actions .button {
    width: 32px;
    padding: 6px;
    border: 0;
    background: transparent;
  }
  .share-actions .action-label {
    display: none;
  }
  .share-name {
    gap: 7px;
  }
  .share-name .file-icon {
    display: none;
  }
  .share-name strong {
    font-size: 12px;
  }
  .share-name small {
    font-size: 10px;
  }
  .trash-table th:last-child,
  .trash-table td:last-child {
    width: 73px;
  }
  .trash-actions .button {
    width: 31px;
    padding: 6px;
    border: 0;
    background: transparent;
  }
  .trash-actions .action-label {
    display: none;
  }
  .trash-table .size-col {
    width: 64px;
  }
  .trash-table .file-name {
    font-size: 12px;
    gap: 6px;
  }
  .selection-bar {
    font-size: 12px;
    padding: 8px 9px;
  }
  .selection-bar .button.small {
    padding: 5px 7px;
    font-size: 11px;
    gap: 4px;
  }
  .selection-bar .button.small svg {
    width: 15px;
    height: 15px;
  }
  .preview-modal {
    max-width: calc(100vw - 24px);
    padding: 14px;
  }
  .preview-stage {
    min-height: 200px;
  }
  .preview-stage iframe {
    height: 60vh;
  }
  .preview-stage pre {
    font-size: 12px;
    padding: 15px;
  }
  .preview-footer {
    flex-wrap: wrap;
  }
  .standalone-screen {
    padding: 20px;
  }
  .login-card {
    padding: 28px 25px;
  }
  .public-screen {
    padding: 25px 20px;
    gap: 24px;
  }
  .public-card {
    padding: 16px;
  }
  .public-properties {
    gap: 15px;
    flex-wrap: wrap;
  }
  .public-card h1 {
    font-size: 19px;
  }
  .public-card .preview-stage {
    min-height: 190px;
  }
  .public-card .preview-stage img {
    max-height: 50vh;
  }
  .public-card .preview-stage iframe {
    height: 55vh;
  }
  .drop-overlay {
    inset: 8px;
  }
  .modal {
    padding: 17px;
  }
  .empty-state {
    min-height: 300px;
    padding: 30px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Search, paging and storage use the existing quiet file-manager surfaces. */
.search-controls {
  display: flex;
  min-width: 220px;
  flex: 1;
}
.search-controls .search-box {
  min-width: 120px;
  width: 190px;
  flex: 1;
  border-radius: 7px 0 0 7px;
}
.search-controls select {
  height: 41px;
  max-width: 125px;
  font-size: 12px;
  background: #f9fbfe;
  border-color: #dce5f0;
  border-left: 0;
  border-radius: 0 7px 7px 0;
  padding: 0 8px;
}
.toolbar-actions {
  flex-wrap: wrap;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 24px 0 12px;
  font-size: 12px;
  color: #8290a5;
}
.file-name-cell.with-location {
  padding: 9px 0;
}
.with-location .file-name {
  height: 35px;
}
.file-location {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-size: 11px;
  min-height: 24px;
  color: #718099;
}
.with-location .file-location {
  margin-left: 50px;
  max-width: calc(100% - 50px);
}
.file-card .file-location {
  margin-top: 7px;
}
.folder-share-warning {
  margin-bottom: 0;
}
.status-view {
  max-width: 1050px;
}
.status-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0 20px;
}
.status-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.status-metric {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.status-metric > span {
  font-size: 13px;
}
.status-metric strong {
  font-size: 25px;
  font-weight: 600;
  color: #183754;
}
.status-metric small {
  font-size: 12px;
  color: #8190a5;
}
.status-explanation {
  font-size: 12px;
  color: #718099;
  margin: 18px 0 28px;
}
.status-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.status-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.status-panel p {
  font-size: 12px;
  color: #718099;
  margin: 17px 0 8px;
}
.status-panel small {
  font-size: 11px;
  line-height: 1.7;
  color: #8190a5;
}
.public-folder-card {
  max-width: 950px;
  margin: 0;
}
.public-folder-heading,
.public-folder-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.public-folder-heading h1 {
  margin-top: 0;
}
.public-folder-heading .public-file-size {
  margin-bottom: 0;
}
.public-folder-card .public-properties {
  margin-top: 18px;
}
.public-folder-navigation {
  margin: 2px 0 20px;
}
.public-file-table th:first-child,
.public-file-table td:first-child {
  width: auto;
  text-align: left;
}
.public-file-table .public-download-col,
.public-file-table td:last-child {
  width: 50px;
}
.public-folder-card .empty-state {
  min-height: 220px;
}
@media (max-width: 1180px) {
  .search-controls .search-box {
    width: auto;
  }
}
@media (max-width: 760px) {
  .search-controls {
    order: 0;
    flex-basis: calc(100% - 88px);
    min-width: 180px;
  }
  .search-controls .search-box {
    flex-basis: auto;
    min-width: 85px;
  }
  .search-controls select {
    max-width: 105px;
    padding-inline: 5px;
    font-size: 11px;
  }
  html:lang(en) .search-controls select {
    flex-shrink: 0;
    width: 115px;
    max-width: none;
  }
  .with-location .file-location {
    margin-left: 41px;
    max-width: calc(100% - 41px);
  }
  .status-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .status-metric {
    padding: 17px 14px;
    gap: 12px;
  }
  .status-metric strong {
    font-size: 23px;
  }
  .status-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .status-panel {
    padding: 18px;
  }
  .public-folder-heading,
  .public-folder-navigation {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .public-folder-heading > .button {
    width: 100%;
  }
  .public-file-table .size-col {
    width: 62px;
  }
  .public-file-table .public-download-col,
  .public-file-table td:last-child {
    width: 35px;
  }
  html:lang(en) .public-file-table:not(.public-edit-table) .public-download-col,
  html:lang(en) .public-file-table:not(.public-edit-table) td:last-child {
    width: 72px;
  }
  .pagination {
    gap: 12px;
    flex-wrap: wrap;
  }
}

.global-location-hint {
  font-size: 12px;
  line-height: 1.7;
  color: #718099;
  margin: -6px 0 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-icon {
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: contain;
}
.login-card > .wordmark {
  display: inline-flex;
}
.devices-view {
  max-width: 1080px;
  margin: 0 auto;
}
.devices-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 22px;
}
.devices-heading h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 7px;
}
.devices-heading p,
.device-help p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.devices-heading > .button {
  flex: none;
}
.device-list {
  display: grid;
  gap: 12px;
}
.device-card {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.device-card-heading,
.device-name,
.device-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.device-card-heading {
  justify-content: space-between;
}
.device-name > svg {
  color: var(--blue);
}
.device-name h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.device-name small {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.device-actions {
  flex: none;
}
.device-metadata {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 16px 22px;
  margin: 18px 0 0 32px;
}
.device-metadata dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.device-metadata dd {
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
}
.device-help {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 18px;
}
.device-help summary {
  cursor: pointer;
  font-size: 13px;
  color: #47617e;
}
.device-help-body {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  max-width: 740px;
}
.device-value-row {
  display: flex;
  gap: 6px;
  min-width: 0;
}
.device-value-row input {
  width: 100%;
  font-size: 12px;
  background: var(--soft);
}
.device-value-row .button {
  flex: none;
}
.device-credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.device-credentials > *,
.device-form > * {
  min-width: 0;
}
.device-credentials .notice,
.device-credentials .modal-copy,
.device-form .modal-copy {
  margin: 0;
  overflow-wrap: anywhere;
}
.modal:has(.device-form),
.modal:has(.device-credentials) {
  width: 460px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.device-form .folder-picker {
  max-height: 190px;
}
.device-form .breadcrumbs .text-button {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}
.device-form .breadcrumbs .action-label,
.device-form .folder-option > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .devices-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
  }
  .device-card {
    padding: 15px;
  }
  .device-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .device-actions {
    width: 100%;
    justify-content: space-between;
  }
  .device-metadata {
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
    gap: 15px;
  }
  .device-help-body {
    gap: 14px;
  }
}
.share-permission {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.share-permission .field {
  margin: 0;
}
.share-permission select {
  width: 100%;
}
.permission-copy {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #718099;
}
.public-file-table.public-edit-table th.public-download-col,
.public-file-table.public-edit-table td:last-child {
  width: 92px;
}
.public-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.public-row-actions .icon-button {
  flex: none;
}
.guest-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f7faff;
  border: 1px solid #dfeaff;
  border-radius: 7px;
  padding: 16px;
  margin-bottom: 18px;
}
.guest-target {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.guest-target strong {
  font-size: 13px;
  font-weight: 500;
  color: #32577e;
}
.guest-target span {
  font-size: 12px;
  color: #718099;
  overflow-wrap: anywhere;
}
.guest-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.guest-toolbar > p {
  width: 100%;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  color: #718099;
}
.guest-upload-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 18px;
}
.guest-upload-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.guest-upload-heading h2 {
  font-size: 14px;
}
.guest-upload-heading small {
  color: #8190a5;
  font-size: 11px;
}
.guest-upload-panel .upload-note {
  margin: 14px 0 4px;
  font-size: 12px;
}
.guest-session-note {
  margin: 16px 0 0;
  color: #718099;
  font-size: 12px;
}
.guest-session-error {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.upload-destination {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #8190a5;
  overflow-wrap: anywhere;
}
.public-permission-note {
  font-size: 12px;
  color: #718099;
  margin-bottom: 18px;
}
@media (max-width: 760px) {
  .guest-toolbar {
    padding: 13px;
    gap: 13px;
  }
  .guest-target,
  .guest-actions {
    width: 100%;
    flex-basis: 100%;
  }
  .guest-actions .button {
    padding: 8px 10px;
    font-size: 12px;
    flex: 1;
  }
  .guest-upload-panel {
    padding: 14px 12px;
  }
  .guest-session-error {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
}
/* Locale is selected by the local head script before authored UI is revealed. */
html.locale-pending body {
  visibility: hidden;
}
