/* Dokumentenportal — one stylesheet, no build step.
   Brand colour: change --primary (and --primary-*) below. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-50: #f3f2ff;
  --primary-100: #e8e6ff;
  --primary-200: #d4d0ff;
  --primary-ink: #ffffff;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #fafbfe;
  --hover: #f4f5fa;
  --track: #eceef6;
  --ink: #12131a;
  --ink-2: #3b3d4a;
  --muted: #747789;
  --line: #eceef4;
  --line-2: #e0e2ec;
  --ok: #15803d; --ok-bg: #eafaf0;
  --warn: #b45309; --warn-bg: #fff6e6;
  --danger: #e11d48; --danger-bg: #fff1f3;
  --focus: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
  --shadow-sm: 0 1px 2px rgba(18, 19, 26, .04);
  --shadow: 0 1px 2px rgba(18, 19, 26, .04), 0 10px 30px -12px rgba(49, 46, 129, .14);
  --shadow-lg: 0 30px 70px -20px rgba(30, 27, 75, .35);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --sidebar: 268px;
  --font: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 14.5px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 28px; font-weight: 750; }
h2 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
b, strong { font-weight: 650; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: middle; margin: 0 4px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
[hidden] { display: none !important; }

.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.ic-sm { width: 15px; height: 15px; }

.link-primary { color: var(--primary); font-weight: 650; font-size: 13.5px; }
.link-primary:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn { border: 0; background: none; color: var(--primary); font-weight: 650; font-size: 13.5px; cursor: pointer; padding: 6px 4px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font-weight: 650; font-size: 14px; cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.btn:hover { background: var(--hover); border-color: #d3d6e4; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary); color: var(--primary-ink); border-color: var(--primary);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--primary) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 88%, #000); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-50); border-color: transparent; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--primary-50); color: var(--primary); }

/* ---------- shell ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; width: var(--sidebar); flex: none;
  display: flex; flex-direction: column; gap: 22px; padding: 26px 18px 18px;
  background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 6px; min-width: 0; }
.logo-mark { width: 38px; height: 38px; flex: none; display: block; filter: drop-shadow(0 6px 10px rgba(79,70,229,.28)); }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-text strong { font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); font-size: 12px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }

.side-search { position: relative; display: flex; align-items: center; }
.side-search .ic { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.side-search input {
  width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); outline: none; font-weight: 550; transition: border-color .15s, box-shadow .15s;
}
.side-search input::placeholder { color: var(--muted); }
.side-search input:focus { border-color: var(--primary); box-shadow: var(--focus); }

.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 14px; border-radius: 14px;
  color: var(--ink-2); font-weight: 650; font-size: 15px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--hover); color: var(--ink); }
.nav a .ic { width: 20px; height: 20px; color: var(--muted); }
.nav a.active { background: var(--primary-50); color: var(--primary); }
.nav a.active .ic { color: var(--primary); }
.nav a span { flex: 1; }
.count {
  font-style: normal; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 650; color: var(--primary); border: 1.5px solid var(--primary-200); background: var(--surface);
}
.nav a.active .count { border-color: var(--primary); }

.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.side-card { padding: 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.side-card-head { display: flex; align-items: center; gap: 10px; }
.side-card-head strong { flex: 1; font-size: 14px; }
.side-card-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); }
.side-card-ic .ic { width: 16px; height: 16px; }
.progress { height: 7px; border-radius: 999px; background: var(--track); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6d5dfc, var(--primary)); }
.progress span.hot { background: var(--danger); }
.me { display: flex; align-items: center; gap: 6px; padding: 14px 4px 0 6px; border-top: 1px solid var(--line); }
.me-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.me-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.me-text strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-text small { color: var(--muted); font-size: 12.5px; }
.me form { margin: 0; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content { width: 100%; max-width: 1360px; margin: 0 auto; padding: 30px 40px 64px; }
.mobilebar { display: none; }
.scrim { display: none; }

/* utils: language + avatar */
.utils { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.lang a { min-width: 40px; height: 32px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.lang a:hover { color: var(--ink); }
.lang a.on { background: var(--primary); color: #fff; box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--primary) 80%, transparent); }
.lang-sm a { min-width: 34px; height: 28px; font-size: 11.5px; }

/* ---------- avatars ---------- */
.avatar {
  --h: 240; position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 750; letter-spacing: .02em;
  background: linear-gradient(140deg, hsl(var(--h) 80% 90%), hsl(calc(var(--h) + 30) 75% 84%)); color: hsl(var(--h) 45% 28%);
}
.avatar-sm { width: 30px; height: 30px; font-size: 10.5px; }
.avatar-md { width: 42px; height: 42px; font-size: 13.5px; }
.avatar-lg { width: 44px; height: 44px; font-size: 14px; }
.avatar-xl { width: 64px; height: 64px; font-size: 20px; }
.avatar.online::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; border-radius: 50%; background: #22c55e; border: 2.5px solid var(--surface); }
.avatars { display: inline-flex; align-items: center; }
.avatars .avatar { border: 2.5px solid var(--surface); margin-left: -9px; box-sizing: content-box; }
.avatars .avatar:first-child { margin-left: 0; }
.avatar-more { background: var(--primary-50); color: var(--primary); }

/* ---------- page head ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; min-height: 50px; }
.ph-left { min-width: 0; }
.ph-left p { margin-top: 6px; }
.ph-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 650; font-size: 13.5px; margin-bottom: 8px; }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 550; }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-current] { color: var(--ink-2); }

/* ---------- sections / panels ---------- */
.section { margin-bottom: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.panel.narrow { max-width: 560px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head p { margin-top: 4px; }
.panel-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.panel-body { padding: 22px; }
.panel-empty { padding: 22px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); text-align: center; background: var(--surface); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--primary-50); color: var(--primary); font-size: 12px; font-weight: 650; letter-spacing: 0; }

/* search & filter in panel head */
.search { position: relative; display: flex; align-items: center; width: 280px; max-width: 100%; margin: 0; }
.search input {
  width: 100%; height: 44px; padding: 0 44px 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); outline: none; font-weight: 550; transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--primary); box-shadow: var(--focus); }
.search input::-webkit-search-cancel-button { display: none; }
.search > .ic { position: absolute; right: 16px; color: var(--ink-2); pointer-events: none; }
.search-clear { position: absolute; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.search-clear:hover { background: var(--hover); color: var(--ink); }
.filter {
  position: relative; display: inline-flex; align-items: center; height: 44px; border-radius: 999px; margin: 0;
  background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--primary) 70%, transparent); cursor: pointer;
}
.filter .ic { position: absolute; left: 15px; pointer-events: none; }
.filter select { appearance: none; height: 100%; border: 0; background: transparent; color: #fff; font-weight: 650; padding: 0 18px 0 42px; cursor: pointer; outline: none; border-radius: 999px; max-width: 220px; }
.filter select option { color: var(--ink); }
.filter:focus-within { box-shadow: var(--focus); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.seg button { width: 38px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--primary-50); color: var(--primary); }

/* ---------- dashboard ---------- */
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.rail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.rail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }

.welcome {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.welcome-text { flex: 1; min-width: 240px; }
.welcome-text h1 { font-size: 25px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.chips span { display: inline-flex; align-items: center; gap: 6px; }
.chips .ic { color: var(--muted); }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.notice { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); font-weight: 650; font-size: 14px; margin-bottom: 24px; }
.notice span:nth-child(2) { flex: 1; }
.notice-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--warn) 14%, transparent); }
.notice-ic .ic { width: 16px; height: 16px; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat {
  --c: var(--primary); display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0;
}
.cat:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 9%, transparent); transform: translateY(-1px); }
.cat-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 11%, var(--surface)); color: var(--c); margin-bottom: 14px; }
.cat-ic .ic { width: 22px; height: 22px; }
.cat strong { font-size: 15px; }
.cat .small { white-space: nowrap; }

.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.folder-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 12px 16px 16px; border-radius: 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; cursor: pointer;
}
.folder-card:hover, .folder-card.menu-open { border-color: var(--primary-200); box-shadow: 0 0 0 4px var(--primary-50); }
.folder-ic { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); border: 1px solid var(--primary-100); }
.folder-ic .ic { width: 22px; height: 22px; }
.folder-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.folder-text .name, .folder-text strong { font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-share .muted { display: none; }
.folder-card .avatars .avatar { width: 26px; height: 26px; font-size: 9.5px; }

.donut { position: relative; width: 196px; height: 196px; margin: 6px auto 22px; }
.donut svg { width: 100%; height: 100%; transform: none; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center strong { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.legend span { flex: 1; }
.legend b { font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.acts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.acts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.acts li:first-child { border-top: 0; padding-top: 2px; }
.act-ic { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.act-ic .ic { width: 18px; height: 18px; }
.tint-indigo { background: var(--primary-50); color: var(--primary); }
.tint-rose { background: #fff1f3; color: #e11d48; }
.tint-green { background: #eafaf0; color: #16a34a; }
.tint-amber { background: #fff6e6; color: #d97706; }
.tint-sky { background: #ecf7ff; color: #0284c7; }
.tint-violet { background: #f5f0ff; color: #7c3aed; }
.tint-slate { background: #f1f3f7; color: #64748b; }
.act-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.act-text > span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.act-text b { color: var(--ink); }
.act-target { font-weight: 650; }
.acts-full li { padding: 14px 22px; }
.acts-full li:first-child { padding-top: 14px; }
.acts-full time { white-space: nowrap; }

/* simple table (dashboard recent files) */
.table { display: flex; flex-direction: column; }
.tr { display: grid; grid-template-columns: minmax(0, 1fr) 130px 180px; gap: 16px; align-items: center; padding: 12px 22px; border-top: 1px solid var(--line); transition: background .12s; }
.tr.th { border-top: 0; padding-top: 12px; padding-bottom: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 700; }
a.tr:hover { background: var(--surface-2); }
.c-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.name-wrap { display: flex; flex-direction: column; min-width: 0; }
.name { font-weight: 650; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
a.name:hover { color: var(--primary); }
.name-wrap small { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- file type badge ---------- */
.ftype {
  --c: #64748b; position: relative; width: 44px; height: 44px; flex: none; border-radius: 13px;
  display: grid; place-items: center; background: color-mix(in srgb, var(--c) 10%, var(--surface)); color: var(--c);
}
.ftype svg { width: 22px; height: 22px; margin-top: -6px; }
.ftype b { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 8px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.ftype:not(:has(svg)) b { position: static; font-size: 10px; }
.ftype-lg { width: 72px; height: 72px; border-radius: 20px; }
.ftype-lg svg { width: 34px; height: 34px; margin-top: -10px; }
.ftype-lg b { font-size: 11px; bottom: 10px; }
.ft-pdf { --c: #e11d48; } .ft-word { --c: #4f46e5; } .ft-excel { --c: #16a34a; } .ft-ppt { --c: #ea580c; }
.ft-image { --c: #d97706; } .ft-video { --c: #db2777; } .ft-audio { --c: #0891b2; } .ft-zip { --c: #57534e; } .ft-text { --c: #475569; }

/* ---------- upload card ---------- */
.upload-card {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 24px 28px; margin: 0 0 28px;
  border: 2px solid var(--primary); border-radius: 22px; background: var(--surface); cursor: pointer; text-align: center; overflow: hidden;
  box-shadow: 0 0 0 6px var(--primary-50), var(--shadow-sm); transition: box-shadow .2s, background .2s;
}
.upload-card:hover { background: var(--surface-2); box-shadow: 0 0 0 8px var(--primary-100), var(--shadow); }
.upload-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); border: 1px solid var(--primary-100); margin-bottom: 10px; }
.upload-ic .ic { width: 22px; height: 22px; }
.upload-title { font-size: 15.5px; color: var(--ink-2); }
.upload-title b { color: var(--primary); font-weight: 700; }
.upload-sub { font-size: 13px; color: var(--muted); }
.upload-art { position: absolute; right: 7%; top: 50%; width: 120px; height: 90px; transform: translateY(-50%); pointer-events: none; }
.paper { position: absolute; width: 50px; height: 62px; border-radius: 8px; background: var(--surface); border: 1.5px solid var(--line-2); box-shadow: var(--shadow); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.paper b { font-size: 10px; font-weight: 800; padding: 2px 5px; border-radius: 5px; color: #fff; }
.p1 { left: 0; top: 14px; transform: rotate(-12deg); } .p1 b { background: #4f46e5; }
.p2 { left: 36px; top: 0; z-index: 2; } .p2 b { background: #e11d48; }
.p3 { left: 72px; top: 16px; transform: rotate(11deg); } .p3 b { background: #16a34a; }
.upload-card:hover .p1 { transform: rotate(-16deg) translate(-3px, -2px); }
.upload-card:hover .p3 { transform: rotate(15deg) translate(3px, -2px); }
.upload-card:hover .p2 { transform: translateY(-4px); }
.paper { transition: transform .25s ease; }

/* ---------- items (list + grid) ---------- */
.items-head, .item { display: grid; align-items: center; gap: 16px; padding: 0 14px 0 22px; }
.cols-admin .items-head, .cols-admin .item { grid-template-columns: minmax(0, 1fr) 190px 120px 170px 48px; }
.cols-user .items-head, .cols-user .item { grid-template-columns: minmax(0, 1fr) 190px 130px 48px; }
.cols-users .items-head, .cols-users .item { grid-template-columns: minmax(0, 1fr) 210px 150px 150px 130px; }
.items-head { height: 48px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.item { min-height: 72px; border-top: 1px solid var(--line); position: relative; transition: background .12s; }
.items-head + .item { border-top: 0; }
.item:hover, .item:focus-within, .item.menu-open { background: var(--surface-2); }
.item-file { cursor: pointer; }
.c-date { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.c-act { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.c-role { display: flex; gap: 6px; flex-wrap: wrap; }
.by { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.by-name { font-size: 13.5px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-date { display: none; }
.item-off { opacity: .55; }

.items.view-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; padding: 18px; }
.view-grid .items-head { display: none; }
.view-grid .item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; min-height: 0;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.view-grid .item:hover { border-color: var(--primary-200); box-shadow: 0 0 0 4px var(--primary-50); background: var(--surface); }
.view-grid .c-name { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
.view-grid .ftype { width: 56px; height: 56px; border-radius: 16px; }
.view-grid .ftype svg { width: 26px; height: 26px; }
.view-grid .name-wrap { width: 100%; }
.view-grid .c-by, .view-grid .c-date { display: none; }
.view-grid .m-date { display: inline; }
.view-grid .c-act { position: absolute; top: 10px; right: 10px; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; background: var(--hover); color: var(--ink-2); }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-soft { background: var(--primary-50); color: var(--primary); }
.pill-primary { background: var(--primary); color: #fff; }
.pill-warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- empty ---------- */
.empty { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty .btn { margin-top: 12px; }
.empty-art { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); margin-bottom: 8px; border: 1px solid var(--primary-100); }
.empty-art .ic { width: 28px; height: 28px; }

/* ---------- dropzone overlay ---------- */
.dropzone { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 24px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(4px); }
.dropzone.on { display: grid; }
.dropzone-inner {
  width: min(560px, 100%); padding: 48px 24px; border-radius: 28px; border: 2px dashed var(--primary);
  background: var(--surface); box-shadow: 0 0 0 8px var(--primary-50), var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.dropzone-inner strong { font-size: 19px; }
.dropzone-inner span:last-child { color: var(--muted); }

/* ---------- menu ---------- */
.menu {
  position: fixed; z-index: 70; min-width: 220px; padding: 7px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: pop .12s ease-out; transform-origin: top right;
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.menu button, .menu a {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 10px;
  background: transparent; text-align: left; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.menu button:hover, .menu a:hover, .menu button:focus-visible, .menu a:focus-visible { background: var(--primary-50); color: var(--primary); box-shadow: none; }
.menu .ic { color: var(--muted); }
.menu button:hover .ic, .menu a:hover .ic { color: var(--primary); }
.menu .danger, .menu .danger .ic { color: var(--danger) !important; }
.menu .danger:hover { background: var(--danger-bg); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 80; background: rgba(18, 17, 40, .38); backdrop-filter: blur(2px); display: grid; place-items: center; padding: 20px; animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } }
.modal {
  width: min(480px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); animation: rise .18s cubic-bezier(.2,.9,.3,1.2);
}
.modal-lg { width: min(580px, 100%); }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 24px 24px 0; }
.modal-head h3 { font-size: 19px; overflow-wrap: anywhere; }
.modal-head p { color: var(--muted); margin-top: 5px; font-size: 13.5px; }
.modal-head .icon-btn { margin: -6px -8px 0 auto; }
.modal-body { padding: 20px 24px; overflow: auto; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.modal-foot .left { margin-right: auto; color: var(--muted); font-size: 13px; font-weight: 600; }

/* fields */
.stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span:first-child { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.field input, .field select {
  height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface);
  outline: none; transition: border-color .15s, box-shadow .15s; width: 100%; font-weight: 550;
}
.field input::placeholder { color: #a3a6b5; }
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: var(--focus); }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); outline: none; font-family: var(--mono); font-size: 14px; }
.input-row input:focus { border-color: var(--primary); box-shadow: var(--focus); }
.input-row .btn { height: 46px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw-toggle:hover { color: var(--primary); }
.radio-cards { display: flex; flex-direction: column; gap: 8px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.radio-card input { accent-color: var(--primary); width: 17px; height: 17px; margin: 0; }
.radio-card span { font-size: 13.5px; color: var(--ink-2); }
.radio-card strong { color: var(--ink); }

.alert { padding: 12px 15px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.alert-error { background: var(--danger-bg); color: var(--danger); }

.creds { font-family: var(--mono); font-size: 13px; background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 14px; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }

/* share dialog */
.share-tools { display: flex; align-items: center; gap: 8px; }
.share-tools .search { width: auto; flex: 1 1 auto; min-width: 0; }
.share-tools .search > .ic { right: auto; left: 15px; color: var(--muted); }
.share-tools .search input { height: 42px; padding: 0 16px 0 42px; }
.share-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; max-height: 360px; overflow-y: auto; }
.share-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.share-row:first-child { border-top: 0; }
.share-row:hover { background: var(--surface-2); }
.share-row.on { background: var(--primary-50); }
.share-row .who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.share-row .who strong { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-row .who small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-row .inherit { color: var(--ok) !important; }
.check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9ccd9; display: grid; place-items: center; flex: none; color: transparent; transition: all .12s; background: var(--surface); }
.share-row.on .check { background: var(--primary); border-color: var(--primary); color: #fff; }
.check .ic { width: 15px; height: 15px; }
.perm { flex: none; max-width: 46%; appearance: none; height: 32px; border-radius: 999px; padding: 0 30px 0 12px; font-size: 12.5px; font-weight: 650; border: 1px solid var(--primary-200); color: var(--primary); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center / 14px; cursor: pointer; }
.share-row:not(.on) .perm { visibility: hidden; }
.share-empty { padding: 28px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- upload panel ---------- */
.uploads { position: fixed; right: 22px; bottom: 22px; z-index: 65; width: min(390px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .2s; }
.uploads-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.uploads-head .ic { color: var(--primary); }
.uploads-list { max-height: 280px; overflow: auto; }
.up { display: flex; align-items: center; gap: 12px; padding: 11px 16px; }
.up .ftype { width: 36px; height: 36px; border-radius: 10px; }
.up-main { flex: 1; min-width: 0; }
.up-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-bar { height: 5px; border-radius: 999px; background: var(--track); margin-top: 7px; overflow: hidden; }
.up-bar span { display: block; height: 100%; width: 0; background: var(--primary); border-radius: inherit; transition: width .2s; }
.up-state { font-size: 12px; color: var(--muted); white-space: nowrap; font-weight: 600; }
.up.done .up-bar span { background: #16a34a; }
.up.done .up-state { color: var(--ok); }
.up.fail .up-state { color: var(--danger); }
.up.fail .up-bar span { background: var(--danger); }
.uploads-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-weight: 650; font-size: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: rise .2s; pointer-events: auto; }
.toast .ic { width: 16px; height: 16px; color: #a5b4fc; }
.toast.error { background: var(--danger); }
.toast.error .ic { color: #fff; }
.toast.hide { opacity: 0; transform: translateY(6px); transition: all .25s; }

/* ---------- viewer ---------- */
.viewer { display: flex; flex-direction: column; gap: 18px; min-height: calc(100vh - 96px); }
.viewer-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.viewer-head > .icon-btn { border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); }
.viewer-title { flex: 1; min-width: 200px; }
.viewer-title h1 { font-size: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-title p { margin-top: 3px; font-weight: 550; }
.viewer-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zoom { align-items: center; }
.zoom-val { min-width: 50px; text-align: center; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.viewer-body { flex: 1; border-radius: var(--r-lg); background: #eef0f6; border: 1px solid var(--line); overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 26px; min-height: 60vh; }
.viewer-body.no-save { -webkit-user-select: none; user-select: none; }
.pdf-pages { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.pdf-page { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 12px 30px -10px rgba(30,27,75,.22); border-radius: 6px; max-width: none; display: block; }
.page-num { font-size: 12px; color: var(--muted); margin-top: -8px; font-weight: 600; }
.viewer-img { max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: var(--shadow); align-self: center; }
.viewer-media { max-width: 100%; max-height: 80vh; border-radius: 14px; background: #000; align-self: center; }
.viewer-audio { display: flex; flex-direction: column; align-items: center; gap: 24px; align-self: center; }
.viewer-text { width: 100%; max-width: 900px; margin: 0; padding: 28px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); font: 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.viewer-state { align-self: center; margin: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink-2); padding: 40px 20px; max-width: 420px; font-weight: 600; }
.viewer-state .btn { margin-top: 8px; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--primary-100); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- auth ---------- */
body.auth { min-height: 100vh; background:
  radial-gradient(1000px 520px at 50% 115%, rgba(124, 58, 237, .30), transparent 65%),
  radial-gradient(800px 480px at 105% -10%, rgba(79, 70, 229, .16), transparent 60%),
  linear-gradient(180deg, #f8f8fe, #eef0ff); }
.auth-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 96px 20px 40px; }
.auth-card { width: min(440px, 100%); background: var(--surface); border: 1px solid rgba(255,255,255,.8); border-radius: 28px; padding: 36px 34px 28px; box-shadow: 0 30px 80px -24px rgba(49, 46, 129, .35); }
.auth-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); border: 1px solid var(--primary-100); margin-bottom: 20px; }
.auth-ic .ic { width: 22px; height: 22px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card > p { margin-bottom: 24px; }
.auth-card .alert { margin-bottom: 16px; }
.auth-card .btn-block { margin-top: 8px; }
.auth-help { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1260px) {
  .with-rail { grid-template-columns: 1fr; }
  .rail { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .cols-admin .items-head, .cols-admin .item { grid-template-columns: minmax(0, 1fr) 120px 160px 48px; }
  .cols-admin .c-by { display: none; }
  .cols-users .items-head, .cols-users .item { grid-template-columns: minmax(0, 1fr) 190px 140px 120px; }
  .cols-users .c-shares { display: none; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; z-index: 75; left: 0; transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; }
  body.nav-open .sidebar { transform: none; visibility: visible; box-shadow: var(--shadow-lg); transition: transform .22s ease; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 74; background: rgba(18,17,40,.35); }
  .mobilebar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 50; height: 60px; padding: 0 14px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .mobilebar .brand { flex: 1; padding: 0; }
  .mobilebar .logo-mark { width: 30px; height: 30px; }
  .mobilebar strong { font-size: 16px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .content { padding: 20px 16px 96px; }
  h1 { font-size: 24px; }
  .utils { display: none; }
  .page-head { margin-bottom: 18px; min-height: 0; }
  .ph-right { width: 100%; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1; padding: 0 12px; }
  .page-actions .btn:not(.btn-primary) span { display: none; }
  .page-actions .btn:not(.btn-primary) { flex: 0 0 46px; padding: 0; }
  .welcome { padding: 18px; gap: 14px; }
  .welcome .avatar-xl { width: 52px; height: 52px; font-size: 17px; }
  .welcome-text h1 { font-size: 21px; }
  .welcome-actions { width: 100%; }
  .welcome-actions .btn { flex: 1; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { padding: 14px; }
  .cat-ic { margin-bottom: 10px; width: 40px; height: 40px; }
  .rail { grid-template-columns: 1fr; }
  .folder-grid { grid-template-columns: 1fr; gap: 10px; }
  .folder-share { display: none; }
  .upload-card { padding: 22px 18px; }
  .upload-art { display: none; }
  .panel-head { padding: 16px; }
  .panel-tools { width: 100%; }
  .panel-tools .search { flex: 1; width: auto; min-width: 0; }
  .filter select { max-width: 150px; padding-right: 12px; }
  .panel-tools .seg { display: none; }
  .tr { grid-template-columns: minmax(0, 1fr); padding: 12px 16px; }
  .tr .c-date, .tr .c-share { display: none; }
  .items-head { display: none; }
  .cols-admin .item, .cols-user .item, .cols-users .item { grid-template-columns: minmax(0, 1fr) auto 40px; gap: 8px; padding: 0 8px 0 16px; }
  .item .c-date, .cols-users .c-date { display: none; }
  .m-date { display: inline; }
  .cols-admin .c-share .avatars .avatar:nth-child(n+3) { display: none; }
  .cols-admin .c-share > .muted { display: none; }
  .c-access .pill span { display: none; }
  .c-access .pill { padding: 0; width: 30px; justify-content: center; }
  .cols-users .c-role .pill-soft { display: none; }
  .cols-users .c-act .link-btn { display: none; }
  .cols-users .item { grid-template-columns: minmax(0, 1fr) auto 40px; }
  .items.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 10px; }
  .viewer { min-height: calc(100vh - 140px); }
  .viewer-body { padding: 12px; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .viewer-actions .btn span { display: none; }
  .viewer-actions .btn { width: 42px; padding: 0; }
  .modal-back { align-items: end; padding: 0; }
  .modal { width: 100%; border-radius: 24px 24px 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom); }
  .uploads { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  .auth-top { padding: 16px; }
  .auth-card { padding: 28px 22px 22px; }
}

/* keep grid/flex children from growing past the viewport on small screens */
.with-rail > *, .cats > *, .folder-grid > *, .modal { min-width: 0; }
.modal { max-width: 100%; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* folder cards also carry .item (for the ⋯ menu) — keep their card layout */
.folder-card.item { display: flex; padding: 16px 12px 16px 16px; min-height: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.folder-card.item:hover, .folder-card.item.menu-open { background: var(--surface); border-color: var(--primary-200); }
