@import url("/static/fonts.css");
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202531;
  background: #f8f9fc;
  font-synthesis: none;
  --blue: #315cf5;
  --muted: #7b8190;
  --border: #e9ecf2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a3b5ff;
  outline-offset: 4px;
}
input:focus,
select:focus {
  outline: 2px solid #adc0ff;
  border-color: var(--blue);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -1px;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand-light {
  font-weight: 420;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 245px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 37px 20px 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
}
.sidebar > .brand {
  margin-bottom: 51px;
}
.workspace-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #949aa7;
  padding: 0 15px;
  margin-bottom: 15px;
}
nav button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 13px;
  padding: 14px 15px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 550;
  color: #737b8d;
  margin-bottom: 7px;
  text-align: left;
}
nav button.active {
  background: #eef2ff;
  color: var(--blue);
}
nav button:hover {
  background: #f5f7fc;
}
nav button.active:hover {
  background: #e8edff;
}
nav button span {
  margin-left: auto;
  background: white;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
}
.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 25px 14px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sharing-note {
  padding: 25px 13px 29px;
  color: #7d8494;
}
.sharing-note > .icon {
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.sharing-note strong {
  font-size: 13px;
  color: #444e63;
}
.sharing-note p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 0;
}
.profile {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 23px 0;
}
.avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf0ff;
  color: #4864bc;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.profile strong {
  font-size: 12px;
  max-width: 118px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile small {
  font-size: 11px;
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.profile .icon-button {
  margin-left: auto;
  padding: 5px;
}
.main {
  margin-left: 245px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  font-size: 13px;
  background: #fff;
}
.topbar > span:first-child {
  color: #626b7d;
}
.topbar span span {
  margin: 0 14px;
  color: #b3b8c3;
}
.private-label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #838b9b;
  font-size: 12px;
}
.private-label .icon {
  width: 15px;
  height: 15px;
}
#content {
  max-width: 1350px;
  margin: auto;
  padding: 45px 48px 35px;
  min-height: calc(100vh - 146px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 33px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--blue);
}
h1 {
  font-size: 36px;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -1.3px;
  margin: 12px 0;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
p {
  color: var(--muted);
  line-height: 1.6;
}
.page-heading p {
  font-size: 14px;
  margin: 10px 0 0;
}
.limit-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: #7b8292;
  font-size: 12px;
}
.limit-chip .icon {
  width: 15px;
  height: 15px;
  margin-right: 3px;
}
.limit-chip strong {
  color: #3e485f;
}
.upload-card {
  border: 1px solid var(--border);
  padding: 12px 12px 0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 12px #23396503;
}
.dropzone {
  min-height: 305px;
  border: 1.5px dashed #cbd5f5;
  background: #f9faff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 26px 16px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.dropzone.dragging {
  background: #e8eeff;
  border-color: var(--blue);
}
.upload-symbol {
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid #e5eaff;
  border-radius: 17px;
  box-shadow: 0 5px 10px #2948a908;
  transform: rotate(-6deg);
  color: var(--blue);
  margin-bottom: 5px;
}
.upload-symbol .icon {
  width: 28px;
  height: 28px;
  transform: rotate(6deg);
}
.dropzone h2 {
  font-size: 20px;
  margin: 15px 0 0;
}
.dropzone p {
  font-size: 13px;
  margin: 9px 0 20px;
}
.primary,
.secondary,
.destructive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
  transition: background 0.15s;
}
.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 4px #315cf522;
}
.primary:hover {
  background: #214ce2;
}
.primary .icon {
  width: 17px;
  height: 17px;
}
.secondary {
  border: 1px solid #dfe4ed;
  background: white;
}
.secondary:hover {
  background: #f3f5f9;
}
.destructive {
  background: #d84149;
  color: white;
}
.drop-hint {
  font-size: 11px;
  color: #a0a6b5;
  margin-top: 13px;
}
.upload-options {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: #8990a0;
}
.upload-options > span,
.upload-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.upload-options .icon {
  height: 15px;
  width: 15px;
}
.upload-options select {
  font-size: 12px;
  border: 0;
  background: #f5f6fa;
  padding: 7px;
  border-radius: 5px;
  color: #4f596e;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 25px auto 39px;
  font-size: 12px;
  color: #858c9d;
}
.steps > span:not(.step-line) {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.steps b {
  border: 1px solid #e3e7f0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 500;
  font-size: 10px;
  color: #7c87a1;
}
.steps .icon {
  width: 14px;
  height: 14px;
}
.step-line {
  height: 1px;
  width: 44px;
  background: #dde3f0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.section-heading h2 {
  font-size: 17px;
  margin: 0;
}
.count {
  font-size: 11px;
  font-weight: 500;
  color: #8891a5;
  background: #edf0f6;
  padding: 4px 7px;
  border-radius: 5px;
  margin-left: 7px;
  vertical-align: middle;
}
.text-button {
  color: var(--blue);
  font-size: 12px;
  padding: 8px 0;
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #8c93a2;
  background: #fcfcfe;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 17px 16px;
  border-bottom: 1px solid #eff1f6;
}
tr:last-child td {
  border-bottom: 0;
}
tr:hover td {
  background: #fdfdff;
}
.select-col {
  width: 35px;
}
input[type="checkbox"] {
  accent-color: var(--blue);
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.file-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}
.file-name strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
  max-width: 235px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-name small {
  display: block;
  color: #99a0af;
  font-size: 10px;
  margin-top: 5px;
}
.file-type {
  position: relative;
  width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #eef3ff;
  color: #6c8bd8;
  flex-shrink: 0;
}
.file-type > .icon {
  width: 23px;
  height: 23px;
}
.file-type small {
  position: absolute;
  bottom: 4px;
  font-size: 6px;
  line-height: 1;
  color: inherit;
  font-weight: 800;
  background: inherit;
  padding: 1px;
}
.file-type.type-image {
  background: #f0ecfc;
  color: #9b84cf;
}
.file-type.type-zip {
  background: #fff5e4;
  color: #c69b4b;
}
.muted {
  color: #8690a1;
}
.nowrap {
  white-space: nowrap;
}
.status {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  color: #318567;
  background: #edf8f2;
  border-radius: 5px;
  padding: 5px 8px;
  white-space: nowrap;
}
.status:before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 5px;
}
.status.expired {
  color: #b27945;
  background: #fff4e8;
}
.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5d6e9b;
  border: 1px solid #e3e8f3;
  border-radius: 5px;
  background: #fff;
  padding: 7px 9px;
  font-size: 10px;
  white-space: nowrap;
}
.copy-button:hover {
  background: #f0f3ff;
}
.copy-button .icon {
  height: 13px;
  width: 13px;
}
.icon-button {
  padding: 6px;
  border-radius: 5px;
  color: #8c95a7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button .icon {
  width: 17px;
  height: 17px;
}
.icon-button:hover {
  background: #eef1f8;
  color: #445b97;
}
.delete-file {
  color: #a3a9b7;
}
.align-right {
  text-align: right;
}
.empty {
  text-align: center;
  padding: 42px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.empty > .icon {
  width: 32px;
  height: 32px;
  color: #a2b2dd;
}
.empty h3 {
  font-size: 15px;
  font-weight: 550;
  margin-bottom: 6px;
}
.empty p {
  font-size: 13px;
  margin: 5px;
}
.main footer {
  display: flex;
  justify-content: space-between;
  margin: 0 48px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  color: #a1a8b6;
  font-size: 10px;
}
.main footer span {
  font-weight: 550;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 7px;
  padding: 9px 12px;
}
.search .icon {
  width: 15px;
  height: 15px;
  color: #8f98ab;
}
.search input {
  border: 0;
  background: transparent;
  width: 150px;
  font-size: 12px;
  outline: none;
}
.bulk-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 15px;
  border: 1px solid #dfe6ff;
  border-radius: 8px;
  background: #edf2ff;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--blue);
}
.danger-text {
  color: #c84751;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.danger-text .icon {
  width: 14px;
  height: 14px;
}
.queue-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 12px;
  border-top: 1px solid var(--border);
}
.queue-main {
  flex: 1;
  min-width: 0;
}
.queue-main strong {
  font-size: 13px;
  font-weight: 550;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-status {
  font-size: 11px;
  color: var(--muted);
}
.queue-icon {
  color: var(--blue);
}
progress {
  height: 4px;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background: #edf0f8;
  margin: 9px 0;
}
progress::-webkit-progress-bar {
  background: #edf0f8;
}
progress::-webkit-progress-value {
  background: var(--blue);
}
progress::-moz-progress-bar {
  background: var(--blue);
}
.failed .queue-status {
  color: #c84751;
}
.settings-tabs {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--border);
  margin: 0 0 28px;
}
.settings-tabs button {
  font-size: 14px;
  color: var(--muted);
  padding: 0 0 15px;
}
.settings-tabs button.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 27px;
}
.stats-grid article {
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
}
.stats-grid article > .icon {
  position: absolute;
  right: 17px;
  top: 20px;
  width: 17px;
  height: 17px;
  color: #8c9ecb;
}
.stats-grid article span {
  display: block;
  font-size: 12px;
  color: #7f899c;
}
.stats-grid strong {
  display: block;
  font-size: 28px;
  letter-spacing: -1px;
  margin: 16px 0 9px;
  font-weight: 550;
}
.stats-grid small {
  font-size: 10px;
  color: #99a1b0;
}
.storage-note {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 32px;
}
.storage-note > .icon {
  color: var(--blue);
}
.storage-note strong {
  font-size: 13px;
}
.storage-note p {
  font-size: 12px;
  margin: 5px 0 0;
}
.storage-note button {
  margin-left: auto;
  white-space: nowrap;
}
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-cell strong {
  font-size: 13px;
  display: block;
  font-weight: 550;
}
.user-cell small {
  font-size: 11px;
  display: block;
  color: #8f98a9;
  margin-top: 5px;
}
.user-cell strong small {
  display: inline;
  font-size: 10px;
}
.role-pill {
  font-size: 11px;
  color: #5a6f9e;
  background: #eef2fc;
  border-radius: 5px;
  padding: 5px 8px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.login-decoration {
  background: #edf1ff;
  position: relative;
  overflow: hidden;
  padding: 70px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-decoration h1 {
  font-size: 68px;
  font-weight: 600;
  line-height: 1.08;
  margin: 24px 0 15px;
  letter-spacing: -3px;
}
.login-decoration > p {
  font-size: 16px;
  max-width: 250px;
}
.orbit {
  width: 260px;
  height: 260px;
  align-self: center;
  margin: 35px 0;
  border: 1px solid #d1dafb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.orbit:before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid #d1dafb;
  border-radius: 50%;
}
.orbit-inner {
  width: 116px;
  height: 137px;
  display: grid;
  place-items: center;
  background: #315cf5;
  border-radius: 20px;
  transform: rotate(-12deg);
  box-shadow: 20px 24px 0 #d9e1ff;
}
.orbit-inner > .icon {
  height: 65px;
  width: 65px;
  color: white;
  stroke-width: 1.2;
}
.orbit-tag {
  position: absolute;
  bottom: 23px;
  right: -25px;
  background: #c0f777;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 12px;
  color: #3b5819;
  transform: rotate(-5deg);
  box-shadow: 0 7px 20px #465b7820;
}
.orbit-tag .icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
.login-caption {
  font-size: 12px;
  color: #7d8aaf;
  margin-top: 20px;
}
.login-caption span {
  margin: 0 15px;
  color: #b4bfdd;
}
.login-side {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 40px 100px;
}
.login-card {
  width: 345px;
}
.login-card > .brand {
  margin-bottom: 56px;
}
.login-heading {
  text-align: center;
  margin-bottom: 32px;
}
.login-heading h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin-bottom: 9px;
}
.login-heading p {
  font-size: 14px;
  margin: 0;
}
form label {
  display: block;
  font-size: 13px;
  color: #525d74;
  margin-bottom: 20px;
}
form input,
form select,
#share-url {
  display: block;
  width: 100%;
  border: 1px solid #dfe4ed;
  border-radius: 7px;
  padding: 13px 12px;
  margin-top: 8px;
  background: white;
  color: #313a4e;
  font-size: 14px;
}
input::placeholder {
  color: #a4abba;
}
.wide {
  width: 100%;
  padding: 14px 20px;
  justify-content: center;
}
.wide .icon:last-child {
  margin-left: auto;
}
.access-note {
  font-size: 12px;
  text-align: center;
  margin-top: 25px;
  color: #969eae;
}
.login-footer {
  position: absolute;
  bottom: 30px;
  font-size: 11px;
  color: #778197;
}
.login-footer span {
  margin-left: 20px;
  color: #a4acbb;
}
.form-error {
  font-size: 12px;
  color: #c54751;
  min-height: 0;
}
.form-error:empty {
  display: none;
}
.share-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background: radial-gradient(ellipse at top, #eef2ff, #f9faff 70%);
}
.share-card {
  margin-top: 60px;
  border: 1px solid #e3e8f6;
  border-radius: 20px;
  background: white;
  box-shadow: 0 20px 80px #455e9c08;
  padding: 46px;
  max-width: 490px;
  width: 100%;
  text-align: center;
}
.share-symbol {
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  background: #edf2ff;
  border-radius: 18px;
  width: 72px;
  height: 72px;
  color: var(--blue);
}
.share-symbol .icon {
  width: 32px;
  height: 32px;
}
.share-card h1 {
  font-size: 30px;
  margin: 15px 0 22px;
}
.share-filename {
  color: #46516b;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.share-meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  color: #8a94a7;
  font-size: 12px;
  margin: 18px 0 29px;
}
.share-card .primary .icon {
  margin: 0;
}
.share-note {
  font-size: 11px;
  margin: 21px 0 0;
}
.share-footer {
  font-size: 12px;
  color: #98a2b8;
  margin-top: 28px;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 440px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 24px 100px #1b25472b;
  color: inherit;
}
dialog::backdrop {
  background: #18223b66;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin: 0 0 14px;
}
dialog p {
  font-size: 14px;
}
dialog form {
  margin-top: 24px;
}
.modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title h2 {
  margin: 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}
.modal-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
}
.danger {
  color: #c84751;
  background: #fff0f0;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #263450;
  color: white;
  max-width: calc(100vw - 30px);
  padding: 13px 22px;
  border-radius: 9px;
  box-shadow: 0 5px 25px #10214322;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 10;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading,
.boot {
  text-align: center;
  padding: 80px;
  color: var(--muted);
  font-size: 14px;
}
/* Regular controls remain legible on large displays and browser text enlargement. */
nav button,
.primary,
.secondary,
.destructive,
form label,
form input,
form select {
  font-size: 0.875rem;
}
table {
  font-size: 0.875rem;
}
.file-name strong {
  font-size: 0.875rem;
}
.copy-button {
  font-size: 0.75rem;
}
.file-name small,
th,
.status,
.stats-grid small,
.drop-hint,
.steps,
.upload-options,
.upload-options select {
  font-size: 0.75rem;
}
.page-heading p,
.dropzone p {
  font-size: 1rem;
}
@media (min-width: 1500px) {
  #content {
    padding-top: 58px;
  }
  .dropzone {
    min-height: 350px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    margin-left: 210px;
  }
  .topbar {
    padding: 0 30px;
  }
  #content {
    padding: 35px 30px;
  }
  .main footer {
    margin: 0 30px;
  }
  .file-name strong {
    max-width: 165px;
  }
  td,
  th {
    padding: 14px 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .login-decoration h1 {
    font-size: 55px;
  }
  .steps {
    gap: 12px;
  }
  .step-line {
    width: 20px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .limit-chip {
    font-size: 11px;
  }
  .file-name {
    gap: 8px;
  }
  .row-actions {
    gap: 3px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    width: 180px;
  }
  .main {
    margin-left: 180px;
  }
  .sidebar > .brand {
    font-size: 21px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  nav button {
    padding: 12px 10px;
    gap: 8px;
  }
  .sharing-note {
    padding-left: 8px;
  }
  .profile {
    flex-wrap: wrap;
  }
  .profile .icon-button {
    margin-left: 0;
  }
  .private-label {
    display: none;
  }
  .topbar {
    height: 65px;
    padding: 0 22px;
  }
  #content {
    padding: 30px 22px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .limit-chip {
    display: none;
  }
  h1,
  .page-heading h1 {
    font-size: 29px;
  }
  .steps {
    gap: 10px;
    font-size: 10px;
  }
  .step-line {
    display: none;
  }
  .steps b {
    display: none;
  }
  .upload-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .storage-note {
    flex-wrap: wrap;
  }
  .storage-note button {
    margin-left: 35px;
  }
  .login-decoration {
    padding: 50px 10%;
  }
  .login-decoration h1 {
    font-size: 45px;
  }
  .orbit {
    width: 200px;
    height: 200px;
  }
  .orbit-inner {
    width: 90px;
    height: 110px;
  }
  .login-side {
    padding: 50px 28px 80px;
  }
  .login-card > .brand {
    margin-bottom: 35px;
  }
}
@media (max-width: 600px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 19px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .sidebar > .brand {
    margin-bottom: 19px;
    font-size: 23px;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
  .sidebar nav button {
    white-space: nowrap;
    width: auto;
    flex: 1;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 0;
    border-radius: 7px 7px 0 0;
    padding: 13px 8px;
    gap: 7px;
  }
  .sidebar .workspace-label,
  .nav-divider,
  .sharing-note {
    display: none;
  }
  .sidebar-bottom {
    position: absolute;
    right: 12px;
    top: 17px;
  }
  .profile {
    padding: 0;
    border: 0;
  }
  .profile > div,
  .profile > .avatar {
    display: none;
  }
  .profile .icon-button {
    padding: 7px;
  }
  .sidebar > .brand img {
    width: 32px;
    height: 32px;
  }
  .main {
    margin: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 20px;
    font-size: 11px;
    background: transparent;
    border-bottom: 0;
  }
  #content {
    padding: 17px 18px 30px;
    min-height: calc(100vh - 223px);
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .dropzone {
    min-height: 280px;
  }
  .dropzone h2 {
    font-size: 19px;
  }
  .dropzone p {
    font-size: 13px;
  }
  .upload-options {
    padding: 14px 7px;
  }
  .upload-options > span {
    font-size: 11px;
  }
  .upload-options label {
    width: 100%;
    justify-content: flex-start;
  }
  .upload-options select {
    margin-left: auto;
  }
  .steps {
    margin: 21px 0 30px;
    gap: 14px;
  }
  .steps > span:not(.step-line) {
    font-size: 10px;
  }
  .steps .icon {
    display: none;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .main footer {
    margin: 0 20px;
  }
  .search {
    padding: 8px;
  }
  .search input {
    width: 105px;
  }
  .section-heading {
    gap: 8px;
  }
  .table-scroll {
    border-radius: 8px;
  }
  table {
    min-width: 650px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stats-grid article {
    padding: 16px;
  }
  .stats-grid article > .icon {
    display: none;
  }
  .stats-grid strong {
    font-size: 25px;
  }
  .stats-grid small {
    font-size: 11px;
  }
  .stats-grid article span {
    font-size: 11px;
  }
  .storage-note {
    padding: 16px;
    gap: 10px;
  }
  .storage-note > div {
    flex: 1;
  }
  .storage-note p {
    font-size: 12px;
  }
  .storage-note button {
    margin: 4px 0 0 30px;
  }
  .settings-tabs {
    gap: 23px;
  }
  .login-page {
    display: block;
    background: linear-gradient(#f2f5ff, white 40%);
  }
  .login-decoration {
    display: none;
  }
  .login-side {
    min-height: 100vh;
    padding: 55px 28px 90px;
  }
  .login-card {
    max-width: 350px;
    width: 100%;
  }
  .login-card > .brand {
    margin-bottom: 50px;
  }
  .login-heading h2 {
    font-size: 28px;
  }
  .login-footer {
    bottom: 24px;
  }
  .share-page {
    padding: 40px 18px;
  }
  .share-card {
    margin-top: 38px;
    padding: 35px 24px;
  }
  .share-card h1 {
    font-size: 27px;
  }
  .share-meta {
    flex-wrap: wrap;
  }
  .queue-row {
    gap: 9px;
    padding: 15px 3px;
  }
  .queue-main strong {
    font-size: 12px;
  }
  .queue-row .copy-button {
    font-size: 10px;
    padding: 7px;
  }
  .queue-icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.quota-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.quota-summary strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 5px;
}
.quota-summary span {
  color: #737d90;
  font-size: 0.75rem;
}
.quota-summary progress {
  flex: 1;
  min-width: 100px;
  max-width: 200px;
  height: 6px;
}
#pending-uploads:not(:empty) {
  margin: 0 0 30px;
}
.resume-help {
  font-size: 0.875rem;
}
.pending-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
}
.pending-row > div:first-child {
  min-width: 0;
}
.pending-row strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}
.pending-row small,
.reserved-note {
  display: block;
  color: #7b8190;
  margin-top: 5px;
  font-size: 0.75rem;
}
@media (max-width: 600px) {
  .quota-summary {
    padding: 14px;
    gap: 10px;
  }
  .quota-summary > div {
    width: 100%;
  }
  .pending-row {
    flex-wrap: wrap;
  }
  .pending-row .row-actions {
    margin-left: auto;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-actions .text-button {
  font-size: 0.875rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .topbar-actions .text-button {
    font-size: 0.75rem;
  }
  .topbar {
    gap: 10px;
  }
}

.install-app { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 5; background: #263450; color: white; border-radius: 24px; padding: 12px 18px; font-size: .875rem; box-shadow: 0 4px 18px #10214322; }
.install-app[hidden] { display: none; }
body:has(.install-app:not([hidden])) { padding-bottom: 76px; }
@media (display-mode: standalone) {
  body { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .sidebar { top: env(safe-area-inset-top); bottom: env(safe-area-inset-bottom); left: env(safe-area-inset-left); }
}
@media (display-mode: standalone) and (max-width: 600px) {
  .sidebar-bottom { top: calc(17px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); }
}
@media (pointer: coarse) { form input, form select, .search input, .upload-options select { font-size: 16px; } }
