/* fakenet Диск — Drive-like interface, own branding */
:root {
  --bg: #f8fafd;
  --surface: #ffffff;
  --surface-2: #f0f4f9;
  --surface-3: #e9eef6;
  --text: #1f1f1f;
  --text-2: #444746;
  --muted: #5f6368;
  --border: #e1e5ea;
  --border-soft: #edf0f3;
  --border-strong: #c4c7c5;
  --blue: #0b57d0;
  --blue-hover: #0842a0;
  --blue-soft: #c2e7ff;
  --blue-soft-2: #d3e3fd;
  --blue-wash: #e8f0fe;
  --red: #d93025;
  --red-soft: #fce8e6;
  --green: #188038;
  --green-soft: #e6f4ea;
  --amber: #b06000;
  --amber-soft: #fef7e0;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, .12), 0 1px 3px 1px rgba(60, 64, 67, .08);
  --shadow-2: 0 2px 6px rgba(60, 64, 67, .14), 0 1px 3px rgba(60, 64, 67, .12);
  --shadow-3: 0 8px 28px rgba(60, 64, 67, .22), 0 2px 6px rgba(60, 64, 67, .12);
  --sidebar-w: 264px;
  --radius: 16px;
  --font: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #c2e7ff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
.ic { display: inline-block; vertical-align: middle; flex: none; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c7ccd3; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- shell ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 40;
}
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 6px 40px 88px;
}

/* ---------- sidebar ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin-bottom: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  letter-spacing: -.2px;
  border-radius: 10px;
}
.brand-name { font-weight: 400; white-space: nowrap; }
.brand-name strong { font-weight: 600; letter-spacing: -.3px; }
.brand-mark { flex: none; display: block; }
.create-wrap { position: relative; margin: 16px 0 22px; }
.create-btn {
  height: 54px;
  width: 100%;
  border: 1px solid #f1f4f7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .08);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: #001d35;
  transition: box-shadow .15s, background .15s;
}
.create-btn:hover { box-shadow: 0 2px 6px rgba(60, 64, 67, .3), 0 6px 12px 4px rgba(60, 64, 67, .12); background: #fdfeff; }
.create-plus { color: var(--blue); }
.create-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 268px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  padding: 8px;
  z-index: 70;
}
.create-menu button {
  display: flex; align-items: center; gap: 12px;
  width: 100%; border: 0; background: none; text-align: left;
  padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text);
}
.create-menu button:hover { background: var(--surface-2); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 14px;
  height: 40px; padding: 0 12px; border-radius: 20px;
  text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 450;
  transition: background .12s, color .12s;
}
.nav-item .ic { color: #444746; }
.nav-item:hover { background: #eef1f5; }
.nav-item.active { background: var(--blue-soft); color: #001d35; font-weight: 500; }
.nav-item.active .ic { color: #001d35; }
.nav-sep { height: 1px; background: var(--border); margin: 12px 10px; }
.sidebar-spacer { flex: 1; min-height: 24px; }
.storage-box { padding: 4px 10px 0; }
.storage-title { font-size: 13px; font-weight: 500; color: var(--text-2); }
.storage-bar { height: 4px; border-radius: 4px; background: #e1e5ea; margin: 10px 0 6px; overflow: hidden; }
.storage-bar span { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.storage-free { font-size: 11.5px; color: var(--muted); }
.storage-btn {
  margin-top: 12px; height: 40px; border-radius: 20px;
  border: 1px solid #747775; color: var(--blue);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-size: 13px; font-weight: 500; background: transparent;
}
.storage-btn:hover { background: var(--blue-wash); }

/* ---------- topbar ---------- */
.topbar {
  height: 72px; flex: 0 0 72px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 40px 0 8px;
  position: sticky; top: 0; z-index: 35;
  background: var(--bg);
}
.icon-btn.mobile-menu { display: none; }
.burger { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.searchbar {
  flex: 1; max-width: 720px; height: 48px;
  margin-left: 6px;
  background: var(--surface-3);
  border-radius: 24px;
  display: flex; align-items: center; gap: 2px;
  padding: 0 8px 0 4px;
  color: var(--text-2);
  transition: background .15s, box-shadow .15s;
}
.searchbar:focus-within { background: #fff; box-shadow: 0 1px 6px rgba(60, 64, 67, .28); }
.search-submit {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; display: grid; place-items: center; color: var(--text-2);
}
.search-submit:hover { background: rgba(60, 64, 67, .08); }
.searchbar input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font-size: 14px; color: var(--text); padding: 0 4px;
}
.searchbar input::placeholder { color: #5f6368; }
.searchbar input::-webkit-search-cancel-button { cursor: pointer; }
.top-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text-2);
  display: inline-grid; place-items: center; text-decoration: none;
}
.icon-btn:hover { background: rgba(60, 64, 67, .08); }
.icon-btn.bordered { border: 1px solid var(--border-strong); background: #fff; }
.user-anchor { position: relative; margin-left: 6px; }
.user-chip { border: 0; background: none; padding: 3px; border-radius: 50%; display: grid; place-items: center; }
.user-chip:hover { background: rgba(60, 64, 67, .08); }
.avatar {
  display: inline-grid; place-items: center; flex: none;
  border-radius: 50%;
  background: var(--av, #0b57d0);
  color: #fff; font-weight: 600; letter-spacing: .2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.avatar-empty { background: #e3e8ef; color: var(--muted); }
.user-menu {
  position: absolute; right: 0; top: 50px; width: 270px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-3);
  padding: 8px; z-index: 80;
}
.user-menu-head { display: flex; align-items: center; gap: 12px; padding: 12px 10px 14px; border-bottom: 1px solid var(--border-soft); margin-bottom: 6px; }
.user-menu-name { font-weight: 500; }
.user-menu-login { font-size: 12px; color: var(--muted); }
.user-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-size: 13.5px; }
.user-menu a:hover { background: var(--surface-2); }
.user-menu-form { margin: 0; }
.user-menu-form button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 8px; background: none;
  text-align: left; font-size: 13.5px; color: var(--text);
}
.user-menu-form button:hover { background: var(--surface-2); }
.user-menu-sep { height: 1px; background: var(--border-soft); margin: 6px 4px; }

/* ---------- page ---------- */
.page-head { display: flex; align-items: center; gap: 8px; margin: 8px 0 24px; }
.page-head h1 { font-size: 28px; font-weight: 500; letter-spacing: -.3px; margin: 0; }
.info-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #5f6368; }
.info-dot:hover { background: var(--surface-3); }
.page-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 18px; flex-wrap: wrap; }
.page-head-row h1 { font-size: 28px; font-weight: 500; letter-spacing: -.3px; margin: 0; }
.page-subtitle { font-size: 13px; color: var(--muted); margin: 5px 0 0; }
.page-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin: 2px 0 10px; }
.breadcrumbs a { text-decoration: none; color: var(--text-2); padding: 2px 4px; border-radius: 6px; }
.breadcrumbs a:hover { background: var(--surface-3); color: var(--text); }
.breadcrumbs span { padding: 2px 0; }
.crumb-sep { color: #9aa0a6; }
.folder-title { display: flex; align-items: center; gap: 8px; }
.folder-subline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: -6px 0 10px; }
.role-pill { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); font-size: 11.5px; font-weight: 500; }
.text-link { color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 500; background: none; border: 0; padding: 4px 2px; border-radius: 6px; }
.text-link:hover { text-decoration: underline; }
.text-link.with-icon { display: inline-flex; align-items: center; gap: 6px; }
.segmented { display: inline-flex; align-items: center; border: 1px solid #747775; border-radius: 999px; height: 36px; overflow: hidden; background: #fff; }
.segmented a { width: 40px; height: 34px; display: grid; place-items: center; color: var(--text-2); text-decoration: none; }
.segmented a + a { border-left: 1px solid #747775; }
.segmented a:hover { background: #f1f3f4; }
.segmented a.active { background: var(--blue-soft); color: var(--blue); }
.section { margin: 0 0 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section-head h2 { font-size: 16px; font-weight: 500; margin: 0; letter-spacing: -.1px; }
.section-tools { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 20px; border-radius: 999px;
  border: 1px solid transparent; background: transparent;
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .15s, box-shadow .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-1); }
.btn-ghost { border-color: #747775; color: var(--blue); background: #fff; }
.btn-ghost:hover { background: var(--blue-wash); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b3261e; }
.btn-danger-text { color: var(--red); border-color: transparent; }
.btn-danger-text:hover { background: var(--red-soft); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 48px; padding: 0 26px; font-size: 15px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--blue); font-size: 13px; cursor: pointer; text-decoration: none; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--red); }

/* ---------- file icons ---------- */
.fi {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; border-radius: 6px; color: #fff;
  font-size: 8px; font-weight: 700; letter-spacing: .2px;
  width: 26px; height: 26px; overflow: hidden;
}
.fi .ic { width: 17px; height: 17px; }
.fi-pdf { background: #ea4335; }
.fi-doc { background: #4285f4; }
.fi-sheet { background: #34a853; }
.fi-slide { background: #fbbc04; color: #5c3d00; }
.fi-generic { background: #eef1f5; color: #5f6368; }
.fi-image { background: #f3e8fd; color: #7b1fa2; }
.fi-video { background: var(--blue-wash); color: #1967d2; }
.fi-audio { background: var(--red-soft); color: #c5221f; }
.fi-archive { background: var(--amber-soft); color: #8a5a00; }
.fi-code { background: var(--green-soft); color: #137333; }
.fi-text { background: #eef1f5; color: #3c4043; }
.fi-sm { width: 20px; height: 20px; font-size: 7px; border-radius: 5px; }
.fi-sm .ic { width: 14px; height: 14px; }
.fi-md { width: 26px; height: 26px; }
.fi-lg { width: 46px; height: 46px; border-radius: 10px; font-size: 11px; }
.fi-lg .ic { width: 26px; height: 26px; }
.fi-xl { width: 76px; height: 76px; border-radius: 16px; font-size: 17px; }
.fi-xl .ic { width: 42px; height: 42px; }
.row-folder-icon { color: #5f6368; display: inline-flex; }

/* ---------- folder cards ---------- */
.folder-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.folder-card {
  position: relative; display: flex; align-items: center; gap: 6px;
  background: var(--surface-2); border-radius: 12px; padding: 10px 8px 10px 14px;
  min-width: 0;
}
.folder-card:hover { background: #e9eef6; }
.folder-card-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; }
.folder-card-icon { color: #5f6368; display: flex; }
.folder-card-text { min-width: 0; display: flex; flex-direction: column; }
.folder-card-name { font-size: 14px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-card-sub { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.folder-card .row-icon-btn { opacity: .55; }
.folder-card .row-menu { top: 44px; right: 8px; }
.row-icon-btn {
  width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%;
  background: transparent; color: var(--text-2);
  display: inline-grid; place-items: center; text-decoration: none;
}
.row-icon-btn:hover { background: rgba(60, 64, 67, .1); }
.row-icon-btn.danger:hover { background: var(--red-soft); color: var(--red); }
.mini-empty { padding: 22px; border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- onboarding ---------- */
.onboarding {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 38px 42px; display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px; align-items: center; box-shadow: var(--shadow-1);
}
.onboarding-art { display: grid; place-items: center; min-height: 220px; }
.onboarding-folders { position: relative; width: 250px; height: 190px; }
.onboarding-folders::before {
  content: ""; position: absolute; inset: 8px 14px 18px;
  background: radial-gradient(circle at 30% 30%, #e8f0fe, #f8fafd 70%);
  border-radius: 50%;
}
.ob-folder { position: absolute; color: #aebfd4; filter: drop-shadow(0 8px 14px rgba(60, 64, 67, .14)); }
.ob-f1 { left: 30px; bottom: 34px; color: #c7d7ea; transform: rotate(-8deg); }
.ob-f2 { right: 34px; top: 24px; color: #8fb3e0; }
.ob-file { position: absolute; left: 108px; top: 52px; background: #fff; border-radius: 10px; width: 60px; height: 72px; display: grid; place-items: center; color: #5f6368; box-shadow: var(--shadow-2); }
.onboarding h2 { font-size: 23px; font-weight: 500; letter-spacing: -.3px; margin: 0 0 10px; }
.onboarding p { color: var(--text-2); font-size: 14px; line-height: 1.6; margin: 0 0 20px; max-width: 560px; }
.onboarding-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- table ---------- */
.table-wrap { width: 100%; overflow-x: auto; margin: 0 0 8px; }
.browser-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.browser-table th {
  height: 42px; padding: 0 8px; text-align: left;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.browser-table th.col-name { width: auto; }
.browser-table th.col-owner { width: 190px; }
.browser-table th.col-date { width: 150px; }
.browser-table th.col-size { width: 118px; }
.browser-table th.col-menu { width: 46px; }
.browser-table th.col-actions { width: 250px; }
.browser-table td { height: 52px; padding: 0 8px; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; color: var(--text-2); }
.browser-row { cursor: pointer; }
.browser-row:hover td { background: #f5f8fc; }
.browser-table td.col-size { white-space: nowrap; color: var(--text-2); }
.browser-table td.col-date { white-space: nowrap; }
.browser-table td.col-menu { position: relative; }
.th-sort { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.th-sort:hover { color: var(--text); }
.sort-arrow { transition: transform .15s; }
.sort-arrow.desc { transform: rotate(180deg); }
.name-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.name-link { color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.browser-row:hover .name-link { color: var(--blue); }
.muted-name { color: #5f6368; }
.name-cell .fi, .name-cell .row-folder-icon { flex: none; }
.star-on { color: #f9ab00; display: inline-flex; }
.shared-mark { color: #5f6368; display: inline-flex; opacity: .75; }
.owner-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.owner-cell > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-row .row-icon-btn, .browser-row .col-menu > .row-icon-btn { opacity: 0; transition: opacity .12s; }
.browser-row:hover .row-icon-btn, .browser-row:focus-within .row-icon-btn { opacity: 1; }
.public-page .browser-row .row-icon-btn { opacity: 1; }
.row-menu {
  position: absolute; right: 6px; top: 46px; z-index: 60;
  min-width: 230px; background: #fff; border-radius: 10px;
  box-shadow: var(--shadow-3); padding: 6px; display: none;
}
.row-menu.open { display: block; }
.row-menu a, .row-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border: 0; border-radius: 7px; background: none;
  text-align: left; text-decoration: none; font-size: 13.5px; color: var(--text);
  white-space: nowrap;
}
.row-menu a:hover, .row-menu button:hover { background: var(--surface-2); }
.row-menu .danger { color: var(--red); }
.row-menu .danger:hover { background: var(--red-soft); }
.menu-sep { height: 1px; background: var(--border-soft); margin: 5px 3px; }
.empty-state { padding: 64px 20px 48px; text-align: center; }
.empty-icon { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: #7c8a9a; }
.empty-state h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.empty-state p { color: var(--muted); font-size: 13.5px; margin: 0 auto 22px; max-width: 430px; }
.empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.drop-hint { margin: 26px auto 0; max-width: 560px; border: 1px dashed var(--border-strong); border-radius: 12px; padding: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12.5px; }

/* ---------- grid ---------- */
.grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 14px; }
.grid-card { position: relative; background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 10px; transition: box-shadow .15s, border-color .15s; }
.grid-card:hover { box-shadow: var(--shadow-2); border-color: transparent; }
.grid-link { display: block; text-decoration: none; }
.grid-thumb {
  height: 132px; border-radius: 8px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 10px;
}
.grid-thumb img { width: 100%; height: 100%; object-fit: cover; }
.grid-folder { color: #8296ab; }
.grid-name { font-size: 13.5px; font-weight: 500; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.grid-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid-more { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-1); display: grid; place-items: center; color: var(--text-2); opacity: 0; transition: opacity .12s; }
.grid-card:hover .grid-more, .grid-card:focus-within .grid-more { opacity: 1; }
.grid-card .row-menu { top: 50px; right: 10px; }
.grid-card .fi-xl { box-shadow: 0 2px 8px rgba(60, 64, 67, .12); }

/* ---------- shared / trash ---------- */
.shared-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.shared-row { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--border-soft); text-decoration: none; }
.shared-row:hover { background: #f5f8fc; }
.shared-icon { width: 34px; display: flex; justify-content: center; color: #5f6368; }
.shared-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shared-name { font-size: 14px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-meta { font-size: 12px; color: var(--muted); }
.shared-owner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); width: 190px; }
.shared-date { width: 120px; color: var(--muted); font-size: 13px; }
.shared-arrow { color: #9aa0a6; }
.trash-meta { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.trash-actions { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }

/* ---------- file preview ---------- */
.file-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 4px 0 18px; flex-wrap: wrap; }
.file-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.file-title h1 { font-size: 24px; font-weight: 500; letter-spacing: -.3px; margin: 0; overflow-wrap: anywhere; }
.file-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-wrap { position: relative; }
.menu-wrap .row-menu { top: 48px; right: 0; }
.file-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.preview-panel {
  background: var(--surface-2); border: 1px solid #e3e6ea; border-radius: 16px;
  min-height: 440px; max-height: calc(100vh - 210px); overflow: auto;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.preview-panel > img { max-width: 100%; max-height: calc(100vh - 230px); object-fit: contain; display: block; }
.preview-panel > video { max-width: 100%; max-height: calc(100vh - 230px); background: #000; }
.preview-panel iframe { width: 100%; height: calc(100vh - 212px); min-height: 520px; border: 0; background: #fff; }
.preview-text { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; background: #fff; overflow: hidden; }
.text-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); background: #fbfcfe; flex: none; }
.text-preview { margin: 0; padding: 18px 20px 26px; font: 12.5px/1.6 "Cascadia Mono", "Consolas", ui-monospace, monospace; color: #24292f; white-space: pre-wrap; overflow: auto; max-height: calc(100vh - 260px); }
.audio-preview { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 30px; }
.audio-icon { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: #c5221f; }
.audio-preview audio { width: min(460px, 80vw); }
.no-preview { padding: 44px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.no-preview h2 { font-size: 18px; font-weight: 500; margin: 8px 0 0; }
.no-preview p { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
.file-details { display: flex; flex-direction: column; gap: 12px; }
.detail-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.detail-card h2 { font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.meta-list { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.meta-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.meta-list dt { color: var(--muted); font-size: 12.5px; flex: none; }
.meta-list dd { margin: 0; font-size: 12.5px; text-align: right; overflow-wrap: anywhere; }
.meta-list.compact { gap: 10px; }
.meta-list.compact > div { padding-bottom: 9px; border-bottom: 1px solid var(--border-soft); }
.meta-list.compact > div:last-child { border-bottom: 0; padding-bottom: 0; }
.owner-inline { display: flex; align-items: center; gap: 7px; justify-content: flex-end; }
.share-mini { display: flex; flex-direction: column; gap: 8px; }
.share-mini-link code { display: block; font-size: 11.5px; background: var(--surface-2); border-radius: 7px; padding: 8px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-mini-actions { display: flex; align-items: center; gap: 4px; }
.version-mini-list { display: flex; flex-direction: column; gap: 12px; }
.version-mini { border-bottom: 1px solid var(--border-soft); padding-bottom: 10px; font-size: 12px; }
.version-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.version-mini-top { display: flex; justify-content: space-between; gap: 8px; }
.version-mini-meta { color: var(--muted); font-size: 11.5px; }
.version-note { color: var(--text-2); font-size: 11.5px; font-style: italic; margin-top: 2px; }
.version-mini .link-btn { font-size: 12px; margin-top: 4px; display: inline-block; }

/* ---------- panels / stats ---------- */
.panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { font-size: 16px; font-weight: 500; margin: 0; letter-spacing: -.1px; }
.panel-head.sub { margin-top: 26px; }
.panel-sep { height: 1px; background: var(--border-soft); margin: 18px 0; }
.stat-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; }
.stat-label { color: var(--muted); font-size: 12.5px; }
.stat-value { font-size: 25px; font-weight: 500; letter-spacing: -.5px; margin: 6px 0 2px; }
.stat-sub { font-size: 12px; color: var(--muted); }
.bar { height: 5px; border-radius: 4px; background: #e1e5ea; overflow: hidden; margin: 12px 0 0; }
.bar.big { height: 7px; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kind-bars { display: flex; flex-direction: column; gap: 10px; }
.kind-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 82px; align-items: center; gap: 10px; font-size: 12.5px; }
.kind-name { color: var(--text-2); }
.kind-bar { height: 7px; background: #eef1f5; border-radius: 5px; overflow: hidden; }
.kind-bar i { display: block; height: 100%; background: var(--blue); border-radius: 5px; }
.kind-size { text-align: right; color: var(--muted); }
.kind-bar .kb-image { background: #9c27b0; }
.kind-bar .kb-video { background: #1967d2; }
.kind-bar .kb-audio { background: #c5221f; }
.kind-bar .kb-pdf { background: #ea4335; }
.kind-bar .kb-doc { background: #4285f4; }
.kind-bar .kb-sheet { background: #34a853; }
.kind-bar .kb-slide { background: #fbbc04; }
.kind-bar .kb-archive { background: #b06000; }
.largest-list { display: flex; flex-direction: column; }
.largest-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); text-decoration: none; }
.largest-row:hover { background: #f5f8fc; }
.largest-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.largest-size { color: var(--muted); font-size: 12px; }
.secure-note { font-size: 11.5px; color: var(--muted); background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin-top: 14px; line-height: 1.45; }
.notice { background: var(--amber-soft); border-radius: 10px; padding: 11px 13px; font-size: 12px; color: #6b4c00; margin-top: 14px; line-height: 1.5; }
.backup-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: 12.5px; }
.backup-summary.vertical { grid-template-columns: 1fr; }
.backup-summary > div { display: flex; flex-direction: column; gap: 2px; }
.backup-summary .muted { font-size: 11.5px; }
.backup-summary code { font-size: 11px; color: var(--text-2); overflow-wrap: anywhere; }
.mini-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.mini-table th { text-align: left; font-size: 11.5px; font-weight: 500; color: var(--muted); padding: 8px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.mini-table td { padding: 9px 8px; border-bottom: 1px solid var(--border-soft); font-size: 12px; color: var(--text-2); }
.mini-table tr:last-child td { border-bottom: 0; }
.ellipsis { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; background: var(--surface-2); color: var(--text-2); }
.status-ok { background: var(--green-soft); color: var(--green); }
.status-running { background: var(--blue-wash); color: var(--blue); }
.status-failed { background: var(--red-soft); color: var(--red); }

/* ---------- settings ---------- */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.account-name { font-size: 17px; font-weight: 500; }
.stack-form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 12px; color: var(--muted); }
.field input, .field select {
  height: 42px; border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 0 12px; background: #fff; outline: 0; font-size: 13.5px;
}
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.form-actions { display: flex; justify-content: flex-end; }
.form-title { font-size: 13px; font-weight: 500; }
.form-note { font-size: 11.5px; color: var(--muted); }
.field-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.copy-line { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 8px; padding: 4px 4px 4px 10px; }
.copy-line code { flex: 1; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-form { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 180px; height: 40px; border: 1px solid var(--border-strong); border-radius: 8px; padding: 0 12px; }
.token-table td code { font-size: 11px; }
.app-footnote { color: var(--muted); font-size: 11.5px; text-align: center; padding: 20px 0 0; }
.form-error { color: var(--red); font-size: 12.5px; margin-top: 8px; }

/* ---------- help ---------- */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help-panel h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 500; margin: 0 0 10px; }
.help-panel p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin: 0 0 10px; }
.help-panel p:last-child { margin-bottom: 0; }
.help-list { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.7; }
.code-block { background: #f4f6f9; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; overflow-x: auto; margin: 10px 0; }
.code-block pre { margin: 0; font: 12px/1.55 "Cascadia Mono", Consolas, ui-monospace, monospace; color: #2b3138; }
code { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: .93em; }

/* ---------- dialogs ---------- */
.dlg {
  border: 0; border-radius: 24px; padding: 0; width: 580px; max-width: calc(100vw - 28px);
  box-shadow: var(--shadow-3); color: var(--text);
}
.dlg::backdrop { background: rgba(32, 33, 36, .4); }
.dlg-sm { width: 430px; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 8px 24px; }
.dlg-head h2 { font-size: 20px; font-weight: 500; margin: 0; letter-spacing: -.2px; }
.dlg-body { padding: 8px 24px 24px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.share-object { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface-2); border-radius: 10px; margin-bottom: 14px; }
.share-object strong { font-size: 13.5px; overflow hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-link-block { display: flex; flex-direction: column; gap: 8px; }
.share-link-line { display: flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 3px 4px 3px 12px; }
.share-link-icon { color: var(--muted); display: flex; }
.share-link-line input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 12.5px; height: 36px; }
.share-meta { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.share-meta b { letter-spacing: 1px; color: var(--text); }
.share-hint { font-size: 11.5px; color: var(--muted); }
#share-create { align-self: flex-start; margin-top: 4px; }
.share-sep { height: 1px; background: var(--border); margin: 18px 0; }
.share-access-title { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.share-perms { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.perm-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.perm-row .avatar { flex: none; }
.perm-main { flex: 1; min-width: 0; }
.perm-name { font-size: 13px; }
.perm-login { font-size: 11.5px; color: var(--muted); }
.perm-row select { height: 32px; border: 1px solid var(--border-strong); border-radius: 7px; background: #fff; font-size: 12px; padding: 0 6px; }
.share-add { display: flex; gap: 6px; flex-wrap: wrap; }
.share-add input { flex: 1; min-width: 150px; height: 38px; border: 1px solid var(--border-strong); border-radius: 8px; padding: 0 10px; font-size: 13px; }
.share-add select { height: 38px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; padding: 0 8px; font-size: 12.5px; }
.move-list { max-height: 330px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; padding: 6px; }
.move-item { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: none; text-align: left; padding: 9px 10px; border-radius: 8px; font-size: 13px; }
.move-item:hover { background: var(--surface-2); }
.move-item.selected { background: var(--blue-wash); color: var(--blue); }
.move-item .path { color: var(--muted); font-size: 11.5px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
.versions-file { font-size: 13px; font-weight: 500; padding: 0 0 10px; border-bottom: 1px solid var(--border-soft); }
.versions-list { display: flex; flex-direction: column; max-height: 400px; overflow-y: auto; }
.version-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.version-num { width: 128px; font-size: 12.5px; font-weight: 500; flex: none; }
.version-info { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.version-info b { color: var(--text-2); font-weight: 400; display: block; }
.version-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; align-items: center; min-width: 108px; }
.versions-foot { margin-top: 14px; }
.token-line { display: flex; gap: 8px; align-items: center; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin: 12px 0 6px; }
.token-line code { flex: 1; word-break: break-all; font-size: 11.5px; }
.form-error { color: var(--red); }

/* ---------- toast / upload / drop ---------- */
.toast-stack { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; z-index: 120; }
.toast { background: #323232; color: #fff; border-radius: 8px; padding: 12px 16px; font-size: 13px; box-shadow: var(--shadow-2); max-width: 380px; animation: toast-in .18s ease-out; }
.toast.error { background: #b3261e; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.upload-panel { position: fixed; right: 22px; bottom: 22px; width: 370px; max-width: calc(100vw - 24px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-3); z-index: 110; overflow: hidden; }
.upload-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--border); }
.upload-panel-head strong { font-size: 13.5px; font-weight: 500; display: block; }
.upload-panel-head .muted { font-size: 11.5px; }
.upload-list { max-height: 260px; overflow-y: auto; padding: 6px 0; }
.upload-item { padding: 9px 16px; }
.upload-name { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.upload-name span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-progress { height: 4px; background: var(--surface-3); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.upload-progress i { display: block; height: 100%; background: var(--blue); width: 0; transition: width .15s; }
.upload-item.error .upload-progress i { background: var(--red); }
.drop-overlay { position: fixed; inset: 0; background: rgba(240, 244, 249, .82); backdrop-filter: blur(2px); z-index: 105; display: grid; place-items: center; }
.drop-card { background: #fff; border: 2px dashed var(--blue); border-radius: 20px; padding: 38px 54px; color: var(--blue); display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: var(--shadow-3); text-align: center; }
.drop-card strong { font-size: 18px; font-weight: 500; }
.drop-card span { font-size: 12.5px; color: var(--muted); }
.scrim { position: fixed; inset: 0; background: rgba(32, 33, 36, .32); z-index: 90; }

/* ---------- public ---------- */
.public-page { background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.public-topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-bottom: 1px solid #e8eaed; background: #fff; position: sticky; top: 0; z-index: 30; }
.public-brand { padding: 0; margin: 0; font-size: 18px; }
.public-brand .brand-mark { width: 34px; height: 34px; }
.public-top-actions { display: flex; align-items: center; gap: 8px; }
.public-login { min-height: 42px; padding: 0 22px; }
.public-content { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 36px 24px 60px; }
.public-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.public-head h1 { font-size: 30px; font-weight: 400; letter-spacing: -.4px; margin: 0 0 4px; overflow-wrap: anywhere; }
.public-subline { color: var(--muted); font-size: 13px; margin: 0; }
.public-actions { display: flex; align-items: center; gap: 14px; }
.public-crumbs { margin: 0 0 14px; font-size: 13px; }
.public-file-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 6px 0 22px; flex-wrap: wrap; }
.public-file-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.public-file-title h1 { font-size: 26px; font-weight: 500; margin: 0; letter-spacing: -.3px; overflow-wrap: anywhere; }
.public-file-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.public-detail { display: flex; flex-direction: column; gap: 12px; }
.public-detail-card { border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.public-detail-card h2 { font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.public-detail-card .meta-list { margin-bottom: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .content { padding-right: 28px; padding-left: 28px; }
  .topbar { padding-right: 28px; }
  .stat-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .stat-card.stat-main { grid-column: span 3; }
}
@media (max-width: 1000px) {
  :root { --sidebar-w: 244px; }
  .folder-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .browser-table th.col-owner { width: 150px; }
  .shared-date { display: none; }
}
@media (max-width: 900px) {
  .sidebar {
    position: fixed; left: 0; top: 0; width: 282px; flex-basis: 282px;
    background: var(--bg); transform: translateX(-102%);
    transition: transform .2s ease; box-shadow: var(--shadow-3);
    padding-top: 18px; z-index: 100;
  }
  body.sidebar-open .sidebar { transform: none; }
  .icon-btn.mobile-menu { display: inline-grid; }
  .topbar { padding: 0 12px; gap: 4px; height: 64px; flex-basis: 64px; }
  .content { padding: 4px 18px 70px; }
  .searchbar { height: 44px; margin-left: 0; }
  .top-actions { gap: 0; }
  .top-hide-sm { display: none !important; }
  .browser-table th.col-owner, .browser-table td.col-owner { display: none; }
  .file-layout { grid-template-columns: 1fr; }
  .preview-panel { max-height: none; }
  .public-file-layout { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card.stat-main { grid-column: span 2; }
  .settings-grid, .help-grid, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-head h1, .page-head-row h1 { font-size: 24px; }
  .folder-cards { grid-template-columns: 1fr; }
  .onboarding { grid-template-columns: 1fr; padding: 26px; gap: 10px; }
  .onboarding-art { min-height: 160px; }
  .onboarding-folders { transform: scale(.82); }
  .grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser-table th.col-date, .browser-table td.col-date { display: none; }
  .browser-table th.col-size, .browser-table td.col-size { width: 88px; }
  .file-title h1 { font-size: 20px; }
  .file-actions { width: 100%; }
  .public-content { padding: 24px 16px 40px; }
  .public-head h1 { font-size: 25px; }
  .backup-summary { grid-template-columns: 1fr; }
  .kind-row { grid-template-columns: 96px minmax(0, 1fr) 72px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card.stat-main { grid-column: span 2; }
  .shared-owner { display: none; }
}
@media (max-width: 560px) {
  .content { padding-left: 12px; padding-right: 12px; }
  .brand-name { font-size: 18px; }
  .page-actions { gap: 8px; }
  .segmented a { width: 36px; }
  .browser-table th.col-size, .browser-table td.col-size { display: none; }
  .grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-thumb { height: 112px; }
  .file-layout { gap: 12px; }
  .preview-panel { min-height: 300px; border-radius: 12px; }
  .preview-panel iframe { min-height: 420px; height: 62vh; }
  .text-preview { max-height: 60vh; }
  .upload-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .toast-stack { right: 12px; bottom: 12px; left: 12px; }
  .toast { max-width: none; }
  .public-topbar { padding: 0 12px; }
  .public-brand .brand-name { font-size: 17px; }
  .public-login { min-height: 38px; padding: 0 16px; font-size: 13px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card.stat-main { grid-column: auto; }
  .stat-value { font-size: 21px; }
  .trash-actions .btn span { display: none; }
  .row-icon-btn { opacity: 1; }
  .browser-row .row-icon-btn { opacity: 1; }
  .shared-list { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
