:root {
  --green-950: #063d27;
  --green-900: #075332;
  --green-800: #086f3f;
  --green-700: #07864b;
  --green-500: #1fac66;
  --lime: #d7ff55;
  --paper: #f4f5f1;
  --white: #fff;
  --ink: #142019;
  --muted: #6a766f;
  --line: #dde3dc;
  --warning: #f4a524;
  --shadow: 0 18px 50px rgba(4, 38, 22, .14);
  --radius: 6px;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(31, 172, 102, .28); outline-offset: 2px; }
.is-hidden { display: none !important; }
.eyebrow { margin: 0 0 8px; color: var(--green-700); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .16em; }
.eyebrow--light { color: var(--lime); }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(430px, .7fr); background: #eef0eb; }
.login-photo { position: relative; overflow: hidden; min-height: 650px; background: linear-gradient(135deg, rgba(2, 43, 25, .94), rgba(5, 83, 48, .45)), url('https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=1800&q=88') center/cover; }
.login-photo::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,.04) 121px 122px); }
.login-photo::after { content: "SPORTS"; position: absolute; right: -40px; bottom: -120px; color: rgba(255,255,255,.045); font-size: min(28vw, 380px); line-height: 1; font-weight: 900; letter-spacing: -.1em; }
.login-photo__content { position: absolute; z-index: 1; left: clamp(36px, 7vw, 108px); bottom: clamp(50px, 9vh, 100px); color: white; }
.edition-mark { display: inline-block; margin-bottom: 24px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.login-photo h1 { max-width: 700px; margin: 0; font-size: clamp(54px, 7vw, 102px); line-height: .99; letter-spacing: -.07em; }
.login-photo p { margin: 28px 0 0; font-size: 17px; letter-spacing: .08em; color: rgba(255,255,255,.78); }
.login-panel { display: grid; place-items: center; padding: 50px clamp(32px, 6vw, 92px); }
.login-card { width: min(100%, 420px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; border: 0; background: none; padding: 0; color: inherit; text-align: left; }
.brand-shield { width: 40px; height: 46px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 7px 7px 15px 15px; color: var(--lime); background: var(--green-800); font-size: 12px; font-weight: 900; letter-spacing: -.08em; box-shadow: inset 0 0 0 3px var(--green-800), inset 0 0 0 4px rgba(255,255,255,.35); }
.brand-lockup strong, .brand-lockup small, .brand-lockup span { display: block; }
.brand-lockup strong { font-size: 17px; line-height: 1.1; letter-spacing: .04em; }
.brand-lockup small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.brand-lockup--login { margin-bottom: 72px; }
.brand-lockup--login .brand-shield { width: 50px; height: 58px; font-size: 14px; }
.brand-lockup--login strong { font-size: 22px; }
.brand-lockup--login span { margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.login-copy { margin-bottom: 34px; }
.login-copy h2 { margin: 0 0 10px; font-size: 38px; letter-spacing: -.05em; }
.login-copy p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d7ded7; border-radius: 4px; padding: 12px 13px; color: var(--ink); background: white; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(7, 134, 75, .1); outline: none; }
.field small { margin-top: -2px; color: var(--muted); font-size: 10px; }
.password-wrap { display: flex; align-items: center; border: 1px solid #d7ded7; border-radius: 4px; background: white; }
.password-wrap:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(7, 134, 75, .1); }
.password-wrap input { border: 0; box-shadow: none !important; }
.icon-button { border: 0; background: transparent; width: 44px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 17px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; font-size: 13px; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: white; background: var(--green-800); box-shadow: 0 8px 22px rgba(8, 111, 63, .18); }
.button--primary:hover { background: var(--green-700); }
.button--light { color: var(--green-950); background: var(--lime); }
.button--ghost { border-color: var(--line); background: white; }
.button--wide { width: 100%; justify-content: space-between; min-height: 50px; padding-inline: 20px; }
.form-error { min-height: 18px; margin: 10px 0 0; color: #b52a2a; font-size: 12px; }
.login-note { display: flex; gap: 10px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }

.topbar { position: sticky; z-index: 50; top: 0; height: 72px; display: flex; align-items: center; gap: 34px; padding: 0 clamp(20px, 4vw, 64px); color: white; background: var(--green-950); border-bottom: 1px solid rgba(255,255,255,.1); }
.topbar .brand-lockup { min-width: 210px; color: white; }
.topbar .brand-lockup small { color: rgba(255,255,255,.58); }
.main-nav { align-self: stretch; display: flex; align-items: stretch; gap: 4px; }
.nav-link { position: relative; border: 0; padding: 0 15px; color: rgba(255,255,255,.65); background: transparent; font-size: 13px; }
.nav-link:hover, .nav-link.is-active { color: white; }
.nav-link.is-active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; background: var(--lime); }
.top-actions { position: relative; margin-left: auto; display: flex; align-items: center; gap: 14px; }
.user-chip { display: flex; align-items: center; gap: 8px; border: 0; color: white; background: transparent; text-align: left; }
.avatar { width: 34px; height: 34px; display: grid !important; place-items: center; border-radius: 50%; color: var(--green-950); background: #d7e9d9; font-weight: 800; }
.user-meta strong { font-size: 12px; }
.user-meta small { margin-top: 2px; color: rgba(255,255,255,.5); font-size: 9px; }
.dropdown { position: absolute; right: 0; top: calc(100% + 15px); min-width: 130px; padding: 7px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); border-radius: 5px; }
.dropdown button { width: 100%; border: 0; padding: 10px 12px; text-align: left; background: transparent; border-radius: 3px; }
.dropdown button:hover { background: var(--paper); }

.search-hero { position: relative; overflow: hidden; color: white; background: linear-gradient(120deg, var(--green-950), #087445); }
.search-hero::after { content: "SPORTS"; position: absolute; right: -2vw; top: -8vw; color: rgba(255,255,255,.035); font-size: 21vw; line-height: 1; font-weight: 900; letter-spacing: -.1em; }
.search-hero__texture { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(115deg, transparent 70%, rgba(255,255,255,.12) 70.2%, transparent 70.5%), repeating-linear-gradient(0deg, transparent 0 44px, rgba(255,255,255,.08) 45px 46px); background-size: 100% 100%, 100% 46px; }
.search-hero__inner { position: relative; z-index: 1; max-width: 1060px; margin: auto; padding: 72px 24px 68px; text-align: center; }
.search-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.06em; }
.mobile-break { display: none; }
.hero-sub { max-width: 700px; margin: 20px auto 30px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.search-box { height: 60px; max-width: 820px; margin: auto; display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; background: white; border-radius: var(--radius); box-shadow: 0 16px 50px rgba(0,0,0,.2); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #929c96; }
.search-icon { color: var(--green-700); font-size: 25px; transform: rotate(-20deg); }
.search-hint { padding: 4px 7px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 10px; }
.search-box button { align-self: stretch; min-width: 90px; border: 0; border-radius: 4px; color: white; background: var(--green-800); font-weight: 750; }
.hot-searches { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 17px; color: rgba(255,255,255,.5); font-size: 11px; }
.hot-searches button { border: 0; padding: 0; color: rgba(255,255,255,.78); background: none; }
.hot-searches button:hover { color: var(--lime); }

.content-shell { max-width: 1520px; margin: auto; padding: 0 clamp(20px, 4vw, 64px) 64px; }
.stats-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -22px; border: 1px solid var(--line); background: white; box-shadow: 0 10px 30px rgba(17, 50, 32, .07); }
.stats-row article { min-height: 94px; display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-right: 1px solid var(--line); }
.stats-row article:last-child { border-right: 0; }
.stat-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--green-800); background: #ecf6ee; font-size: 18px; }
.stats-row strong { display: block; font-size: 25px; letter-spacing: -.04em; }
.stats-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.stats-row em { margin-left: auto; align-self: flex-start; color: #a2aaa5; font-style: normal; font-size: 10px; }
.library-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 42px; margin-top: 52px; }
.filter-panel { min-width: 0; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 2px solid var(--ink); }
.filter-heading h2 { margin: 0; font-size: 15px; }
.filter-heading button { border: 0; color: var(--green-700); background: none; font-size: 10px; }
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 11px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.filter-list { display: grid; gap: 2px; }
.filter-item { display: flex; align-items: center; justify-content: space-between; border: 0; padding: 9px 10px; border-radius: 3px; color: #536058; background: transparent; text-align: left; font-size: 12px; }
.filter-item span { display: flex; align-items: center; gap: 10px; }
.filter-item:hover { background: #eaeee9; }
.filter-item.is-active { color: var(--green-900); background: #e3eee5; font-weight: 750; }
.filter-item b { min-width: 24px; padding: 2px 5px; border-radius: 10px; color: white; background: var(--green-800); text-align: center; font-size: 9px; }
.filter-dot { width: 5px; height: 5px; border-radius: 50%; background: #a5aea8; }
.filter-item.is-active .filter-dot { background: var(--green-700); box-shadow: 0 0 0 3px rgba(7,134,75,.14); }
.filter-group select { width: 100%; border: 1px solid var(--line); padding: 10px; color: var(--ink); background: white; border-radius: 3px; font-size: 11px; }
.alphabet-filter { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.alphabet-filter button { min-width: 0; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 2px; padding: 0; color: #657269; background: white; font-size: 9px; font-weight: 750; }
.alphabet-filter button:hover:not(:disabled) { border-color: var(--green-700); color: var(--green-800); }
.alphabet-filter button.is-active { border-color: var(--green-800); color: white; background: var(--green-800); }
.alphabet-filter button:disabled { cursor: default; color: #c5ccc6; background: #f1f3f0; }
.alphabet-filter .alphabet-all { grid-column: span 2; aspect-ratio: auto; }
.person-directory { display: grid; gap: 3px; max-height: 204px; margin-top: 10px; overflow-y: auto; scrollbar-width: thin; }
.person-directory button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border: 0; border-radius: 3px; padding: 8px 9px; color: #536058; background: transparent; text-align: left; font-size: 10px; }
.person-directory button:hover { background: #edf1ec; }
.person-directory button.is-active { color: var(--green-900); background: #e3eee5; font-weight: 750; }
.person-directory button b { color: #8b968e; font-size: 8px; font-weight: 600; }
.person-directory-empty { padding: 12px 5px; color: var(--muted); text-align: center; font-size: 9px; }
.date-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-filter label { display: grid; gap: 5px; min-width: 0; }
.date-filter label span { color: var(--muted); font-size: 8px; }
.date-filter input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 3px; padding: 8px 5px; color: var(--ink); background: white; font-size: 9px; }
.date-filter .button { grid-column: 1 / -1; min-height: 34px; font-size: 10px; }
.rights-card { display: flex; gap: 10px; margin-top: 22px; padding: 13px; color: #704d0b; background: #fff6df; border: 1px solid #f0dfb4; border-radius: 4px; }
.mascot-filter { width: 100%; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 10px; color: inherit; background: transparent; text-align: left; }
.mascot-filter__mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--green-950); background: var(--lime); font-size: 14px; font-weight: 900; }
.mascot-filter strong, .mascot-filter small { display: block; }
.mascot-filter strong { font-size: 11px; }
.mascot-filter small { margin-top: 3px; color: var(--muted); font-size: 7px; letter-spacing: .1em; }
.mascot-filter > b { color: var(--lime); font-size: 13px; }
.mascot-filter:hover, .mascot-filter.is-active { border-color: var(--lime); background: rgba(86,219,166,.08); }
.rights-card > span { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--warning); font-size: 11px; font-weight: 800; }
.rights-card strong { display: block; font-size: 10px; }
.rights-card p { margin: 5px 0 0; font-size: 9px; line-height: 1.55; }
.section-toolbar { min-height: 70px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-toolbar h2 { margin: 0; font-size: 27px; letter-spacing: -.05em; }
.section-toolbar p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.toolbar-actions { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.toolbar-actions select { border: 1px solid var(--line); padding: 9px 31px 9px 11px; background: white; font-size: 10px; }
.view-toggle { display: flex; border: 1px solid var(--line); background: white; }
.view-toggle button { width: 34px; height: 34px; border: 0; border-right: 1px solid var(--line); color: #98a099; background: transparent; }
.view-toggle button:last-child { border-right: 0; }
.view-toggle button.is-active { color: var(--green-800); background: #edf4ee; }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.asset-card { min-width: 0; border: 0; padding: 0; background: transparent; text-align: left; }
.asset-image { position: relative; overflow: hidden; aspect-ratio: 1.38; background: #dfe5de; border-radius: 3px; }
.asset-image.is-image-missing::before, .detail-image.is-image-missing::before { content: "SPORTS WORKSPACE\A图片预览暂不可用"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--green-800); white-space: pre; text-align: center; font-size: 13px; font-weight: 800; line-height: 2; letter-spacing: .08em; background: linear-gradient(135deg, #eef3ed, #dbe6dc); }
.asset-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.asset-card:hover .asset-image img { transform: scale(1.035); }
.asset-shade { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); opacity: 0; transition: opacity .25s; }
.asset-card:hover .asset-shade { opacity: 1; }
.asset-code { position: absolute; left: 9px; top: 9px; padding: 5px 7px; color: white; background: rgba(4, 35, 21, .7); backdrop-filter: blur(8px); border-radius: 2px; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .04em; }
.asset-category { position: absolute; right: 9px; top: 9px; padding: 5px 7px; color: var(--green-950); background: var(--lime); border-radius: 2px; font-size: 8px; font-weight: 800; }
.asset-quick { position: absolute; left: 12px; right: 12px; bottom: 11px; display: flex; justify-content: space-between; align-items: center; color: white; opacity: 0; transform: translateY(5px); transition: .25s; }
.asset-card:hover .asset-quick { opacity: 1; transform: none; }
.asset-quick span { font-size: 9px; }
.asset-quick i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--green-950); background: white; font-style: normal; }
.asset-meta { padding: 12px 2px 0; }
.asset-meta h3 { overflow: hidden; margin: 0; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.asset-sub { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; color: var(--muted); font-size: 9px; }
.people-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.people-tags span { padding: 3px 6px; color: var(--green-900); background: #e8f1e9; border-radius: 2px; font-size: 8px; }
.empty-state { padding: 70px 20px; border: 1px dashed #cbd4cb; text-align: center; background: rgba(255,255,255,.45); }
.empty-state > div { color: var(--green-700); font-size: 44px; transform: rotate(-20deg); }
.empty-state h3 { margin: 12px 0 8px; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px clamp(20px, 4vw, 64px); color: rgba(255,255,255,.62); background: var(--green-950); font-size: 10px; }
.brand-lockup--footer { color: white; }
.brand-lockup--footer small { color: rgba(255,255,255,.48); }

.drawer-shell, .modal-shell { position: fixed; z-index: 100; inset: 0; }
.drawer-backdrop, .modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(3, 24, 14, .68); backdrop-filter: blur(3px); }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(650px, 94vw); overflow-y: auto; background: white; box-shadow: -20px 0 50px rgba(0,0,0,.18); animation: slideIn .25s ease-out; }
@keyframes slideIn { from { transform: translateX(50px); opacity: .6; } }
.drawer-header { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 23px 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.drawer-header h2, .modal-header h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.close-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: white; font-size: 23px; font-weight: 300; }
.detail-image { position: relative; min-height: 350px; display: grid; place-items: center; overflow: hidden; background: #edf0ec; }
.detail-image img { width: 100%; max-height: 500px; object-fit: contain; }
.detail-image::after { content: "SPORTS WORKSPACE"; position: absolute; right: 12px; bottom: 10px; padding: 4px 7px; color: rgba(255,255,255,.8); background: rgba(0,0,0,.4); font-size: 8px; letter-spacing: .12em; }
.detail-body { padding: 28px; }
.detail-title-row { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.detail-title-row h3 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.04em; }
.detail-title-row .button { flex: 0 0 auto; }
.detail-description { margin: 15px 0 23px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.info-section { margin-top: 26px; }
.info-section > h4 { margin: 0 0 11px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); font-size: 11px; letter-spacing: .08em; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-bottom: 0; }
.info-item { min-height: 62px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-item:nth-child(even) { border-right: 0; }
.info-item span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.info-item strong { display: block; overflow-wrap: anywhere; font-size: 11px; font-weight: 650; }
.rights-detail { display: grid; gap: 10px; }
.rights-line { display: flex; gap: 11px; padding: 13px; border: 1px solid #eadcad; color: #654916; background: #fff9e9; font-size: 10px; line-height: 1.6; }
.rights-line span { flex: 0 0 auto; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--warning); font-weight: 800; }
.rights-line--usage { border-color: #cfe2d2; color: var(--green-950); background: #eef7ef; }
.rights-line--usage span { background: var(--green-700); }
.detail-people { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-people button { border: 1px solid #cfe0d2; padding: 7px 10px; color: var(--green-900); background: #edf5ee; border-radius: 3px; font-size: 10px; }
.download-note { margin-top: 10px; color: var(--muted); font-size: 9px; }

.upload-modal { position: relative; width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 40px); margin: 20px auto; overflow-y: auto; background: white; box-shadow: var(--shadow); border-radius: 7px; animation: riseIn .22s ease-out; }
@keyframes riseIn { from { transform: translateY(15px); opacity: .6; } }
.modal-header { position: sticky; z-index: 3; top: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.modal-header p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.upload-modal form { padding: 26px 28px 28px; }
.dropzone { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 7px; margin-bottom: 26px; padding: 22px; border: 1.5px dashed #a8b6aa; border-radius: 5px; color: var(--muted); background: #f6f8f5; text-align: center; transition: .2s; }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--green-700); background: #edf6ef; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong { color: var(--ink); font-size: 12px; }
.dropzone small { font-size: 9px; }
.drop-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 3px; border-radius: 50%; color: white; background: var(--green-800); font-size: 21px; }
.file-name { color: var(--green-700); font-size: 11px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field--wide { grid-column: 1 / -1; }
.modal-actions { position: sticky; bottom: -28px; display: flex; justify-content: flex-end; gap: 10px; margin: 8px -28px -28px; padding: 18px 28px; border-top: 1px solid var(--line); background: white; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 4px; color: white; background: var(--green-950); box-shadow: var(--shadow); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #9d2c2c; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .login-view { grid-template-columns: 1fr; }
  .login-photo { display: none; }
  .login-panel { min-height: 100vh; }
  .topbar { height: 64px; padding-inline: 18px; }
  .topbar .brand-lockup { min-width: 0; }
  .topbar .brand-lockup strong { font-size: 14px; }
  .topbar .brand-lockup small, .user-meta, .top-actions .button { display: none; }
  .search-hero__inner { padding: 52px 18px 58px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row article:nth-child(2) { border-right: 0; }
  .stats-row article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .library-layout { grid-template-columns: 1fr; margin-top: 34px; }
  .filter-panel { display: block; padding: 18px; border: 1px solid var(--line); background: white; }
  .filter-list { grid-template-columns: repeat(2, 1fr); }
  .alphabet-filter { grid-template-columns: repeat(9, 1fr); }
  .person-directory { grid-template-columns: repeat(2, 1fr); max-height: 180px; }
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-shell { padding-inline: 18px; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .mobile-break { display: block; }
  .brand-shield { width: 35px; height: 40px; }
  .search-hero h1 { font-size: 40px; }
  .hero-sub { font-size: 12px; }
  .search-hint { display: none; }
  .search-box { height: 54px; padding-left: 13px; }
  .search-box button { min-width: 67px; }
  .stats-row article { min-height: 78px; padding: 13px; }
  .stats-row strong { font-size: 20px; }
  .stat-icon { width: 32px; height: 32px; }
  .section-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; justify-content: space-between; }
  .view-toggle { display: none; }
  .asset-grid { grid-template-columns: 1fr; gap: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .upload-modal { width: calc(100vw - 16px); margin: 8px auto; max-height: calc(100vh - 16px); }
  .modal-header, .upload-modal form, .drawer-header, .detail-body { padding-inline: 18px; }
  .modal-actions { margin-inline: -18px; padding-inline: 18px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item { border-right: 0; }
  .detail-title-row { flex-direction: column; }
  .detail-title-row .button { width: 100%; }
}

/* 2026 editorial refresh — black, off-white, mint and deep green */
:root {
  --green-950: #07100d;
  --green-900: #123d31;
  --green-800: #1f6a54;
  --green-700: #2f9473;
  --green-500: #56dba6;
  --lime: #56dba6;
  --paper: #090b0a;
  --white: #f4f7f5;
  --ink: #f4f7f5;
  --muted: rgba(244, 247, 245, .58);
  --line: rgba(244, 247, 245, .14);
  --warning: #d6bc82;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  background: #090b0a;
}

body { background: #090b0a; }
.app { background: #090b0a; }
.button--primary { color: #07100d; background: #56dba6; box-shadow: 0 10px 28px rgba(86, 219, 166, .14); }
.button--primary:hover { background: #79e7bb; }
.button--light { color: #07100d; background: #56dba6; }
.button--ghost { color: #f4f7f5; border-color: rgba(244,247,245,.2); background: #17201d; }
.eyebrow { color: #56dba6; }

.login-view { color: #f4f7f5; background: #090b0a; }
.login-photo::before { opacity: .65; background: linear-gradient(110deg, rgba(86,219,166,.12), transparent 48%), repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,.035) 121px 122px); }
.login-photo::after { color: rgba(86,219,166,.07); }
.login-panel { background: #0c0f0e; }
.login-copy p:last-child, .login-note { color: rgba(244,247,245,.56); }
.field input, .field select, .field textarea { color: #f4f7f5; border-color: rgba(244,247,245,.16); background: #131816; }
.password-wrap { border-color: rgba(244,247,245,.16); background: #131816; }
.icon-button { color: rgba(244,247,245,.55); }

.topbar { height: 76px; color: #f4f7f5; background: rgba(0,0,0,.94); border-bottom: 1px solid rgba(244,247,245,.12); backdrop-filter: blur(18px); }
.topbar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #56dba6; }
.brand-shield { color: #07100d; border-color: #56dba6; background: #56dba6; box-shadow: inset 0 0 0 3px #56dba6, inset 0 0 0 4px rgba(7,16,13,.28); }
.nav-link { letter-spacing: .04em; }
.nav-link.is-active::after { background: #56dba6; }
.avatar { color: #07100d; background: #56dba6; }
.dropdown { color: #f4f7f5; border-color: rgba(244,247,245,.14); background: #17201d; }
.dropdown button:hover { background: #24302c; }

.search-hero { min-height: 620px; color: #f4f7f5; background: #000; border-bottom: 1px solid rgba(244,247,245,.14); }
.search-hero::before { content: ""; position: absolute; inset: 0; opacity: .65; background: radial-gradient(circle at 73% 25%, rgba(86,219,166,.17), transparent 33%), linear-gradient(90deg, rgba(31,106,84,.16) 1px, transparent 1px), linear-gradient(rgba(31,106,84,.12) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; }
.search-hero::after { content: "BFC"; right: auto; left: -3vw; top: 25px; color: rgba(244,247,245,.028); font-size: 28vw; letter-spacing: -.09em; }
.search-hero__texture { opacity: .3; background-image: linear-gradient(115deg, transparent 64%, rgba(86,219,166,.13) 64.2%, transparent 64.5%); }
.search-hero__inner { max-width: 1460px; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(410px, .97fr); align-items: center; gap: clamp(34px, 6vw, 100px); padding: 62px clamp(24px, 4vw, 64px) 70px; text-align: left; }
.hero-copy-block { position: relative; z-index: 2; }
.search-hero h1 { max-width: 680px; font-size: clamp(56px, 6.1vw, 92px); line-height: .97; letter-spacing: -.075em; }
.hero-sub { max-width: 610px; margin: 24px 0 30px; color: rgba(244,247,245,.6); font-size: 14px; }
.search-box { height: 64px; max-width: 700px; margin: 0; color: #f4f7f5; border: 1px solid rgba(244,247,245,.2); background: #111614; box-shadow: 0 22px 60px rgba(0,0,0,.45); }
.search-box input { color: #f4f7f5; }
.search-box input::placeholder { color: rgba(244,247,245,.38); }
.search-box button { color: #07100d; background: #56dba6; }
.search-icon { color: #56dba6; }
.search-hint { color: rgba(244,247,245,.5); border-color: rgba(244,247,245,.16); }
.hot-searches { justify-content: flex-start; margin-top: 17px; color: rgba(244,247,245,.42); }
.hot-searches span { margin-right: 5px; color: #56dba6; font-weight: 750; letter-spacing: .08em; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 28px; }
.hero-actions > span { color: rgba(244,247,245,.32); font-size: 8px; letter-spacing: .14em; }
.hero-showcase { position: relative; min-height: 500px; }
.hero-poster { position: absolute; overflow: hidden; border: 1px solid rgba(244,247,245,.18); padding: 0; background: #17201d; box-shadow: 0 30px 70px rgba(0,0,0,.5); text-align: left; transition: transform .28s ease, border-color .28s ease; }
.hero-poster:hover { z-index: 4; border-color: #56dba6; transform: translateY(-7px) rotate(0); }
.hero-poster img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-poster span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #f4f7f5; background: linear-gradient(transparent, rgba(0,0,0,.9)); font-size: 9px; letter-spacing: .05em; }
.hero-poster span b { color: #56dba6; font-family: ui-monospace, monospace; }
.hero-poster--primary { z-index: 2; left: 5%; top: 0; width: 55%; height: 470px; transform: rotate(-2.2deg); }
.hero-poster--secondary { z-index: 1; right: 2%; top: 66px; width: 42%; height: 370px; transform: rotate(3.2deg); }
.hero-showcase-mark { position: absolute; z-index: 3; right: 0; bottom: 2px; color: #56dba6; font-size: 13px; font-weight: 900; line-height: .9; letter-spacing: -.04em; text-align: right; }

.content-shell { background: #090b0a; }
.stats-row { border-color: rgba(244,247,245,.14); background: #17201d; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.stats-row article { border-color: rgba(244,247,245,.12); background: #17201d; }
.stat-icon { color: #56dba6; background: rgba(86,219,166,.1); }
.stats-row small, .stats-row em { color: rgba(244,247,245,.48); }
.filter-heading { border-color: #f4f7f5; }
.filter-heading button { color: #56dba6; }
.filter-group { border-color: rgba(244,247,245,.12); }
.filter-group h3 { color: rgba(244,247,245,.5); }
.filter-item { color: rgba(244,247,245,.65); }
.filter-item:hover { background: rgba(244,247,245,.06); }
.filter-item.is-active { color: #07100d; background: #56dba6; }
.filter-item.is-active .filter-dot { background: #07100d; box-shadow: 0 0 0 3px rgba(7,16,13,.14); }
.filter-item b { color: #07100d; background: rgba(7,16,13,.18); }
.filter-group select, .date-filter input { color: #f4f7f5; border-color: rgba(244,247,245,.14); background: #131816; color-scheme: dark; }
.alphabet-filter button { color: rgba(244,247,245,.65); border-color: rgba(244,247,245,.13); background: #131816; }
.alphabet-filter button.is-active { color: #07100d; border-color: #56dba6; background: #56dba6; }
.alphabet-filter button:disabled { color: rgba(244,247,245,.17); background: #0e1110; }
.person-directory button { color: rgba(244,247,245,.64); }
.person-directory button:hover { background: rgba(244,247,245,.06); }
.person-directory button.is-active { color: #07100d; background: #56dba6; }
.person-directory button.is-active b { color: #07100d; }
.rights-card { color: #d9c69a; border-color: rgba(214,188,130,.25); background: rgba(214,188,130,.08); }
.section-toolbar h2 { color: #f4f7f5; }
.section-toolbar p:last-child, .toolbar-actions { color: rgba(244,247,245,.5); }
.toolbar-actions select, .view-toggle { color: #f4f7f5; border-color: rgba(244,247,245,.14); background: #131816; }
.view-toggle button { color: rgba(244,247,245,.38); border-color: rgba(244,247,245,.14); }
.view-toggle button.is-active { color: #56dba6; background: rgba(86,219,166,.09); }
.asset-image { border: 1px solid rgba(244,247,245,.12); background: #17201d; }
.asset-card:hover .asset-image { border-color: rgba(86,219,166,.75); }
.asset-category { color: #07100d; background: #56dba6; }
.asset-meta h3 { color: #f4f7f5; }
.asset-sub { color: rgba(244,247,245,.46); }
.people-tags span { color: #8de7c1; background: rgba(86,219,166,.1); }
.empty-state { border-color: rgba(244,247,245,.17); background: #111614; }
.empty-state p { color: rgba(244,247,245,.5); }

.drawer, .upload-modal { color: #f4f7f5; background: #0e1110; }
.drawer-header, .modal-header { border-color: rgba(244,247,245,.13); background: rgba(14,17,16,.96); }
.close-button { color: rgba(244,247,245,.6); border-color: rgba(244,247,245,.16); background: #17201d; }
.detail-image { background: #070908; }
.detail-description, .download-note, .modal-header p:last-child { color: rgba(244,247,245,.54); }
.info-section > h4 { border-color: rgba(244,247,245,.72); }
.info-grid, .info-item { border-color: rgba(244,247,245,.13); }
.info-item span { color: rgba(244,247,245,.46); }
.rights-line { color: #d9c69a; border-color: rgba(214,188,130,.26); background: rgba(214,188,130,.08); }
.rights-line--usage { color: #a8ebce; border-color: rgba(86,219,166,.22); background: rgba(86,219,166,.08); }
.detail-people button { color: #8de7c1; border-color: rgba(86,219,166,.24); background: rgba(86,219,166,.08); }
.mascot-detail-tags button { color: #07100d; border-color: #56dba6; background: #56dba6; font-weight: 800; }
.upload-modal form { background: #0e1110; }
.dropzone { color: rgba(244,247,245,.5); border-color: rgba(244,247,245,.24); background: #131816; }
.dropzone:hover, .dropzone.is-dragging { border-color: #56dba6; background: rgba(86,219,166,.07); }
.dropzone strong { color: #f4f7f5; }
.drop-icon { color: #07100d; background: #56dba6; }
.modal-actions { border-color: rgba(244,247,245,.13); background: #0e1110; }
footer { color: rgba(244,247,245,.5); background: #000; border-top: 1px solid rgba(244,247,245,.12); }

@media (max-width: 1050px) {
  .search-hero__inner { grid-template-columns: 1fr minmax(330px, .75fr); gap: 30px; }
  .search-hero h1 { font-size: 60px; }
  .hero-showcase { min-height: 440px; }
  .hero-poster--primary { height: 420px; }
  .hero-poster--secondary { height: 320px; }
}

@media (max-width: 860px) {
  .search-hero__inner { grid-template-columns: 1fr; padding-top: 50px; }
  .search-hero h1 { font-size: clamp(48px, 12vw, 70px); }
  .hero-showcase { min-height: 390px; max-width: 540px; width: 100%; margin: 0 auto; }
  .hero-poster--primary { height: 370px; }
  .hero-poster--secondary { height: 285px; }
  .filter-panel { border-color: rgba(244,247,245,.13); background: #111614; }
}

@media (max-width: 560px) {
  .search-hero { min-height: 0; }
  .search-hero__inner { padding: 42px 18px 48px; }
  .search-hero h1 { font-size: 47px; }
  .hero-actions > span { display: none; }
  .hero-showcase { min-height: 330px; }
  .hero-poster--primary { left: 2%; width: 60%; height: 320px; }
  .hero-poster--secondary { right: 1%; top: 50px; width: 43%; height: 245px; }
  .asset-image { aspect-ratio: 1.12; }
}

/* Light collaboration workspace prototype */
:root {
  --green-950: #123f2b;
  --green-900: #165b39;
  --green-800: #16824c;
  --green-700: #20995d;
  --green-500: #48b979;
  --lime: #d9f0de;
  --paper: #f5f7f5;
  --white: #fff;
  --ink: #19251e;
  --muted: #748178;
  --line: #e5eae6;
  --warning: #e1a83e;
  --shadow: 0 16px 42px rgba(19, 47, 30, .12);
  background: var(--paper);
}

body, .app { background: var(--paper); color: var(--ink); }
.app { min-height: 100vh; }
.button--primary { color: white; background: var(--green-800); box-shadow: 0 5px 14px rgba(22, 130, 76, .12); }
.button--primary:hover { background: var(--green-900); }
.button--light { color: var(--green-900); background: #edf6ef; }
.button--ghost { color: var(--ink); border-color: var(--line); background: white; }
.eyebrow { color: var(--green-700); }

.login-view { color: var(--ink); background: #f5f7f5; }
.login-photo { color: #254b33; background: radial-gradient(ellipse at 74% 18%, rgba(255,255,255,.9), transparent 32%), linear-gradient(135deg, #e7f3e9, #dbece0 57%, #f1f6f1); }
.login-photo::before { opacity: .44; background: linear-gradient(90deg, rgba(61,133,81,.13) 1px, transparent 1px), linear-gradient(rgba(61,133,81,.11) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(115deg, black, transparent 72%); }
.login-photo::after { content: "CLUB"; color: rgba(49,117,68,.07); font-size: min(27vw, 380px); letter-spacing: -.1em; }
.login-photo__content { color: #244d32; }
.edition-mark { border-color: rgba(36,77,50,.27); color: #427551; }
.login-photo p { color: #63806b; }
.login-panel { background: #fbfcfb; }
.login-copy p:last-child, .login-note { color: var(--muted); }
.field input, .field select, .field textarea { color: var(--ink); border-color: #dce4dd; background: white; }
.password-wrap { border-color: #dce4dd; background: white; }
.icon-button { color: var(--muted); }
.brand-shield { color: #fff; border-color: var(--green-800); background: var(--green-800); box-shadow: inset 0 0 0 3px var(--green-800), inset 0 0 0 4px rgba(255,255,255,.38); }

.topbar { position: sticky; z-index: 50; top: 0; height: 68px; gap: 24px; padding: 0 24px; color: var(--ink); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.topbar::before { display: none; }
.topbar .brand-lockup { min-width: 214px; color: var(--ink); }
.topbar .brand-lockup small { color: var(--muted); }
.topbar .brand-lockup strong { font-size: 15px; }
.topbar .brand-shield { width: 36px; height: 40px; font-size: 11px; }
.topbar .search-box { flex: 0 1 520px; width: 100%; height: 40px; margin: 0 auto; padding: 4px 5px 4px 13px; color: var(--ink); border: 1px solid #e5eae6; border-radius: 8px; background: #f7f9f7; box-shadow: none; }
.topbar .search-box input { color: var(--ink); font-size: 12px; }
.topbar .search-box input::placeholder { color: #929d95; }
.topbar .search-box button { min-width: 58px; border-radius: 6px; color: white; background: var(--green-800); font-size: 11px; }
.topbar .search-icon { color: var(--green-800); font-size: 21px; }
.topbar .search-hint { color: #858f88; border-color: #e2e8e3; background: white; }
.top-actions { gap: 17px; }
.top-actions .button { min-height: 38px; padding-inline: 14px; border-radius: 7px; font-size: 11px; }
.user-chip { color: var(--ink); }
.user-meta small { color: var(--muted); }
.avatar { color: var(--green-900); background: #e0f1e4; }
.user-chevron { margin-left: 2px; color: #77857b; }
.dropdown { color: var(--ink); border-color: var(--line); background: white; }
.dropdown button:hover { background: #f3f7f3; }

.workspace-shell { display: grid; grid-template-columns: 62px 244px minmax(440px, 1fr) 270px; min-height: calc(100vh - 68px); }
.app-rail { position: sticky; top: 68px; height: calc(100vh - 68px); min-height: 540px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; background: #edf3ee; border-right: 1px solid #e5ece6; }
.rail-button, .rail-avatar { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; color: #6f8175; background: transparent; font-size: 20px; transition: .16s ease; }
.rail-button:hover { color: var(--green-900); background: white; }
.rail-button.is-active { color: white; background: var(--green-800); box-shadow: 0 4px 10px rgba(22,130,76,.2); }
.rail-button--brand { margin-bottom: 3px; border-radius: 13px; }
.rail-mark { width: 29px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 7px 7px 11px 11px; font-size: 11px; font-weight: 900; }
.rail-divider { width: 28px; height: 1px; margin: 2px 0 4px; background: #dce5dd; }
.rail-badge { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border: 1.5px solid #edf3ee; border-radius: 50%; background: #ec765f; }
.rail-button--add { color: var(--green-800); border: 1px dashed #a8b9ac; border-radius: 12px; }
.rail-spacer { flex: 1; }
.rail-avatar { border-radius: 50%; color: var(--green-900); background: #e1eee4; font-weight: 800; }
.rail-avatar i { position: absolute; right: -1px; bottom: 0; width: 10px; height: 10px; border: 2px solid #edf3ee; border-radius: 50%; background: #36af69; }

.channel-sidebar { position: sticky; top: 68px; height: calc(100vh - 68px); min-height: 540px; overflow-y: auto; padding: 15px 13px 18px; background: #fbfcfb; border-right: 1px solid var(--line); scrollbar-width: thin; }
.workspace-switcher { width: 100%; display: grid; grid-template-columns: 34px 1fr 14px; align-items: center; gap: 9px; border: 1px solid #e9ede9; border-radius: 9px; padding: 9px 8px; color: var(--ink); background: white; text-align: left; box-shadow: 0 2px 5px rgba(25,50,30,.025); }
.workspace-switcher__crest { width: 34px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--green-800); font-weight: 900; font-size: 11px; }
.workspace-switcher strong, .workspace-switcher small { display: block; }
.workspace-switcher strong { font-size: 11px; }
.workspace-switcher small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.workspace-switcher > b { color: #8b978e; font-size: 13px; }
.tenant-add { width: 100%; display: flex; align-items: center; gap: 8px; margin-top: 7px; border: 1px dashed #dce6dd; border-radius: 7px; padding: 7px 9px; color: #6d8172; background: transparent; text-align: left; font-size: 9px; }
.tenant-add:hover { border-color: #bed9c3; color: #3f7950; background: #f2f8f3; }
.tenant-add > span:first-child { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 4px; color: #4b8b5c; background: #e9f4ea; font-size: 12px; }
.sidebar-section { margin-top: 22px; }
.sidebar-section__heading { display: flex; align-items: center; justify-content: space-between; margin: 0 5px 7px; color: #859188; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.sidebar-section__heading button { width: 22px; height: 22px; border: 0; border-radius: 5px; color: #849189; background: transparent; font-size: 15px; }
.sidebar-section__heading button:hover { color: var(--green-800); background: #edf5ee; }
.channel-item, .drive-item { position: relative; width: 100%; min-height: 32px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 6px; padding: 6px 8px; color: #59675e; background: transparent; text-align: left; font-size: 10px; }
.channel-item:hover, .drive-item:hover { color: var(--green-900); background: #f0f5f1; }
.channel-item.is-active, .drive-item.is-active { color: var(--green-900); background: #eaf4ec; font-weight: 750; }
.channel-hash { color: #98a49b; font-size: 13px; font-weight: 700; }
.channel-item.is-active .channel-hash { color: var(--green-800); }
.channel-count { margin-left: auto; color: #88968c; font-size: 9px; font-weight: 500; }
.sidebar-section--drive { padding-top: 15px; border-top: 1px solid #edf0ed; }
.drive-item > span:first-child { width: 16px; color: #84948a; text-align: center; font-size: 13px; }
.drive-item.is-active > span:first-child { color: var(--green-800); }
.drive-item small { margin-left: auto; color: #8c9890; }
.drive-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #53b876; }
.folder-tree { position: relative; margin: 8px 0 0 8px; padding-left: 9px; border-left: 1px solid #e4eae5; }
.drive-item--nested { padding-left: 10px; }
.advanced-filter { margin: 15px 2px 0; border-top: 1px solid #edf0ed; }
.advanced-filter > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 7px; color: #77847a; cursor: pointer; font-size: 10px; font-weight: 700; list-style: none; }
.advanced-filter > summary::-webkit-details-marker { display: none; }
.advanced-filter[open] > summary span { transform: rotate(180deg); }
.filter-panel { min-width: 0; padding: 0 2px 12px; }
.filter-heading { padding: 7px 0 10px; border-bottom: 1px solid #e8ede8; }
.filter-heading h2 { color: var(--ink); font-size: 11px; }
.filter-heading button { color: var(--green-800); font-size: 9px; }
.filter-group { padding: 13px 0; border-color: #edf0ed; }
.filter-group h3 { margin-bottom: 7px; color: #869188; font-size: 9px; }
.filter-list { gap: 1px; }
.filter-item { min-height: 28px; padding: 5px 7px; color: #5d6a61; font-size: 9px; }
.filter-item span { gap: 7px; }
.filter-item:hover { background: #f1f5f1; }
.filter-item.is-active { color: var(--green-900); background: #e9f4eb; }
.filter-item.is-active .filter-dot { background: var(--green-700); box-shadow: 0 0 0 3px rgba(32,153,93,.12); }
.filter-item b { min-width: 19px; color: var(--green-900); background: #dceddf; }
.filter-dot { width: 5px; height: 5px; }
.mascot-filter { grid-template-columns: 29px 1fr auto; gap: 8px; border-color: #e8eee8; border-radius: 7px; padding: 7px; }
.mascot-filter__mark { width: 29px; height: 29px; color: var(--green-900); background: #d9f0de; }
.mascot-filter small { font-size: 7px; }
.mascot-filter > b { color: var(--green-800); }
.mascot-filter:hover, .mascot-filter.is-active { border-color: #b9d9c1; background: #f1f8f2; }
.alphabet-filter { grid-template-columns: repeat(7, 1fr); gap: 3px; }
.alphabet-filter button { border-color: #e6ebe7; color: #68766d; background: white; font-size: 8px; }
.alphabet-filter button.is-active { color: white; border-color: var(--green-800); background: var(--green-800); }
.alphabet-filter button:disabled { color: #c5cec7; background: #f5f7f5; }
.person-directory { max-height: 130px; }
.person-directory button { color: #59675e; font-size: 9px; }
.person-directory button:hover { background: #f1f5f1; }
.person-directory button.is-active { color: var(--green-900); background: #e9f4eb; }
.date-filter label span { color: var(--muted); font-size: 8px; }
.date-filter input, .filter-group select { color: var(--ink); border-color: #e4eae5; background: white; color-scheme: light; }
.date-filter .button { min-height: 30px; }
.rights-card { color: #795c21; border-color: #f1e4c3; background: #fff9ea; }
.rights-card strong { font-size: 9px; }
.rights-card p { font-size: 8px; }
.sidebar-storage { margin: 18px 4px 0; padding-top: 14px; border-top: 1px solid #edf0ed; }
.storage-caption { display: flex; justify-content: space-between; color: #68766d; font-size: 9px; }
.storage-caption strong { color: var(--ink); font-size: 9px; }
.storage-meter { height: 5px; overflow: hidden; margin-top: 8px; border-radius: 99px; background: #e8eee9; }
.storage-meter i { width: 68%; height: 100%; display: block; border-radius: inherit; background: #52ad70; }
.sidebar-storage > small { display: block; margin-top: 6px; color: #929d95; font-size: 8px; }

.workspace-main { min-width: 0; padding: 22px clamp(18px, 2.2vw, 34px) 40px; background: #f6f8f6; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #8b968e; font-size: 9px; }
.breadcrumb b { color: #c1c9c2; font-weight: 400; }
.breadcrumb strong { color: #46554a; font-weight: 700; }
.shared-pill { margin-left: 4px; padding: 4px 7px; border: 1px solid #dcebdd; border-radius: 99px; color: #468459; background: #f1f8f1; font-size: 8px; }
.team-banner { min-height: 80px; display: flex; align-items: center; gap: 13px; padding: 14px 18px; border: 1px solid #e4eee5; border-radius: 10px; background: linear-gradient(100deg, #edf6ee, #f6faf6 62%, #f1f8f2); }
.team-banner__icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: #21804b; background: #d9eedc; font-size: 19px; }
.team-banner strong { display: block; color: #284f35; font-size: 11px; }
.team-banner p { margin: 5px 0 0; color: #718277; font-size: 9px; }
.team-presence { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; margin-left: auto; }
.presence-stack { display: flex; padding-left: 5px; }
.presence-stack span { width: 23px; height: 23px; display: grid; place-items: center; margin-left: -5px; border: 2px solid #f4f8f4; border-radius: 50%; color: #365c42; background: #d9e8db; font-size: 8px; font-weight: 700; }
.presence-stack span:nth-child(2) { color: #885b49; background: #f1dfd5; }
.presence-stack span:nth-child(3) { color: #3b5d75; background: #dce8f0; }
.presence-stack span:nth-child(4) { color: #617267; background: #e6ede7; }
.team-presence small { color: #738176; font-size: 8px; }
.team-presence > i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #45ad68; }
.stats-row { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-top: 14px; border: 0; background: transparent; box-shadow: none; }
.stats-row article { min-width: 0; min-height: 66px; gap: 9px; padding: 11px 12px; border: 1px solid #e9ede9; border-radius: 8px; background: white; }
.stats-row article:last-child { border-right: 1px solid #e9ede9; }
.stat-icon { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 8px; color: #41885a; background: #eff7f0; font-size: 14px; }
.stats-row strong { color: #25332a; font-size: 17px; }
.stats-row small { color: #89958c; font-size: 8px; }
.stats-row em { display: none; }
.library-layout { display: block; margin-top: 23px; }
.section-toolbar { min-height: 52px; align-items: flex-end; gap: 15px; margin-bottom: 12px; }
.section-title .eyebrow { margin-bottom: 5px; color: #8b978e; font-size: 8px; letter-spacing: .12em; }
.section-toolbar h2 { color: #25332a; font-size: 22px; letter-spacing: -.04em; }
.section-toolbar p:last-child { margin-top: 4px; color: #87938a; font-size: 9px; }
.toolbar-actions { gap: 8px; color: #8a968d; font-size: 9px; }
.toolbar-actions select { border-color: #e4eae5; border-radius: 6px; padding: 8px 25px 8px 9px; color: #536158; background: white; font-size: 9px; }
.view-toggle { overflow: hidden; border-color: #e4eae5; border-radius: 6px; background: white; }
.view-toggle button { width: 30px; height: 30px; color: #9ba59d; border-color: #e4eae5; }
.view-toggle button.is-active { color: var(--green-800); background: #eef6ef; }
.asset-subtoolbar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-bottom: 11px; border-bottom: 1px solid #e7ece7; }
.collection-tabs { align-self: stretch; display: flex; align-items: stretch; gap: 15px; }
.collection-tabs button { position: relative; border: 0; padding: 0 2px; color: #87938a; background: transparent; font-size: 9px; }
.collection-tabs button.is-active { color: #315a3c; font-weight: 750; }
.collection-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; border-radius: 2px; background: #55a66b; }
.sort-label { border: 1px solid #e5eae6; border-radius: 6px; padding: 6px 9px; color: #718077; background: white; font-size: 9px; }
.asset-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.asset-card { overflow: hidden; border: 1px solid #e6ebe7; border-radius: 9px; background: white; box-shadow: 0 2px 5px rgba(23,50,30,.025); transition: border-color .18s, box-shadow .18s, transform .18s; }
.asset-card:hover { border-color: #bfdbc4; box-shadow: 0 7px 18px rgba(28,74,42,.09); transform: translateY(-2px); }
.asset-image { aspect-ratio: 1.38; border: 0; border-radius: 0; background: #edf2ed; }
.asset-image img { object-fit: cover; }
.asset-shade { opacity: .2; }
.asset-code { top: 8px; left: 8px; padding: 4px 6px; border-radius: 4px; color: white; background: rgba(22,43,29,.62); font-size: 7px; }
.asset-category { top: 8px; right: 8px; padding: 4px 7px; border-radius: 4px; color: #386247; background: rgba(241,248,241,.95); font-size: 7px; }
.asset-meta { padding: 10px 10px 11px; }
.asset-meta h3 { color: #26342b; font-size: 10px; line-height: 1.45; }
.asset-sub { margin-top: 5px; color: #89948c; font-size: 8px; }
.people-tags { gap: 4px; margin-top: 7px; }
.people-tags span { padding: 3px 5px; border-radius: 4px; color: #4c8059; background: #eef6ef; font-size: 7px; }
.empty-state { border-color: #dbe4dc; border-radius: 10px; background: white; }
.empty-state p { color: var(--muted); }

.collab-panel { min-width: 0; padding: 23px 17px; border-left: 1px solid var(--line); background: #fbfcfb; }
.collab-heading { display: flex; align-items: center; justify-content: space-between; }
.collab-heading h2 { margin: 0; color: #2b382f; font-size: 13px; }
.collab-heading > button { width: 25px; height: 25px; border: 0; border-radius: 5px; color: #829087; background: transparent; font-size: 17px; }
.online-team, .activity-feed { margin-top: 21px; padding-bottom: 18px; border-bottom: 1px solid #edf0ed; }
.panel-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #78857b; font-size: 9px; font-weight: 700; }
.panel-label button { border: 0; padding: 0; color: #47815a; background: transparent; font-size: 8px; }
.member-list { display: grid; gap: 11px; }
.member-row { display: flex; align-items: center; gap: 8px; }
.member-avatar, .activity-avatar { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; font-size: 9px; font-weight: 750; }
.member-avatar--green, .activity-avatar--green { color: #356547; background: #e2f0e4; }
.member-avatar--peach, .activity-avatar--peach { color: #94654c; background: #f6e9df; }
.member-avatar--blue, .activity-avatar--blue { color: #42677e; background: #e2edf3; }
.member-row > span:nth-child(2) { min-width: 0; }
.member-row strong, .member-row small { display: block; }
.member-row strong { color: #36443a; font-size: 9px; }
.member-row small { overflow: hidden; max-width: 150px; margin-top: 3px; color: #8d9890; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.member-row > i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #d1d8d2; }
.member-row > i.status-online { background: #49b36b; }
.invite-button { width: 100%; margin-top: 13px; border: 1px dashed #d8e2d9; border-radius: 6px; padding: 7px; color: #5d8265; background: #f8fbf8; font-size: 8px; }
.invite-button:hover { border-color: #a9cdb0; background: #f1f8f2; }
.activity-feed { margin-top: 18px; }
.activity-item { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 8px; margin: 13px 0; }
.activity-item p { margin: 0; color: #7c887f; font-size: 8px; line-height: 1.45; }
.activity-item p strong { color: #405047; font-weight: 750; }
.activity-item small, .activity-item time { display: block; margin-top: 3px; color: #8a968d; font-size: 7px; line-height: 1.4; }
.activity-item time { color: #a0aaa3; }
.channel-chat { margin-top: 18px; padding-bottom: 0; border-bottom: 0; }
.chat-online-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #48ae67; vertical-align: 1px; }
.chat-message { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 8px; margin: 15px 0; }
.chat-message > div { min-width: 0; }
.chat-byline { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.chat-byline strong { color: #45544a; font-size: 8px; }
.chat-byline time { color: #a0aaa3; font-size: 7px; }
.chat-message p { margin: 5px 0 0; color: #758178; font-size: 8px; line-height: 1.55; }
.message-attachment { width: 100%; display: grid; grid-template-columns: 44px minmax(0,1fr) 12px; align-items: center; gap: 7px; margin-top: 8px; overflow: hidden; border: 1px solid #e5ebe5; border-radius: 6px; padding: 4px; color: #5d6d62; background: white; text-align: left; }
.message-attachment:hover { border-color: #bad8c0; background: #f7fbf7; }
.attachment-preview { width: 44px; height: 34px; display: grid; place-items: center; border-radius: 4px; color: #4e8b5e; background: linear-gradient(135deg,#e9f3eb,#dcece0); font-size: 16px; }
.message-attachment strong, .message-attachment small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-attachment strong { color: #4f6254; font-size: 7px; }
.message-attachment small { margin-top: 3px; color: #909b92; font-size: 6px; }
.message-attachment > b { color: #89968c; font-size: 10px; }
.chat-composer { display: flex; align-items: center; gap: 6px; margin-top: 13px; padding: 4px 5px 4px 9px; border: 1px solid #e4eae5; border-radius: 7px; background: white; }
.chat-composer:focus-within { border-color: #bfdac4; box-shadow: 0 0 0 2px rgba(32,153,93,.07); }
.chat-composer input { width: 100%; min-width: 0; border: 0; outline: 0; color: #46534a; background: transparent; font-size: 8px; }
.chat-composer input::placeholder { color: #9aa49d; }
.chat-composer button { width: 23px; height: 23px; flex: 0 0 auto; border: 0; border-radius: 5px; color: white; background: #4d9b61; font-size: 13px; }
.prototype-caption { margin: 14px 0 0; color: #a3aca5; font-size: 7px; text-align: center; }

.drawer, .upload-modal { color: var(--ink); background: white; }
.drawer-header, .modal-header { border-color: var(--line); background: rgba(255,255,255,.96); }
.close-button { color: var(--muted); border-color: var(--line); background: white; }
.detail-image { background: #f0f4f0; }
.detail-description, .download-note, .modal-header p:last-child { color: var(--muted); }
.info-section > h4 { border-color: #bfcac1; }
.info-grid, .info-item { border-color: var(--line); }
.info-item span { color: var(--muted); }
.rights-line { color: #775d27; border-color: #eee1c0; background: #fff9e9; }
.rights-line--usage { color: #39724a; border-color: #d7ead9; background: #f0f8f1; }
.detail-people button { color: var(--green-900); border-color: #d8e9da; background: #f0f7f1; }
.mascot-detail-tags button { color: white; border-color: var(--green-800); background: var(--green-800); }
.upload-modal form { background: white; }
.dropzone { color: var(--muted); border-color: #d7e1d8; background: #f8faf8; }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--green-700); background: #f0f8f1; }
.dropzone strong { color: var(--ink); }
.drop-icon { color: white; background: var(--green-800); }
.modal-actions { border-color: var(--line); background: white; }
.toast { color: white; background: var(--green-950); }

@media (max-width: 1380px) {
  .workspace-shell { grid-template-columns: 58px 225px minmax(420px,1fr) 240px; }
  .collab-panel { padding-inline: 14px; }
  .asset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1180px) {
  .workspace-shell { grid-template-columns: 58px 225px minmax(0,1fr); }
  .collab-panel { display: none; }
  .workspace-main { padding-inline: 22px; }
  .asset-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 940px) {
  .workspace-shell { grid-template-columns: 220px minmax(0,1fr); }
  .app-rail { display: none; }
  .channel-sidebar { top: 68px; }
  .asset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .topbar { height: auto; min-height: 62px; flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .topbar .brand-lockup { min-width: 0; }
  .topbar .brand-lockup small { display: none; }
  .topbar .brand-lockup strong { font-size: 13px; }
  .topbar .brand-shield { width: 32px; height: 36px; }
  .top-actions { gap: 9px; }
  .top-actions .button { min-height: 34px; padding-inline: 10px; font-size: 9px; }
  .top-actions .user-meta, .user-chevron { display: none; }
  .topbar .search-box { order: 3; flex-basis: 100%; max-width: none; height: 38px; }
  .workspace-shell { display: flex; flex-direction: column; }
  .channel-sidebar { position: static; height: auto; min-height: 0; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-switcher, .sidebar-section, .advanced-filter, .sidebar-storage { min-width: 0; }
  .workspace-switcher { grid-column: 1 / -1; }
  .sidebar-section { margin-top: 11px; }
  .sidebar-section--drive { padding-top: 0; border-top: 0; }
  .sidebar-section--drive .folder-tree { display: none; }
  .sidebar-section--drive .drive-item:nth-of-type(n+4) { display: none; }
  .channel-item, .drive-item { min-height: 28px; font-size: 9px; }
  .advanced-filter { grid-column: 1 / -1; margin-top: 5px; }
  .sidebar-storage { display: none; }
  .workspace-main { padding: 16px 14px 30px; }
  .team-banner { min-height: 68px; padding: 10px; }
  .team-presence { grid-template-columns: auto; }
  .team-presence small, .team-presence > i { display: none; }
  .stats-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-row article { min-height: 60px; }
  .section-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; justify-content: space-between; }
  .asset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .asset-image { aspect-ratio: 1.06; }
  .asset-sub { flex-direction: column; gap: 3px; }
  .collection-tabs { gap: 10px; }
  .collection-tabs button { font-size: 8px; }
  .sort-label { font-size: 8px; }
}
@media (max-width: 420px) {
  .topbar .search-box button { min-width: 48px; }
  .search-hint { display: none; }
  .workspace-switcher { grid-template-columns: 30px 1fr 12px; }
  .workspace-switcher__crest { width: 30px; height: 32px; }
  .stats-row article { padding: 9px; }
  .stat-icon { width: 26px; height: 26px; }
  .stats-row strong { font-size: 15px; }
  .asset-grid { grid-template-columns: 1fr; }
  .asset-image { aspect-ratio: 1.45; }
}

/* Generic club artwork for the shareable prototype route. */
.prototype-mode .filter-group:has(#alphabet-filter) { display: none; }
.prototype-mode .asset-image img { object-fit: contain; padding: 20px; }

/* Media library and confidential tactical vault */
.media-filterbar { gap: 18px; }
.project-filter { display:flex; align-items:center; gap:8px; color:#778179; font-size:9px; }
.project-filter select, .vault-toolbar select { min-height:34px; border:1px solid #dfe7df; border-radius:7px; padding:0 28px 0 10px; color:#425047; background:#fff; font-size:9px; }
.media-placeholder { position:absolute; inset:0; display:grid; place-content:center; gap:8px; color:#d9eadc; background:radial-gradient(circle at 72% 22%,rgba(62,163,92,.26),transparent 32%),linear-gradient(145deg,#0d2417,#183b27 65%,#0b1710); text-align:center; }
.media-placeholder span { font-size:28px; font-weight:900; letter-spacing:.05em; }
.media-placeholder small { font-size:8px; letter-spacing:.18em; opacity:.7; }
.asset-card--poster .asset-category { background:#15592f; }
.asset-card--video .asset-category { background:#137c40; }
.asset-card--data .asset-category { background:#204733; }
.detail-file-icon { min-height:300px; display:grid; place-content:center; gap:14px; color:#d8e9dc; background:linear-gradient(145deg,#091a11,#173a28); text-align:center; }
.detail-file-icon span { font-size:46px; font-weight:900; }
.detail-file-icon small { color:#9bb5a2; }
.confidential-entry { width:calc(100% - 20px); display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:9px; margin:14px 10px 4px; border:1px solid #472c2c; border-radius:8px; padding:9px; color:#f5e8e6; background:linear-gradient(135deg,#211515,#321d1d); text-align:left; }
.confidential-entry:hover { border-color:#986252; background:#3b2220; }
.confidential-entry__icon { width:30px; height:30px; display:grid; place-items:center; border-radius:6px; color:#211515; background:#df9b78; }
.confidential-entry strong,.confidential-entry small { display:block; }
.confidential-entry strong { font-size:9px; }.confidential-entry small { margin-top:3px; color:#bca29d; font-size:6px; letter-spacing:.08em; }
.vault-mode .standard-only { display:none!important; }
.vault-mode .collab-panel { display:none; }
.vault-mode .workspace-shell { grid-template-columns:58px 225px minmax(0,1fr); }
.vault-mode .workspace-main { max-width:none; color:#e7ece8; background:#0d1210; }
.confidential-workspace { min-height:calc(100vh - 68px); padding:4px 0 60px; }
.vault-hero { position:relative; overflow:hidden; border:1px solid #2d3b32; border-radius:14px; padding:28px 32px; background:radial-gradient(circle at 80% 15%,rgba(178,77,51,.18),transparent 31%),radial-gradient(circle at 10% 110%,rgba(44,144,76,.22),transparent 32%),#131a16; box-shadow:0 24px 60px rgba(0,0,0,.2); }
.vault-back { border:0; padding:0; color:#96aa9c; background:transparent; font-size:9px; }.vault-back:hover{color:#fff}
.vault-kicker { margin-top:30px; color:#e7a184; font-size:8px; font-weight:800; letter-spacing:.18em; }.vault-kicker span{margin-right:8px}
.vault-hero h1 { margin:8px 0 6px; color:#fff; font-size:30px; letter-spacing:-.03em; }.vault-hero p{max-width:680px;margin:0;color:#8fa097;font-size:11px;line-height:1.7}
.vault-status { display:flex; gap:8px; margin-top:22px; }.vault-status span{border:1px solid #34453a;border-radius:99px;padding:6px 10px;color:#b9c6be;background:#18221c;font-size:7px;letter-spacing:.04em}.vault-status span:last-child{border-color:#6d493e;color:#e6ac91;background:#251a17}
.pipeline { display:grid; grid-template-columns:repeat(7,auto); align-items:center; justify-content:space-between; gap:12px; margin:18px 0; border:1px solid #263229; border-radius:12px; padding:17px 20px; background:#121814; }
.pipeline>div { display:flex; align-items:center; gap:11px; }.pipeline b{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#cf9175;background:#2b1f1b;font-size:8px}.pipeline span{color:#e4eae6;font-size:9px;font-weight:750}.pipeline small{display:block;margin-top:4px;color:#6f8176;font-size:7px;font-weight:500}.pipeline i{color:#4d5c52;font-style:normal}
.vault-toolbar { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:30px 0 12px; }.vault-toolbar h2,.analysis-panel h2{margin:3px 0 0;color:#fff;font-size:18px}.vault-toolbar>div:last-child{display:flex;gap:8px}.vault-toolbar select{border-color:#314138;color:#c4d0c8;background:#151d18}
.button--danger { color:#fff; background:#a84f39; box-shadow:none; }.button--danger:hover{background:#c05c42}
.vault-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.vault-card { min-width:0; border:1px solid #28352d; border-radius:11px; padding:15px; background:linear-gradient(145deg,#151e19,#111613); }.vault-card__top,.vault-card__actions,.vault-meta{display:flex;align-items:center}.vault-card__top{justify-content:space-between;color:#85a18f;font-size:7px;letter-spacing:.12em}.vault-card__top b{border:1px solid #28583b;border-radius:99px;padding:4px 7px;color:#8bccaa;background:#12251a;font-size:6px}.vault-card h3{min-height:38px;margin:18px 0 5px;color:#fff;font-size:12px;line-height:1.45}.vault-card>p{margin:0;color:#84a18e;font-size:8px}.vault-meta{gap:8px;margin:14px 0;padding-top:10px;border-top:1px solid #253028;color:#697c70;font-size:7px}.vault-card__actions{gap:7px}.vault-card__actions button{flex:1;border:1px solid #35453b;border-radius:6px;padding:7px;color:#aebcb3;background:#19221c;font-size:8px}.vault-card__actions .analyze-button{border-color:#704538;color:#efb19a;background:#281b18}
.analysis-panel { margin-top:26px; border:1px solid #29362e; border-radius:12px; padding:18px; background:#111713; }.analysis-panel__head{display:flex;align-items:center;justify-content:space-between}.analysis-panel__head>span{border:1px solid #694337;border-radius:99px;padding:6px 9px;color:#db9b82;background:#251a17;font-size:7px}.analysis-panel__head>span.is-ready{border-color:#326744;color:#8ed19e;background:#15271b}.analysis-jobs{margin-top:15px}.analysis-job{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:12px;border-top:1px solid #253029;padding:11px 0}.analysis-job strong,.analysis-job small{display:block}.analysis-job strong{color:#dce5df;font-size:9px}.analysis-job small,.analysis-job time{margin-top:4px;color:#6f8175;font-size:7px}.job-state{border-radius:99px;padding:5px 7px;color:#dda086;background:#2c1d19;font-size:7px;text-align:center}.vault-empty{grid-column:1/-1;border:1px dashed #314138;border-radius:9px;padding:30px;color:#718278;text-align:center;font-size:9px}
@media(max-width:1050px){.vault-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline{grid-template-columns:1fr 1fr}.pipeline>i{display:none}.vault-toolbar{align-items:flex-start;flex-direction:column}.vault-toolbar>div:last-child{flex-wrap:wrap}}
@media(max-width:700px){.confidential-entry{display:none!important}.vault-grid{grid-template-columns:1fr}.vault-status{flex-wrap:wrap}.vault-hero{padding:20px}.vault-hero h1{font-size:24px}}

/* Dark operations theme — inspired by the supplied charcoal dashboard reference. */
:root {
  --green-950: #101112;
  --green-900: #171819;
  --green-800: #2188f5;
  --green-700: #2e95ff;
  --green-100: #26282a;
  --green-50: #1b1c1e;
  --ink: #f2f3f4;
  --muted: #96999e;
  --line: #303235;
  --paper: #151617;
  --canvas: #101112;
}
html, body { color-scheme: dark; background:#101112; }
body { color:#f2f3f4; }
.app { background:#101112; }
.topbar { border-color:#303235; background:rgba(20,21,22,.97); box-shadow:0 1px 0 rgba(255,255,255,.025); }
.brand-lockup, .brand-lockup strong, .user-chip strong { color:#f2f3f4; }
.brand-lockup small, .user-chip small { color:#8d9095; }
.brand-shield { color:#fff; border-color:#4b4e52; background:#222426; box-shadow:none; }
.search-box { border-color:#303235; background:#202123; box-shadow:none; }
.search-box:focus-within { border-color:#2188f5; box-shadow:0 0 0 3px rgba(33,136,245,.12); }
.search-box input { color:#f2f3f4; }.search-box input::placeholder{color:#74777c}
.search-hint { color:#888b90; border-color:#3b3d40; background:#292b2d; }
.search-box button, .button--primary { color:#fff; background:#1684f8; box-shadow:0 5px 16px rgba(22,132,248,.18); }
.search-box button:hover, .button--primary:hover { background:#3397ff; }
.user-chip:hover, .icon-button:hover { background:#242628; }
.avatar, .rail-avatar span { color:#fff; background:#303337; }
.dropdown { color:#d9dbde; border-color:#383a3d; background:#202123; box-shadow:0 18px 40px rgba(0,0,0,.4); }
.dropdown button:hover { background:#2a2c2e; }
.workspace-shell { background:#101112; }
.app-rail { border-color:#303235; background:#171819; }
.rail-button { color:#85898e; }.rail-button:hover{color:#fff;background:#26282a}.rail-button.is-active{color:#fff;background:#2188f5}.rail-button--brand{border-color:#3b3e41;background:#242628}.rail-divider{background:#303235}.rail-button--add{border-color:#3b3e41;background:#1d1f20}.rail-avatar{border-color:#383b3e;background:#222426}
.channel-sidebar { color:#b7b9bd; border-color:#303235; background:#1d1e20; }
.workspace-switcher { color:#f4f4f5; border-color:#343638; background:#242527; box-shadow:none; }
.workspace-switcher:hover { border-color:#484b4f; background:#282a2c; }
.workspace-switcher__crest { color:#fff; background:#1684f8; box-shadow:none; }
.workspace-switcher small, .sidebar-section__heading, .sidebar-storage small { color:#777b80; }
.tenant-add { color:#9a9da2; border-color:#393b3e; background:#222325; }
.tenant-add:hover { color:#fff; border-color:#4a4d51; background:#292b2d; }
.channel-item, .drive-item { color:#a9acb1; }.channel-item:hover,.drive-item:hover{color:#fff;background:#27292b}.channel-item.is-active,.drive-item.is-active{color:#fff;background:#2b2d30}.channel-item.is-active::before{background:#2188f5}.channel-hash{color:#6f7378}.channel-count{color:#8c8f94;background:#292b2d}
.sidebar-section--drive, .advanced-filter, .sidebar-storage { border-color:#303235; }
.advanced-filter summary { color:#aeb1b5; }.filter-panel{border-color:#37393c;background:#222325;box-shadow:0 16px 36px rgba(0,0,0,.35)}.filter-heading h2,.filter-group h3{color:#ebeced}.filter-item{color:#a1a4a9}.filter-item:hover,.filter-item.is-active{color:#fff;background:#2c2e31}.filter-dot{background:#65686d}.filter-item.is-active .filter-dot{background:#2188f5}.alphabet-filter button,.person-directory button{color:#96999e;border-color:#37393c;background:#252729}.alphabet-filter button:hover,.alphabet-filter button.is-active,.person-directory button:hover,.person-directory button.is-active{color:#fff;border-color:#2188f5;background:#2188f5}.date-filter input{color:#e8e9ea;border-color:#37393c;background:#252729}.rights-card{color:#dbb67a;border-color:#5a492f;background:#282318}
.storage-meter { background:#303235; }.storage-meter i{background:#2188f5}.storage-caption{color:#a9acb0}
.workspace-main { background:#111213; }
.breadcrumb { color:#73777b; }.breadcrumb strong{color:#d7d9db}.shared-pill{color:#8ca0b6;border-color:#374657;background:#1c2732}
.team-banner { border-color:#303336; background:linear-gradient(120deg,#202224,#1a1c1d); box-shadow:none; }.team-banner__icon{color:#fff;background:#2188f5}.team-banner strong{color:#f1f2f3}.team-banner p,.team-presence small{color:#8e9297}.presence-stack span{color:#d6d8da;border-color:#202224;background:#303336}.team-presence>i,.status-online,.chat-online-dot{background:#27bd70}
.stats-row article { border-color:#303235; background:#202123; box-shadow:none; }.stats-row article:hover{border-color:#44474a;background:#232527}.stat-icon{color:#8cb8e8;background:#1c2b3b}.stats-row strong{color:#f4f5f6}.stats-row small,.stats-row em{color:#81858a}
.section-title h2 { color:#f5f5f6; }.section-title>p:last-child,.toolbar-actions>span{color:#8b8e93}.toolbar-actions select,.project-filter select{color:#d9dbde;border-color:#383a3d;background:#202224}.view-toggle{border-color:#36383b;background:#202224}.view-toggle button{color:#74787d}.view-toggle button.is-active{color:#fff;background:#33363a}
.asset-subtoolbar { border-color:#303235; }.collection-tabs button{color:#84888d}.collection-tabs button:hover{color:#dfe1e3}.collection-tabs button.is-active{color:#fff}.collection-tabs button.is-active::after{background:#2188f5}.project-filter{color:#868a8e}
.asset-card { border-color:#303235; background:#202123; box-shadow:none; }.asset-card:hover{border-color:#4a4d50;box-shadow:0 14px 32px rgba(0,0,0,.28)}.asset-image{background:#18191a}.asset-code{color:#d9dbdd;background:rgba(15,16,17,.75)}.asset-category{color:#fff;background:#2188f5}.asset-quick{color:#dedfe1}.asset-meta h3{color:#eceeef}.asset-sub{color:#7f8388}.people-tags span{color:#9db4cd;border-color:#33465a;background:#1b2936}.media-placeholder{color:#a6c8ed;background:radial-gradient(circle at 72% 22%,rgba(33,136,245,.24),transparent 32%),linear-gradient(145deg,#151a20,#1c2b3b 65%,#111315)}
.empty-state { color:#8d9196; border-color:#35373a; background:#1d1f20; }.empty-state h3{color:#e3e4e5}
.collab-panel { color:#a8abb0; border-color:#303235; background:#1a1b1d; }.collab-heading h2,.member-row strong,.chat-byline strong{color:#e9eaeb}.panel-label,.member-row small,.chat-message p,.chat-byline time{color:#81858a}.online-team,.channel-chat{border-color:#303235}.member-avatar{border-color:#343638}.invite-button{color:#9b9ea3;border-color:#3b3d40;background:#222426}.invite-button:hover{color:#fff;border-color:#4a4d51;background:#292b2d}.message-attachment,.chat-composer{color:#b3b6ba;border-color:#37393c;background:#222426}.message-attachment:hover{border-color:#4b4e52;background:#292b2d}.attachment-preview{color:#8dbcf0;background:#1c2b3b}.message-attachment strong{color:#d5d7d9}.chat-composer input{color:#e4e5e6}.chat-composer button{background:#2188f5}.prototype-caption{color:#62666a}
.drawer,.upload-modal { color:#f0f1f2; background:#191a1c; }.drawer-header,.modal-header{border-color:#303235;background:rgba(25,26,28,.96)}.close-button{color:#a1a4a8;border-color:#3a3c3f;background:#232527}.detail-image{background:#111213}.detail-body,.upload-modal form{background:#191a1c}.detail-description,.download-note,.modal-header p:last-child{color:#8e9296}.info-section>h4{color:#e7e8e9;border-color:#3d4043}.info-grid,.info-item{border-color:#323437}.info-item span{color:#84888d}.info-item strong{color:#e4e5e6}.rights-line{color:#ddb77f;border-color:#59482f;background:#292319}.rights-line--usage{color:#8fd3a4;border-color:#31503b;background:#19281e}.detail-people button{color:#9fc4ed;border-color:#33485e;background:#1b2936}.mascot-detail-tags button{color:#fff;border-color:#2188f5;background:#2188f5}.dropzone{color:#8f9397;border-color:#414347;background:#202224}.dropzone:hover,.dropzone.is-dragging{border-color:#2188f5;background:#1a2735}.dropzone strong{color:#e8e9ea}.drop-icon{background:#2188f5}.field span{color:#aeb1b5}.field input,.field select,.field textarea{color:#e9eaeb;border-color:#3a3c3f;background:#222426}.field input:focus,.field select:focus,.field textarea:focus{border-color:#2188f5;box-shadow:0 0 0 3px rgba(33,136,245,.12)}.modal-actions{border-color:#303235;background:#191a1c}.button--ghost{color:#c3c5c8;border-color:#3a3c3f;background:#242628}.toast{color:#fff;background:#27292b;box-shadow:0 16px 36px rgba(0,0,0,.35)}
.login-panel,.login-card{background:#171819}.login-copy h2,.login-card .field span{color:#f1f2f3}.login-copy p,.login-note{color:#8f9297}.login-card input{color:#fff;border-color:#3a3c3f;background:#222426}.login-card input:focus{border-color:#2188f5;box-shadow:0 0 0 3px rgba(33,136,245,.12)}
.vault-mode .workspace-main { background:#0e0f10; }.vault-hero{border-color:#303235;background:radial-gradient(circle at 80% 15%,rgba(33,136,245,.16),transparent 31%),#171819}.vault-kicker{color:#65adfa}.vault-status span:last-child{color:#8fc5ff;border-color:#335579;background:#172434}.pipeline,.analysis-panel{border-color:#303235;background:#171819}.pipeline b{color:#a9d1fb;background:#1a2b3d}.vault-card{border-color:#303235;background:linear-gradient(145deg,#1e2022,#171819)}.vault-card__top b{color:#e9a48e;border-color:#6e4036;background:#2a1b18}.vault-card__actions .analyze-button{color:#9bc9fa;border-color:#33587d;background:#18283a}.analysis-panel__head>span{color:#9bc9fa;border-color:#33587d;background:#18283a}.confidential-entry{border-color:#3a3c40;background:linear-gradient(135deg,#242628,#1b1c1e)}.confidential-entry:hover{border-color:#2188f5;background:#25282b}.confidential-entry__icon{color:#fff;background:#2188f5}.confidential-entry small{color:#82868b}

/* Beijing Guoan identity on the premium graphite workspace. */
:root {
  --brand-green: #137c40;
  --brand-green-deep: #15592f;
  --signal: var(--brand-green);
  --signal-bright: #18954d;
  --signal-soft: #10251a;
  --signal-text: #8bccaa;
  --signal-stroke: #28583b;
  --surface-0: #090a0a;
  --surface-1: #0d0e0f;
  --surface-2: #131415;
  --surface-3: #191a1c;
  --stroke: #242527;
  --stroke-strong: #303235;
  --text-1: #f4f4f5;
  --text-2: #999b9f;
  --text-3: #64666a;
  --green-800: var(--signal);
  --green-700: var(--signal-bright);
  --ink: var(--text-1);
  --muted: var(--text-2);
  --line: var(--stroke);
  --paper: var(--surface-2);
  --canvas: var(--surface-0);
}
html, body, .app, .workspace-shell, .workspace-main { background:var(--surface-0); }
.topbar { border-color:var(--stroke); background:rgba(13,14,15,.98); }
.app-rail { border-color:#1c1d1e; background:#0b0c0c; }
.channel-sidebar { border-color:var(--stroke); background:#101112; }
.collab-panel { border-color:var(--stroke); background:#0e0f10; }
.brand-shield, .rail-button--brand { color:#f7f7f8; border-color:#353638; background:linear-gradient(145deg,#292a2c,#171819); }
.brand-crest { display:block; flex:0 0 auto; width:40px; height:46px; object-fit:contain; }
.topbar .brand-crest { width:36px; height:42px; }
.login-card .brand-crest { width:56px; height:64px; }
.rail-button { color:#66686c; }
.rail-button:hover { color:#d7d8da; background:#18191a; }
.rail-button.is-active { color:var(--signal-text); background:var(--signal-soft); box-shadow:inset 0 0 0 1px rgba(19,124,64,.18); }
.workspace-switcher { border-color:var(--stroke); background:#18191a; }
.workspace-switcher__crest { width:34px; height:40px; background:none; border:none; }
.workspace-switcher__crest .brand-crest { width:34px; height:40px; }
.tenant-add, .invite-button { border-color:#2a2b2d; background:#151617; }
.tenant-add > span:first-child { color:var(--signal-text); background:var(--signal-soft); }
.channel-item:hover,.drive-item:hover { color:#eeeef0; background:#18191a; }
.channel-item.is-active,.drive-item.is-active { color:#fff; background:#1d1e20; }
.channel-item.is-active::before, .collection-tabs button.is-active::after, .storage-meter i { background:var(--signal); }
.channel-item.is-active .channel-hash { color:var(--signal-text); }
.search-box { border-color:#292a2c; background:#111213; }
.search-box:focus-within { border-color:var(--signal-stroke); box-shadow:0 0 0 3px rgba(19,124,64,.15); }
.search-box button, .button--primary { background:var(--signal); box-shadow:0 6px 18px rgba(19,124,64,.18); }
.search-box button:hover, .button--primary:hover { background:var(--signal-bright); }
.avatar { color:#f0f0f1; background:#202123; }
.team-banner { border-color:var(--stroke); background:linear-gradient(110deg,#151617,#101112); }
.team-banner__icon { color:var(--signal-text); background:var(--signal-soft); }
.presence-stack span { border-color:#151617; background:#262729; }
.shared-pill { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.stats-row article { border-color:var(--stroke); background:#151617; }
.stats-row article:hover { border-color:#343638; background:#18191a; }
.stat-icon { color:var(--signal-text); background:var(--signal-soft); }
.stats-row article:nth-child(2) .stat-icon { color:#75b995; background:#12251a; }
.stats-row article:nth-child(3) .stat-icon { color:#9a9da1; background:#222325; }
.stats-row article:nth-child(4) .stat-icon { color:#a1cfb5; background:#17261f; }
.collection-tabs button.is-active { color:var(--signal-text); }
.toolbar-actions select,.project-filter select { border-color:var(--stroke); background:#131415; }
.view-toggle { border-color:var(--stroke); background:#131415; }
.view-toggle button.is-active { color:var(--signal-text); background:var(--signal-soft); }
.asset-card { border-color:var(--stroke); background:#141516; }
.asset-card:hover { border-color:var(--signal-stroke); box-shadow:0 18px 42px rgba(0,0,0,.36); }
.asset-category { background:rgba(24,25,26,.88); box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.asset-card:hover .asset-category { color:#fff; background:var(--signal); box-shadow:none; }
.asset-code { color:#d9dadc; background:rgba(9,10,10,.82); }
.people-tags span { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.media-placeholder { color:var(--signal-text); background:radial-gradient(circle at 72% 22%,rgba(19,124,64,.16),transparent 33%),linear-gradient(145deg,#111213,#101b15 65%,#0b0c0c); }
.filter-panel { border-color:#292a2c; background:#151617; }
.filter-item:hover,.filter-item.is-active { background:#1e1f21; }
.filter-item.is-active { color:#fff; }
.filter-item.is-active .filter-dot { background:var(--signal); }
.alphabet-filter button,.person-directory button { border-color:#2b2c2e; background:#18191a; }
.alphabet-filter button:hover,.alphabet-filter button.is-active,.person-directory button:hover,.person-directory button.is-active { color:#fff; border-color:var(--signal); background:var(--signal); }
.chat-online-dot,.status-online,.team-presence>i { background:#29b66f; }
.chat-composer button { background:var(--signal); }
.attachment-preview { color:var(--signal-text); background:var(--signal-soft); }
.message-attachment:hover,.chat-composer:focus-within { border-color:var(--signal-stroke); }
.drop-icon { background:var(--signal); }
.dropzone:hover,.dropzone.is-dragging { border-color:var(--signal); background:var(--signal-soft); }
.field input:focus,.field select:focus,.field textarea:focus { border-color:var(--signal); box-shadow:0 0 0 3px rgba(19,124,64,.15); }
.detail-people button { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.mascot-detail-tags button { color:#fff; border-color:var(--signal); background:var(--signal); }
.confidential-entry { border-color:var(--signal-stroke); background:linear-gradient(135deg,var(--signal-soft),#151515); }
.confidential-entry:hover { border-color:var(--brand-green); background:#152b1e; }
.confidential-entry__icon { color:var(--signal-text); background:#163520; }
.vault-mode .workspace-main { background:#080909; }
.vault-hero { border-color:#292a2c; background:radial-gradient(circle at 82% 12%,rgba(19,124,64,.14),transparent 33%),#111213; }
.vault-kicker { color:var(--signal-text); }
.vault-status span:last-child { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.pipeline,.analysis-panel { border-color:#292a2c; background:#111213; }
.pipeline b { color:var(--signal-text); background:var(--signal-soft); }
.vault-card { border-color:#292a2c; background:linear-gradient(145deg,#171819,#101112); }
.vault-card:hover { border-color:var(--signal-stroke); }
.vault-card__top b { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.vault-card__actions .analyze-button,.analysis-panel__head>span { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.button--danger { background:var(--signal); }.button--danger:hover{background:var(--signal-bright)}
.job-state { color:var(--signal-text); background:var(--signal-soft); }

/* Full-surface theme closure: login, search, forms, overlays and secondary states. */
.topbar .search-box {
  color:var(--text-1);
  border-color:#2b2c2e;
  background:#111213;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.topbar .search-box:focus-within { border-color:var(--signal-stroke); background:#111813; box-shadow:0 0 0 3px rgba(19,124,64,.15); }
.topbar .search-box input { color:var(--text-1); caret-color:var(--signal); }
.topbar .search-box input::placeholder { color:#67696d; }
.topbar .search-icon { color:var(--signal-text); }
.topbar .search-hint { color:#717378; border-color:#303134; background:#1a1b1d; }
.topbar .search-box button { color:#fff; background:var(--signal); }
.topbar .search-box button:hover { background:var(--signal-bright); }
.dropdown button { color:#d8d9db; }
.button--ghost { color:#c8c9cb; border-color:#333537; background:#1b1c1e; }
.button--ghost:hover { color:#fff; border-color:#494b4e; background:#222426; }
.button--light { color:#fff; background:#242527; }
.eyebrow { color:var(--signal-text); }
.filter-heading button, .sidebar-section__heading button, .sort-label { color:#83b899; }
.filter-heading button:hover, .sidebar-section__heading button:hover { color:var(--signal-text); background:var(--signal-soft); }
.filter-item b { color:#aed8be; background:#153021; }
.filter-group select, .date-filter input { color:#dedfe1; border-color:#2d2f31; background:#171819; color-scheme:dark; }
.alphabet-filter button:disabled { color:#44464a; border-color:#202123; background:#121314; }
.person-directory button b { color:#83b899; }
.mascot-filter { color:#b7b9bc; border-color:#2d2e30; background:#151617; }
.mascot-filter__mark { color:var(--signal-text); background:var(--signal-soft); }
.mascot-filter > b { color:var(--signal-text); }
.mascot-filter:hover,.mascot-filter.is-active { color:#fff; border-color:var(--signal-stroke); background:var(--signal-soft); }
.rights-card > span,.rights-line span { background:#c68d25; }
.rights-line--usage span { background:#29985b; }
.sort-label { border-color:#2c2d2f; background:#141516; }
.sort-label:hover { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.asset-image.is-image-missing::before,.detail-image.is-image-missing::before { color:var(--signal-text); background:linear-gradient(135deg,#18191a,#15241b); }
.asset-quick i { color:#fff; background:var(--signal); }
.empty-state>div { color:var(--signal-text); }
.drawer-backdrop,.modal-backdrop { background:rgba(0,0,0,.72); backdrop-filter:blur(4px); }
.drawer { background:#111213; box-shadow:-28px 0 70px rgba(0,0,0,.55); }
.upload-modal { border:1px solid #2b2c2e; background:#141516; box-shadow:0 28px 90px rgba(0,0,0,.58); }
.drawer-header,.modal-header { border-color:#2a2b2d; background:rgba(17,18,19,.97); }
.detail-body,.upload-modal form,.modal-actions { background:#141516; }
.field input,.field select,.field textarea,.password-wrap { color:#e8e9ea; border-color:#303235; background:#191a1c; color-scheme:dark; }
.field input::placeholder,.field textarea::placeholder { color:#5e6064; }
.file-name { color:var(--signal-text); }
.toast.is-error { background:#b9362d; }
.login-view { color:var(--text-1); background:var(--surface-0); }
.login-photo { color:var(--text-1); background:radial-gradient(ellipse at 75% 20%,rgba(19,124,64,.2),transparent 48%),linear-gradient(135deg,#0d1711,#101112 65%,#090a0a); }
.login-photo__content { color:var(--text-1); }
.login-photo p { color:#99aaa0; }
.edition-mark { color:var(--signal-text); border-color:var(--signal-stroke); }
.login-photo::after { background:linear-gradient(90deg,rgba(6,7,7,.18),rgba(6,7,7,.62)); }
.login-panel,.login-card { background:#101112; }
.login-panel { border-left:1px solid #202123; }
.login-card .brand-shield { color:var(--signal); border-color:#353638; background:#1a1b1d; box-shadow:none; }
.login-copy .eyebrow { color:var(--signal-text); }
.login-note { border-color:#2a2b2d; background:#151617; }
.login-card .password-wrap { border-color:#303235; background:#191a1c; }
.login-card .password-wrap:focus-within { border-color:var(--signal-stroke); box-shadow:0 0 0 3px rgba(19,124,64,.15); }
.login-card .icon-button { color:#777a7e; background:transparent; }
.vault-toolbar select { color:#d7d8da; border-color:#2c2d2f; background:#131415; color-scheme:dark; }
.vault-toolbar select:focus,.project-filter select:focus,.toolbar-actions select:focus { border-color:var(--signal-stroke); outline:0; box-shadow:0 0 0 3px rgba(19,124,64,.15); }
.analysis-panel__head>span.is-ready { color:#7ed39d; border-color:#285a39; background:#12241a; }
@media(max-width:700px){
  .topbar .search-box{background:#111213;border-color:#292a2c}
  .channel-sidebar{background:#101112;border-bottom-color:#242527}
  .advanced-filter{border-color:#242527}
}

/* Right-side filter workspace */
.advanced-filter--right { margin:18px 0 0; border-top:1px solid var(--stroke); }
.advanced-filter--right > summary { padding:15px 0 10px; color:#d7d8da; font-size:10px; letter-spacing:.03em; }
.advanced-filter--right .filter-panel { padding:0 0 18px; background:transparent; border:0; box-shadow:none; }
.advanced-filter--right .filter-heading { padding:8px 0 11px; border-bottom:1px solid var(--stroke); }
.advanced-filter--right .filter-heading h2 { font-size:12px; }
.advanced-filter--right .filter-group { padding:14px 0; border-color:var(--stroke); }
.advanced-filter--right .filter-list { grid-template-columns:1fr 1fr; gap:4px; }
.advanced-filter--right .filter-item { min-height:30px; padding:6px 7px; font-size:8px; }
.advanced-filter--right .filter-item:first-child { grid-column:1 / -1; }
.advanced-filter--right .alphabet-filter { grid-template-columns:repeat(7,1fr); }
.advanced-filter--right .person-directory { max-height:112px; }
.advanced-filter--right .rights-card { margin-top:14px; }
.collab-panel { overflow-y:auto; scrollbar-width:thin; }
@media(max-width:1180px){
  .collab-panel { display:block; position:static; grid-column:2 / -1; border-top:1px solid var(--stroke); border-left:0; }
  .advanced-filter--right .filter-list { grid-template-columns:repeat(3,1fr); }
  .advanced-filter--right .filter-item:first-child { grid-column:auto; }
}
@media(max-width:940px){
  .collab-panel { grid-column:1 / -1; }
}
@media(max-width:700px){
  .collab-panel { width:100%; padding:18px 14px 28px; }
  .advanced-filter--right .filter-list { grid-template-columns:repeat(2,1fr); }
}

/* Department-based asset workspace */
.workspace-shell { grid-template-columns:230px minmax(0,1fr) 280px; }
.vault-mode .workspace-shell { grid-template-columns:230px minmax(0,1fr); }
.preview-identity { display:grid; gap:8px; margin:14px 2px 18px; }
.preview-identity>span { color:var(--text-2); font-size:9px; }
.preview-identity select,.department-filter select { width:100%; min-width:0; border:1px solid var(--signal-stroke); border-radius:7px; padding:10px; color:var(--text-1); background:#131b16; font-size:10px; }
.preview-identity select:focus,.department-filter select:focus { outline:0; border-color:var(--signal); box-shadow:0 0 0 3px rgba(19,124,64,.15); }
.department-filter { display:grid; gap:8px; padding:14px 0; border-bottom:1px solid var(--stroke); }
.department-filter>span { color:var(--text-2); font-size:10px; }
.department-filter select { border-color:var(--stroke); color:var(--text-1); background:#151617; }
.account-access-card { padding:16px 0 8px; }
.account-access-card>small { display:block; color:#717377; font-size:9px; }
.account-access-card>strong { display:block; margin:7px 0 10px; color:#eeeef0; font-size:13px; }
.account-access-card>p { color:#85878b; font-size:10px; line-height:1.7; }
.access-indicator { color:#83b899; font-size:8px; }
.access-tags { display:flex; flex-wrap:wrap; gap:6px; }
.access-tags>span { border:1px solid var(--signal-stroke); border-radius:5px; padding:5px 8px; color:var(--signal-text); background:var(--signal-soft); font-size:10px; }
.access-tags>.access-tag--super { border-color:#3e3f42; color:#b4b5b8; background:#222325; }
.asset-access-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; padding-top:9px; border-top:1px solid #28292b; font-size:9px; }
.asset-access-meta>span { color:#9abfaa; }.asset-access-meta small { color:#737579; font-size:8px; }
.vault-access-label { margin:10px 0; color:var(--signal-text); font-size:9px; }
.access-section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.access-section-heading h4 { margin:0; font-size:12px; }.access-edit-button { padding:7px 10px; border:1px solid var(--signal-stroke); border-radius:6px; color:var(--signal-text); background:var(--signal-soft); font-size:10px; }
.access-edit-button:hover { border-color:var(--signal); color:#c7ead5; background:#163520; }
.access-owner { color:#9fa0a4; font-size:11px; }.access-confidential-note { color:var(--signal-text); font-size:10px; }
.access-modal { position:relative; width:min(650px,calc(100vw - 32px)); max-height:calc(100vh - 40px); overflow:auto; margin:20px auto; border:1px solid #313235; border-radius:12px; background:#131415; box-shadow:0 30px 100px rgba(0,0,0,.65); }
.access-modal form { padding:24px; }.access-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
.audience-field { margin:0 0 22px; padding:14px; border:1px solid #303134; border-radius:8px; }
.audience-field legend { color:#d9dadc; padding:0 6px; font-size:12px; font-weight:650; }.audience-field>p,.access-save-note { margin:0 0 12px; color:#898b8f; font-size:10px; line-height:1.7; }
.audience-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.audience-choice { display:flex; align-items:center; gap:8px; min-height:36px; padding:9px; border:1px solid #292a2c; border-radius:6px; color:#b1b3b7; background:#191a1c; font-size:11px; cursor:pointer; }
.audience-choice:has(input:checked) { border-color:var(--signal-stroke); color:var(--signal-text); background:var(--signal-soft); }.audience-choice:has(input:disabled) { cursor:default; opacity:.64; }
.audience-choice input { width:13px; height:13px; accent-color:var(--signal); }.audience-choice small { margin-left:auto; color:#767579; font-size:8px; }
.team-presence { display:none; }
.collab-panel { position:sticky; top:68px; height:calc(100vh - 68px); }
@media(min-width:1580px){ .asset-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1180px){
  .workspace-shell { grid-template-columns:205px minmax(0,1fr) 240px; }
  .collab-panel { grid-column:auto; border-left:1px solid var(--stroke); border-top:0; padding-inline:14px; }
  .asset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .advanced-filter--right .filter-list { grid-template-columns:1fr 1fr; }
  .advanced-filter--right .filter-item:first-child { grid-column:1 / -1; }
  .vault-mode .workspace-shell { grid-template-columns:205px minmax(0,1fr); }
}
@media(max-width:920px){
  .workspace-shell,.vault-mode .workspace-shell { grid-template-columns:190px minmax(0,1fr); }
  .collab-panel { position:static; height:auto; grid-column:1 / -1; border-left:0; border-top:1px solid var(--stroke); }
  .asset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px){
  .workspace-shell,.vault-mode .workspace-shell { display:flex; }
  .channel-sidebar { display:block; padding:14px; }.tenant-add,.sidebar-section--drive { display:none; }
  .sidebar-section { display:flex; flex-wrap:wrap; gap:5px; }.sidebar-section__heading { width:100%; }.channel-item { width:auto; min-width:90px; padding-inline:10px; }
  .preview-identity { margin-bottom:8px; }.collab-panel { position:static; height:auto; }
  .access-modal form { padding:18px; }.audience-options { grid-template-columns:1fr; }
}

.tenant-home { min-height:100vh; display:grid; place-items:center; padding:24px; }
.tenant-home section,.workspace-dialog { width:min(480px,94vw); padding:26px; border:1px solid var(--border,#34443c); border-radius:16px; background:var(--surface-1,#18201b); color:var(--text-1,#ebf1ed); }
.workspace-dialog { margin:auto; max-height:85vh; overflow:auto; }
.workspace-dialog::backdrop { background:rgba(4,10,7,.72); }
.workspace-dialog header,.workspace-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.workspace-dialog form { display:grid; gap:14px; margin-top:20px; }
#password-form[hidden] { display:none; }
#password-form .field { margin:0; }
#password-heading { margin:0; font-size:18px; }
#password-feedback:empty { display:none; }
#password-feedback { font-size:13px; }
.workspace-dialog fieldset { display:flex; flex-wrap:wrap; gap:10px; padding:12px; border:1px solid #536253; }
.workspace-dialog fieldset label { display:flex; align-items:center; gap:5px; }
.workspace-link { display:block; padding:12px; margin:8px 0; border:1px solid #536253; border-radius:8px; color:inherit; }
.tenant-list,#workspace-feedback { margin:12px 0; }
.tenant-badge { display:inline-grid; place-items:center; background:#28553e; color:white; border-radius:50%; min-width:32px; height:32px; }

/* Platform administration: club directory and selected workspace. */
.platform-page { min-height:100vh; color-scheme:dark; background:var(--surface-0); color:var(--text-1); }
.platform-topbar .brand-lockup .brand-shield { display:grid; place-items:center; font-size:15px; }
.platform-account { margin-left:auto; display:flex; align-items:center; gap:10px; min-width:0; }
.platform-account .user-meta { display:grid; gap:2px; max-width:30vw; overflow-wrap:anywhere; }
.platform-account .button { margin-left:6px; }
.platform-page .button { font-size:11px; }
#platform-create .platform-actions .button,#club-admin-editor .platform-actions .button { font-size:13px; }
.platform-columns { display:grid; grid-template-columns:230px minmax(0,1fr); min-height:calc(100vh - 68px); }
.platform-sidebar { min-width:0; padding:22px 13px; background:#101112; border-right:1px solid var(--stroke); }
.directory-heading { display:flex; align-items:center; justify-content:space-between; gap:4px; margin:0 6px 12px; color:var(--text-2); }
.directory-heading h2 { margin:0; font-size:10px; font-weight:650; }
.directory-heading span { font-size:9px; font-variant-numeric:tabular-nums; }
#platform-clubs { display:grid; gap:5px; }
#platform-clubs button { position:relative; display:flex; align-items:center; gap:10px; width:100%; min-width:0; min-height:52px; padding:8px 12px; text-align:left; border:0; border-radius:6px; background:transparent; color:var(--text-2); }
#platform-clubs button:hover { background:var(--surface-3); color:var(--text-1); }
#platform-clubs button[aria-current=true] { color:var(--text-1); background:#1d1e20; }
#platform-clubs button[aria-current=true]::before { content:""; position:absolute; inset:9px auto 9px 0; width:3px; border-radius:2px; background:var(--signal); }
.nav-club-label { min-width:0; display:grid; gap:3px; overflow-wrap:anywhere; }
.nav-club-label strong { font-size:11px; }
.nav-club-label small { color:var(--text-2); font-size:9px; }
.nav-crest,.hero-crest { display:grid; place-items:center; flex:none; font-weight:700; color:var(--signal-text); }
.nav-crest { width:30px; height:34px; }
.nav-crest img,.hero-crest img { width:100%; height:100%; object-fit:contain; }
.platform-main { min-width:0; width:100%; padding:22px clamp(18px,2.2vw,34px) 40px; }
.platform-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.platform-header h1 { margin:0; font-size:22px; letter-spacing:-.035em; }
.platform-header p { margin:5px 0 0; color:var(--text-2); font-size:9px; }
.platform-page a.button { text-decoration:none; }
.platform-page button:disabled { opacity:.55; cursor:default; }
.platform-page :is(button,a,input,select):focus-visible { outline:2px solid var(--signal-text); outline-offset:2px; }
.club-banner { flex-wrap:wrap; }
.hero-crest { width:40px; height:46px; font-size:24px; }
.club-banner h2 { flex:1; margin:0; min-width:0; font-size:16px; letter-spacing:-.025em; overflow-wrap:anywhere; }
.club-state { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--stroke-strong); padding:4px 8px; border-radius:5px; color:var(--text-2); background:var(--surface-3); font-size:8px; }
.club-active { color:var(--signal-text); border-color:var(--signal-stroke); background:var(--signal-soft); }
.club-state::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.club-settings,#platform-create { margin-top:16px; padding:20px; border:1px solid var(--stroke); border-radius:10px; background:var(--surface-2); }
.club-settings h3,#platform-create h2 { margin:0; font-size:13px; letter-spacing:-.02em; }
.club-admin-header { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:10px; }
#club-admin-list { list-style:none; margin:12px 0 0; padding:0; }
#club-admin-list li { display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
#club-admin-list li:last-child { padding-bottom:0; }
#club-admin-list li div { flex:1; min-width:0; overflow-wrap:anywhere; }
#club-admin-list strong { font-size:13px; }
#club-admin-list small { display:block; margin-top:3px; }
#club-admin-list small,#club-admin-list li>span,#club-admin-editor small,#club-admin-feedback { color:var(--muted); font-size:10px; }
#club-admin-list small,#club-admin-list li>span { font-size:9px; }
#club-admin-feedback:empty { display:none; }
#club-admin-editor:not([hidden]) { margin-top:20px; padding-top:16px; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#club-admin-editor h4,#club-admin-editor .platform-actions { grid-column:1/-1; margin:0; }
#club-admin-editor .field:not([hidden]) { display:grid; align-content:start; gap:7px; color:var(--ink); font-size:12px; min-width:0; }
#club-admin-editor .field,#platform-create .field { margin:0; }
#club-admin-editor h4 { font-size:12px; }
#club-admin-editor :is(input,select),#platform-create input { font-size:1rem; }
#club-admin-editor input:read-only { color:var(--muted); }
.club-properties { margin:12px 0 16px; }
.club-properties div { display:grid; grid-template-columns:minmax(86px,21%) 1fr; align-items:center; gap:10px; min-height:47px; padding:8px 0; border-bottom:1px solid var(--line); }
.club-properties dt { color:var(--muted); font-size:9px; }
.club-properties dd { margin:0; color:var(--ink); font-size:11px; overflow-wrap:anywhere; }
.icon-setting { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.icon-setting small { color:var(--muted); font-size:10px; }
.club-properties code { padding:4px 8px; border-radius:5px; background:var(--surface-3); font:11px ui-monospace,monospace; }
.platform-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
#platform-create { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
#platform-create h2,#platform-create .platform-actions { grid-column:1/-1; }
.club-admin-fields { grid-column:1/-1; display:grid; grid-template-columns:inherit; gap:inherit; min-width:0; margin:0; padding:14px 0 0; border:0; }
.club-admin-fields legend { padding:0; font-size:12px; font-weight:600; color:var(--ink); }
#platform-create .field { min-width:0; color:var(--ink); display:grid; align-content:start; gap:7px; font-size:12px; }
#platform-create small,#platform-feedback { font-size:10px; color:var(--muted); }
#platform-feedback:not(:empty) { margin-top:16px; }
.platform-page [hidden] { display:none; }
@media(max-width:720px) {
  .platform-columns { grid-template-columns:96px minmax(0,1fr); min-height:calc(100vh - 62px); }
  .platform-sidebar { padding:16px 6px; }
  .directory-heading { margin:0 2px 10px; }
  #platform-clubs button { flex-direction:column; gap:4px; padding:8px 4px; text-align:center; }
  .platform-main { padding:16px 12px 28px; }
  .platform-header { flex-wrap:wrap; margin-bottom:12px; }
  .platform-account .user-meta { display:none; }
  .club-settings,#platform-create { padding:14px; }
  .club-properties div { grid-template-columns:1fr; gap:6px; }
  #platform-create,#club-admin-editor:not([hidden]) { grid-template-columns:minmax(0,1fr); gap:14px; }
}
@media(max-width:460px) {
  .platform-columns { grid-template-columns:84px minmax(0,1fr); }
  .platform-header { gap:8px; }
  .platform-topbar .brand-lockup { gap:6px; }
  .platform-account { gap:4px; }
  .hero-crest { width:30px; height:36px; }
  .club-banner { gap:7px; }
  #club-admin-list li { flex-wrap:wrap; gap:6px; }
}
@media(max-width:700px) {
  .platform-account .button,.platform-header .button { font-size:9px; }
}
