:root {
  --bg: #f1f5fb;
  --paper: #fff;
  --ink: #14223b;
  --muted: #526481;
  --line: #dce5f1;
  --accent: #255ed4;
  --accent-dark: #194bab;
  --accent-soft: #eaf2ff;
  --danger: #a52734;
  --site-header-height: 70px;
  --site-header-gutter: clamp(16px, 3vw, 42px);
  --workspace-topbar-height: 66px;
  --workspace-sidebar-column: 50px;
  --workspace-sidebar-gap: 24px;
  --radius: 18px;
  --shadow: 0 4px 16px #1b366608;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 system-ui, -apple-system, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(27px, 3vw, 36px); font-weight: 740; letter-spacing: -.025em; }
h2 { font-size: 20px; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#main-content:focus { outline: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 16px; background: white; border-radius: 8px; }

.btn, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}
.btn .icon { width: 17px; height: 17px; }
.btn-primary { color: white; background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-soft, .icon-button { color: var(--accent-dark); background: #f5f8ff; border-color: #dbe7fa; }
.btn-soft:hover, .icon-button:hover { background: var(--accent-soft); border-color: #bdcff0; }
.btn-danger { color: var(--danger); background: #fff3f3; border-color: #f1d3d8; }
.btn-danger:hover { background: #ffe6e9; }
.btn:disabled { opacity: .55; }
.btn-small { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.icon-button { width: 42px; padding: 0; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.panel { padding: clamp(18px, 3vw, 30px); }
.panel-title h2 { display: flex; align-items: center; gap: 10px; }
.panel-title .icon { color: var(--accent); }
.panel-title + * { margin-top: 22px; }

.workspace-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--site-header-height);
  padding: 10px var(--site-header-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.workspace-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.workspace-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: white; background: var(--accent); flex: none; }
.workspace-brand-mark .icon { width: 24px; height: 24px; }
.workspace-brand strong, .workspace-brand small { display: block; line-height: 1.3; }
.workspace-brand strong { font-size: 17px; font-weight: 750; }
.workspace-brand small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.workspace-topbar-classic {
  display: block;
  min-height: 0;
  padding: 0;
  border-bottom-color: #16459e;
  background: #2258c5;
  color: #f6f9ff;
  box-shadow: 0 3px 9px #16397718;
}
.workspace-topbar-inner {
  display: grid;
  grid-template-columns: fit-content(220px) max-content minmax(310px, 1fr) max-content;
  grid-template-rows: minmax(65px, auto);
  grid-template-areas: "brand channels search tools";
  align-items: center;
  column-gap: clamp(10px, 1.67vw, 25px);
  max-width: 1568px;
  margin-inline: auto;
  padding-inline: clamp(12px, 2.13vw, 32px);
}
.workspace-topbar-classic .workspace-brand {
  grid-area: brand;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  color: inherit;
}
.workspace-topbar-classic .workspace-brand-text { min-width: 0; }
.workspace-topbar-classic .workspace-brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .02em;
}
.workspace-topbar-classic .workspace-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  color: #2258c5;
}
.workspace-topbar-classic .workspace-brand-mark .icon { width: 22px; height: 22px; }
.workspace-top-channels { grid-area: channels; display: flex; align-self: stretch; }
.workspace-top-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 15px;
  border-inline: 1px solid transparent;
  color: #eef5ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
a.workspace-top-channel:hover { background: #1d4fb5; }
a.workspace-top-channel[aria-current="page"] {
  border-color: #134399;
  background: #1747a9;
  color: #fff;
  box-shadow: inset 0 -3px #9bc8ff;
  font-weight: 700;
}
.workspace-top-channel[aria-disabled="true"] { color: #c2d4f4; cursor: not-allowed; }
.workspace-topbar-inner :is(.workspace-brand, .workspace-top-channel, .workspace-membership-link, .workspace-transfer-open, .workspace-user-menu summary):focus-visible {
  outline-color: #fff;
  outline-offset: 2px;
}
.workspace-topbar-inner .workspace-top-channel:focus-visible { outline-offset: -5px; }
.workspace-top-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(8px, 1vw, 17px);
}
.workspace-top-tools > .btn {
  gap: 6px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
}
.workspace-top-tools > .btn .icon { width: 16px; height: 16px; }
.workspace-membership-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 10px;
  color: #ffe084;
  font-weight: 750;
  text-decoration: none;
}
.workspace-membership-link img { display: block; height: auto; }
.workspace-membership-link:hover img { filter: brightness(1.12); }
.workspace-top-tools .workspace-transfer-open {
  position: relative;
  padding-inline: 5px;
  background: transparent;
  color: inherit;
}
.workspace-top-tools .workspace-transfer-open:hover { background: #1d4fb5; }
.workspace-transfer-open [data-transfer-badge] {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  padding: 0 4px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--accent-dark);
  color: white;
  font: 650 10px/17px system-ui, sans-serif;
}
.workspace-user-menu, .cloud-item-menu { position: relative; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.workspace-user-menu { padding-inline-start: clamp(9px, 1.15vw, 17px); }
.workspace-user-menu::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: #bdd5ff45;
  content: "";
}
.workspace-user-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 3px 0;
  border: 1px solid transparent;
  border-radius: 6px;
}
.workspace-user-menu summary:hover, .workspace-user-menu[open] summary { background: #1d4fb5; }
.workspace-user-menu summary .avatar { width: 32px; height: 32px; }
.workspace-user-identity {
  min-width: 0;
  max-width: 110px;
  line-height: 1.15;
}
.workspace-user-summary-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.workspace-user-chevron { width: 13px; height: 13px; transition: transform .18s ease; }
.workspace-user-menu[open] .workspace-user-chevron { transform: rotate(180deg); }
.workspace-user-panel {
  position: absolute;
  z-index: 2;
  inset: calc(100% + 8px) 0 auto auto;
  display: grid;
  grid-template-columns: minmax(114px, 40%) minmax(0, 1fr);
  width: min(365px, calc(100vw - 28px));
  border: 1px solid #d7e3f4;
  border-radius: 14px;
  background: var(--paper);
  color: #192a47;
  box-shadow: 0 18px 42px -14px #243b6861, 0 3px 10px #203e6410;
  font-size: 14px;
  line-height: 1.35;
}
.workspace-user-panel::before {
  position: absolute;
  top: -6px;
  right: 23px;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-top: 1px solid #d7e3f4;
  border-left: 1px solid #d7e3f4;
  border-radius: 2px 0 0;
  background: var(--paper);
  pointer-events: none;
  content: "";
}
.workspace-user-card {
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: 14px 9px;
  border-right: 1px solid #dce7f9;
  border-radius: 13px 0 0 13px;
  background:
    radial-gradient(ellipse at 16% 3%, #d1e3ff 0, transparent 62%),
    linear-gradient(165deg, #e9f2ff 18%, #f4f8ff 85%);
  text-align: center;
}
.workspace-user-person { display: grid; min-width: 0; justify-items: center; gap: 8px; }
.workspace-user-person .avatar {
  width: 51px;
  height: 51px;
  border: 2px solid #fff;
  background: linear-gradient(142deg, #4585fa, #234db7);
  color: #fff;
  box-shadow: 0 4px 11px #2453a832;
  font-size: 21px;
}
.workspace-user-nameplate { display: grid; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.workspace-user-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
  font-weight: 720;
}
.workspace-user-uid { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.workspace-user-points {
  display: flex;
  max-width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 6px;
  border: 1px solid #d2e1f9;
  border-radius: 6px;
  background: var(--paper);
  color: #1c55ba;
  font-size: 12px;
  text-decoration: none;
}
.workspace-user-points:hover, .workspace-user-points[aria-current="page"] {
  border-color: #abc9f5;
  background: #edf4ff;
}
.workspace-user-points span, .workspace-user-action span { min-width: 0; overflow-wrap: anywhere; }
.workspace-user-points .icon { width: 15px; height: 15px; }
.workspace-user-points .workspace-user-action-end { width: 12px; height: 12px; }
.workspace-user-actions { display: grid; min-width: 0; align-content: center; gap: 2px; padding: 9px; }
.workspace-user-action {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 6px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 570;
  line-height: 1.25;
  text-align: start;
  text-decoration: none;
}
.workspace-user-action[href]:hover { background: #f0f5ff; color: #1c55ba; }
.workspace-user-action[aria-current="page"] { background: #eaf2ff; color: #1c55ba; font-weight: 680; }
.workspace-user-action[aria-disabled="true"] { color: #647590; cursor: not-allowed; }
.workspace-user-action-status { flex: none; margin-inline-start: auto; font-size: 11px; font-weight: 500; white-space: nowrap; }
.workspace-user-action-icon { width: 18px; height: 18px; color: #41639b; }
.workspace-user-action:is([aria-current="page"], [aria-disabled="true"]) .workspace-user-action-icon { color: inherit; }
.workspace-user-action .workspace-user-action-end { width: 14px; height: 14px; margin-inline-start: auto; color: #6a82a5; }
.workspace-user-signout { margin-top: 2px; padding-top: 4px; border-top: 1px solid #e8eef8; }
.workspace-user-logout { color: var(--muted); }
.workspace-user-logout .workspace-user-action-icon { color: inherit; }
.workspace-user-logout:hover { background: #fff1f3; color: #a43045; }

.cloud-item-menu-content {
  position: absolute;
  z-index: 2;
  inset: calc(100% + 6px) 0 auto auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 10px 26px #1b366622;
}
.avatar { display: inline-grid; place-items: center; width: 35px; height: 35px; flex: none; overflow: hidden; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 750; vertical-align: middle; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.has-workspace-sidebar { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.workspace-shell { --workspace-shell-top-padding: clamp(25px, 4vw, 50px); --workspace-shell-bottom-padding: 52px; width: min(100%, var(--workspace-shell-max-width, 1560px)); margin: 0 auto; padding: var(--workspace-shell-top-padding) var(--site-header-gutter) var(--workspace-shell-bottom-padding); }
.has-workspace-sidebar .workspace-shell { flex: 1; }
.is-signed-in .workspace-shell { display: grid; grid-template-columns: var(--workspace-sidebar-column) minmax(0, 1fr); align-items: start; gap: var(--workspace-sidebar-gap); }
.workspace-sidebar {
  position: relative;
  align-self: stretch;
  z-index: 1;
  width: calc(100% + var(--site-header-gutter));
  height: auto;
  min-width: 0;
  min-height: 420px;
  margin-top: calc(0px - var(--workspace-shell-top-padding));
  margin-bottom: calc(0px - var(--workspace-shell-bottom-padding));
  margin-left: calc(0px - var(--site-header-gutter));
  overflow: clip;
  padding: 22px 8px;
  border: 0;
  border-right: 1px solid #e8edf4;
  border-radius: 0;
  background: #f7f9fc;
}
.workspace-sidebar nav { position: relative; display: grid; align-content: start; gap: 12px; }
.workspace-sidebar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 80px;
  padding: 6px 2px;
  border: 0;
  border-radius: 12px;
  color: #596273;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease;
}
.workspace-sidebar-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: #eaf0f5;
  color: #434c60;
  transition: color .16s ease, background-color .16s ease;
}
.workspace-sidebar-icon .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.workspace-sidebar-link:hover { color: var(--accent-dark); }
.workspace-sidebar-link:hover .workspace-sidebar-icon { color: var(--accent-dark); background: #e3ebfb; }
.workspace-sidebar-link[aria-current="page"] { color: var(--accent-dark); font-weight: 650; }
.workspace-sidebar-link[aria-current="page"] .workspace-sidebar-icon { color: var(--accent); background: #e5edff; }
.workspace-sidebar-link[aria-disabled="true"] { color: #8993a3; opacity: .65; }
.workspace-global-search {
  grid-area: search;
  display: flex;
  align-items: stretch;
  justify-self: center;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  min-height: 38px;
  border: 1px solid #dbe6ff;
  border-radius: 5px;
  background: var(--paper);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.workspace-global-search:focus-within {
  border-color: #a9ceff;
  box-shadow: 0 0 0 2px #a9ceff;
}
.workspace-search-filter {
  position: relative;
  display: flex;
  flex: none;
}
.workspace-search-filter select {
  appearance: none;
  width: 84px;
  min-height: 0;
  padding-block: 0;
  padding-inline: 11px 26px;
  border: 0;
  border-inline-end: 1px solid #dbe6f7;
  border-radius: 0;
  border-start-start-radius: 4px;
  border-end-start-radius: 4px;
  background: #eef4ff;
  color: #254f9f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.workspace-search-filter select:hover:not(:disabled) { background: #e3edff; }
.workspace-search-filter select:focus-visible { outline-offset: -3px; }
.workspace-search-filter select:disabled { background: #e4e9f0; color: #647590; cursor: not-allowed; }
.workspace-search-filter > .icon {
  position: absolute;
  inset-inline-end: 9px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: #254f9f;
  pointer-events: none;
}
.workspace-search-filter select:disabled + .icon { color: #647590; }
.workspace-global-search .workspace-search-input {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  min-width: 0;
  padding-inline: 10px 6px;
}
.workspace-global-search .workspace-search-input > .icon { width: 16px; height: 16px; color: #315eac; }
.workspace-global-search input[type="search"] {
  flex: 1;
  align-self: stretch;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.workspace-global-search input::placeholder { color: #526783; }
.workspace-global-search:has(input:disabled) { background: #f2f5fa; }
.workspace-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0 12px;
  border: 0;
  border-inline-start: 1px solid #dbe6f7;
  border-start-end-radius: 4px;
  border-end-end-radius: 4px;
  background: var(--paper);
  color: #2053ba;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.workspace-search-submit:hover:not(:disabled) { background: #eef4ff; }
.workspace-search-submit:focus-visible { outline-offset: -3px; }
.workspace-search-submit:disabled { color: #8290a4; background: #e4e9f0; }
.workspace-content { min-width: 0; }
.page-account .workspace-shell { --workspace-shell-top-padding: clamp(22px, 2.6vw, 38px); width: 100%; padding-left: calc(max(0px, (100% - 1560px) / 2) + var(--site-header-gutter)); }
.page-account .workspace-content { width: min(100%, var(--account-content-max-width, 1040px)); justify-self: center; }
.workspace-page-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.workspace-page-heading p { margin-top: 7px; color: var(--muted); }
.workspace-info-page { max-width: 1040px; min-width: 0; margin-inline: auto; }
.workspace-info-panels { display: grid; gap: 16px; }
.workspace-permission-status { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #eff2f7; color: var(--muted); font-size: 12px; white-space: nowrap; }
.workspace-permission-status.is-enabled { background: var(--accent-soft); color: var(--accent-dark); }
.workspace-help-topic { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 16px; }
.workspace-help-topic + .workspace-help-topic { border-top: 1px solid var(--line); }
.workspace-help-topic:first-child { padding-top: 0; }
.workspace-help-topic:last-child { padding-bottom: 0; }
.workspace-help-topic > div { flex: 1 1 340px; min-width: 0; }
.workspace-help-topic h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; }
.workspace-help-topic h2 .icon { width: 18px; height: 18px; color: var(--accent); }
.workspace-help-topic .field-help { margin-top: 6px; }
.notice { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 11px 14px; border: 1px solid #c8dbf5; border-radius: 10px; color: #204986; background: #edf5ff; overflow-wrap: anywhere; }
.notice-success { color: #186046; background: #eaf8ef; border-color: #c8e8d6; }
.notice-error { color: var(--danger); background: #fff0f2; border-color: #f4cfd5; }
.notice .icon-button { margin-left: auto; width: 32px; min-height: 32px; flex: none; color: inherit; border-color: transparent; background: transparent; }
.notice .icon-button:hover { background: #15234612; }
.site-toast { position: fixed; inset: auto 16px 20px auto; z-index: 4; max-width: min(350px, calc(100% - 32px)); padding: 10px 15px; border-radius: 10px; color: white; background: var(--ink); box-shadow: var(--shadow); }

.stack-form { display: grid; gap: 17px; }
.stack-form label, .cloud-action-form label { display: grid; gap: 6px; min-width: 0; font-weight: 650; }
input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"]), select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cdd9ea;
  border-radius: 9px;
}
input::placeholder { color: #627592; }
input:disabled { background: #f2f5fa !important; color: var(--muted) !important; }
input[type="file"] { max-width: 100%; }
input::file-selector-button { margin-right: 8px; padding: 6px 10px; border: 1px solid #dbe7fa; border-radius: 8px; background: #f5f8ff; color: var(--accent-dark); font: inherit; cursor: pointer; }
textarea { resize: vertical; }
.field-help { color: var(--muted); font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.workspace-feature-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); }

.workspace-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  min-height: 380px;
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(26px, 5vw, 70px);
  border: 1px solid #cbdcf6;
  border-radius: 26px;
  background: linear-gradient(124deg, #fff 8%, #e4eeff 100%);
}
.workspace-landing h1 { font-size: clamp(34px, 5.2vw, 67px); }
.workspace-landing p { max-width: 405px; margin-top: 15px; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }
.workspace-landing-actions, .membership-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.workspace-landing-illustration { display: grid; justify-items: center; padding: 16px; }
.workspace-landing-illustration > div {
  display: grid;
  place-items: center;
  width: min(100%, 250px);
  aspect-ratio: 1;
  border: 1px solid #bed1f4;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 35%, #eaf2ff 36% 57%, #d5e4fc 57.5%, #f5f9ff 58%);
  box-shadow: 0 22px 50px #30578811;
}
.workspace-landing-illustration span { display: grid; place-items: center; width: 53%; aspect-ratio: 1; border-radius: 26%; color: white; background: linear-gradient(135deg, #3976ed, #245ad2); box-shadow: 0 16px 34px #3562bf45; transform: rotate(-8deg); }
.workspace-landing-illustration .icon { width: 53%; height: 53%; stroke-width: 1.3; }
.workspace-feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; max-width: 1180px; margin: 18px auto 0; }
.workspace-feature-list article { padding: 20px; }
.workspace-feature-list h2 { margin-top: 11px; font-size: 17px; }
.workspace-feature-list p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.workspace-public-footer { margin-top: 20px; text-align: center; font-size: 13px; }
.workspace-auth, .workspace-message { max-width: 465px; margin-inline: auto; }
.workspace-auth h1 { margin: 12px 0 22px; font-size: 29px; }
.workspace-auth .notice { margin-top: 12px; }
.workspace-auth-switch { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }
.workspace-auth-register:has(.register-profile-fields) { max-width: 760px; }
.register-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; min-width: 0; }
.register-profile-category { display: grid; align-content: start; gap: 12px; min-width: 0; }
.register-profile-category-wide { grid-column: 1 / -1; }
.register-profile-category-title { margin: 0; color: var(--ink); font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.register-profile-category-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.register-profile-item { display: grid; align-content: start; gap: 7px; min-width: 0; }
.register-profile-item:only-child, .register-profile-item-wide { grid-column: 1 / -1; }
.register-profile-item > label { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 7px; font-weight: 650; }
.register-profile-item > label .profile-required { margin-left: 0; }
@media (max-width: 600px) {
  .register-profile-fields, .register-profile-category-items { grid-template-columns: minmax(0, 1fr); }
}
.page-login .workspace-content > .notice, .page-register .workspace-content > .notice { max-width: 465px; margin-inline: auto; }
.password-field { position: relative; display: block; }
.password-field:has(button:not([hidden])) input { padding-right: 66px; }
.password-field button { position: absolute; inset: 4px 4px 4px auto; padding: 0 9px; border: 0; border-radius: 7px; color: var(--accent-dark); background: var(--accent-soft); font-size: 13px; }
.stack-form .service-agreement-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; font-size: 14px; font-weight: 400; }
.service-agreement-consent input { margin-top: 5px; accent-color: var(--accent); }
.workspace-agreement { max-width: 820px; margin-inline: auto; }
.workspace-agreement-content { margin: 18px 0; overflow-wrap: anywhere; }
.workspace-agreement h1, .workspace-message h1 { margin-bottom: 10px; }
.workspace-message .btn { margin-top: 18px; }

.account-layout, .account-forms { display: grid; min-width: 0; gap: 14px; }
.account-layout { --account-panel-padding: clamp(12px, 2.3vw, 25px); }
.account-layout .card { border-radius: 12px; }
.account-overview {
  display: grid;
  grid-template-columns: minmax(160px, min(34%, 248px)) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 134px;
  padding: 20px var(--account-panel-padding);
}
.account-overview-avatar { min-width: 0; padding-inline-end: 16px; border-inline-end: 1px solid var(--line); }
.account-avatar-preview { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px; }
.account-avatar-preview > .field-help { grid-column: 1 / -1; }
.account-avatar-identity { min-width: 0; overflow-wrap: anywhere; }
.account-avatar-name { margin-block-end: 3px; font-size: 20px; font-weight: 750; line-height: 1.3; }
.account-avatar-uid, .account-avatar-joined { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.account-avatar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 12px; }
.account-avatar-meta-label { color: var(--muted); }
.account-avatar-meta-value { font-weight: 650; }
.account-level-icon { width: 20px; height: 20px; flex: none; object-fit: contain; }
.account-points-link { display: inline-flex; align-items: center; gap: 5px; margin-block-start: 3px; font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.account-points-link:hover { text-decoration: underline; }
.account-points-link .icon { width: 13px; height: 13px; }
.account-avatar-preview .avatar-large {
  width: 64px;
  height: 64px;
  border: 3px solid white;
  background: linear-gradient(145deg, #3972e4, #2151c1 85%);
  color: white;
  box-shadow: 0 3px 12px #17419026;
  font-size: 23px;
}
.avatar-upload { display: grid; justify-items: center; gap: 8px; }
.avatar-upload-trigger {
  display: grid;
  position: relative;
  cursor: pointer;
  border-radius: 50%;
}
.avatar-upload-trigger:has(input:focus-visible) { outline: 2px solid #64748b; outline-offset: 4px; }
.avatar-upload-trigger input:focus-visible { outline: none; }
.avatar-upload-badge {
  position: absolute;
  inset: auto -1px 1px auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #cbdcf8;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent-dark);
  box-shadow: 0 2px 4px #1248ae14;
  pointer-events: none;
}
.avatar-upload-badge .icon { width: 14px; height: 14px; }
.avatar-upload-trigger:is(:hover, :focus-within) .avatar-upload-badge { background: var(--accent-soft); }
.account-overview-info { min-width: 0; }
.account-profile-form { margin-top: 0; }
.account-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; min-width: 0; }
.account-profile-fields label { min-width: 0; }
.account-profile-fields .account-profile-wide { grid-column: 1 / -1; }
.account-profile-fields textarea { min-height: 120px; }
.account-profile-category { display: grid; gap: 12px; min-width: 0; align-content: start; }
.account-layout .profile-category-title { margin: 0; color: var(--ink); font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.account-layout .profile-category-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; min-width: 0; }
.account-layout .profile-item { display: grid; align-content: start; gap: 7px; min-width: 0; }
.account-layout .profile-item:only-child, .account-layout .profile-item-wide { grid-column: 1 / -1; }
.account-layout .profile-item > label { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 7px; font-weight: 650; }
:is(.account-layout, .workspace-auth-register) .profile-required { margin-left: 7px; color: #c62e3a; font-size: 12px; font-weight: 400; }
.account-layout .profile-item > label .profile-required { margin-left: 0; }
:is(.account-layout, .workspace-auth-register) .profile-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
:is(.account-layout, .workspace-auth-register) .profile-choice legend { max-width: 100%; padding: 0; color: var(--ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
:is(.account-layout, .workspace-auth-register) .profile-choice .field-help { margin: 6px 0 0; }
:is(.account-layout, .workspace-auth-register) .profile-choice-options { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 10px; }
:is(.account-layout, .workspace-auth-register) .profile-choice-option { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; margin: 0; font-weight: 400; line-height: 1.7; cursor: pointer; }
:is(.account-layout, .workspace-auth-register) .profile-choice-option span { min-width: 0; overflow-wrap: anywhere; }
:is(.account-layout, .workspace-auth-register) .profile-choice-option input { flex: none; width: 18px; height: 18px; min-height: 18px; margin: 3px 0 0; padding: 0; border: initial; border-radius: initial; background: initial; box-shadow: none; accent-color: #409eff; }
:is(.account-layout, .workspace-auth-register) .profile-choice-option input:focus-visible { outline: 2px solid #409eff; outline-offset: 3px; }
:is(.account-layout, .workspace-auth-register) .profile-choice-option:has(input:disabled) { color: #909399; cursor: default; }
@media (max-width: 600px) { .account-layout .profile-category-items { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .account-profile-fields { grid-template-columns: minmax(0, 1fr); } }
.account-layout input:not([type="hidden"], [type="file"], [type="checkbox"], [type="radio"]),
.account-layout textarea,
.account-layout select {
  color: #606266;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font-weight: 400;
  caret-color: #409eff;
}
.account-layout input:not([type="hidden"], [type="file"], [type="checkbox"], [type="radio"])::placeholder,
.account-layout textarea::placeholder {
  color: #c0c4cc;
  opacity: 1;
}
.account-layout input:not([type="hidden"], [type="file"], [type="checkbox"], [type="radio"], [readonly]):enabled:hover,
.account-layout textarea:enabled:not([readonly]):hover,
.account-layout select:enabled:hover {
  border-color: #c0c4cc;
}
.account-layout input:not([type="hidden"], [type="file"], [type="checkbox"], [type="radio"], [readonly]):enabled:focus,
.account-layout textarea:enabled:not([readonly]):focus,
.account-layout select:enabled:focus {
  border-color: #409eff;
  outline: none;
  box-shadow: 0 0 0 2px rgb(64 158 255 / 12%);
}
.account-layout input:not([type="hidden"], [type="file"], [type="checkbox"], [type="radio"]):disabled,
.account-layout textarea:disabled,
.account-layout select:disabled {
  border-color: #e4e7ed;
}
.account-layout select:disabled { background: #f5f7fa; color: #909399; }
.account-layout input[readonly], .account-layout textarea[readonly] { border-color: #e4e7ed; background: #f5f7fa; color: #909399; }
.account-profile-form .form-columns input {
  min-height: 38px;
  border-color: #d5dfed;
  border-radius: 7px;
  color: var(--ink);
}
.account-profile-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-height: 60px;
  padding: 12px var(--account-panel-padding);
}
.account-experience-timeline + .account-profile-footer,
.account-personal-panel > .account-profile-footer { border-top: 1px solid var(--line); }
.account-save-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.account-save-indicator { display: grid; place-items: center; flex: none; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; }
.account-save-indicator .icon { width: 10px; height: 10px; }
.has-pending-changes .account-save-status { color: var(--accent-dark); }
.has-pending-changes .account-save-indicator { border: 3px solid var(--accent-soft); background: var(--accent); }
.has-pending-changes .account-save-indicator .icon { display: none; }
.account-profile-footer .btn { min-height: 37px; margin-inline-start: auto; border-radius: 7px; }
.account-profile-footer .btn:enabled { box-shadow: 0 3px 8px #235ac426; }
.account-profile-footer .btn:disabled { opacity: 1; border-color: #d8e3f6; background: #eaf1fd; color: #52688c; }
.workspace-detail-list dt { color: var(--muted); font-size: 13px; }
.workspace-detail-list dd { overflow-wrap: anywhere; font-weight: 650; }
.workspace-membership-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 17px; align-items: start; }
.membership-request h2 { margin-top: 12px; }
.membership-request p { margin: 7px 0 15px; color: var(--muted); }
.membership-request label { display: block; margin-bottom: 5px; font-weight: 650; }
.membership-request textarea { background: #f8faff; }
.workspace-detail-list { margin-top: 10px; }
.workspace-detail-list div { display: grid; grid-template-columns: minmax(78px, auto) 1fr; gap: 12px; align-items: baseline; padding: 9px 0; }
.workspace-detail-list div + div { border-top: 1px solid var(--line); }
.workspace-detail-list dd { text-align: right; }

.cloud-files-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud-workspace-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; align-items: start; }
.cloud-panel-title { padding: 19px 18px 0; }
.cloud-files-toolbar { padding: 12px 18px 14px; }
.cloud-files-toolbar-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.cloud-breadcrumbs { min-width: 0; }
.cloud-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.cloud-breadcrumbs li { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.cloud-breadcrumbs a, .cloud-breadcrumbs [aria-current] { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.cloud-breadcrumbs a:hover, .cloud-breadcrumbs [aria-current] { color: var(--accent-dark); }
.cloud-breadcrumbs .icon { width: 17px; height: 17px; }
.cloud-breadcrumb-divider { color: #697d9b; }
.cloud-layout-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.cloud-layout-switch button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
.cloud-layout-switch button[aria-pressed="true"] { color: var(--accent-dark); background: white; box-shadow: var(--shadow); }
.cloud-layout-switch .icon { width: 15px; height: 15px; }
.cloud-files-filter { display: grid; grid-template-columns: minmax(130px, 1fr) auto auto auto; gap: 7px; margin-top: 12px; }
.cloud-files-filter select, .cloud-files-search input { font-size: 14px; }
.cloud-files-search { position: relative; min-width: 0; }
.cloud-files-search .icon { position: absolute; inset: 12px auto auto 10px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.cloud-files-search input { padding-left: 34px !important; }
.cloud-filter-actions { display: flex; align-items: center; gap: 7px; }
.cloud-filter-reset { color: var(--muted); font-size: 13px; white-space: nowrap; }
.cloud-search-summary { min-width: 0; overflow-wrap: anywhere; }
.cloud-files-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cloud-updated-col { width: 137px; }
.cloud-size-col { width: 75px; }
.cloud-actions-col { width: 146px; }
.cloud-files-table th, .cloud-files-table td { padding: 10px 10px 10px 0; text-align: left; }
.cloud-files-table th:first-child, .cloud-files-table td:first-child { padding-left: 18px; }
.cloud-files-table thead { border-block: 1px solid var(--line); background: #f6f9fe; color: var(--muted); font-size: 12px; }
.cloud-files-table tbody tr + tr { border-top: 1px solid #e9eff7; }
.cloud-files-table tbody tr:hover { background: #f9fbff; }
.cloud-files-table td.cloud-files-metadata { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cloud-item-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cloud-item-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px; color: var(--accent-dark); background: var(--accent-soft); }
.cloud-item-icon.folder-icon { color: #995e10; background: #fff1d8; }
.cloud-item-icon .icon { width: 17px; height: 17px; }
.cloud-item-info { min-width: 0; }
.cloud-item-info > :is(a, strong, small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-item-info a { color: var(--ink); font-weight: 650; text-decoration: none; }
.cloud-item-info a:hover { color: var(--accent-dark); text-decoration: underline; }
.cloud-item-info strong { font-weight: 640; }
.cloud-item-info small { color: var(--muted); font-size: 11px; }
.cloud-item-info .cloud-file-mobile-meta { display: none; }
.cloud-file-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.cloud-file-row-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 34px; padding: 4px 6px; border-radius: 7px; color: var(--accent-dark); text-decoration: none; white-space: nowrap; font-size: 12px; }
.cloud-file-row-action:hover, .cloud-item-menu[open] summary { background: var(--accent-soft); }
.cloud-file-row-action .icon { width: 16px; height: 16px; }
.cloud-item-menu-content { width: min(254px, calc(100vw - 38px)); }
.cloud-menu-name { display: block; margin-bottom: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-action-form { display: grid; justify-items: start; gap: 5px; padding: 7px 0; }
.cloud-action-form + .cloud-action-form { border-top: 1px solid var(--line); }
.cloud-action-form:last-child { padding-bottom: 0; }
.cloud-action-form label { width: 100%; font-size: 13px; }
.cloud-files-empty { display: grid; min-height: 240px; place-content: center; justify-items: center; gap: 8px; padding: 20px; border-top: 1px solid var(--line); text-align: center; }
.cloud-files-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 15px; color: var(--accent); background: var(--accent-soft); }
.cloud-files-empty-icon .icon { width: 25px; height: 25px; }
.cloud-files-empty h2 { font-size: 17px; }
.cloud-files-empty p, .cloud-files-footer { color: var(--muted); font-size: 13px; }
.cloud-files-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; padding: 11px 18px; border-top: 1px solid var(--line); }
.cloud-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.cloud-files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 9px; border-top: 1px solid var(--line); margin: 0; padding: 12px 18px; list-style: none; }
.cloud-grid-item { display: grid; gap: 7px; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #f9fbff; }
.cloud-grid-item .cloud-file-row-actions { justify-content: end; }
.cloud-grid-item .cloud-item-info .cloud-file-mobile-meta { display: block; }
.cloud-file-mobile-meta span + span::before { content: " · "; }
.cloud-operation-dialog { width: min(420px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: 0 12px 45px #17325e30; }
.cloud-operation-dialog[open] { position: fixed; inset: 0; margin: auto; max-height: calc(100% - 28px); }
.cloud-operation-dialog::backdrop { background: #11284d51; }
.cloud-operation-form { display: grid; gap: 9px; padding: 20px; min-width: 0; }
.cloud-operation-form label { font-weight: 650; }
.cloud-operation-form small, .cloud-dialog-location { color: var(--muted); }
.cloud-dialog-location { margin-bottom: 5px; overflow-wrap: anywhere; }
.cloud-operation-form footer { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; margin-top: 7px; }

@media (min-width: 901px) {
  :root:has(body.has-workspace-sidebar) { scroll-padding-top: var(--workspace-topbar-height); }
  .has-workspace-sidebar .workspace-topbar { position: sticky; top: 0; flex: 0 0 auto; }
  .has-workspace-sidebar .workspace-shell { padding-block: 0; }
  .has-workspace-sidebar .workspace-sidebar {
    position: sticky;
    top: var(--workspace-topbar-height);
    display: flex;
    flex-direction: column;
    align-self: start;
    height: calc(100vh - var(--workspace-topbar-height));
    height: calc(100dvh - var(--workspace-topbar-height));
    min-height: 0;
    margin-block: 0;
  }
  .has-workspace-sidebar .workspace-sidebar nav { min-height: 0; overflow-y: auto; align-content: start; }
  .has-workspace-sidebar .workspace-content {
    padding-block: var(--workspace-shell-top-padding) var(--workspace-shell-bottom-padding);
  }
}
@media (max-width: 1220px) {
  :root { --workspace-topbar-height: 116px; }
  .workspace-topbar-inner {
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    grid-template-areas: "brand channels tools" "search search search";
    padding-bottom: 12px;
  }
  .workspace-global-search { max-width: none; }
}
@media (max-width: 900px) {
  :root { --workspace-sidebar-column: 48px; --workspace-sidebar-gap: 12px; }
  .page-account .workspace-shell { padding-left: var(--site-header-gutter); }
  .is-signed-in .workspace-shell { grid-template-columns: var(--workspace-sidebar-column) minmax(0, 1fr); align-content: start; gap: var(--workspace-sidebar-gap); padding-top: 22px; }
  .workspace-sidebar {
    position: sticky;
    top: 12px;
    align-self: start;
    width: calc(100% + var(--site-header-gutter));
    height: auto;
    min-height: 0;
    margin: 0 0 0 calc(0px - var(--site-header-gutter));
    overflow: visible;
    padding: 14px 4px;
    border: 0;
    border-right: 1px solid #e8edf4;
    border-radius: 0;
    background: #f7f9fc;
    box-shadow: none;
  }
  .workspace-sidebar nav { position: relative; top: auto; display: grid; min-height: 0; max-height: calc(100vh - 52px); max-height: calc(100dvh - 52px); align-content: start; gap: 8px; overflow-y: auto; padding: 0; overscroll-behavior: contain; }
  .workspace-sidebar-link { flex-direction: column; min-height: 68px; gap: 6px; padding: 5px 1px; border-radius: 12px; background: transparent; font-size: 11px; white-space: normal; }
  .workspace-sidebar-icon { width: 40px; height: 40px; }
  .workspace-sidebar-icon .icon { width: 21px; height: 21px; }
  .workspace-page-heading { margin-bottom: 18px; }
}
@media (max-width: 840px) {
  .workspace-topbar-inner {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-rows: minmax(54px, auto) minmax(42px, auto) auto;
    grid-template-areas: "brand tools" "channels channels" "search search";
    row-gap: 6px;
  }
  .workspace-top-channels { border-top: 1px solid #bdd5ff45; }
  .workspace-top-channel { flex: 1; min-width: 0; padding-inline: 0; }
  .workspace-top-tools > .btn, .workspace-user-menu summary { min-height: 42px; }
  .workspace-global-search { min-height: 42px; }
}
@media (max-width: 660px) {
  :root { --site-header-height: 62px; }
  .workspace-user-action, .workspace-user-points { min-height: 44px; }
  .workspace-user-action[aria-disabled="true"] { padding-inline-end: 5px; }
  .workspace-brand { gap: 8px; }
  .workspace-brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .workspace-topbar { gap: 7px; }
  .workspace-landing { grid-template-columns: 1fr; min-height: 0; }
  .workspace-landing-illustration { display: none; }
  .workspace-feature-list, .workspace-membership-layout { grid-template-columns: minmax(0, 1fr); }
  .workspace-feature-list article { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 15px; }
  .workspace-feature-list .workspace-feature-icon { grid-row: span 2; }
  .workspace-feature-list h2, .workspace-feature-list p { margin: 0; }
  .workspace-page-heading { align-items: start; flex-direction: column; gap: 11px; }
  .cloud-files-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud-files-search, .cloud-filter-actions { grid-column: 1 / -1; }
  .cloud-files-metadata { display: none; }
  .cloud-files-table colgroup .cloud-actions-col { width: 118px; }
  .cloud-files-table :is(th, td):first-child { padding-left: 10px; }
  .cloud-item-icon { width: 29px; height: 29px; }
  .cloud-item-info .cloud-file-mobile-meta { display: block; }
  .cloud-file-storage { display: none !important; }
  .cloud-file-row-action { padding-inline: 3px; }
  .cloud-files-table .cloud-item-menu-content { right: min(0px, 10px - 3vw); }
  .account-overview { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 14px; }
  .account-overview-avatar { border-inline-end: 0; padding-inline-end: 0; }
  .account-overview-info { border-block-start: 1px solid var(--line); padding-block-start: 12px; }
  .account-avatar-preview .avatar-large { width: 54px; height: 54px; font-size: 20px; }
  .account-profile-footer .btn { min-height: 44px; }
  .form-columns { grid-template-columns: minmax(0, 1fr); }
  .form-footer { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .workspace-topbar-classic .workspace-brand { gap: 7px; }
  .workspace-topbar-classic .workspace-brand strong { font-size: 17px; }
  .workspace-topbar-classic .workspace-brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .workspace-topbar-classic .workspace-brand-mark .icon { width: 19px; height: 19px; }
  .workspace-top-tools { gap: 5px; }
  .workspace-membership-link { padding-inline: 0; }
  .workspace-membership-link img { width: clamp(44px, calc(100vw - 330px), 64px); }
  .workspace-top-tools .workspace-transfer-open { width: 42px; padding-inline: 0; }
  .workspace-transfer-label { display: none; }
  .workspace-user-menu { padding-inline-start: 7px; }
  .workspace-user-menu summary { gap: 5px; }
  .workspace-user-identity { max-width: 56px; }
}
@media (max-width: 450px) {
  :root { --workspace-sidebar-column: 44px; --workspace-sidebar-gap: 10px; }
  .workspace-sidebar { padding-inline: 3px; }
  .workspace-sidebar nav { gap: 6px; }
  .workspace-sidebar-link { min-height: 64px; gap: 5px; font-size: 10px; }
  .workspace-sidebar-icon { width: 36px; height: 36px; }
  .workspace-sidebar-icon .icon { width: 19px; height: 19px; }
  .account-save-status { font-size: 12px; }
}
@media (max-width: 374px) {
  .workspace-user-identity { display: none; }
  .cloud-files-heading-actions .btn { padding-inline: 9px; }
}

/* Personal points overview, history and earning rules. */
.points-page { display: grid; gap: 22px; width: 100%; max-width: 1120px; min-width: 0; margin-inline: auto; }
.points-overview { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.points-overview > div { min-width: 0; }
.points-overview h1 { font-size: 26px; }
.points-overview p { margin-top: 12px; color: var(--muted); }
.points-balance { flex: none; max-width: 100%; text-align: right; }
.points-balance span { display: block; color: var(--muted); font-size: 13px; }
.points-balance strong { display: block; margin-top: 3px; color: var(--accent-dark); font-size: clamp(28px, 4vw, 38px); line-height: 1.35; overflow-wrap: anywhere; }
.points-page .panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.points-page .panel-title h2 { font-size: 18px; }
.points-empty { color: var(--muted); padding-block: 8px; }
.points-table-wrap { max-width: 100%; overflow-x: auto; }
.points-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; text-align: left; }
.points-table th { background: #f7f9fd; color: var(--muted); font-size: 13px; font-weight: 600; }
.points-table th, .points-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.points-earned { color: #287653; font-weight: 650; }
.points-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.points-pagination > div { display: flex; gap: 8px; }
.points-rules { margin: 18px 0 0; padding: 0; list-style: none; }
.points-rules li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.points-rules li + li { border-top: 1px solid var(--line); }
.points-rules li > div { min-width: 0; }
.points-rules strong { font-size: 15px; }
.points-rules p { margin-top: 5px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.points-rule-value { flex: none; color: var(--accent-dark); font-size: 14px; font-weight: 650; }
@media (max-width: 600px) {
  .points-page { gap: 16px; }
  .points-overview { align-items: flex-start; flex-direction: column; gap: 18px; }
  .points-balance { text-align: left; }
  .points-rules li { align-items: flex-start; gap: 14px; }
  .points-page .panel-title { flex-wrap: wrap; }
}
