:root {
  --text: #20242a;
  --muted: #7a8491;
  --line: #edf0f3;
  --blue: #2f9df4;
  --dark: #232323;
  --bench-bg: #f5f7fb;
  --bench-line: #e6ebf1;
}

/* Theme system */
html[data-theme="minimal"] {
  --skin-page: #f7f8f9;
  --skin-surface: #ffffff;
  --skin-panel: #f0f2f3;
  --skin-text: #202428;
  --skin-muted: #757c83;
  --skin-line: #e2e5e8;
  --skin-accent: #202428;
  --skin-accent-soft: #e8eaec;
  --skin-accent-text: #ffffff;
  --skin-shadow: none;
  --skin-radius: 0px;
  color-scheme: light;
}

html[data-theme="minimal-plus"] {
  --skin-page: #f3f6f5;
  --skin-surface: #ffffff;
  --skin-panel: #e9f0ee;
  --skin-text: #17231f;
  --skin-muted: #68756f;
  --skin-line: #dce5e1;
  --skin-accent: #19766b;
  --skin-accent-soft: #dcefeb;
  --skin-accent-text: #ffffff;
  --skin-shadow: 0 8px 22px rgba(26, 63, 55, 0.08);
  --skin-radius: 6px;
  color-scheme: light;
}

html[data-theme="classic"] {
  --skin-page: #f7f7f5;
  --skin-surface: #ffffff;
  --skin-panel: #f0f0ed;
  --skin-text: #262624;
  --skin-muted: #74746f;
  --skin-line: #e2e1dc;
  --skin-accent: #a98218;
  --skin-accent-soft: #eee7d2;
  --skin-accent-text: #ffffff;
  --skin-shadow: 0 6px 18px rgba(36, 34, 28, 0.06);
  --skin-radius: 3px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --skin-page: #222222;
  --skin-surface: #252525;
  --skin-panel: #303030;
  --skin-text: #f0f0f0;
  --skin-muted: #9b9b9b;
  --skin-line: #353535;
  --skin-accent: #f1d743;
  --skin-accent-soft: #5b5116;
  --skin-accent-text: #202020;
  --skin-shadow: none;
  --skin-radius: 3px;
  color-scheme: dark;
}

html[data-theme="dark-plus"] {
  --skin-page: #111210;
  --skin-surface: #181916;
  --skin-panel: #242521;
  --skin-text: #f7f5ed;
  --skin-muted: #aaa99f;
  --skin-line: #34352f;
  --skin-accent: #e2bc52;
  --skin-accent-soft: #493b12;
  --skin-accent-text: #19170f;
  --skin-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  --skin-radius: 6px;
  color-scheme: dark;
}

html[data-theme] {
  --text: var(--skin-text);
  --muted: var(--skin-muted);
  --line: var(--skin-line);
  --blue: var(--skin-accent);
  --bench-bg: var(--skin-page);
  --bench-line: var(--skin-line);
}

html[data-theme] body,
html[data-theme] .works-view,
html[data-theme] .team-view,
html[data-theme] .case-dark-view,
html[data-theme] .hotel-view,
html[data-theme] .bench-view,
html[data-theme] .module-view,
html[data-theme] .crm-view {
  color: var(--skin-text);
  background: var(--skin-page);
}

html[data-theme] .site-header,
html[data-theme] .team-topbar,
html[data-theme] .company-view .team-topbar,
html[data-theme] .module-head,
html[data-theme] .module-stats div,
html[data-theme] .module-card,
html[data-theme] .today-card,
html[data-theme] .bench-card,
html[data-theme] .report-card,
html[data-theme] .crm-main,
html[data-theme] .crm-smart-nav,
html[data-theme] .crm-content,
html[data-theme] .crm-board-column,
html[data-theme] .crm-board-card,
html[data-theme] .work-card {
  color: var(--skin-text);
  background: var(--skin-surface);
  border-color: var(--skin-line);
}

html[data-theme] .team-page,
html[data-theme] .case-dark-page,
html[data-theme] .hotel-page,
html[data-theme] .module-page,
html[data-theme] .bench-main,
html[data-theme] .crm-workspace {
  background: var(--skin-page);
}

html[data-theme] .team-topbar {
  border-bottom: 1px solid var(--skin-line);
}

html[data-theme] .team-logo,
html[data-theme] .team-card h3,
html[data-theme] .team-card strong,
html[data-theme] .case-dark-info h3,
html[data-theme] .hotel-card h3,
html[data-theme] .module-head h1,
html[data-theme] .module-stats strong,
html[data-theme] .module-card h3,
html[data-theme] .card-title h2,
html[data-theme] .today-date strong,
html[data-theme] .crm-primary-tabs button.active,
html[data-theme] .crm-board-card strong,
html[data-theme] .crm-customer-name,
html[data-theme] .work-card h3 {
  color: var(--skin-text);
}

html[data-theme] .team-nav button,
html[data-theme] .team-top-icons button,
html[data-theme] .team-view-options button,
html[data-theme] .team-view-options label,
html[data-theme] .team-category-row button,
html[data-theme] .team-filter-row > button,
html[data-theme] .team-local-tip,
html[data-theme] .team-card,
html[data-theme] .team-card p,
html[data-theme] .team-card small,
html[data-theme] .dark-icon-strip button,
html[data-theme] .dark-toolbar-right button,
html[data-theme] .dark-toolbar-right label,
html[data-theme] .dark-filter-line,
html[data-theme] .dark-filter-line span,
html[data-theme] .dark-filter-line button,
html[data-theme] .case-dark-card,
html[data-theme] .hotel-card,
html[data-theme] .case-dark-info p,
html[data-theme] .hotel-card p,
html[data-theme] .case-dark-info small,
html[data-theme] .hotel-card small,
html[data-theme] .module-head p,
html[data-theme] .module-card p,
html[data-theme] .module-card small,
html[data-theme] .bench-head,
html[data-theme] .bench-head button,
html[data-theme] .crm-view,
html[data-theme] .crm-head,
html[data-theme] .crm-head-actions button,
html[data-theme] .work-card p,
html[data-theme] .left-tools button {
  color: var(--skin-muted);
}

html[data-theme] .site-nav .active,
html[data-theme] .team-nav .active,
html[data-theme] .dark-filter-line button.active,
html[data-theme] .crm-sidebar button.active,
html[data-theme] .crm-primary-tabs button.active,
html[data-theme] .crm-custom-query,
html[data-theme] .module-head span,
html[data-theme] .left-tools button.active {
  color: var(--skin-accent);
}

html[data-theme] .crm-primary-tabs button.active::after,
html[data-theme] .team-local-tip span {
  background: var(--skin-accent);
}

html[data-theme] .team-primary-tabs,
html[data-theme] .team-search,
html[data-theme] .dark-search,
html[data-theme] .hotel-search select,
html[data-theme] .case-dark-tags em,
html[data-theme] .team-right-rail,
html[data-theme] .dark-side-arrow,
html[data-theme] .crm-view-toggle,
html[data-theme] .crm-smart-list button.active,
html[data-theme] .crm-smart-list button:hover {
  color: var(--skin-text);
  background: var(--skin-panel);
  border-color: var(--skin-line);
}

html[data-theme] .team-primary-tabs button {
  color: var(--skin-muted);
  border-color: var(--skin-line);
}

html[data-theme] .team-primary-tabs button.active,
html[data-theme] .team-category-row button.active,
html[data-theme] .today-date .active,
html[data-theme] .card-title .active,
html[data-theme] .mini-tabs .active {
  color: var(--skin-accent-text);
  background: var(--skin-accent);
}

html[data-theme] .team-card-image,
html[data-theme] .case-dark-image,
html[data-theme] .hotel-card img {
  border-radius: var(--skin-radius);
  background: var(--skin-panel);
}

html[data-theme] .team-card-image span,
html[data-theme] .case-dark-image span,
html[data-theme] .team-right-rail em {
  color: var(--skin-accent-text);
  background: var(--skin-accent);
}

html[data-theme] .dark-filter-box,
html[data-theme] .team-right-rail,
html[data-theme] .team-right-rail button,
html[data-theme] .dark-side-arrow,
html[data-theme] .crm-sidebar,
html[data-theme] .crm-table th,
html[data-theme] .crm-table td,
html[data-theme] .crm-table-wrap,
html[data-theme] .crm-custom-query,
html[data-theme] .metric-table,
html[data-theme] .metric-table div {
  border-color: var(--skin-line);
}

html[data-theme] .team-search input,
html[data-theme] .dark-search input,
html[data-theme] .hotel-search select,
html[data-theme] .crm-filter-row select,
html[data-theme] .crm-filter-row button,
html[data-theme] .crm-stat-button,
html[data-theme] .crm-search input,
html[data-theme] .crm-advanced-filters select,
html[data-theme] .crm-advanced-filters input,
html[data-theme] .crm-pagination select,
html[data-theme] .crm-pagination input {
  color: var(--skin-text);
  background: var(--skin-surface);
  border-color: var(--skin-line);
}

html[data-theme] .module-head button,
html[data-theme] .today-actions button,
html[data-theme] .crm-add-button,
html[data-theme] .crm-follow-form > button,
html[data-theme] .crm-create-actions button[type="submit"] {
  color: var(--skin-accent-text);
  background: var(--skin-accent);
}

html[data-theme] .module-head,
html[data-theme] .module-stats div,
html[data-theme] .module-card,
html[data-theme] .today-card,
html[data-theme] .bench-card,
html[data-theme] .report-card,
html[data-theme] .crm-board-card,
html[data-theme] .work-card {
  border-radius: var(--skin-radius);
  box-shadow: var(--skin-shadow);
}

html[data-theme] .bench-sidebar,
html[data-theme] .crm-sidebar {
  color: var(--skin-muted);
  background: var(--skin-panel);
  border-color: var(--skin-line);
}

html[data-theme] .bench-sidebar button,
html[data-theme] .crm-sidebar button {
  color: var(--skin-muted);
}

html[data-theme] .bench-sidebar button.active,
html[data-theme] .crm-sidebar button.active {
  color: var(--skin-accent);
  background: var(--skin-surface);
}

html[data-theme] .today-card {
  background: var(--skin-accent-soft);
}

html[data-theme] .crm-table,
html[data-theme] .crm-table td,
html[data-theme] .crm-table th,
html[data-theme] .crm-table .crm-action-cell,
html[data-theme] .crm-table th.crm-action-cell {
  color: var(--skin-text);
  background: var(--skin-surface);
}

html[data-theme] .crm-table tbody tr:hover td {
  background: var(--skin-panel);
}

html[data-theme] .crm-alert-strip {
  color: var(--skin-accent);
  background: var(--skin-accent-soft);
}

html[data-theme] .crm-alert-strip span,
html[data-theme] .crm-alert-strip button {
  color: var(--skin-text);
}

html[data-theme="minimal-plus"] .team-card,
html[data-theme="minimal-plus"] .case-dark-card,
html[data-theme="minimal-plus"] .hotel-card,
html[data-theme="dark-plus"] .team-card,
html[data-theme="dark-plus"] .case-dark-card,
html[data-theme="dark-plus"] .hotel-card {
  padding: 10px;
  background: var(--skin-surface);
  border: 1px solid var(--skin-line);
  border-radius: var(--skin-radius);
  box-shadow: var(--skin-shadow);
}

html[data-theme="minimal"] .company-stage,
html[data-theme="minimal-plus"] .company-stage,
html[data-theme="classic"] .company-stage {
  background: var(--skin-page);
}

html[data-theme="minimal"] .company-mark,
html[data-theme="minimal"] .company-mark strong,
html[data-theme="minimal"] .company-brand p,
html[data-theme="minimal-plus"] .company-mark,
html[data-theme="minimal-plus"] .company-mark strong,
html[data-theme="minimal-plus"] .company-brand p,
html[data-theme="classic"] .company-mark,
html[data-theme="classic"] .company-mark strong,
html[data-theme="classic"] .company-brand p {
  color: var(--skin-text);
}

html[data-theme="minimal"] .company-mark span,
html[data-theme="minimal-plus"] .company-mark span,
html[data-theme="classic"] .company-mark span {
  background:
    radial-gradient(circle at 48% 52%, var(--skin-page) 0 29%, transparent 30%),
    conic-gradient(#f4d942 0 24%, #d74c5a 24% 50%, #4a86e8 50% 76%, #ffffff 76% 100%);
}

@media (max-width: 680px) {
  .theme-menu {
    width: min(268px, calc(100vw - 24px));
    padding: 18px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body {
  color: var(--text);
  background: #fff;
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

img {
  max-width: 100%;
}

.app-shell,
.view {
  width: 100vw;
  height: 100vh;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.login-view {
  position: relative;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(55, 118, 165, 0.24), rgba(8, 19, 31, 0.2)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2400&q=82")
      center/cover;
}

.login-view.active {
  display: grid;
}

.login-card {
  position: relative;
  width: 333px;
  height: 571px;
  padding: 17px 42px 12px;
  color: #fff;
  background: rgba(12, 18, 28, 0.64);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 33px;
  color: #fff;
  font-size: 12px;
}

.language-select svg {
  width: 13px;
  height: 13px;
}

.corner-qr {
  position: absolute;
  top: 0;
  right: 0;
  width: 53px;
  height: 53px;
  opacity: 0.62;
  background:
    linear-gradient(135deg, transparent 0 50%, rgba(255, 255, 255, 0.34) 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 5px, transparent 5px 10px);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.login-logo {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 5px 0 39px;
}

.logo-mark {
  width: 42px;
  height: 51px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 55px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
}

.login-logo span {
  font-size: 12px;
}

.line-input {
  display: block;
  margin-bottom: 25px;
}

.line-input span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.line-input input {
  width: 100%;
  height: 30px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  outline: 0;
  color: #fff;
  background: transparent;
}

.remember-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  height: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.remember-row input {
  width: 12px;
  height: 12px;
  accent-color: #fff;
}

.login-submit {
  display: grid;
  place-items: center;
  width: 100%;
  height: 40px;
  margin: 10px 0 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.2);
}

.login-submit svg {
  width: 18px;
  height: 18px;
}

.login-hint {
  min-height: 34px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.login-hint.error {
  color: #ffb8b8;
}

.download-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 31px 0 16px;
  color: #fff;
  font-size: 12px;
}

.download-title span {
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 42px);
  justify-content: space-between;
}

.download-grid button {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #fff;
  font-size: 10px;
}

.download-grid i,
.download-grid .mini-y {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.download-grid svg {
  width: 17px;
  height: 17px;
}

.mini-y {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.icp-link {
  position: absolute;
  bottom: 16px;
  left: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  text-decoration: none;
  transform: translateX(-50%);
}

.site-header {
  display: grid;
  grid-template-columns: 330px minmax(620px, 1fr) 190px;
  align-items: center;
  height: 100px;
  padding: 0 20px;
  color: #5f6670;
  background: #fff;
  border-bottom: 1px solid #f0f1f3;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.logo-avatar,
.user-avatar {
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=260&q=70")
      center/cover;
}

.logo-avatar {
  width: 90px;
  height: 90px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  height: 28px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 5px;
  color: #1680e5;
  background: #eaf4ff;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-pill svg {
  width: 15px;
  height: 15px;
  color: #111;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  padding-top: 12px;
  margin-top: -12px;
  white-space: nowrap;
}

.site-nav button {
  position: relative;
  color: #6d7480;
  font-size: 20px;
  white-space: nowrap;
}

.site-nav button.active {
  color: #111;
  font-weight: 800;
}

.badge-nav span {
  position: absolute;
  top: -8px;
  right: -19px;
  min-width: 28px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: #e85663;
  font-size: 14px;
  line-height: 20px;
}

.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.header-icons button {
  display: grid;
  place-items: center;
  color: #5e6670;
}

.header-icons svg {
  width: 22px;
  height: 22px;
}

.home-view {
  overflow: hidden;
  background: #111;
}

.brand-hero {
  position: relative;
  height: calc(100vh - 100px);
  overflow: hidden;
}

.brand-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
}

.brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 64%);
}

.brand-hero-copy {
  position: absolute;
  top: 50%;
  left: 7vw;
  z-index: 2;
  width: min(520px, 80vw);
  color: #fff;
  transform: translateY(-50%);
}

.brand-hero-copy span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.brand-hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
}

.brand-hero-copy p {
  margin: 16px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.brand-hero-copy button {
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-weight: 700;
}

.works-view {
  overflow: hidden;
  background: #fff;
}

.case-page {
  height: calc(100vh - 100px);
  overflow: auto;
  padding-bottom: 44px;
}

.category-panel {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 31px 91px 13px;
}

.category-lines {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.type-line {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
}

.type-line button {
  color: #7f8996;
  font-size: 14px;
  white-space: nowrap;
}

.type-line button.active {
  color: #fff;
}

.type-pill {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
}

.type-pill strong {
  font-weight: 600;
}

.sub-line {
  gap: 40px;
}

.share-pill {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 36px;
  margin-top: 0;
  border-radius: 999px;
  background: #c8c8c8;
  overflow: hidden;
}

.share-pill button:first-child {
  height: 36px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.share-pill button:last-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  background: #000;
}

.share-pill svg {
  width: 16px;
  height: 16px;
}

.case-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 21px 84px 16px;
}

.left-tools {
  display: flex;
  align-items: center;
  gap: 54px;
}

.left-tools button {
  display: grid;
  place-items: center;
  color: #000;
}

.left-tools button.active {
  color: #238fd8;
}

.left-tools svg {
  width: 28px;
  height: 28px;
  stroke-width: 3;
}

.right-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mini-select,
.date-filter,
.work-search {
  display: inline-flex;
  align-items: center;
  height: 39px;
  border: 1px solid #cfd7e2;
  border-radius: 999px;
  color: #5d6672;
  background: #fff;
  white-space: nowrap;
}

.mini-select {
  position: relative;
  min-width: 82px;
  padding: 0 30px 0 14px;
}

.mini-select.wide {
  min-width: 178px;
}

.mini-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0 34px 0 17px;
  border: 0;
  outline: 0;
  color: #5d6672;
  background: transparent;
  appearance: none;
}

.mini-select svg {
  position: absolute;
  right: 12px;
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.date-filter {
  gap: 8px;
  padding: 0 20px;
  font-size: 14px;
}

.date-filter svg {
  width: 16px;
  height: 16px;
}

.work-search {
  gap: 8px;
  width: 230px;
  padding: 0 16px;
}

.work-search svg {
  width: 17px;
  height: 17px;
  color: #8a95a3;
}

.work-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #20242a;
  background: transparent;
  font-size: 14px;
}

.filter-round {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  background: #000;
}

.filter-round svg {
  width: 24px;
  height: 24px;
}

.masonry-grid {
  column-count: 6;
  column-gap: 36px;
  padding: 0 84px 60px;
}

.work-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 36px;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  color: #111;
  background: #fff;
  cursor: pointer;
  break-inside: avoid;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(26, 37, 51, 0.1);
}

.work-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eceff3;
}

.work-card.wide img {
  height: 150px;
}

.work-card.tall img {
  height: 385px;
}

.work-card.large img {
  height: 360px;
}

.work-card div {
  padding: 15px 12px 14px;
}

.work-card h3 {
  margin: 0;
  overflow: hidden;
  color: #050505;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-card p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #89929f;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pin-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 80px;
  height: 30px;
  border-radius: 999px;
  color: #111;
  background: rgba(235, 235, 235, 0.92);
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.18s ease;
}

.work-card:hover .pin-action {
  opacity: 1;
  transform: translateY(0);
}

.pin-action.active {
  color: #fff;
  background: #1e2630;
}

.work-select-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #238fd8;
  cursor: pointer;
}

.works-view.selection-mode .work-card {
  cursor: pointer;
}

.works-view.selection-mode .work-card.selected {
  border-color: #238fd8;
  box-shadow: 0 0 0 2px rgba(35, 143, 216, 0.16);
}

.works-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 40px;
  border: 1px dashed #d2d8df;
  border-radius: 8px;
  color: #8b95a3;
  text-align: center;
}

.works-empty strong,
.works-empty span {
  display: block;
}

.works-empty strong {
  color: #333b45;
  font-size: 18px;
}

.works-empty span {
  margin-top: 8px;
  font-size: 14px;
}

.floating-actions {
  position: fixed;
  right: 15px;
  bottom: 56px;
  z-index: 30;
  display: grid;
  gap: 60px;
}

.floating-actions button {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  color: #1f242a;
  background: #fff;
  box-shadow: 0 10px 26px rgba(35, 47, 63, 0.12);
  font-size: 13px;
}

.floating-actions svg {
  width: 19px;
  height: 19px;
}

.team-view {
  position: relative;
  overflow: hidden;
  color: #b8b8b8;
  background: #222;
}

.team-topbar {
  display: grid;
  grid-template-columns: 180px 1fr 230px;
  align-items: center;
  height: 72px;
  padding: 0 20px;
  background: #222;
}

.team-logo {
  justify-self: start;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.team-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  min-width: 0;
}

.team-nav button {
  color: #aaa;
  font-size: 15px;
  white-space: nowrap;
}

.team-nav .active {
  color: #ffd523;
  font-weight: 800;
}

.team-top-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.team-top-icons button {
  color: #aaa;
}

.team-top-icons svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.2;
}

.team-page {
  height: calc(100vh - 72px);
  overflow: auto;
  padding: 12px 20px 80px;
  background: #222;
}

.team-controls {
  display: grid;
  grid-template-columns: 360px minmax(320px, 580px) 1fr;
  gap: 12px;
  align-items: center;
}

.team-primary-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 38px;
  overflow: hidden;
  border-radius: 4px;
  background: #1f1f1f;
}

.team-primary-tabs button {
  color: #a5a5a5;
  border-right: 1px solid #181818;
  font-weight: 700;
}

.team-primary-tabs button.active {
  color: #fff;
  background: #303030;
}

.team-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 4px;
  color: #777;
  background: #303030;
}

.team-search svg {
  width: 17px;
  height: 17px;
}

.team-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #d0d0d0;
  background: transparent;
}

.team-view-options {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.team-view-options button,
.team-view-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aaa;
  font-size: 14px;
  white-space: nowrap;
}

.team-view-options input {
  width: 16px;
  height: 16px;
  accent-color: #ffd523;
}

.team-view-options svg {
  width: 17px;
  height: 17px;
}

.team-category-row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.team-category-row button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 16px;
  color: #aaa;
  font-size: 14px;
  white-space: nowrap;
}

.team-category-row button.active {
  border-radius: 4px;
  color: #fff;
  background: #5b5116;
}

.team-category-row svg {
  width: 14px;
  height: 14px;
}

.team-filter-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 15px 0 26px;
}

.team-filter-row > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a2a2a2;
  font-size: 14px;
}

.team-filter-row svg {
  width: 14px;
  height: 14px;
}

.team-local-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #a7a7a7;
  font-size: 14px;
}

.team-local-tip span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f4d622;
}

.team-local-tip button {
  display: inline-flex;
  align-items: center;
  color: #b8b8b8;
  font-size: 14px;
}

.team-local-tip button:last-child {
  width: 24px;
  height: 24px;
  justify-content: center;
  color: #8f8f8f;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 54px 38px;
  padding-right: 8px;
}

.team-card {
  position: relative;
  color: #9e9e9e;
}

.team-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: #343434;
}

.team-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.team-card-image span {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #111;
  background: rgba(255, 213, 35, 0.92);
  font-size: 12px;
  line-height: 24px;
}

.team-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  margin-top: 21px;
}

.team-card h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.team-card strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 14px;
}

.team-card p {
  margin: 8px 0 23px;
  color: #8e8e8e;
  font-size: 13px;
}

.team-card small {
  display: -webkit-box;
  min-height: 78px;
  overflow: hidden;
  color: #939393;
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.team-card-content > button {
  margin-top: 16px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: #222;
  background: #d6d6d6;
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.18s ease;
}

.team-card:hover .team-card-content > button {
  opacity: 1;
  transform: translateY(0);
}

.team-card-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -12px 0 16px;
}

.team-card-status span,
.team-card-status em {
  height: 24px;
  padding: 0 8px;
  border: 1px solid #444;
  border-radius: 3px;
  color: #999;
  font-size: 11px;
  font-style: normal;
  line-height: 22px;
}

.team-card-status span {
  color: #f0d64d;
  border-color: #766b31;
}

.team-grid.list-mode {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-grid.list-mode .team-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  min-height: 170px;
  padding: 10px;
  border: 1px solid #3c3c3c;
  background: #292929;
}

.team-grid.list-mode .team-card-image {
  width: 160px;
  height: 150px;
  aspect-ratio: auto;
}

.team-grid.list-mode .team-card-head {
  margin-top: 4px;
}

.team-grid.list-mode .team-card p {
  margin-bottom: 16px;
}

.team-grid.list-mode .team-card small {
  min-height: 0;
  -webkit-line-clamp: 2;
}

.team-grid.list-mode .team-card-content > button {
  opacity: 1;
  transform: none;
}

.team-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed #474747;
  border-radius: 8px;
  color: #8f8f8f;
  text-align: center;
}

.team-empty strong,
.team-empty span {
  display: block;
}

.team-right-rail {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 31;
  display: grid;
  width: 48px;
  overflow: hidden;
  background: rgba(37, 37, 37, 0.95);
  border: 1px solid #333;
}

.team-right-rail button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #aaa;
  border-bottom: 1px solid #333;
}

.team-right-rail svg {
  width: 19px;
  height: 19px;
}

.team-right-rail em {
  position: absolute;
  top: 7px;
  right: 7px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  color: #111;
  background: #ffd523;
  font-size: 11px;
  font-style: normal;
  line-height: 17px;
}

.bench-view {
  background: var(--bench-bg);
}

.bench-site-header {
  display: none;
}

.module-view {
  overflow: hidden;
  background: #f7f8fb;
}

.module-page {
  height: calc(100vh - 100px);
  overflow: auto;
  padding: 28px 56px 60px;
}

.module-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #fff;
}

.module-head span {
  display: block;
  margin-bottom: 9px;
  color: #8b95a3;
  font-size: 12px;
}

.module-head h1 {
  margin: 0;
  color: #20242a;
  font-size: 34px;
}

.module-head p {
  margin: 10px 0 0;
  color: #697586;
}

.module-head button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-weight: 700;
  white-space: nowrap;
}

.module-head svg {
  width: 17px;
  height: 17px;
}

.module-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.module-stats div {
  padding: 20px;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #fff;
}

.module-stats strong,
.module-stats span {
  display: block;
}

.module-stats strong {
  color: #15191f;
  font-size: 30px;
}

.module-stats span {
  margin-top: 6px;
  color: #7d8794;
  font-size: 14px;
}

.module-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  position: relative;
  min-height: 180px;
  padding: 22px 20px 18px;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #fff;
}

.module-card > span {
  color: #c4ccd6;
  font-family: Georgia, serif;
  font-size: 30px;
}

.module-card h3 {
  margin: 14px 0 8px;
  color: #20242a;
  font-size: 20px;
}

.module-card p,
.module-card small {
  display: block;
  margin: 0;
  color: #6b7582;
  line-height: 1.6;
}

.module-card button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  color: #3f4956;
  background: #fff;
}

.bench-shell {
  display: grid;
  grid-template-columns: 70px 1fr;
  height: 100vh;
}

.bench-sidebar {
  display: grid;
  grid-template-rows: repeat(11, 50px) 1fr 50px;
  justify-items: center;
  padding-top: 15px;
  background: #edf1f6;
  border-right: 1px solid #e1e6ed;
}

.bench-sidebar button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  color: #637083;
  border-radius: 6px;
}

.bench-sidebar .active {
  color: #1e9bf0;
  background: #fff;
  box-shadow: 0 6px 16px rgba(45, 74, 106, 0.08);
}

.bench-sidebar svg {
  width: 18px;
  height: 18px;
}

.bench-main {
  height: 100vh;
  overflow: auto;
  padding: 18px 23px 46px;
}

.bench-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  color: #5c6673;
  font-size: 15px;
}

.bench-head div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bench-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5c6673;
}

.bench-head svg {
  width: 16px;
  height: 16px;
}

.bench-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 24px;
}

.today-card {
  order: 1;
}

.report-card {
  order: 2;
}

.rank-card {
  order: 3;
}

.sales-card {
  order: 4;
}

.order-card {
  order: 5;
}

.ai-card {
  order: 6;
}

.performance-card {
  order: 7;
}

.finance-card {
  order: 8;
}

.today-card,
.bench-card,
.report-card {
  min-height: 250px;
  border: 1px solid var(--bench-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.today-card {
  grid-column: span 2;
  padding: 28px 24px 20px;
  background: #e9f6ff;
}

.today-date {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: start;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d5e8f6;
}

.today-date strong {
  color: #222;
  font-size: 44px;
}

.today-date span {
  color: #5c6673;
  line-height: 1.6;
}

.today-date button,
.card-title button,
.mini-tabs button {
  height: 29px;
  padding: 0 12px;
  color: #6c7684;
  background: #f3f5f7;
}

.today-date .active,
.card-title .active,
.mini-tabs .active {
  color: #2a3038;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.today-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 36px;
  margin-top: 32px;
}

.today-lines span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

.today-lines i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.blue { background: #2aa8ff; }
.green { background: #35b779; }
.indigo { background: #5c6ee8; }
.pink { background: #ef4f88; }
.orange { background: #ff9f1c; }

.today-actions {
  margin-top: 92px;
}

.today-actions button {
  height: 38px;
  padding: 0 22px;
  border-radius: 4px;
  color: #fff;
  background: #129cef;
  font-weight: 700;
}

.today-actions button + button {
  margin-left: 8px;
  color: #3e4b5c;
  background: #d9e4ee;
}

.report-card,
.bench-card {
  padding: 18px 16px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-bottom: 16px;
}

.card-title h2 {
  margin: 0;
  color: #27313f;
  font-size: 20px;
  line-height: 1.35;
}

.metric-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 -16px -18px;
  border-top: 1px solid var(--bench-line);
}

.metric-table div {
  min-height: 77px;
  padding: 12px 16px;
  border-right: 1px solid var(--bench-line);
  border-bottom: 1px solid var(--bench-line);
}

.metric-table span,
.order-stat span,
.money-line span {
  display: block;
  color: #5f6b7b;
  font-size: 14px;
}

.metric-table strong {
  display: block;
  margin: 8px 0 3px;
  font-size: 19px;
}

.metric-table small,
.order-stat small {
  color: #87919f;
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-list div {
  display: grid;
  grid-template-columns: 20px 32px 1fr 72px 18px;
  align-items: center;
  gap: 8px;
}

.rank-list em {
  height: 8px;
  border-radius: 999px;
  background: #27a8f5;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f1d7df;
}

.avatar.brown { background: #b98c6e; }
.avatar.gold { background: #f5d877; }
.avatar.pale { background: #eef1f5; }

.sales-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}

.light-btn {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e3e7ec;
  color: #4a5768;
  background: #fff;
}

.mini-tabs {
  display: flex;
  margin: 16px 0;
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sales-grid strong {
  float: right;
}

.order-stat,
.money-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--bench-line);
}

.order-stat small {
  grid-column: 1 / -1;
}

.money-line strong {
  font-family: Georgia, serif;
}

.ai-card {
  grid-column: auto;
}

.ai-card-hero {
  display: grid;
  grid-template-columns: 44px repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #f5f8fb;
}

.ai-card-hero > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: #1e9bf0;
}

.ai-card-hero svg {
  width: 22px;
  height: 22px;
}

.ai-card-hero strong,
.ai-card-hero span {
  display: block;
}

.ai-card-hero strong {
  color: #1f2937;
  font-size: 24px;
}

.ai-card-hero span {
  color: #738093;
  font-size: 13px;
}

.ai-progress {
  height: 8px;
  margin: 18px 0;
  border-radius: 999px;
  background: #e8edf4;
  overflow: hidden;
}

.ai-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e9bf0, #26c6da);
}

.performance-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 20px;
  color: #637083;
  font-size: 13px;
}

.performance-legend span {
  width: 24px;
  height: 10px;
  border-radius: 999px;
}

.performance-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  height: 136px;
  padding: 16px 8px 0;
  border-top: 1px solid var(--bench-line);
  background:
    linear-gradient(to top, transparent 31px, rgba(226, 232, 240, 0.72) 32px, transparent 33px),
    linear-gradient(to top, transparent 67px, rgba(226, 232, 240, 0.72) 68px, transparent 69px),
    linear-gradient(to top, transparent 103px, rgba(226, 232, 240, 0.72) 104px, transparent 105px);
}

.performance-chart div {
  position: relative;
  min-height: 18px;
  border-radius: 4px 4px 0 0;
  background: #29a7f4;
}

.performance-chart div:nth-child(2n) {
  background: #ef7ca0;
}

.performance-chart div:nth-child(3n) {
  background: #28c9c6;
}

.performance-chart b {
  position: absolute;
  top: -18px;
  left: 50%;
  color: #637083;
  font-size: 11px;
  transform: translateX(-50%);
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.modal-panel {
  position: fixed;
  z-index: 81;
  display: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.modal-panel.open {
  display: block;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #aaa;
  background: #303030;
}

.modal-close.light {
  color: #87919f;
  background: transparent;
}

.modal-close svg {
  width: 17px;
  height: 17px;
}

.case-modal {
  top: 50%;
  left: 50%;
  grid-template-columns: minmax(420px, 1.55fr) minmax(360px, .9fr);
  width: min(1520px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  color: #d9d9d9;
  background: #242424;
  border: 1px solid #3a3a3a;
  transform: translate(-50%, -50%);
}

.case-modal.open {
  display: grid;
}

.case-modal > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.case-modal-info {
  position: relative;
  padding: 52px 32px 28px;
}

.case-status-pill {
  position: absolute;
  top: 24px;
  right: 32px;
  padding: 5px 9px;
  border: 1px solid #555;
  border-radius: 999px;
  color: #b8b8b8;
  font-size: 11px;
}

.case-status-pill.published {
  border-color: rgba(54, 196, 126, 0.45);
  color: #6bdfa5;
  background: rgba(54, 196, 126, 0.1);
}

.modal-kicker {
  display: block;
  margin-bottom: 12px;
  color: #d4b53c;
  font-size: 11px;
}

.case-modal h2,
.upload-modal h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
}

.case-modal p {
  margin: 0 0 18px;
  color: #8d8d8d;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag-row span {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #cfcfcf;
  background: #303030;
  font-size: 12px;
  line-height: 28px;
}

.case-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

.case-stat-grid div {
  padding: 14px 10px;
  border-radius: 6px;
  background: #2f2f2f;
}

.case-stat-grid strong,
.case-stat-grid span {
  display: block;
}

.case-stat-grid strong {
  color: #fff;
  font-size: 21px;
}

.case-stat-grid span {
  color: #888;
  font-size: 12px;
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.modal-actions button {
  height: 40px;
  border-radius: 4px;
  color: #111;
  background: #d4b53c;
  font-weight: 700;
}

.modal-actions button + button {
  color: #ddd;
  background: #333;
  font-weight: 400;
}

.modal-actions button.danger {
  color: #ffb4b4;
  border: 1px solid #633d3d;
  background: #342323;
}

.case-asset-browser {
  grid-column: 1 / -1;
  padding: 26px 30px 32px;
  border-top: 1px solid #3a3a3a;
  background: #1d1d1d;
}

.case-asset-browser > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.case-asset-manage-toolbar {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 150px auto auto auto auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid #353535;
  border-radius: 6px;
  background: #242424;
}

.case-asset-manage-toolbar label {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #444;
  border-radius: 4px;
  color: #888;
  background: #191919;
}

.case-asset-manage-toolbar label svg {
  width: 15px;
  height: 15px;
}

.case-asset-manage-toolbar input,
.case-asset-manage-toolbar select {
  min-width: 0;
  height: 34px;
  border: 1px solid #444;
  border-radius: 4px;
  outline: 0;
  color: #ddd;
  background: #191919;
}

.case-asset-manage-toolbar input {
  flex: 1;
  height: 30px;
  padding: 0;
  border: 0;
}

.case-asset-manage-toolbar select {
  padding: 0 9px;
}

.case-asset-manage-toolbar > button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #494949;
  border-radius: 4px;
  color: #c8c8c8;
  background: #303030;
}

.case-asset-manage-toolbar > button.danger {
  border-color: #7a3e3e;
  color: #ffc0c0;
  background: #422727;
}

.case-asset-manage-toolbar > button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.case-asset-manage-toolbar > span {
  color: #aaa;
  font-size: 11px;
  white-space: nowrap;
}

.case-asset-browser h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 20px;
}

.case-asset-browser p {
  margin: 0;
  color: #888;
  font-size: 13px;
}

.case-asset-filters {
  display: flex;
  gap: 6px;
}

.case-asset-filters button {
  min-width: 58px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #444;
  border-radius: 4px;
  color: #aaa;
  background: #262626;
}

.case-asset-filters button.active {
  border-color: #d4b53c;
  color: #181818;
  background: #d4b53c;
}

.case-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.case-asset-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #383838;
  border-radius: 6px;
  background: #282828;
}

.case-asset-card.is-selected {
  border-color: #d4b53c;
  box-shadow: 0 0 0 2px rgba(212, 181, 60, .16);
}

.case-asset-selector {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 7px;
  border-radius: 4px;
  color: #222;
  background: rgba(255, 255, 255, .92);
  font-size: 10px;
  cursor: pointer;
}

.case-asset-selector input {
  width: 14px;
  height: 14px;
  accent-color: #b59313;
}

@media (max-width: 1100px) {
  .case-asset-manage-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-asset-manage-toolbar > label,
  .case-asset-manage-toolbar > button.danger {
    grid-column: 1 / -1;
  }

  .case-asset-manage-toolbar > select,
  .case-asset-manage-toolbar > button {
    width: 100%;
  }

  .case-asset-manage-toolbar > button {
    white-space: nowrap;
  }

  .case-asset-manage-toolbar > span {
    align-self: center;
  }
}

@media (max-width: 520px) {
  .case-asset-manage-toolbar {
    grid-template-columns: 1fr;
  }

  .case-asset-manage-toolbar > label,
  .case-asset-manage-toolbar > button.danger {
    grid-column: auto;
  }
}

.case-asset-card img,
.case-asset-card video {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #111;
}

.case-asset-card-body {
  display: grid;
  gap: 3px;
  padding: 9px 10px 10px;
}

.case-asset-card-body strong,
.case-asset-card-body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-asset-card-body strong {
  color: #ddd;
  font-size: 12px;
}

.case-asset-card-body span {
  color: #777;
  font-size: 11px;
}

.case-asset-card.is-hidden > img,
.case-asset-card.is-hidden > video,
.case-asset-card.is-hidden > .case-asset-file {
  opacity: .3;
  filter: grayscale(1);
}

.case-asset-visibility-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 999px;
  color: #dff8ea;
  background: rgba(20, 105, 70, .88);
  font-size: 10px;
}

.case-asset-card.is-hidden .case-asset-visibility-badge {
  color: #eee;
  background: rgba(74, 74, 74, .9);
}

.case-asset-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

.case-asset-actions button {
  min-height: 28px;
  padding: 0 6px;
  border: 1px solid #484848;
  border-radius: 4px;
  color: #c8c8c8;
  background: #202020;
  font-size: 10px;
}

.case-asset-actions button:hover {
  border-color: #777;
  color: #fff;
}

.case-asset-actions button.danger {
  border-color: #633b3b;
  color: #eaa1a1;
}

.case-cover-action {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 28px;
  padding: 0 9px;
  border-radius: 4px;
  color: #181818;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.case-asset-card:hover .case-cover-action,
.case-cover-action:focus-visible {
  opacity: 1;
}

.case-asset-file {
  display: grid;
  place-items: center;
  width: 100%;
  height: 260px;
  color: #888;
  background: #222;
}

.case-asset-file svg {
  width: 34px;
  height: 34px;
}

.case-asset-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #454545;
  color: #888;
  text-align: center;
}

.upload-modal {
  top: 50%;
  left: 50%;
  width: min(1060px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  color: #d9d9d9;
  background: #242424;
  border: 1px solid #3a3a3a;
  transform: translate(-50%, -50%);
}

.upload-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  margin-top: 22px;
}

.drop-area {
  position: relative;
  display: grid;
  gap: 10px;
  place-items: center;
  min-height: 240px;
  padding: 22px;
  border: 1px dashed #575757;
  border-radius: 6px;
  background: #2b2b2b;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.drop-area.drag-active {
  border-color: #d4b53c;
  background: #312d1f;
  box-shadow: 0 0 0 4px rgba(212, 181, 60, 0.12);
}

.drop-area.drag-active::after {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #111;
  background: rgba(212, 181, 60, 0.9);
  font-weight: 800;
  content: "松手开始整理";
}

.drop-area svg {
  width: 42px;
  height: 42px;
  color: #d4b53c;
}

.drop-area strong,
.drop-area span {
  display: block;
}

.drop-area strong {
  color: #fff;
}

.drop-area span {
  color: #878787;
  font-size: 13px;
}

.drop-area button {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: #111;
  background: #d4b53c;
}

.drop-tips {
  display: grid;
  gap: 4px;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid #383838;
}

.drop-tips small {
  color: #6f6f6f;
  font-size: 12px;
  line-height: 1.5;
}

.cos-area {
  display: grid;
  grid-column: 1;
  gap: 8px;
  place-items: center;
  min-height: 170px;
  padding: 18px;
  border: 1px solid #3c3c3c;
  border-radius: 6px;
  background: #292929;
  text-align: center;
}

.cos-area svg {
  width: 34px;
  height: 34px;
  color: #63b3ff;
}

.cos-area strong {
  color: #fff;
}

.cos-area span,
.cos-area small {
  color: #878787;
  font-size: 12px;
  line-height: 1.5;
}

.cos-area button {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: #3478c8;
}

.ai-step-list {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.ai-step-list {
  display: grid;
  gap: 12px;
}

.ai-step-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px;
  border-radius: 6px;
  background: #2b2b2b;
}

.ai-step-list b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #aaa;
  background: #383838;
}

.ai-step-list .active b,
.ai-step-list div.done b {
  color: #111;
  background: #d4b53c;
}

.ai-step-list strong {
  color: #fff;
}

.ai-step-list span {
  color: #878787;
  font-size: 13px;
}

.upload-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.upload-summary div {
  padding: 14px;
  border-radius: 6px;
  background: #2b2b2b;
}

.upload-summary strong,
.upload-summary span {
  display: block;
}

.upload-summary strong {
  color: #fff;
  font-size: 24px;
}

.upload-summary span {
  color: #888;
  font-size: 13px;
}

.asset-import-result {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #516b55;
  border-radius: 6px;
  background: #243027;
}

.asset-import-result[hidden] {
  display: none;
}

.asset-import-result-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #8fd39a;
  background: #1b251d;
}

.asset-import-result-icon svg {
  width: 22px;
  height: 22px;
}

.asset-import-result-copy span,
.asset-import-result-copy strong,
.asset-import-result-copy p {
  display: block;
}

.asset-import-result-copy span {
  color: #8fd39a;
  font-size: 12px;
}

.asset-import-result-copy strong {
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
}

.asset-import-result-copy p {
  margin: 5px 0 0;
  color: #a8b2aa;
  font-size: 13px;
}

.asset-import-result-actions {
  display: flex;
  gap: 8px;
}

.asset-import-result-actions button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #536057;
  color: #e9eee9;
  background: #2c3730;
}

.asset-import-result-actions button.primary {
  border-color: #d4b53c;
  color: #17130a;
  background: #d4b53c;
  font-weight: 700;
}

.asset-import-result-actions svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .asset-import-result {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .asset-import-result-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .asset-import-result-actions button {
    justify-content: center;
  }
}

.asset-layout-panel {
  margin: 18px 0;
  border: 1px solid #383838;
  border-radius: 8px;
  background: #202020;
  overflow: hidden;
}

.asset-layout-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #333;
}

.asset-layout-head strong,
.asset-layout-head span {
  display: block;
}

.asset-layout-head strong {
  color: #fff;
  font-size: 16px;
}

.asset-layout-head span {
  margin-top: 5px;
  color: #8f8f8f;
  font-size: 13px;
}

.asset-layout-head button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #111;
  background: #d4b53c;
  font-weight: 700;
}

.asset-layout-head button:disabled {
  color: #777;
  background: #303030;
  cursor: default;
}

.asset-draft-panel {
  padding: 12px;
  border-bottom: 1px solid #333;
}

.asset-group-picker {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #d9dfe7;
  background: #f7f8fa;
}

.asset-group-picker label {
  font-weight: 700;
}

.asset-group-picker select {
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #cfd6df;
  background: #fff;
  color: #1f2630;
}

.asset-group-picker option {
  color: #1f2630;
  background: #fff;
}

.asset-group-picker span {
  color: #697483;
  font-size: 12px;
}

@media (max-width: 760px) {
  .asset-group-picker {
    grid-template-columns: 1fr;
  }
}

.asset-draft-empty {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed #3b3b3b;
  border-radius: 7px;
  color: #868686;
  background: #242424;
}

.asset-draft-empty strong {
  color: #d4d4d4;
  font-size: 14px;
}

.asset-draft-empty span {
  font-size: 13px;
}

.asset-draft-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: linear-gradient(135deg, #282828, #202020);
}

.asset-draft-cover {
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border-radius: 6px;
  color: #777;
  background: #303030;
}

.asset-draft-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-draft-cover svg {
  width: 28px;
  height: 28px;
}

.asset-draft-main {
  min-width: 0;
}

.asset-draft-main > span {
  display: block;
  color: #d4b53c;
  font-size: 12px;
  font-weight: 700;
}

.asset-draft-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(108px, 0.8fr) minmax(86px, 0.7fr) minmax(130px, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.asset-draft-fields label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.asset-draft-fields small {
  color: #777;
  font-size: 11px;
}

.asset-draft-fields input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  outline: 0;
  color: #fff;
  background: #1f1f1f;
  font-size: 14px;
}

.asset-draft-fields label:first-child input {
  font-size: 16px;
  font-weight: 800;
}

.asset-draft-fields input:focus {
  border-color: #d4b53c;
  box-shadow: 0 0 0 3px rgba(212, 181, 60, 0.12);
}

.asset-draft-main p {
  overflow: hidden;
  margin: 8px 0 10px;
  color: #8d8d8d;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.asset-draft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.asset-draft-tags em {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #d8d8d8;
  background: #353535;
  font-size: 12px;
  font-style: normal;
  line-height: 22px;
}

.asset-draft-stats {
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 6px;
}

.asset-draft-stats div {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 6px;
  background: #303030;
}

.asset-draft-stats strong,
.asset-draft-stats span {
  display: block;
}

.asset-draft-stats strong {
  color: #fff;
  font-size: 18px;
}

.asset-draft-stats span {
  color: #858585;
  font-size: 12px;
}

.asset-layout-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.asset-layout-column {
  min-height: 154px;
  padding: 10px;
  border: 1px solid #323232;
  border-radius: 7px;
  background: #262626;
}

.asset-layout-column.empty {
  opacity: 0.68;
}

.layout-column-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.layout-column-title strong {
  overflow: hidden;
  color: #f2f2f2;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.layout-column-title span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  border-radius: 999px;
  color: #111;
  background: #d4b53c;
  font-size: 12px;
  font-weight: 800;
}

.asset-layout-column p {
  margin: 6px 0 10px;
  min-height: 32px;
  color: #818181;
  font-size: 12px;
  line-height: 1.35;
}

.layout-preview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.layout-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  color: #777;
  background: #303030;
}

.layout-thumb img,
.layout-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-thumb svg {
  width: 22px;
  height: 22px;
  margin: calc(50% - 11px);
}

.layout-thumb em {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 3px;
  overflow: hidden;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  color: #111;
  background: rgba(212, 181, 60, 0.88);
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.layout-none {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 5px;
  color: #777;
  background: #2f2f2f;
  font-size: 12px;
}

.asset-layout-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 130px;
  color: #8c8c8c;
  text-align: center;
}

.asset-layout-empty svg {
  width: 32px;
  height: 32px;
  color: #d4b53c;
}

.asset-layout-empty strong,
.asset-layout-empty span {
  display: block;
}

.asset-layout-empty strong {
  margin-top: 10px;
  color: #d0d0d0;
}

.asset-layout-empty span {
  margin-top: 6px;
  font-size: 13px;
}

.asset-review-panel {
  margin: 18px 0;
  border: 1px solid #383838;
  border-radius: 8px;
  background: #202020;
  overflow: hidden;
}

.asset-review-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #333;
}

.asset-review-head strong,
.asset-review-head span {
  display: block;
}

.asset-review-head strong {
  color: #fff;
  font-size: 16px;
}

.asset-review-head span {
  margin-top: 5px;
  color: #8f8f8f;
  font-size: 13px;
}

.asset-review-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.asset-review-search {
  width: min(250px, 100%);
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #d9dfe7;
  background: #fff;
}

.asset-review-search svg {
  width: 15px;
  height: 15px;
  color: #7a8491;
}

.asset-review-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2630;
  font: inherit;
}

.asset-review-actions button {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #aaa;
  background: #2d2d2d;
  font-size: 13px;
}

.asset-review-actions button.active {
  color: #111;
  background: #d4b53c;
}

.asset-review-batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.asset-review-batch-actions button {
  height: 30px;
  padding: 0 12px;
  border: 1px solid #444;
  border-radius: 999px;
  color: #d7d7d7;
  background: #292929;
  font-size: 12px;
}

.asset-review-batch-actions button:hover {
  border-color: #d4b53c;
  color: #111;
  background: #d4b53c;
}

.asset-review-batch-actions button.danger {
  margin-left: auto;
  border-color: #8f4545;
  color: #ff8c8c;
  background: #382525;
}

.asset-review-batch-actions button.danger:hover:not(:disabled) {
  border-color: #e65f5f;
  color: #fff;
  background: #b43d3d;
}

.asset-review-batch-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.asset-review-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 12px;
}

.asset-empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: #8c8c8c;
  text-align: center;
}

.asset-empty svg {
  width: 32px;
  height: 32px;
  color: #d4b53c;
}

.asset-empty strong,
.asset-empty span {
  display: block;
}

.asset-empty strong {
  margin-top: 10px;
  color: #d0d0d0;
}

.asset-empty span {
  margin-top: 6px;
  font-size: 13px;
}

.asset-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 10px;
  border: 1px solid #323232;
  border-radius: 7px;
  background: #252525;
}

.asset-row.duplicate {
  border-color: rgba(221, 86, 91, 0.55);
}

.asset-row.skipped {
  opacity: 0.62;
}

.asset-preview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 6px;
  color: #777;
  background: #303030;
}

.asset-preview img,
.asset-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-preview svg {
  width: 25px;
  height: 25px;
}

.asset-main {
  min-width: 0;
}

.asset-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.asset-title-line strong {
  overflow: hidden;
  color: #f2f2f2;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.asset-title-line em {
  flex: 0 0 auto;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #111;
  background: #d4b53c;
  font-size: 12px;
  font-style: normal;
  line-height: 22px;
}

.asset-title-line em.duplicate {
  color: #fff;
  background: #c84c52;
}

.asset-title-line em.skipped {
  color: #1c1c1c;
  background: #aaa;
}

.asset-title-line em.layout {
  color: #d5d5d5;
  background: #3a3a3a;
}

.asset-title-line em.synced {
  color: #163719;
  background: #9ad48f;
}

.asset-title-line em.uploading {
  color: #102e4b;
  background: #93c5fd;
}

.asset-title-line em.failed {
  color: #fff;
  background: #b9474f;
}

.asset-main p {
  margin: 6px 0 8px;
  overflow: hidden;
  color: #858585;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.asset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.asset-tags span {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #bcbcbc;
  background: #303030;
  font-size: 12px;
  line-height: 22px;
}

.asset-side {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: #8a8a8a;
  font-size: 12px;
  white-space: nowrap;
}

.asset-side label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d8d8d8;
}

.asset-side input {
  width: 16px;
  height: 16px;
  accent-color: #d4b53c;
}

.download-modal {
  top: 50%;
  left: 50%;
  width: 560px;
  min-height: 224px;
  padding: 22px 40px 14px;
  color: #111;
  background: #fff;
  border-radius: 9px;
  transform: translate(-50%, -50%);
}

.download-modal h2 {
  margin: 0 0 19px;
  font-size: 15px;
}

.download-setting-box {
  padding: 21px 19px;
  border-radius: 8px;
  background: #f4f4f4;
}

.download-setting-box label {
  display: block;
  margin-bottom: 10px;
  color: #747a82;
  font-size: 14px;
}

.download-setting-box div {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 10px;
}

.download-setting-box input {
  height: 36px;
  padding: 0 14px;
  border: 0;
  color: #a8b1bd;
  background: #fff;
  outline: 0;
}

.download-setting-box button,
.download-actions button:last-child {
  height: 36px;
  border-radius: 4px;
  color: #fff;
  background: #3d9df8;
}

.download-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.download-actions button {
  width: 80px;
  height: 36px;
  border: 1px solid #bcdcff;
  border-radius: 999px;
  color: #2f90ed;
  background: #eef7ff;
}

.action-panel {
  top: 50%;
  left: 50%;
  width: min(640px, calc(100vw - 48px));
  padding: 30px;
  color: #18202b;
  background: #fff;
  border-radius: 10px;
  transform: translate(-50%, -50%);
}

.action-panel h2 {
  margin: 0 0 8px;
  color: #15191f;
  font-size: 24px;
}

.action-panel p {
  margin: 0 0 20px;
  color: #6d7785;
  line-height: 1.6;
}

.panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: #2f9df4;
  font-size: 12px;
  font-weight: 700;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-card {
  min-height: 78px;
  padding: 14px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  text-align: left;
  background: #f8fafc;
}

.panel-card:hover {
  border-color: #b8d8f8;
  background: #f2f8ff;
}

.panel-card-static {
  cursor: default;
}

.panel-card-static:hover {
  border-color: #e3e8ef;
  background: #f8fafc;
}

.panel-card strong,
.panel-card span {
  display: block;
}

.panel-card strong {
  color: #1d2733;
  font-size: 16px;
}

.panel-card span {
  margin-top: 6px;
  color: #778292;
  font-size: 13px;
}

.account-modal {
  top: 50%;
  left: 50%;
  width: min(900px, calc(100vw - 48px));
  max-height: min(780px, calc(100vh - 40px));
  overflow: hidden;
  color: #1d2733;
  color-scheme: light;
  background: #fff;
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

.account-modal .modal-close {
  top: 20px;
  right: 22px;
  z-index: 3;
}

.account-modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 22px 64px 20px 28px;
  border-bottom: 1px solid #e8ecf1;
}

.account-head-avatar {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background: #20262d;
}

.account-modal-head h2 {
  margin: 0;
  color: #161b21;
  font-size: 23px;
  letter-spacing: 0;
}

.account-modal-head p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 7px 0 0;
  color: #6e7885;
  font-size: 13px;
}

.account-modal-head p em {
  padding: 3px 7px;
  border: 1px solid #dbe2e9;
  border-radius: 4px;
  color: #3c4855;
  font-style: normal;
  background: #f7f9fb;
}

.account-tabs {
  display: flex;
  min-height: 54px;
  padding: 0 28px;
  border-bottom: 1px solid #e8ecf1;
}

.account-tabs button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 132px;
  padding: 0 18px;
  color: #727c89;
  background: transparent;
}

.account-tabs button::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  background: transparent;
  content: "";
}

.account-tabs button.active {
  color: #151b22;
  font-weight: 700;
}

.account-tabs button.active::after {
  background: #2491e6;
}

.account-tabs svg,
.account-primary-button svg,
.account-danger-button svg,
.account-session-section button svg {
  width: 17px;
  height: 17px;
}

.account-modal-body {
  max-height: calc(min(780px, 100vh - 40px) - 159px);
  overflow: auto;
  padding: 26px 28px 30px;
}

.account-tab-panel h3 {
  margin: 0;
  color: #1a222b;
  font-size: 17px;
  letter-spacing: 0;
}

.account-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 28px;
  border-top: 1px solid #e8ecf1;
}

.account-profile-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 60px;
  align-items: center;
  border-bottom: 1px solid #e8ecf1;
}

.account-profile-list div:nth-child(odd) {
  padding-right: 24px;
}

.account-profile-list div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid #e8ecf1;
}

.account-profile-list dt {
  color: #7a8592;
  font-size: 13px;
}

.account-profile-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #202a34;
  font-weight: 600;
}

.account-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #24a36a;
}

.account-danger-button,
.account-primary-button,
.account-session-section button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 5px;
}

.account-danger-button {
  border: 1px solid #e6c9c9;
  color: #a63e3e;
  background: #fffafa;
}

.account-primary-button {
  color: #fff;
  background: #238edf;
}

.account-primary-button:disabled {
  cursor: wait;
  opacity: .62;
}

.account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.account-section-title > div > span {
  display: block;
  margin-top: 5px;
  color: #7a8592;
  font-size: 13px;
}

.account-section-title > svg {
  width: 22px;
  height: 22px;
  color: #8a95a1;
}

.account-password-form,
.account-user-form {
  padding-bottom: 26px;
}

.account-form-grid,
.account-user-fields {
  display: grid;
  gap: 14px;
  margin: 20px 0 16px;
}

.account-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-user-fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-form-grid label,
.account-user-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #596573;
  font-size: 13px;
}

.account-form-grid input,
.account-user-fields input,
.account-user-fields select,
.account-user-role {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #dce2e8;
  border-radius: 4px;
  color: #202a34;
  background: #fff;
  outline: 0;
}

.account-form-grid input:focus,
.account-user-fields input:focus,
.account-user-fields select:focus,
.account-user-role:focus {
  border-color: #4da5e8;
  box-shadow: 0 0 0 3px rgba(35, 142, 223, .11);
}

.account-session-section,
.account-team-section {
  padding-top: 24px;
  border-top: 1px solid #e8ecf1;
}

.account-session-section > .account-section-title > button {
  border: 1px solid #dce3ea;
  color: #45515e;
  background: #fff;
}

.account-session-list,
.account-user-list {
  margin-top: 14px;
  border-top: 1px solid #e8ecf1;
}

.account-session-row,
.account-user-row {
  display: grid;
  min-height: 64px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e8ecf1;
}

.account-session-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-session-main,
.account-user-main {
  min-width: 0;
}

.account-session-main strong,
.account-user-main strong {
  display: block;
  overflow: hidden;
  color: #202a34;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-session-main span,
.account-user-main span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #7a8592;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-current-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #16704b;
  font-size: 11px;
  font-weight: 600;
  background: #e8f6ef;
  vertical-align: 1px;
}

.account-session-row > button,
.account-user-status {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  color: #53606e;
  background: #fff;
}

.account-user-row {
  grid-template-columns: minmax(180px, 1fr) 138px 92px;
}

.account-user-row.inactive {
  opacity: .58;
}

.account-user-status.active {
  border-color: #bfe3d2;
  color: #17704d;
  background: #f3fbf7;
}

.account-empty {
  margin: 0;
  padding: 26px 0;
  color: #7b8693;
  text-align: center;
}

.account-privacy-title > button,
.account-privacy-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  color: #4d5a67;
  background: #fff;
}

.account-privacy-title > button svg {
  width: 15px;
  height: 15px;
}

.account-privacy-list {
  margin-top: 16px;
  border-top: 1px solid #e8ecf1;
}

.account-privacy-row {
  padding: 18px 0;
  border-bottom: 1px solid #e8ecf1;
}

.account-privacy-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.account-privacy-summary strong,
.account-privacy-summary span,
.account-privacy-summary small {
  display: block;
}

.account-privacy-summary strong {
  color: #1f2933;
}

.account-privacy-summary span,
.account-privacy-summary small {
  margin-top: 5px;
  color: #778390;
  font-size: 12px;
}

.account-privacy-badge {
  padding: 4px 7px;
  border-radius: 4px;
  color: #835e21;
  font-size: 12px;
  font-style: normal;
  background: #fbf4e7;
}

.account-privacy-badge.completed {
  color: #176f4c;
  background: #eaf7f0;
}

.account-privacy-badge.rejected {
  color: #9a4242;
  background: #fff0f0;
}

.account-privacy-detail {
  margin: 12px 0;
  color: #596572;
  font-size: 13px;
  line-height: 1.6;
}

.account-privacy-row textarea {
  width: 100%;
  min-height: 64px;
  padding: 9px 10px;
  resize: vertical;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  color: #26313c;
  background: #fff;
  outline: 0;
}

.account-privacy-row textarea:focus {
  border-color: #4da5e8;
  box-shadow: 0 0 0 3px rgba(35, 142, 223, .11);
}

.account-privacy-apply {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: #6a4b34;
  font-size: 12px;
  line-height: 1.5;
}

.account-privacy-apply input {
  margin-top: 2px;
}

.account-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.account-privacy-actions button.primary {
  border-color: #238edf;
  color: #fff;
  background: #238edf;
}

.account-privacy-actions button.danger {
  border-color: #e6c9c9;
  color: #a63e3e;
  background: #fffafa;
}

.privacy-modal {
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  max-height: min(820px, calc(100vh - 32px));
  overflow: hidden;
  color: #202a34;
  color-scheme: light;
  background: #fff;
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

.privacy-modal .modal-close {
  top: 19px;
  right: 20px;
  z-index: 3;
}

.privacy-modal-head {
  padding: 24px 58px 20px 26px;
  border-bottom: 1px solid #e8ecf1;
}

.privacy-modal-head h2 {
  margin: 0;
  color: #171d24;
  font-size: 24px;
  letter-spacing: 0;
}

.privacy-modal-head p {
  margin: 7px 0 0;
  color: #7b8591;
  font-size: 12px;
}

.privacy-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 52px;
  padding: 0 24px;
  border-bottom: 1px solid #e8ecf1;
}

.privacy-tabs button {
  position: relative;
  color: #6f7a87;
  background: transparent;
}

.privacy-tabs button::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  background: transparent;
  content: "";
}

.privacy-tabs button.active {
  color: #1c252e;
  font-weight: 700;
}

.privacy-tabs button.active::after {
  background: #238edf;
}

.privacy-modal-body {
  max-height: calc(min(820px, 100vh - 32px) - 161px);
  overflow: auto;
  padding: 24px 26px 30px;
}

.privacy-view h3 {
  margin: 0 0 18px;
  color: #1b242d;
  font-size: 18px;
  letter-spacing: 0;
}

.privacy-view > p {
  color: #566270;
  line-height: 1.75;
}

.privacy-policy-list {
  margin: 20px 0 24px;
  border-top: 1px solid #e8ecf1;
}

.privacy-policy-list div {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e8ecf1;
}

.privacy-policy-list dt {
  color: #25303b;
  font-weight: 700;
}

.privacy-policy-list dd {
  margin: 0;
  color: #65717e;
  line-height: 1.65;
}

.privacy-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 5px;
  color: #fff;
  background: #238edf;
}

.privacy-primary-button svg {
  width: 17px;
  height: 17px;
}

.privacy-primary-button:disabled {
  cursor: wait;
  opacity: .62;
}

.privacy-request-form,
.privacy-status-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.privacy-request-form label,
.privacy-status-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #586471;
  font-size: 13px;
}

.privacy-request-form .wide {
  grid-column: 1 / -1;
}

.privacy-request-form input,
.privacy-request-form select,
.privacy-request-form textarea,
.privacy-status-form input {
  width: 100%;
  min-width: 0;
  padding: 0 11px;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  color: #24303b;
  background: #fff;
  outline: 0;
}

.privacy-request-form input,
.privacy-request-form select,
.privacy-status-form input {
  height: 42px;
}

.privacy-request-form textarea {
  padding-top: 10px;
  resize: vertical;
}

.privacy-request-form input:focus,
.privacy-request-form select:focus,
.privacy-request-form textarea:focus,
.privacy-status-form input:focus {
  border-color: #4da5e8;
  box-shadow: 0 0 0 3px rgba(35, 142, 223, .11);
}

.privacy-request-form .privacy-confirm {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  color: #65717e;
  line-height: 1.55;
}

.privacy-confirm input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  box-shadow: none;
}

.privacy-status-form {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto;
  align-items: end;
}

.privacy-result {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #dfe5eb;
  border-radius: 6px;
  color: #53606d;
  background: #f8fafb;
}

.privacy-result strong,
.privacy-result span,
.privacy-result small {
  display: block;
}

.privacy-result strong {
  color: #1e2832;
}

.privacy-result span {
  margin-top: 7px;
}

.privacy-result small {
  margin-top: 6px;
  color: #78838f;
}

.privacy-result p {
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .account-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .account-modal-head {
    min-height: 92px;
    padding: 18px 52px 16px 18px;
  }

  .account-head-avatar {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .account-tabs {
    padding: 0 8px;
  }

  .account-tabs button {
    flex: 1;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .account-tabs button svg {
    display: none;
  }

  .account-modal-body {
    max-height: calc(100vh - 166px);
    padding: 20px 18px 24px;
  }

  .account-profile-list,
  .account-form-grid,
  .account-user-fields {
    grid-template-columns: 1fr;
  }

  .account-profile-list div:nth-child(n) {
    padding: 0;
    border-left: 0;
  }

  .account-user-row {
    grid-template-columns: minmax(0, 1fr) 112px;
    padding: 10px 0;
  }

  .account-user-status {
    grid-column: 2;
  }

  .account-privacy-summary {
    grid-template-columns: 1fr;
  }

  .account-privacy-badge {
    justify-self: start;
  }

  .privacy-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .privacy-modal-head {
    padding: 20px 50px 17px 18px;
  }

  .privacy-tabs {
    padding: 0 8px;
  }

  .privacy-modal-body {
    max-height: calc(100vh - 151px);
    padding: 20px 18px 24px;
  }

  .privacy-policy-list div,
  .privacy-request-form,
  .privacy-status-form {
    grid-template-columns: 1fr;
  }

  .privacy-status-form .privacy-primary-button {
    width: 100%;
  }
}

.hotel-files-modal {
  top: 50%;
  left: 50%;
  width: min(1120px, calc(100vw - 56px));
  height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  color: #26313d;
  background: #fff;
  border-radius: 8px;
  color-scheme: light;
  transform: translate(-50%, -50%);
}

.hotel-files-modal .modal-close,
.hotel-editor-modal .modal-close {
  top: 19px;
  right: 20px;
  z-index: 3;
}

.hotel-files-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 116px;
  padding: 24px 62px 20px 28px;
  border-bottom: 1px solid #e8ecf1;
}

.hotel-files-head h2,
.hotel-editor-modal h2 {
  margin: 0;
  color: #18202b;
  font-size: 25px;
  letter-spacing: 0;
}

.hotel-files-head p,
.hotel-editor-modal > p {
  margin: 8px 0 0;
  color: #748091;
  font-size: 14px;
}

.hotel-files-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotel-files-head button,
.hotel-editor-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  color: #4a5665;
  background: #fff;
}

.hotel-files-head button.primary,
.hotel-editor-actions button[type="submit"] {
  color: #fff;
  border-color: #168fe0;
  background: #168fe0;
}

.hotel-files-head svg,
.hotel-editor-actions svg {
  width: 16px;
  height: 16px;
}

.hotel-file-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 78px;
  padding: 0 28px;
  border-bottom: 1px solid #e8ecf1;
}

.hotel-file-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  color: #687586;
}

.hotel-file-tabs button::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 2px;
  background: transparent;
  content: "";
}

.hotel-file-tabs button.active {
  color: #168fe0;
  font-weight: 700;
}

.hotel-file-tabs button.active::after {
  background: #168fe0;
}

.hotel-file-tabs strong {
  min-width: 28px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: #556170;
  background: #edf1f5;
  font-size: 12px;
  line-height: 24px;
}

.hotel-file-tabs button.active strong {
  color: #168fe0;
  background: #eaf6fd;
}

.hotel-file-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 210px auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 28px;
  border-bottom: 1px solid #edf0f4;
  background: #fafbfd;
}

.hotel-file-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  color: #9aa4b0;
  background: #fff;
}

.hotel-file-search svg {
  width: 16px;
  height: 16px;
}

.hotel-file-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #2e3947;
  background: transparent;
}

.hotel-file-toolbar > label:nth-child(2) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #738091;
  font-size: 13px;
}

.hotel-file-toolbar select {
  height: 38px;
  padding: 0 30px 0 10px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  color: #4d5968;
  background: #fff;
}

.hotel-file-toolbar > span {
  color: #7a8694;
  font-size: 13px;
  white-space: nowrap;
}

.hotel-file-table-wrap {
  height: calc(100% - 262px);
  overflow: auto;
}

.hotel-file-table {
  width: 100%;
  min-width: 930px;
  border-collapse: collapse;
  table-layout: fixed;
}

.hotel-file-table th,
.hotel-file-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}

.hotel-file-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 43px;
  color: #7d8895;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.hotel-file-table th:first-child { width: 34%; }
.hotel-file-table th:nth-child(2) { width: 10%; }
.hotel-file-table th:nth-child(3) { width: 10%; }
.hotel-file-table th:nth-child(4) { width: 17%; }
.hotel-file-table th:nth-child(5) { width: 16%; }
.hotel-file-table th:last-child { width: 13%; }

.hotel-file-table td > strong,
.hotel-file-table td > small,
.hotel-file-table td > span {
  display: block;
}

.hotel-file-table td > strong {
  color: #26313d;
  font-size: 15px;
}

.hotel-file-table td small {
  margin-top: 4px;
  color: #8b96a3;
  font-size: 12px;
}

.hotel-file-name {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.hotel-file-name img {
  width: 64px;
  height: 44px;
  border-radius: 3px;
  object-fit: cover;
  background: #edf0f4;
}

.hotel-file-name strong,
.hotel-file-name small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hotel-file-name strong {
  color: #202a35;
  font-size: 14px;
}

.hotel-completeness {
  display: grid;
  grid-template-columns: minmax(68px, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.hotel-completeness > span {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf2;
}

.hotel-completeness i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #29ad7c;
}

.hotel-completeness strong {
  color: #4a5664;
  font-size: 12px;
}

.hotel-file-table small.warning { color: #db8b22; }
.hotel-file-table small.ok { color: #269a70; }

.hotel-file-actions {
  display: flex;
  gap: 7px;
}

.hotel-file-actions button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #dce3eb;
  border-radius: 3px;
  color: #566272;
  background: #fff;
  white-space: nowrap;
}

.hotel-file-actions button.primary {
  color: #168fe0;
  border-color: #9fd4f4;
  background: #eff9ff;
}

.hotel-file-empty {
  height: 260px;
  color: #82909f;
  text-align: center !important;
}

.hotel-file-empty strong,
.hotel-file-empty span {
  display: block;
}

.hotel-file-empty strong {
  margin-bottom: 8px;
  color: #495666;
  font-size: 16px;
}

.hotel-editor-modal {
  top: 50%;
  left: 50%;
  width: min(680px, calc(100vw - 40px));
  padding: 30px;
  color: #26313d;
  background: #fff;
  border-radius: 8px;
  color-scheme: light;
  transform: translate(-50%, -50%);
}

.hotel-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 24px;
}

.hotel-editor-form label {
  display: grid;
  gap: 7px;
  color: #647181;
  font-size: 13px;
}

.hotel-editor-form .wide {
  grid-column: 1 / -1;
}

.hotel-editor-form input,
.hotel-editor-form select {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  outline: 0;
  color: #293544;
  background: #fff;
}

.hotel-editor-form input:focus,
.hotel-editor-form select:focus {
  border-color: #78bde8;
  box-shadow: 0 0 0 3px rgba(22, 143, 224, 0.1);
}

.hotel-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 5px;
}

.case-editor-modal {
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 30px;
  color: #26313d;
  background: #fff;
  border-radius: 8px;
  color-scheme: light;
  transform: translate(-50%, -50%);
}

.case-editor-modal .modal-close {
  top: 18px;
  right: 20px;
}

.case-editor-modal h2 {
  margin: 0;
  color: #18202b;
  font-size: 25px;
}

.case-editor-modal > p {
  margin: 8px 0 0;
  color: #748091;
  font-size: 14px;
}

.case-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.case-editor-form label {
  display: grid;
  gap: 7px;
  color: #647181;
  font-size: 13px;
}

.case-editor-form .wide {
  grid-column: 1 / -1;
}

.case-editor-form input,
.case-editor-form select,
.case-editor-form textarea {
  width: 100%;
  padding: 0 11px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  outline: 0;
  color: #293544;
  background: #fff;
}

.case-editor-form input,
.case-editor-form select {
  height: 40px;
}

.case-editor-form textarea {
  min-height: 92px;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: vertical;
  font: inherit;
  line-height: 1.6;
}

.case-editor-form input:focus,
.case-editor-form select:focus,
.case-editor-form textarea:focus {
  border-color: #78bde8;
  box-shadow: 0 0 0 3px rgba(22, 143, 224, 0.1);
}

.case-editor-form .case-publish-toggle {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  background: #f6f9fb;
}

.case-editor-status {
  min-height: 20px;
  margin: 0;
  color: #617086;
  font-size: 13px;
}

.case-editor-status.error {
  color: #d74747;
}

.case-editor-status.success {
  color: #16845b;
}

.case-cover-editor {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid #e1e7ee;
  border-radius: 6px;
  background: #f8fafc;
}

.case-cover-editor > img {
  width: 150px;
  height: 104px;
  object-fit: cover;
  border-radius: 5px;
  background: #e8edf2;
}

.case-cover-editor strong,
.case-cover-editor p {
  display: block;
  margin: 0;
}

.case-cover-editor strong {
  color: #253241;
  font-size: 13px;
}

.case-cover-editor p {
  margin-top: 5px;
  color: #7b8795;
  font-size: 12px;
}

.case-cover-choices {
  display: flex;
  gap: 7px;
  margin-top: 9px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.case-cover-choice {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 48px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #e6ebf0;
}

.case-cover-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-cover-choice.active {
  border-color: #168fe0;
  box-shadow: 0 0 0 2px rgba(22, 143, 224, .13);
}

.case-publish-toggle input {
  width: 16px;
  height: 16px;
}

.case-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 5px;
}

.case-editor-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  color: #4a5665;
  background: #fff;
}

.case-editor-actions button[type="submit"] {
  color: #fff;
  border-color: #168fe0;
  background: #168fe0;
}

.case-editor-actions svg {
  width: 16px;
  height: 16px;
}

.business-center-modal {
  top: 50%;
  left: 50%;
  width: min(1100px, calc(100vw - 56px));
  height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  color: #26313d;
  background: #fff;
  border-radius: 8px;
  color-scheme: light;
  transform: translate(-50%, -50%);
}

.business-center-modal .modal-close {
  top: 18px;
  right: 20px;
}

.business-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  padding: 24px 62px 20px 28px;
  border-bottom: 1px solid #e8ecf1;
}

.business-center-head h2 {
  margin: 0;
  color: #18202b;
  font-size: 25px;
}

.business-center-head p {
  margin: 8px 0 0;
  color: #748091;
  font-size: 14px;
}

.business-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: 4px;
  color: #fff;
  background: #168fe0;
  white-space: nowrap;
}

.business-primary[hidden] {
  display: none;
}

.business-primary svg {
  width: 16px;
  height: 16px;
}

.business-tabs {
  display: flex;
  min-height: 66px;
  padding: 0 28px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #e8ecf1;
}

.business-tabs button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  padding: 0 18px;
  color: #687586;
}

.business-tabs button::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  background: transparent;
  content: "";
}

.business-tabs button.active {
  color: #168fe0;
  font-weight: 700;
}

.business-tabs button.active::after {
  background: #168fe0;
}

.business-tabs strong {
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: #687586;
  background: #edf1f5;
  font-size: 11px;
  line-height: 22px;
  text-align: center;
}

.business-tabs button.active strong {
  color: #168fe0;
  background: #eaf6fd;
}

.business-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 12px 28px;
  border-bottom: 1px solid #edf0f4;
  background: #fafbfd;
}

.business-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(460px, 70%);
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  color: #9aa4b0;
  background: #fff;
}

.business-search svg {
  width: 16px;
  height: 16px;
}

.business-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #2e3947;
  background: transparent;
}

.business-toolbar > span {
  color: #7a8694;
  font-size: 13px;
  white-space: nowrap;
}

.business-create-form {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 180px auto;
  align-items: end;
  gap: 12px;
  padding: 14px 28px;
  border-bottom: 1px solid #dbe7f0;
  background: #f5faff;
}

.business-create-form[hidden] {
  display: none;
}

.business-create-form label {
  display: grid;
  gap: 6px;
  color: #647181;
  font-size: 12px;
}

.business-create-form input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d7e0e9;
  border-radius: 4px;
  outline: 0;
  background: #fff;
}

.business-create-form input:focus {
  border-color: #78bde8;
  box-shadow: 0 0 0 3px rgba(22, 143, 224, 0.1);
}

.business-create-form > div {
  display: flex;
  gap: 8px;
}

.business-create-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #d7e0e9;
  border-radius: 4px;
  color: #5a6675;
  background: #fff;
}

.business-create-form button[type="submit"] {
  color: #fff;
  border-color: #168fe0;
  background: #168fe0;
}

.business-create-form svg {
  width: 15px;
  height: 15px;
}

.business-list-head,
.business-row {
  display: grid;
  grid-template-columns: minmax(270px, 1.8fr) minmax(150px, 0.9fr) minmax(120px, 0.75fr) 110px 126px;
  gap: 14px;
  align-items: center;
}

.business-list-head {
  height: 42px;
  padding: 0 28px;
  color: #7d8895;
  border-bottom: 1px solid #edf0f4;
  font-size: 12px;
  font-weight: 600;
}

.business-list {
  height: calc(100% - 288px);
  overflow: auto;
}

.business-create-form:not([hidden]) ~ .business-list {
  height: calc(100% - 374px);
}

.business-row {
  min-height: 82px;
  padding: 12px 28px;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
}

.business-row:hover {
  background: #fbfdff;
}

.business-row > div {
  min-width: 0;
}

.business-row strong,
.business-row span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.business-row strong {
  color: #26313d;
  font-size: 14px;
}

.business-row span {
  margin-top: 5px;
  color: #8994a1;
  font-size: 12px;
}

.business-record-main strong {
  font-size: 15px;
}

.business-status {
  display: inline-flex !important;
  width: fit-content;
  height: 26px;
  align-items: center;
  margin: 0 !important;
  padding: 0 9px;
  border-radius: 3px;
  font-weight: 600;
}

.business-status.success { color: #188963; background: #eaf8f2; }
.business-status.warning { color: #bf791f; background: #fff5e8; }
.business-status.info { color: #167bb8; background: #eaf6fd; }
.business-status.danger { color: #c64d4d; background: #fff0f0; }

.business-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.business-row-actions button {
  display: inline-grid;
  place-items: center;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #a8d4ef;
  border-radius: 3px;
  color: #1684c7;
  background: #eff9ff;
  white-space: nowrap;
}

.business-row-actions button.icon {
  width: 30px;
  padding: 0;
  color: #8b96a3;
  border-color: #dce3eb;
  background: #fff;
}

.business-row-actions svg {
  width: 14px;
  height: 14px;
}

.business-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 280px;
  color: #8a96a4;
  text-align: center;
}

.business-empty svg {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.business-empty strong,
.business-empty span {
  display: block;
}

.business-empty strong {
  color: #465363;
  font-size: 16px;
}

.business-empty span {
  margin-top: 6px;
  font-size: 13px;
}

.case-dark-grid.list-mode,
.hotel-grid.list-mode {
  grid-template-columns: 1fr;
  gap: 12px;
}

.case-dark-grid.list-mode .case-dark-card,
.hotel-grid.list-mode .hotel-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--skin-line, #353535);
  background: var(--skin-surface, #252525);
}

.case-dark-grid.list-mode .case-dark-image,
.hotel-grid.list-mode .hotel-card img {
  width: 240px;
  height: 136px;
  aspect-ratio: auto;
}

.hotel-grid.list-mode .hotel-card div,
.case-dark-grid.list-mode .case-dark-info {
  padding: 0;
}

@media (max-width: 760px) {
  .hotel-files-modal {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
  }

  .hotel-files-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    min-height: 190px;
    padding: 20px 18px 16px;
  }

  .hotel-files-head > div:first-child {
    padding-right: 34px;
  }

  .hotel-files-head > div:last-child {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .hotel-files-head > div:last-child button {
    flex: 1 1 0;
    white-space: nowrap;
  }

  .hotel-file-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 112px;
    padding: 0 14px;
  }

  .hotel-file-tabs button {
    min-height: 54px;
  }

  .hotel-file-toolbar {
    grid-template-columns: 1fr;
    min-height: 142px;
    padding: 12px 16px;
  }

  .hotel-file-table-wrap {
    height: calc(100% - 444px);
  }

  .hotel-editor-form,
  .case-editor-form {
    grid-template-columns: 1fr;
  }

  .hotel-editor-form .wide,
  .case-editor-form .wide {
    grid-column: auto;
  }

  .case-cover-editor {
    grid-template-columns: 1fr;
  }

  .case-cover-editor > img {
    width: 100%;
    height: 160px;
  }

  .case-dark-grid.list-mode .case-dark-card,
  .hotel-grid.list-mode .hotel-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .case-dark-grid.list-mode .case-dark-image,
  .hotel-grid.list-mode .hotel-card img {
    width: 120px;
    height: 86px;
  }

  .business-center-modal {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
  }

  .business-center-head {
    display: grid;
    gap: 14px;
    min-height: 170px;
    padding: 20px 52px 16px 18px;
  }

  .business-primary {
    width: 100%;
  }

  .business-tabs {
    min-height: 58px;
    padding: 0 12px;
  }

  .business-tabs button {
    min-width: 98px;
    padding: 0 12px;
  }

  .business-toolbar {
    padding: 10px 16px;
  }

  .business-search {
    width: 100%;
  }

  .business-create-form {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .business-create-form > div {
    justify-content: flex-end;
  }

  .business-list-head {
    display: none;
  }

  .business-list,
  .business-create-form:not([hidden]) ~ .business-list {
    height: calc(100% - 292px);
  }

  .business-create-form:not([hidden]) ~ .business-list {
    height: calc(100% - 538px);
  }

  .business-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 112px;
    padding: 14px 16px;
  }

  .business-row > div:nth-child(2),
  .business-row > div:nth-child(3) {
    grid-column: 1;
  }

  .business-row > div:nth-child(4),
  .business-row > div:nth-child(5) {
    grid-column: 2;
  }

  .business-row > div:nth-child(4) {
    grid-row: 1;
  }

  .business-row > div:nth-child(5) {
    grid-row: 2 / span 2;
    align-self: end;
  }

  .team-grid.list-mode {
    grid-template-columns: 1fr;
  }

  .team-grid.list-mode .team-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 136px;
  }

  .team-grid.list-mode .team-card-image {
    width: 110px;
    height: 116px;
  }
}

.theme-menu {
  --theme-pointer-left: 134px;
  position: fixed;
  z-index: 96;
  width: 268px;
  max-height: calc(100vh - 32px);
  padding: 20px 20px 18px;
  overflow: auto;
  color: #333;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(24, 29, 36, 0.14);
  color-scheme: light;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.theme-menu.open {
  opacity: 1;
  transform: translateY(0);
}

.theme-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--theme-pointer-left);
  width: 13px;
  height: 13px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-left: 1px solid #f0f0f0;
  transform: translateX(-50%) rotate(45deg);
}

.theme-menu h2 {
  margin: 0 0 10px;
  color: #303030;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.theme-option-list {
  padding-bottom: 10px;
  border-bottom: 1px solid #dfe3e8;
}

.theme-option-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 7px;
  width: 100%;
  height: 44px;
  padding: 0 2px 0 0;
  color: #555;
  text-align: left;
}

.theme-option-list button:hover,
.theme-option-list button:focus-visible {
  color: #111;
  background: #f7f8fa;
  outline: 0;
}

.theme-option-list button.active > span {
  color: #222;
  font-weight: 700;
}

.theme-option-list svg {
  width: 16px;
  height: 16px;
  justify-self: end;
  color: #747b84;
  stroke-width: 1.8;
}

.theme-current-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 5px;
  color: #fff;
  background: #484848;
  border-radius: 2px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.theme-default-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding-top: 14px;
}

.theme-default-row > strong {
  color: #333;
  font-size: 14px;
}

.theme-default-row label {
  position: relative;
  display: block;
}

.theme-default-row select {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid #d8dde5;
  border-radius: 0;
  outline: 0;
  appearance: none;
  color: #5d6570;
  background: #fff;
  cursor: pointer;
}

.theme-default-row label svg {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 16px;
  height: 16px;
  color: #bac1cb;
  pointer-events: none;
  transform: translateY(-50%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 99;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  font-size: 14px;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.company-view,
.case-dark-view,
.hotel-view {
  position: relative;
  overflow: hidden;
  color: #b8b8b8;
  background: #222;
}

.company-stage {
  position: relative;
  height: calc(100vh - 72px);
  overflow: hidden;
  background: #030303;
}

.company-stage::before,
.company-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.company-stage::before {
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(255, 255, 255, 0.035) 16% 16.08%, transparent 16.08% 84%, rgba(255, 255, 255, 0.035) 84% 84.08%, transparent 84.08%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.035));
}

.company-stage::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.28;
}

.company-view .team-topbar {
  background: #030303;
}

.company-stage::before,
.company-stage::after {
  display: none;
}

.company-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(760px, 90vw);
  text-align: center;
  transform: translate(-50%, -50%);
}

.company-mark {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6vw, 90px);
  letter-spacing: 0;
  line-height: 0.92;
}

.company-mark span {
  position: absolute;
  left: 49%;
  top: 58%;
  z-index: -1;
  width: 0.42em;
  height: 0.42em;
  margin: 0;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 48% 52%, #030303 0 29%, transparent 30%),
    conic-gradient(#f4d942 0 24%, #d74c5a 24% 50%, #4a86e8 50% 76%, #ffffff 76% 100%);
}

.company-mark b,
.company-mark strong {
  font-weight: 400;
}

.company-mark strong {
  color: #fff;
}

.company-brand p {
  margin: 21px 0 0;
  color: #fff;
  font-size: 15px;
}

.company-pager {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 2;
  color: #777;
  font-size: 13px;
  transform: translateX(-50%);
}

.company-pager strong {
  color: #f1d743;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
}

.company-pager span {
  margin-left: 7px;
}

.company-bottom-tools {
  position: absolute;
  right: 42px;
  bottom: 35px;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.company-bottom-tools button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #969696;
}

.company-bottom-tools svg {
  width: 21px;
  height: 21px;
}

.case-dark-page,
.hotel-page {
  height: calc(100vh - 72px);
  overflow: auto;
  padding: 17px 86px 80px 20px;
  background: #222;
}

.dark-toolbar {
  display: grid;
  grid-template-columns: 330px minmax(320px, 1fr) 300px;
  align-items: center;
  gap: 20px;
  min-height: 48px;
}

.dark-icon-strip {
  display: flex;
  align-items: center;
  gap: 26px;
}

.dark-icon-strip button,
.dark-toolbar-right button {
  display: grid;
  place-items: center;
  color: #999;
}

.dark-icon-strip svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9;
}

.dark-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 13px;
  border-radius: 4px;
  background: #303030;
  color: #787878;
}

.dark-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #e8e8e8;
  background: transparent;
}

.dark-search svg {
  width: 18px;
  height: 18px;
}

.dark-toolbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.dark-toolbar-right label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a4a4a4;
  font-size: 14px;
  white-space: nowrap;
}

.dark-toolbar-right input {
  width: 16px;
  height: 16px;
  accent-color: #f1d743;
}

.dark-toolbar-right button {
  height: 30px;
  padding: 0 10px;
  color: #9e9e9e;
  font-size: 14px;
}

.dark-filter-box {
  margin: 10px 0 28px;
  padding: 10px 0 0;
  border-top: 1px solid #2d2d2d;
}

.dark-filter-line {
  display: flex;
  align-items: center;
  gap: 21px;
  min-height: 34px;
  flex-wrap: wrap;
  color: #a0a0a0;
  font-size: 14px;
}

.dark-filter-line span {
  color: #777;
}

.dark-filter-line button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  color: #aaa;
  white-space: nowrap;
}

.dark-filter-line button.active {
  color: #f5d843;
}

.dark-filter-line svg {
  width: 14px;
  height: 14px;
}

.dark-more-line em {
  flex: 1;
  color: #f1d743;
  font-style: normal;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.dark-custom-btn {
  padding: 0 13px;
  border-radius: 4px;
  color: #222 !important;
  background: #d8d8d8;
}

.case-dark-grid,
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 34px;
}

.case-dark-grid.layout-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.case-dark-grid.layout-grid .case-dark-image {
  aspect-ratio: 4 / 3;
}

.case-dark-grid.layout-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.case-dark-grid.layout-large .case-dark-image {
  aspect-ratio: 16 / 9;
}

.case-dark-card,
.hotel-card {
  color: #a4a4a4;
  cursor: pointer;
}

.dark-batch-btn.active {
  color: #181818 !important;
  background: #f1d743 !important;
}

.case-batch-bar {
  position: sticky;
  z-index: 12;
  top: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 22px;
  padding: 12px 14px;
  border: 1px solid #4d4d4d;
  border-radius: 5px;
  color: #ddd;
  background: rgba(36, 36, 36, 0.97);
}

.case-batch-bar[hidden] {
  display: none;
}

.case-batch-bar strong {
  color: #f1d743;
  white-space: nowrap;
}

.case-batch-bar span {
  margin-right: auto;
  color: #999;
  font-size: 12px;
}

.case-batch-bar button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #555;
  border-radius: 4px;
  color: #ddd;
  background: #303030;
}

.case-batch-bar button.danger {
  border-color: #a84646;
  color: #ff9b9b;
  background: #3a2525;
}

.case-dark-card.selected .case-dark-image {
  outline: 3px solid #f1d743;
  outline-offset: 2px;
}

.case-batch-check {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 4px;
  color: #222;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
}

.case-batch-check.disabled {
  color: #777;
  opacity: 0.75;
}

.case-batch-check input {
  margin: 0;
}

@media (max-width: 1100px) {
  .case-batch-bar {
    flex-wrap: wrap;
  }
  .case-batch-bar span {
    width: 100%;
    order: 2;
  }
}

.case-dark-card:focus,
.hotel-card:focus,
.inspiration-card:focus {
  outline: 1px solid #f1d743;
  outline-offset: 4px;
}

.case-dark-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6 / 1;
  border-radius: 3px;
  background: #333;
}

.case-dark-image img,
.hotel-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.case-dark-card:hover img,
.hotel-card:hover img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1);
}

.case-dark-image span {
  position: absolute;
  top: 9px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 999px;
  color: #222;
  background: rgba(241, 215, 67, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.case-dark-info {
  padding-top: 14px;
}

.case-dark-info h3,
.hotel-card h3 {
  margin: 0;
  overflow: hidden;
  color: #f0f0f0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-dark-info p,
.hotel-card p {
  margin: 6px 0 0;
  overflow: hidden;
  color: #848484;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-dark-info small,
.hotel-card small {
  display: block;
  margin-top: 7px;
  color: #6d6d6d;
  font-size: 12px;
}

.case-dark-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.case-dark-tags em {
  height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  color: #bdbdbd;
  background: #303030;
  font-size: 12px;
  font-style: normal;
  line-height: 23px;
}

.dark-side-arrow {
  position: fixed;
  top: 50%;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 34px;
  height: 54px;
  color: #777;
  background: rgba(35, 35, 35, 0.72);
  border: 1px solid #313131;
  transform: translateY(-50%);
}

.dark-side-arrow.left {
  left: 0;
}

.dark-side-arrow.right {
  right: 68px;
}

.dark-side-arrow svg {
  width: 22px;
  height: 22px;
}

.dark-rail {
  bottom: 120px;
}

.hotel-toolbar {
  grid-template-columns: 260px minmax(320px, 560px) 1fr;
}

.hotel-search {
  max-width: 560px;
  padding: 0;
  overflow: hidden;
}

.hotel-search select {
  align-self: stretch;
  width: 92px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: #d3d3d3;
  background: #3a3a3a;
}

.hotel-search input {
  padding: 0 12px;
}

.hotel-search > svg {
  margin-right: 13px;
}

.hotel-filter-box {
  margin-bottom: 30px;
}

.hotel-card {
  overflow: hidden;
}

.hotel-card img {
  aspect-ratio: 1.62 / 1;
  height: auto;
  border-radius: 3px;
  background: #333;
}

.hotel-card div {
  padding-top: 13px;
}

.dark-empty,
.inspiration-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed #444;
  border-radius: 6px;
  color: #888;
  text-align: center;
}

.dark-empty strong,
.dark-empty span,
.inspiration-empty strong,
.inspiration-empty span {
  display: block;
}

.dark-empty strong,
.inspiration-empty strong {
  color: #d8d8d8;
  font-size: 18px;
}

.inspiration-view {
  overflow: hidden;
  color: #20242a;
  background: #fff;
}

.inspiration-header {
  display: grid;
  grid-template-columns: 112px 120px auto minmax(260px, 460px) 104px 132px 44px;
  align-items: center;
  gap: 18px;
  height: 74px;
  padding: 0 28px;
  border-bottom: 1px solid #eceff3;
  background: #fff;
}

.insp-back {
  height: 34px;
  border-radius: 999px;
  color: #333;
  background: #f4f5f7;
  font-size: 13px;
}

.insp-logo {
  color: #111;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.inspiration-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.inspiration-nav button {
  color: #6e7784;
  font-size: 16px;
}

.inspiration-nav button.active {
  color: #111;
  font-weight: 800;
}

.inspiration-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #f3f5f7;
  color: #8d96a3;
}

.inspiration-search svg {
  width: 17px;
  height: 17px;
}

.inspiration-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #20242a;
}

.inspiration-upload {
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-weight: 700;
}

.inspiration-user {
  overflow: hidden;
  color: #5e6875;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.inspiration-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=260&q=70")
      center/cover;
}

.inspiration-page {
  height: calc(100vh - 74px);
  overflow: auto;
  padding: 24px 58px 70px;
  background: #fff;
}

.inspiration-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.inspiration-tabs button {
  height: 34px;
  min-width: 74px;
  padding: 0 18px;
  border-radius: 999px;
  color: #6b7480;
  background: #f2f4f7;
}

.inspiration-tabs button.active {
  color: #fff;
  background: #111;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.inspiration-column {
  display: grid;
  gap: 24px;
  align-content: start;
}

.inspiration-card {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.inspiration-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #f0f2f5;
}

.inspiration-card.is-tall img {
  height: 360px;
}

.inspiration-card.is-short img {
  height: 220px;
}

.inspiration-card.is-feature img {
  height: 430px;
}

.inspiration-card-body {
  padding: 12px 2px 4px;
}

.inspiration-title-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.inspiration-title-line h3 {
  margin: 0;
  overflow: hidden;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.inspiration-title-line span {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #59616d;
  background: #f0f2f5;
  font-size: 12px;
  line-height: 22px;
}

.inspiration-meta-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8c95a1;
  font-size: 12px;
}

.insp-mini-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 12px;
}

.inspiration-card-body em {
  margin-left: auto;
  font-style: normal;
}

.inspiration-top {
  position: fixed;
  right: 24px;
  bottom: 34px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #222;
  background: #fff;
  box-shadow: 0 10px 26px rgba(35, 47, 63, 0.12);
  font-size: 12px;
}

.inspiration-top svg {
  width: 18px;
  height: 18px;
}

.mini-view {
  --mini-ink: #171a1d;
  --mini-muted: #747d87;
  --mini-line: #e8ebee;
  --mini-rose: #b85767;
  --mini-green: #32745d;
  overflow: hidden;
  color: var(--mini-ink);
  background: #fff;
  color-scheme: light;
}

.mini-topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 22px;
  height: 68px;
  padding: 0 34px;
  border-bottom: 1px solid var(--mini-line);
  background: rgba(255, 255, 255, 0.96);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mini-ink);
}

.mini-brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: #171a1d;
  font-size: 10px;
  font-weight: 800;
}

.mini-brand strong {
  font-size: 16px;
}

.mini-location,
.mini-top-actions,
.mini-top-actions button {
  display: flex;
  align-items: center;
}

.mini-location {
  gap: 4px;
  color: #59616a;
  font-size: 13px;
}

.mini-location svg {
  width: 14px;
  height: 14px;
}

.mini-top-actions {
  justify-content: flex-end;
  gap: 8px;
}

.mini-top-actions button {
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #dfe3e7;
  color: #4c555e;
  background: #fff;
}

.mini-top-actions svg {
  width: 16px;
  height: 16px;
}

.mini-scroll {
  height: calc(100vh - 68px);
  overflow: auto;
  padding-bottom: 82px;
  background: #fff;
}

.mini-home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(580px, 58vh);
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.mini-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, 0.42);
}

.mini-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 0 58px;
  color: #fff;
}

.mini-hero-content small,
.mini-page-head small,
.mini-consult-band small,
.mini-inline-consult small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.mini-hero-content h1 {
  margin: 13px 0 12px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.mini-hero-content p {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.mini-hero-content > div {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.mini-hero-content button {
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.mini-hero-content button:first-child {
  color: #171a1d;
  border-color: #fff;
  background: #fff;
}

.mini-quick-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  border-bottom: 1px solid var(--mini-line);
}

.mini-quick-band--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-venue-intro {
  margin: -8px 0 22px;
  color: var(--mini-muted);
  font-size: 13px;
}

.mini-quick-band button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  min-height: 104px;
  padding: 18px 22px;
  border-right: 1px solid var(--mini-line);
  text-align: left;
}

.mini-quick-band button:last-child {
  border-right: 0;
}

.mini-quick-band svg {
  grid-row: 1 / 3;
  width: 25px;
  height: 25px;
  color: var(--mini-rose);
}

.mini-quick-band strong,
.mini-quick-band span {
  display: block;
}

.mini-quick-band strong {
  font-size: 15px;
}

.mini-quick-band span {
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-content-section {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 58px 0;
}

.mini-section-muted {
  width: 100%;
  padding-right: max(36px, calc((100% - 1180px) / 2));
  padding-left: max(36px, calc((100% - 1180px) / 2));
  background: #f3f6f5;
}

.mini-section-dark {
  width: 100%;
  padding-right: max(36px, calc((100% - 1180px) / 2));
  padding-left: max(36px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #1d2121;
}

.mini-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.mini-section-head h2,
.mini-subtitle {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.mini-section-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #68717a;
  font-size: 13px;
}

.mini-section-head svg {
  width: 15px;
  height: 15px;
}

.mini-section-dark .mini-section-head button {
  color: #b9c0bf;
}

.mini-case-grid {
  display: block;
  column-width: 280px;
  column-gap: 22px;
}

.mini-case-card {
  display: inline-block;
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  break-inside: avoid;
  text-align: left;
  vertical-align: top;
}

.mini-case-image {
  position: relative;
  display: block;
  width: 100%;
  background: #edf0f2;
}

.mini-case-image img,
.mini-case-image video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.mini-case-card:hover img,
.mini-case-card:hover video {
  opacity: 0.92;
}

.mini-case-video-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  color: #fff;
  border-radius: 999px;
  background: rgba(23, 26, 29, 0.72);
  font-size: 11px;
  line-height: 1;
}

.mini-case-image svg {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  padding: 6px;
  color: #fff;
  border-radius: 999px;
  background: rgba(23, 26, 29, 0.62);
}

.mini-case-image svg.is-favorite {
  color: #fff;
  fill: var(--mini-rose);
  background: var(--mini-rose);
}

.mini-case-card > strong,
.mini-case-card > span,
.mini-case-card > small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-case-card > strong {
  margin-top: 8px;
  font-size: 15px;
}

.mini-case-card > span:not(.mini-case-image) {
  margin-top: 3px;
  color: #646d76;
  font-size: 12px;
}

.mini-case-card > small {
  margin-top: 5px;
  color: #9aa1a8;
  font-size: 11px;
}

.mini-hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-hotel-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  text-align: left;
  background: #333;
}

.mini-hotel-card::after {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 13, 0.34);
  content: "";
}

.mini-hotel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-hotel-card > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
}

.mini-hotel-card strong,
.mini-hotel-card small {
  display: block;
}

.mini-hotel-card strong {
  font-size: 17px;
}

.mini-hotel-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.mini-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mini-team-card {
  min-width: 0;
  text-align: left;
}

.mini-team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  object-fit: cover;
  background: #343a39;
}

.mini-team-card strong,
.mini-team-card span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-team-card strong {
  margin-top: 12px;
  color: inherit;
  font-size: 14px;
}

.mini-team-card span {
  margin-top: 5px;
  color: #7d8685;
  font-size: 11px;
}

.mini-section-dark .mini-team-card span {
  color: #a6afad;
}

.mini-consult-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px max(36px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #2f715c;
}

.mini-consult-band h2,
.mini-inline-consult h2 {
  margin: 9px 0 8px;
  font-size: 28px;
}

.mini-consult-band p,
.mini-inline-consult p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.mini-consult-band button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  color: #2f715c;
  background: #fff;
  white-space: nowrap;
}

.mini-consult-band svg {
  width: 16px;
  height: 16px;
}

.mini-page-head {
  padding: 58px max(36px, calc((100% - 1180px) / 2)) 34px;
  border-bottom: 1px solid var(--mini-line);
  background: #f7f8f9;
}

.mini-page-head small {
  color: var(--mini-rose);
}

.mini-page-head h1 {
  margin: 10px 0 8px;
  font-size: 38px;
  letter-spacing: 0;
}

.mini-page-head p {
  margin: 0;
  color: var(--mini-muted);
  line-height: 1.7;
}

.mini-service-head {
  color: #fff;
  border: 0;
  background: #1d2121;
}

.mini-service-head p {
  color: #acb4b3;
}

.mini-booking-head {
  color: #fff;
  border: 0;
  background: #354b59;
}

.mini-booking-head small {
  color: #b8dce7;
}

.mini-booking-head p {
  color: #c4d0d7;
}

.mini-case-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 22px 0 14px;
}

.mini-case-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(480px, 72%);
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dfe3e7;
  background: #fff;
}

.mini-case-tools svg {
  width: 16px;
  height: 16px;
  color: #87909a;
}

.mini-case-tools input {
  width: 100%;
  border: 0;
  outline: 0;
}

.mini-case-tools > span {
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-filter-strip {
  display: flex;
  gap: 8px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 0 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--mini-line);
  scrollbar-width: none;
}

.mini-filter-strip::-webkit-scrollbar {
  display: none;
}

.mini-filter-strip button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid #dfe3e7;
  color: #58616a;
  background: #fff;
}

.mini-filter-strip button.active {
  color: #fff;
  border-color: #171a1d;
  background: #171a1d;
}

.mini-filter-strip svg {
  width: 14px;
  height: 14px;
}

.mini-case-city-nav {
  display: flex;
  gap: 10px;
  width: min(1180px, calc(100% - 72px));
  margin: 18px auto 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mini-location-label {
  width: min(1180px, calc(100% - 72px));
  margin: 16px auto -8px;
  color: var(--mini-rose);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mini-case-venue-nav {
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mini-line);
}

.mini-case-venue-nav button {
  min-width: auto;
  border-radius: 999px;
  background: #f4f5f6;
}

.mini-case-city-nav::-webkit-scrollbar {
  display: none;
}

.mini-case-city-nav button {
  flex: 0 0 auto;
  min-width: 88px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid #d8dde2;
  color: #4f5962;
  background: #fff;
}

.mini-case-city-nav button.active {
  color: #fff;
  border-color: #171a1d;
  background: #171a1d;
}

.mini-case-browser {
  padding-top: 24px;
}

.mini-case-more {
  width: min(360px, 100%);
  height: 46px;
  margin: 6px auto 0;
  border: 1px solid #cfd4d8;
  color: #394149;
  background: #fff;
}

.mini-case-groups,
.mini-case-venue-list {
  display: grid;
  gap: 42px;
}

.mini-case-city-group,
.mini-case-venue-group {
  min-width: 0;
}

.mini-case-city-head,
.mini-case-venue-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.mini-case-city-head {
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 2px solid #171a1d;
}

.mini-case-city-head small {
  display: block;
  margin-bottom: 3px;
  color: var(--mini-rose);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mini-case-city-head h2,
.mini-case-venue-head h3 {
  margin: 0;
}

.mini-case-city-head h2 {
  font-size: 30px;
}

.mini-case-city-head > span,
.mini-case-venue-head > span {
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-case-venue-head {
  margin-bottom: 16px;
}

.mini-case-venue-head > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mini-case-venue-head svg {
  width: 18px;
  height: 18px;
  color: var(--mini-rose);
}

.mini-case-venue-head h3 {
  font-size: 20px;
}

.mini-empty,
.mini-profile-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 260px;
  color: #8a929a;
  text-align: center;
}

.mini-empty svg,
.mini-profile-empty svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

.mini-empty strong,
.mini-empty span,
.mini-profile-empty strong {
  display: block;
}

.mini-empty span {
  margin-top: 6px;
  font-size: 12px;
}

.mini-inline-consult {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(460px, 1.2fr);
  gap: 64px;
  padding: 58px max(36px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #a64c5d;
}

.mini-inline-consult form,
.mini-booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-inline-consult label,
.mini-booking-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.mini-inline-consult .wide,
.mini-booking-form .wide {
  grid-column: 1 / -1;
}

.mini-inline-consult input,
.mini-inline-consult textarea,
.mini-booking-form input,
.mini-booking-form select,
.mini-booking-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.mini-inline-consult textarea,
.mini-booking-form textarea {
  resize: vertical;
}

.mini-inline-consult input::placeholder,
.mini-inline-consult textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.mini-inline-consult form button {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  color: #a64c5d;
  background: #fff;
}

.mini-inline-consult form svg {
  width: 16px;
  height: 16px;
}

.mini-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  width: min(980px, calc(100% - 72px));
  margin: 0 auto;
  padding: 46px 0 56px;
}

.mini-booking-form {
  align-content: start;
}

.mini-form-intro {
  grid-column: 1 / -1;
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
}

.mini-form-intro > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: #354b59;
  font-size: 12px;
  font-weight: 700;
}

.mini-form-intro h2 {
  margin: 0;
  font-size: 22px;
}

.mini-form-intro p {
  margin: 5px 0 0;
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-booking-form label {
  color: #59636d;
}

.mini-booking-form input,
.mini-booking-form select,
.mini-booking-form textarea {
  color: #26313b;
  border-color: #dfe3e7;
  background: #fff;
}

.mini-booking-form input:focus,
.mini-booking-form select:focus,
.mini-booking-form textarea:focus {
  border-color: #6b8798;
  box-shadow: 0 0 0 3px rgba(53, 75, 89, 0.08);
}

.mini-booking-form .mini-consent {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.mini-consent input {
  width: 16px;
  min-height: 16px;
  height: 16px;
}

.mini-booking-form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  color: #fff;
  background: #354b59;
}

.mini-booking-form > button svg {
  width: 16px;
  height: 16px;
}

.mini-booking-aside {
  display: grid;
  align-content: start;
  gap: 0;
  border-top: 1px solid var(--mini-line);
}

.mini-booking-aside div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--mini-line);
}

.mini-booking-aside svg {
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  color: var(--mini-green);
}

.mini-booking-aside strong,
.mini-booking-aside span {
  display: block;
}

.mini-booking-aside span {
  color: var(--mini-muted);
  font-size: 12px;
  line-height: 1.55;
}

.mini-booking-list {
  border-top: 1px solid var(--mini-line);
}

.mini-booking-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mini-line);
}

.mini-booking-list strong,
.mini-booking-list span {
  display: block;
}

.mini-booking-list span {
  margin-top: 5px;
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-booking-list em {
  color: #a06d24;
  font-size: 12px;
  font-style: normal;
}

.mini-profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 50px max(36px, calc((100% - 980px) / 2)) 32px;
  color: #fff;
  background: #2b343d;
}

.mini-profile-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 24px;
}

.mini-profile-head small,
.mini-profile-head p {
  color: #bac3ca;
}

.mini-profile-head h1 {
  margin: 5px 0;
  font-size: 30px;
}

.mini-profile-head p {
  margin: 0;
}

.mini-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(980px, calc(100% - 72px));
  margin: 0 auto;
  border-bottom: 1px solid var(--mini-line);
}

.mini-profile-stats button {
  min-height: 100px;
  border-right: 1px solid var(--mini-line);
}

.mini-profile-stats button:last-child {
  border-right: 0;
}

.mini-profile-stats strong,
.mini-profile-stats span {
  display: block;
}

.mini-profile-stats strong {
  font-size: 24px;
}

.mini-profile-stats span {
  margin-top: 5px;
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-profile-empty {
  min-height: 180px;
  background: #f6f8f8;
}

.mini-profile-empty button {
  margin-top: 14px;
  height: 34px;
  padding: 0 13px;
  color: #fff;
  background: #171a1d;
}

.mini-saved-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-saved-grid button {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--mini-line);
  text-align: left;
}

.mini-saved-grid img {
  width: 92px;
  height: 76px;
  border-radius: 3px;
  object-fit: cover;
}

.mini-saved-grid span,
.mini-saved-grid strong,
.mini-saved-grid small,
.mini-saved-grid em {
  display: block;
  min-width: 0;
}

.mini-saved-grid em {
  margin-bottom: 5px;
  color: var(--mini-rose);
  font-size: 10px;
  font-style: normal;
}

.mini-saved-grid strong,
.mini-saved-grid small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-saved-grid strong {
  font-size: 14px;
}

.mini-saved-grid small {
  margin-top: 5px;
  color: var(--mini-muted);
  font-size: 11px;
}

.mini-saved-grid > button > svg {
  width: 15px;
  height: 15px;
  color: #a5adb5;
}

.mini-profile-menu {
  width: min(980px, calc(100% - 72px));
  margin: 0 auto;
  padding-bottom: 54px;
  border-top: 1px solid var(--mini-line);
}

.mini-profile-menu button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 74px;
  border-bottom: 1px solid var(--mini-line);
  text-align: left;
}

.mini-profile-menu > button > svg:first-child {
  width: 20px;
  height: 20px;
  color: var(--mini-green);
}

.mini-profile-menu > button > svg:last-child {
  width: 16px;
  height: 16px;
  color: #a8afb6;
}

.mini-profile-menu strong,
.mini-profile-menu small {
  display: block;
}

.mini-profile-menu small {
  margin-top: 5px;
  color: var(--mini-muted);
}

.mini-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 68px;
  padding: 0 max(18px, calc((100% - 680px) / 2));
  border-top: 1px solid #e4e7ea;
  background: rgba(255, 255, 255, 0.97);
}

.mini-bottom-nav button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #818991;
  font-size: 10px;
}

.mini-bottom-nav button.active {
  color: var(--mini-rose);
}

.mini-bottom-nav svg {
  width: 20px;
  height: 20px;
}

.mini-detail-modal {
  top: 50%;
  left: 50%;
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, 0.85fr);
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  color: #26313b;
  background: #fff;
  border-radius: 8px;
  color-scheme: light;
  transform: translate(-50%, -50%);
}

.mini-detail-modal.open {
  display: grid;
}

.mini-detail-modal > img,
.mini-detail-modal > video {
  width: 100%;
  height: 100%;
  height: 570px;
  object-fit: cover;
  background: #edf0f2;
}

.mini-detail-body {
  display: flex;
  flex-direction: column;
  padding: 48px 34px 30px;
}

.mini-detail-body h2 {
  margin: 3px 0 8px;
  font-size: 28px;
}

.mini-detail-body > p {
  margin: 0;
  color: #79838d;
  line-height: 1.65;
}

.mini-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}

.mini-detail-tags span {
  height: 28px;
  padding: 0 9px;
  border: 1px solid #dfe3e7;
  color: #5f6872;
  font-size: 11px;
  line-height: 26px;
}

.mini-detail-copy {
  color: #4f5963 !important;
}

.mini-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 28px;
}

.mini-detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border: 1px solid #dbe0e4;
  color: #4e5862;
}

.mini-detail-actions button.active {
  color: var(--mini-rose);
  border-color: #d8a1aa;
  background: #fff4f6;
}

.mini-detail-actions button.primary {
  color: #fff;
  border-color: #171a1d;
  background: #171a1d;
}

.mini-detail-actions svg {
  width: 16px;
  height: 16px;
}

.mini-detail-assets {
  grid-column: 1 / -1;
  padding: 30px 34px 36px;
  border-top: 1px solid #e6e9ec;
  background: #f7f8f9;
}

.mini-detail-assets[hidden] {
  display: none;
}

.mini-detail-assets > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.mini-detail-assets h3 {
  margin: 2px 0 0;
  color: #20262d;
  font-size: 21px;
}

.mini-detail-assets > header p {
  margin: 0;
  color: #7b858f;
  font-size: 13px;
}

.mini-detail-load-more {
  display: block;
  width: min(280px, 100%);
  min-height: 44px;
  margin: 22px auto 4px;
  border: 1px solid #cfd4da;
  background: #fff;
  color: #171a1f;
  cursor: pointer;
}

.mini-detail-load-more[hidden] {
  display: none;
}

.mini-detail-asset-grid {
  columns: 4 210px;
  column-gap: 10px;
}

.mini-detail-asset-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid #e1e4e7;
  background: #fff;
  break-inside: avoid;
  color: inherit;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
}

.mini-detail-asset-card img,
.mini-detail-asset-card video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 360px;
  object-fit: cover;
  background: #17191b;
}

.mini-detail-asset-card .mini-detail-asset-name {
  display: block;
  padding: 9px 10px;
  overflow: hidden;
  color: #68727c;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-detail-asset-card .mini-detail-media-wrap {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}

.mini-detail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .62);
  transform: translate(-50%, -50%);
}

.mini-detail-play svg {
  width: 21px;
  height: 21px;
  margin-left: 3px;
}

.mini-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 36px 28px 20px;
  color: #fff;
  background: rgba(8, 10, 12, .96);
  backdrop-filter: blur(8px);
}

.mini-media-viewer.open {
  display: grid;
}

.mini-media-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.mini-media-stage img,
.mini-media-stage video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .48);
}

.mini-media-close,
.mini-media-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.mini-media-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
}

.mini-media-nav {
  width: 52px;
  height: 52px;
  justify-self: center;
}

.mini-media-nav svg,
.mini-media-close svg {
  width: 22px;
  height: 22px;
}

.mini-media-viewer footer {
  grid-column: 2 / 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  color: #c9cdd1;
  font-size: 13px;
}

.mini-media-viewer footer strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .mini-media-viewer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 60px 8px 18px;
  }

  .mini-media-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
  }

  .mini-media-nav.prev {
    left: 10px;
  }

  .mini-media-nav.next {
    right: 10px;
  }

  .mini-media-close {
    top: 12px;
    right: 12px;
  }

  .mini-media-viewer footer {
    grid-column: 1;
    padding: 0 8px;
  }

  .mini-media-stage {
    grid-column: 1;
  }
}

.mini-detail-asset-empty {
  padding: 28px;
  border: 1px dashed #d8dde2;
  color: #7b858f;
  text-align: center;
}

@media (max-width: 900px) {
  .mini-case-grid {
    columns: 2;
  }

  .mini-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-hotel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mini-inline-consult,
  .mini-booking-layout {
    grid-template-columns: 1fr;
  }

  .mini-inline-consult {
    gap: 32px;
  }

  .mini-booking-aside {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }

  .mini-booking-aside div {
    border-top: 1px solid var(--mini-line);
  }
}

@media (max-width: 620px) {
  .mini-topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    height: 58px;
    padding: 0 14px;
  }

  .mini-brand {
    min-width: 0;
  }

  .mini-brand span {
    width: 31px;
    height: 31px;
  }

  .mini-brand strong {
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mini-location span,
  .mini-top-actions button span,
  .mini-top-actions button:last-child {
    display: none;
  }

  .mini-top-actions button {
    width: 34px;
    padding: 0;
  }

  .mini-scroll {
    height: calc(100vh - 58px);
  }

  .mini-home-hero {
    min-height: 480px;
  }

  .mini-hero-content {
    width: calc(100% - 36px);
    padding-bottom: 38px;
  }

  .mini-hero-content h1 {
    font-size: 44px;
  }

  .mini-hero-content p {
    font-size: 14px;
  }

  .mini-hero-content > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mini-hero-content button {
    min-width: 0;
    padding: 0 9px;
    font-size: 12px;
  }

  .mini-quick-band {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 28px);
  }

  .mini-quick-band--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-quick-band button {
    min-height: 86px;
    padding: 12px;
    border-bottom: 1px solid var(--mini-line);
  }

  .mini-content-section,
  .mini-case-tools,
  .mini-filter-strip,
  .mini-case-city-nav,
  .mini-booking-layout,
  .mini-profile-stats,
  .mini-profile-menu {
    width: calc(100% - 32px);
  }

  .mini-location-label {
    width: calc(100% - 28px);
  }

  .mini-content-section {
    padding: 36px 0;
  }

  .mini-section-muted,
  .mini-section-dark {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .mini-section-head h2,
  .mini-subtitle {
    font-size: 21px;
  }

  .mini-case-grid {
    columns: 2;
    column-gap: 10px;
  }

  .mini-case-card {
    margin-bottom: 16px;
  }

  .mini-case-city-head h2 {
    font-size: 26px;
  }

  .mini-case-groups,
  .mini-case-venue-list {
    gap: 32px;
  }

  .mini-hotel-grid {
    grid-template-columns: 1fr;
  }

  .mini-hotel-card {
    min-height: 220px;
  }

  .mini-team-grid {
    gap: 20px 10px;
  }

  .mini-consult-band,
  .mini-page-head,
  .mini-inline-consult,
  .mini-profile-head {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mini-consult-band {
    display: grid;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .mini-consult-band h2,
  .mini-inline-consult h2 {
    font-size: 23px;
  }

  .mini-page-head {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .mini-page-head h1 {
    font-size: 31px;
  }

  .mini-case-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-top: 16px;
  }

  .mini-case-tools label {
    width: 100%;
  }

  .mini-filter-strip {
    padding-bottom: 14px;
  }

  .mini-inline-consult {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .mini-inline-consult form,
  .mini-booking-form {
    grid-template-columns: 1fr;
  }

  .mini-inline-consult .wide,
  .mini-booking-form .wide,
  .mini-form-intro {
    grid-column: auto;
  }

  .mini-booking-layout {
    gap: 28px;
    padding: 30px 0 42px;
  }

  .mini-booking-aside {
    grid-template-columns: 1fr;
  }

  .mini-profile-head {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .mini-profile-avatar {
    width: 58px;
    height: 58px;
  }

  .mini-profile-head h1 {
    font-size: 24px;
  }

  .mini-profile-head p {
    font-size: 12px;
  }

  .mini-profile-stats button {
    min-height: 84px;
  }

  .mini-saved-grid {
    grid-template-columns: 1fr;
  }

  .mini-bottom-nav {
    height: 64px;
    padding: 0 8px;
  }

  .mini-detail-modal {
    grid-template-columns: 1fr;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    overflow: auto;
  }

  .mini-detail-modal.open {
    display: block;
  }

  .mini-detail-modal > img,
  .mini-detail-modal > video {
    height: 42vh;
    min-height: 280px;
  }

  .mini-detail-body {
    min-height: 340px;
    padding: 28px 22px 22px;
  }

  .mini-detail-assets {
    padding: 24px 18px 28px;
  }

  .mini-detail-assets > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-detail-asset-grid {
    columns: 2 140px;
  }
}

@media (max-width: 1500px) {
  .site-header {
    grid-template-columns: 270px minmax(0, 1fr) 150px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 12px 8px 6px;
    margin-top: -12px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav button {
    font-size: 17px;
  }

  .brand-zone {
    gap: 14px;
  }

  .logo-avatar {
    width: 76px;
    height: 76px;
  }

  .brand-pill {
    max-width: 150px;
  }

  .header-icons {
    gap: 16px;
  }

  .category-panel,
  .case-toolbar,
  .masonry-grid {
    padding-left: 56px;
    padding-right: 56px;
  }

  .masonry-grid {
    column-count: 5;
  }

  .left-tools {
    gap: 36px;
  }

  .work-search {
    width: 200px;
  }

  .team-topbar {
    grid-template-columns: 150px 1fr 190px;
  }

  .team-nav {
    gap: 30px;
  }

  .team-controls {
    grid-template-columns: 360px minmax(320px, 1fr) 270px;
    gap: 10px;
  }

  .team-view-options {
    justify-content: flex-end;
    gap: 16px;
  }

  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px 38px;
  }

  .inspiration-header {
    grid-template-columns: 112px 112px auto minmax(240px, 1fr) 104px 44px;
    gap: 14px;
    padding: 0 24px;
  }

  .inspiration-user {
    display: none;
  }

  .inspiration-page {
    padding-left: 42px;
    padding-right: 42px;
  }
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .site-header {
    grid-template-columns: 240px 1fr 140px;
    height: 86px;
  }

  .logo-avatar {
    width: 72px;
    height: 72px;
  }

  .brand-pill {
    max-width: 136px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .site-nav button {
    font-size: 16px;
  }

  .case-page,
  .bench-shell,
  .bench-main,
  .brand-hero,
  .module-page {
    height: calc(100vh - 86px);
  }

  .category-panel,
  .case-toolbar {
    display: grid;
  }

  .right-filters {
    flex-wrap: wrap;
  }

  .asset-layout-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .asset-draft-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .asset-draft-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .masonry-grid {
    column-count: 3;
  }

  .bench-shell {
    grid-template-columns: 1fr;
  }

  .bench-sidebar {
    display: none;
  }

  .bench-grid {
    grid-template-columns: 1fr;
  }

  .module-stats,
  .module-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .today-card,
  .ai-card {
    grid-column: auto;
  }

  .team-topbar {
    grid-template-columns: 120px 1fr 190px;
  }

  .team-nav {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .team-nav::-webkit-scrollbar {
    display: none;
  }

  .team-top-icons {
    gap: 8px;
  }

  .team-controls {
    grid-template-columns: 1fr;
  }

  .team-view-options {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .team-filter-row {
    flex-wrap: wrap;
  }

  .team-local-tip {
    width: 100%;
    margin-left: 0;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inspiration-header {
    grid-template-columns: 112px 120px 1fr 118px 44px;
    gap: 12px;
    height: auto;
    min-height: 112px;
    padding: 12px 20px;
  }

  .inspiration-nav {
    grid-column: 1 / 4;
    order: 5;
    justify-content: flex-start;
    gap: 26px;
  }

  .inspiration-search {
    grid-column: 3 / 4;
  }

  .inspiration-page {
    height: calc(100vh - 112px);
    padding: 22px 28px 70px;
  }

  .inspiration-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    height: auto;
    min-height: 96px;
    padding: 10px 14px;
  }

  .brand-zone {
    gap: 10px;
  }

  .logo-avatar {
    width: 54px;
    height: 54px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-icons {
    gap: 12px;
  }

  .user-avatar {
    width: 38px;
    height: 38px;
  }

  .case-page,
  .bench-shell,
  .bench-main,
  .brand-hero,
  .module-page {
    height: calc(100vh - 112px);
  }

  .category-panel,
  .case-toolbar,
  .masonry-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .left-tools {
    justify-content: space-between;
    gap: 16px;
  }

  .right-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mini-select,
  .mini-select.wide,
  .date-filter,
  .work-search {
    width: 100%;
  }

  .masonry-grid {
    column-count: 2;
    column-gap: 16px;
  }

  .work-card {
    margin-bottom: 16px;
  }

  .work-card.tall img,
  .work-card.large img {
    height: 260px;
  }

  .floating-actions {
    display: none;
  }

  .case-modal.open,
  .upload-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cos-area,
  .ai-step-list {
    grid-column: 1;
    grid-row: auto;
  }

  .case-modal,
  .upload-modal,
  .download-modal {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 40px);
    overflow: auto;
  }

  .case-modal > img {
    min-height: 260px;
    height: 320px;
  }

  .case-asset-browser > header {
    align-items: stretch;
    flex-direction: column;
  }

  .case-asset-filters {
    overflow-x: auto;
  }

  .case-asset-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-asset-card img,
  .case-asset-card video,
  .case-asset-file {
    height: 220px;
  }

  .download-setting-box div {
    grid-template-columns: 1fr;
  }

  .asset-layout-head {
    display: grid;
  }

  .asset-layout-board {
    grid-template-columns: 1fr;
  }

  .asset-draft-card {
    grid-template-columns: 1fr;
  }

  .asset-draft-cover {
    width: 100%;
  }

  .asset-draft-fields {
    grid-template-columns: 1fr;
  }

  .asset-draft-main p {
    white-space: normal;
  }

  .layout-preview-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .asset-review-head {
    display: grid;
  }

  .asset-review-actions {
    flex-wrap: wrap;
  }

  .asset-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .asset-preview {
    width: 64px;
    height: 64px;
  }

  .asset-side {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
  }

  .team-topbar {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 88px;
    gap: 10px;
    padding: 12px 16px;
  }

  .team-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .team-page {
    height: calc(100vh - 112px);
    padding: 14px 16px 70px;
  }

  .team-primary-tabs {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .team-primary-tabs button {
    height: 38px;
  }

  .team-category-row {
    gap: 10px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
  }

  .team-right-rail {
    display: none;
  }

  .inspiration-header {
    grid-template-columns: auto 1fr auto;
    min-height: 136px;
    gap: 10px 12px;
    padding: 12px 16px;
  }

  .insp-back {
    width: 104px;
  }

  .insp-logo {
    font-size: 22px;
  }

  .inspiration-upload {
    width: 92px;
  }

  .inspiration-avatar,
  .inspiration-user {
    display: none;
  }

  .inspiration-nav {
    grid-column: 1 / -1;
    order: 4;
    gap: 22px;
  }

  .inspiration-search {
    grid-column: 1 / -1;
    order: 5;
  }

  .inspiration-page {
    height: calc(100vh - 136px);
    padding: 18px 16px 68px;
  }

  .inspiration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .inspiration-column {
    gap: 16px;
  }

  .inspiration-card img,
  .inspiration-card.is-tall img,
  .inspiration-card.is-short img,
  .inspiration-card.is-feature img {
    height: 220px;
  }

  .inspiration-card-body {
    padding-top: 10px;
  }

  .module-page {
    padding: 18px;
  }

  .module-head {
    display: grid;
    padding: 22px;
  }

  .module-stats,
  .module-board,
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .inspiration-header {
    grid-template-columns: 1fr auto;
    min-height: 172px;
  }

  .insp-back,
  .insp-logo,
  .inspiration-upload {
    width: auto;
  }

  .inspiration-nav,
  .inspiration-search {
    grid-column: 1 / -1;
  }

  .inspiration-page {
    height: calc(100vh - 172px);
  }

  .inspiration-grid {
    grid-template-columns: 1fr;
  }

  .inspiration-card img,
  .inspiration-card.is-tall img,
  .inspiration-card.is-short img,
  .inspiration-card.is-feature img {
    height: 300px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.crm-view {
  color: #666f80;
  background: #fff;
  font-size: 14px;
}

.crm-shell {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  transition: grid-template-columns 0.18s ease;
}

.crm-shell.crm-rail-collapsed {
  grid-template-columns: 30px minmax(0, 1fr);
}

.crm-shell.crm-rail-collapsed .crm-sidebar {
  width: 30px;
  overflow: hidden;
}

.crm-shell.crm-rail-collapsed .crm-sidebar > button:not(.crm-rail-toggle),
.crm-shell.crm-rail-collapsed .crm-sidebar > span {
  visibility: hidden;
  pointer-events: none;
}

.crm-shell.crm-rail-collapsed .crm-rail-toggle {
  width: 30px;
  gap: 0;
}

.crm-shell.crm-rail-collapsed .crm-rail-toggle svg {
  display: none;
}

.crm-sidebar {
  display: grid;
  grid-template-rows: repeat(9, 50px) 1fr 50px;
  justify-items: center;
  padding-top: 0;
  border-right: 1px solid #ebeef0;
  background: #f0f2f5;
}

.crm-sidebar button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border-radius: 6px;
  color: #667180;
}

.crm-sidebar button:hover,
.crm-sidebar button.active {
  color: #0093ff;
  background: #fff;
  box-shadow: none;
}

.crm-sidebar .crm-rail-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 70px;
  color: #667180;
  background: transparent;
  box-shadow: none;
}

.crm-rail-toggle span {
  color: #a1aab3;
  font-size: 18px;
  line-height: 1;
}

.crm-sidebar svg {
  width: 18px;
  height: 18px;
}

.crm-main {
  display: grid;
  grid-template-rows: 50px 57px 38px minmax(0, 1fr);
  min-width: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.crm-head,
.crm-breadcrumb,
.crm-head-actions,
.crm-primary-tabs,
.crm-alert-strip,
.crm-filter-row,
.crm-toolbar-actions,
.crm-view-toggle,
.crm-pagination {
  display: flex;
  align-items: center;
}

.crm-head {
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 0;
  color: #666f80;
  font-size: 14px;
}

.crm-breadcrumb,
.crm-head-actions {
  gap: 8px;
}

.crm-breadcrumb button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e5e9ee;
  border-radius: 999px;
  color: #7a8491;
  background: #fff;
}

.crm-breadcrumb svg,
.crm-head-actions svg {
  width: 15px;
  height: 15px;
}

.crm-head-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  color: #5f6977;
}

.crm-primary-tabs {
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  padding: 0 24px;
  overflow-x: auto;
  border-bottom: 0;
  scrollbar-width: none;
}

.crm-primary-tabs::-webkit-scrollbar {
  display: none;
}

.crm-primary-tabs button {
  position: relative;
  flex: 0 0 auto;
  height: 56px;
  margin-right: 24px;
  padding: 16px 0;
  color: #a1aab3;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.crm-primary-tabs button:nth-child(-n + 3) { width: 59px; }
.crm-primary-tabs button:nth-child(4),
.crm-primary-tabs button:nth-child(6) { width: 64px; }
.crm-primary-tabs button:nth-child(5) { width: 96px; }

.crm-primary-tabs button.active {
  color: #333;
  font-weight: 700;
}

.crm-primary-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #159eea;
  content: "";
}

.crm-primary-tabs strong {
  margin-left: 0;
  font-weight: inherit;
}

.crm-alert-strip {
  gap: 22px;
  padding: 0 24px;
  overflow-x: auto;
  color: #d49b18;
  background: #fcf5ed;
  font-size: 14px;
  white-space: nowrap;
}

.crm-alert-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.crm-alert-strip span svg {
  width: 17px;
  height: 17px;
  color: #f5a400;
  fill: #fff1c2;
}

.crm-alert-strip button {
  color: #d49b18;
}

.crm-workspace {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  min-height: 0;
  margin: 0 36px 0 24px;
}

.crm-smart-nav {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 46px;
  min-height: 0;
  border-right: 0;
  background: #fff;
}

.crm-smart-list {
  min-height: 0;
  padding: 16px 16px 0 0;
  overflow-y: auto;
}

.crm-smart-list button {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 142px;
  min-height: 40px;
  padding: 10px 8px;
  border-radius: 4px;
  color: #2c3e50;
  font-size: 14px;
  text-align: left;
  line-height: 1.35;
}

.crm-smart-list button:hover,
.crm-smart-list button.active {
  color: #2c3e50;
  background: #ebedf0;
}

.crm-smart-list i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.crm-smart-list i.blue { background: #26a8f3; }
.crm-smart-list i.red { background: #f05579; }
.crm-smart-list i.orange { background: #ffad2f; }
.crm-smart-list i.green { background: #28b67b; }
.crm-smart-list i.slate { background: #7b8999; }

.crm-smart-list em {
  color: #666f80;
  font-style: normal;
  font-size: 12px;
}

.crm-custom-query {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #ebeef0;
  color: #666f80;
  font-size: 14px;
  font-weight: 600;
}

.crm-custom-query svg {
  width: 15px;
  height: 15px;
}

.crm-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 16px 0 0;
  flex-direction: column;
  background: #fff;
}

.crm-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  flex: 0 0 90px;
  height: 90px;
  gap: 0;
}

.crm-toolbar-left {
  display: grid;
  grid-template-rows: 36px 36px;
  gap: 8px;
  min-width: 0;
}

.crm-filter-row {
  gap: 12px;
  min-width: 0;
  flex-wrap: nowrap;
}

.crm-toolbar-actions {
  display: grid;
  grid-template-columns: 189px 118px;
  grid-template-rows: 38px 36px;
  gap: 8px 12px;
  align-content: start;
  padding-left: 16px;
}

.crm-filter-row select,
.crm-filter-row button,
.crm-stat-button,
.crm-add-button,
.crm-search input,
.crm-advanced-filters select,
.crm-advanced-filters input,
.crm-pagination select,
.crm-pagination input {
  height: 36px;
  border: 1px solid #dfe4ea;
  border-radius: 3px;
  outline: 0;
  color: #666f80;
  background: #fff;
  font-size: 14px;
}

.crm-filter-row select {
  width: 100px;
  padding: 0 28px 0 12px;
}

.crm-filter-row label:nth-child(2) select {
  width: 68px;
}

.crm-filter-row label:nth-child(3) select {
  width: 100px;
}

.crm-filter-row button,
.crm-stat-button,
.crm-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 14px;
}

.crm-filter-row .crm-filter-toggle { width: 80px; }
.crm-filter-row .crm-clear { width: 70px; font-weight: 600; }

.crm-filter-row button svg,
.crm-stat-button svg,
.crm-add-button svg {
  width: 16px;
  height: 16px;
}

.crm-filter-row .crm-filter-toggle:hover,
.crm-filter-row .crm-filter-toggle.active {
  color: #178fd4;
  border-color: #9bd2f2;
  background: #f2faff;
}

.crm-view-toggle {
  grid-column: 1;
  grid-row: 1;
  width: 189px;
  height: 38px;
  padding: 1px 2px;
  border: 1px solid #ebedf0;
  border-radius: 4px;
  background: #ebedf0;
  overflow: hidden;
}

.crm-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 52px;
  height: 34px;
  padding: 0 2px;
  color: #666f80;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.crm-view-toggle button.active {
  color: #27313d;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 38, 57, 0.12);
}

.crm-view-toggle button:last-child {
  width: 38px;
  padding: 0 8px;
}

.crm-view-toggle svg {
  width: 14px;
  height: 14px;
}

.crm-view-toggle span {
  width: 41px;
  min-width: 41px;
  color: #666f80;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.crm-stat-button {
  grid-column: 2;
  grid-row: 1;
  width: 118px;
  color: #666f80;
  border-color: #ebedf0;
  border-radius: 4px;
  font-weight: 600;
}

.crm-add-button {
  grid-column: 2;
  grid-row: 2;
  width: 118px;
  color: #fff;
  border-color: #0093ff;
  border-radius: 4px;
  background: #0093ff;
  font-weight: 600;
}

.crm-add-button:hover {
  background: #078edc;
}

.crm-search {
  position: relative;
  display: block;
  width: 231px;
}

.crm-search input {
  width: 100%;
  padding: 0 36px 0 12px;
}

.crm-search svg {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 16px;
  height: 16px;
  color: #a1a9b3;
}

.crm-result-line {
  flex: 0 0 28px;
  height: 28px;
  margin-top: 8px;
  padding-bottom: 8px;
  color: #666f80;
  font-size: 14px;
  line-height: 20px;
}

.crm-advanced-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #e7ebf0;
  border-radius: 4px;
  background: #f8fafc;
}

.crm-advanced-filters label {
  display: grid;
  gap: 6px;
  color: #6c7785;
  font-size: 12px;
}

.crm-advanced-filters select,
.crm-advanced-filters input {
  width: 100%;
  padding: 0 10px;
}

.crm-table-wrap {
  flex: 0 0 calc(100vh - 320px);
  height: calc(100vh - 320px);
  min-height: 260px;
  overflow: auto;
  border: 1px solid #ebeef0;
  background: #fff;
}

.crm-table {
  width: 100%;
  min-width: 3480px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #666f80;
  font-size: 14px;
}

.crm-table th,
.crm-table td {
  height: 53px;
  padding: 0 20px;
  overflow: hidden;
  border-right: 1px solid #ebeef0;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crm-table th {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 52px;
  color: #666f80;
  background: #f2f5f7;
  font-weight: 700;
}

.crm-table tbody tr:hover td {
  background: #f7fbff;
}

.crm-table th:nth-child(1),
.crm-table td:nth-child(1) { width: 40px; padding: 0; text-align: center; }
.crm-table th:nth-child(2),
.crm-table td:nth-child(2) { width: 70px; padding: 0; text-align: center; }
.crm-table th:nth-child(3),
.crm-table td:nth-child(3) { width: 190px; }
.crm-table th:nth-child(4),
.crm-table td:nth-child(4) { width: 190px; }
.crm-table th:nth-child(5),
.crm-table td:nth-child(5) { width: 190px; }
.crm-table th:nth-child(6),
.crm-table td:nth-child(6) { width: 190px; }
.crm-table th:nth-child(7),
.crm-table td:nth-child(7) { width: 300px; }
.crm-table th:nth-child(8),
.crm-table td:nth-child(8) { width: 190px; }
.crm-table th:nth-child(9),
.crm-table td:nth-child(9) { width: 190px; }
.crm-table th:nth-child(10),
.crm-table td:nth-child(10) { width: 190px; }
.crm-table th:nth-child(11),
.crm-table td:nth-child(11) { width: 190px; }
.crm-table th:nth-child(12),
.crm-table td:nth-child(12) { width: 190px; }
.crm-table th:nth-child(13),
.crm-table td:nth-child(13) { width: 190px; }
.crm-table th:nth-child(14),
.crm-table td:nth-child(14) { width: 190px; }
.crm-table th:nth-child(15),
.crm-table td:nth-child(15),
.crm-table th:nth-child(16),
.crm-table td:nth-child(16),
.crm-table th:nth-child(17),
.crm-table td:nth-child(17),
.crm-table th:nth-child(18),
.crm-table td:nth-child(18) { width: 190px; }
.crm-table th:nth-child(19),
.crm-table td:nth-child(19) { width: 220px; padding: 0 13px; }

.crm-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #159de8;
}

.crm-customer-name {
  display: block;
  overflow: hidden;
  color: #2c3e50;
  font-weight: 500;
  text-overflow: ellipsis;
}

.crm-customer-name + small {
  display: block;
  margin-top: 3px;
  color: #9aa2ad;
  font-size: 11px;
}

.crm-overdue {
  color: #ef4d6f;
}

.crm-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.crm-status::before {
  display: none;
}

.crm-status[data-status="待跟进"]::before { background: #f2a521; }
.crm-status[data-status="已成交"]::before { background: #22b678; }
.crm-status[data-status="已流失"]::before { background: #83909e; }

.crm-row-actions {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
}

.crm-row-actions button {
  width: 44px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #0093ff;
  border-radius: 3px;
  color: #0093ff;
  background: transparent;
  font-size: 14px;
}

.crm-row-actions button:nth-child(2) {
  width: 72px;
  margin: 0 10px;
}

.crm-row-actions .crm-row-more {
  display: grid;
  place-items: center;
  width: 36px;
  height: 24px;
  padding: 0;
  border: 0;
}

.crm-row-more svg {
  width: 14px;
  height: 14px;
}

.crm-row-actions button:hover {
  color: #0e92df;
  border-color: #97d1f2;
  background: #f2faff;
}

.crm-table .crm-action-cell {
  position: sticky;
  right: -4px;
  z-index: 3;
  border-left: 1px solid #e1e6eb;
  background: #fff;
  box-shadow: -7px 0 14px rgba(35, 52, 70, 0.04);
}

.crm-table th.crm-action-cell {
  z-index: 6;
  background: #f2f5f7;
}

.crm-table .crm-action-cell > button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  color: #728090;
}

.crm-table .crm-action-cell svg {
  width: 16px;
  height: 16px;
}

.crm-empty-row td {
  height: 220px;
  color: #929ba6;
  text-align: center;
}

.crm-board {
  flex: 1 1 auto;
  min-height: 260px;
  padding: 2px 2px 8px;
  overflow: auto;
}

.crm-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 12px;
  min-width: 980px;
}

.crm-board-column {
  min-height: 300px;
  padding: 12px;
  border: 1px solid #e3e8ed;
  border-radius: 6px;
  background: #f5f7fa;
}

.crm-board-column > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #4d5967;
  font-size: 14px;
  font-weight: 700;
}

.crm-board-column > header span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  border-radius: 999px;
  color: #6b7684;
  background: #e6eaf0;
  font-size: 12px;
}

.crm-board-card {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #e2e7ec;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(43, 58, 74, 0.04);
}

.crm-board-card strong,
.crm-board-card span,
.crm-board-card small {
  display: block;
}

.crm-board-card strong {
  color: #36414e;
  font-size: 14px;
}

.crm-board-card span,
.crm-board-card small {
  margin-top: 6px;
  color: #84909e;
  font-size: 12px;
}

.crm-board-card button {
  width: 100%;
  height: 30px;
  margin-top: 10px;
  border-top: 1px solid #eef1f4;
  color: #168fd5;
  text-align: left;
  font-size: 12px;
}

.crm-pagination {
  flex: 0 0 36px;
  justify-content: flex-end;
  gap: 6px;
  min-height: 36px;
  margin-top: 10px;
  padding: 2px 0;
  color: #606266;
  font-size: 14px;
}

.crm-pagination > span {
  margin-right: 8px;
}

.crm-pagination label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.crm-pagination select {
  width: 58px;
  height: 28px;
  padding: 0 5px;
}

.crm-pagination > button,
.crm-pagination div button {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #e0e5ea;
  border-radius: 3px;
  color: #687483;
  background: #fff;
}

.crm-pagination div {
  display: flex;
  align-items: center;
  gap: 2px;
}

.crm-page-ellipsis {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #606266;
}

.crm-pagination div button.active {
  color: #fff;
  border-color: #159de8;
  background: #159de8;
}

.crm-pagination button:disabled {
  color: #c0c7ce;
  background: #f7f8f9;
  cursor: default;
}

.crm-pagination svg {
  width: 15px;
  height: 15px;
}

.crm-pagination input {
  width: 50px;
  height: 28px;
  padding: 0 6px;
  text-align: center;
}

.crm-drawer {
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100vh;
  padding: 34px 30px 28px;
  overflow-y: auto;
  color: #53606f;
  background: #fff;
  border-left: 1px solid #e2e7ec;
  box-shadow: -18px 0 50px rgba(32, 50, 68, 0.16);
}

.crm-drawer-head > span {
  display: block;
  margin-bottom: 7px;
  color: #168fd5;
  font-size: 11px;
  font-weight: 700;
}

.crm-drawer-head h2 {
  margin: 0;
  color: #25303c;
  font-size: 25px;
}

.crm-drawer-head p {
  margin: 8px 0 0;
  color: #8993a0;
}

.crm-drawer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.crm-drawer-stats div {
  padding: 12px;
  border: 1px solid #e6ebef;
  border-radius: 5px;
  background: #f8fafc;
}

.crm-drawer-stats strong,
.crm-drawer-stats span {
  display: block;
}

.crm-drawer-stats strong {
  overflow: hidden;
  color: #35414e;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crm-drawer-stats span {
  margin-top: 5px;
  color: #8a95a2;
  font-size: 11px;
}

.crm-timeline {
  margin-bottom: 22px;
  padding-left: 15px;
  border-left: 1px solid #dce3e9;
}

.crm-timeline article {
  position: relative;
  padding: 0 0 20px 16px;
}

.crm-timeline article::before {
  position: absolute;
  top: 5px;
  left: -20px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #1b9ee8;
  box-shadow: 0 0 0 1px #87cdf3;
  content: "";
}

.crm-timeline time,
.crm-timeline strong,
.crm-timeline p {
  display: block;
}

.crm-timeline time {
  color: #9aa3ae;
  font-size: 11px;
}

.crm-timeline strong {
  margin-top: 5px;
  color: #4b5664;
  font-size: 13px;
}

.crm-timeline p {
  margin: 5px 0 0;
  color: #737e8c;
  font-size: 13px;
  line-height: 1.6;
}

.crm-follow-form,
.crm-follow-form label {
  display: grid;
  gap: 7px;
}

.crm-follow-form {
  padding-top: 18px;
  border-top: 1px solid #e6ebef;
  color: #667280;
  font-size: 13px;
}

.crm-follow-form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.crm-follow-form textarea,
.crm-follow-form input,
.crm-follow-form select,
.crm-create-form input,
.crm-create-form select,
.crm-create-form textarea {
  width: 100%;
  border: 1px solid #dfe5ea;
  border-radius: 4px;
  outline: 0;
  color: #465260;
  background: #fff;
}

.crm-follow-form textarea,
.crm-create-form textarea {
  padding: 10px;
  resize: vertical;
}

.crm-follow-form input,
.crm-follow-form select,
.crm-create-form input,
.crm-create-form select {
  height: 38px;
  padding: 0 10px;
}

.crm-follow-form textarea:focus,
.crm-follow-form input:focus,
.crm-follow-form select:focus,
.crm-create-form input:focus,
.crm-create-form select:focus,
.crm-create-form textarea:focus {
  border-color: #7cc7ef;
  box-shadow: 0 0 0 3px rgba(21, 157, 232, 0.1);
}

.crm-follow-form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  margin-top: 5px;
  border-radius: 4px;
  color: #fff;
  background: #159de8;
  font-weight: 700;
}

.crm-follow-form > button svg {
  width: 16px;
  height: 16px;
}

.crm-create-modal {
  top: 50%;
  left: 50%;
  width: min(680px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 30px;
  overflow-y: auto;
  color: #667280;
  background: #fff;
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

.crm-create-modal h2 {
  margin: 0 0 7px;
  color: #25303c;
  font-size: 25px;
}

.crm-create-modal > p {
  margin: 0 0 20px;
  color: #87919d;
  font-size: 13px;
}

.crm-create-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.crm-create-form label {
  display: grid;
  gap: 6px;
  color: #606c7a;
  font-size: 13px;
}

.crm-create-form .wide {
  grid-column: 1 / -1;
}

.crm-create-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}

.crm-create-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  height: 38px;
  border: 1px solid #dfe5ea;
  border-radius: 4px;
  color: #65717e;
  background: #fff;
}

.crm-create-actions button[type="submit"] {
  color: #fff;
  border-color: #159de8;
  background: #159de8;
}

.crm-create-actions svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 900px) {
  .crm-workspace {
    grid-template-columns: 150px minmax(0, 1fr);
    margin: 0 12px;
  }

  .crm-toolbar {
    grid-template-columns: minmax(0, 1fr);
    height: 180px;
    gap: 8px;
  }

  .crm-toolbar-actions {
    padding-left: 0;
  }

  .crm-table-wrap {
    flex: 1 1 auto;
    height: auto;
  }

  .crm-advanced-filters {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 760px) {
  .crm-shell {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .crm-sidebar {
    grid-template-rows: repeat(9, 46px) 1fr 46px;
  }

  .crm-sidebar button {
    width: 42px;
    height: 40px;
  }

  .crm-main {
    grid-template-rows: 48px 52px 38px minmax(0, 1fr);
  }

  .crm-head {
    padding: 0 12px;
  }

  .crm-head-actions button:first-child,
  .crm-breadcrumb > svg,
  .crm-breadcrumb span:first-of-type {
    display: none;
  }

  .crm-primary-tabs {
    gap: 20px;
    padding: 0 14px;
  }

  .crm-primary-tabs button {
    height: 52px;
    font-size: 14px;
  }

  .crm-alert-strip {
    padding: 0 14px;
  }

  .crm-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 74px minmax(0, 1fr);
    margin: 0;
  }

  .crm-smart-nav {
    display: block;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid #e5e9ee;
  }

  .crm-smart-list {
    display: flex;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .crm-smart-list button {
    flex: 0 0 138px;
    min-height: 56px;
    border: 1px solid #e7ebef;
    background: #fff;
  }

  .crm-custom-query {
    display: none;
  }

  .crm-content {
    padding: 10px 10px 6px;
  }

  .crm-toolbar {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .crm-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .crm-filter-row > * {
    flex: 0 0 auto;
  }

  .crm-toolbar-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 0;
    scrollbar-width: none;
  }

  .crm-filter-row::-webkit-scrollbar,
  .crm-toolbar-actions::-webkit-scrollbar,
  .crm-smart-list::-webkit-scrollbar {
    display: none;
  }

  .crm-view-toggle,
  .crm-stat-button,
  .crm-add-button {
    flex: 0 0 auto;
  }

  .crm-add-button {
    order: -1;
  }

  .crm-result-line {
    margin-top: 6px;
  }

  .crm-search {
    width: 100%;
  }

  .crm-advanced-filters {
    grid-template-columns: 1fr;
    max-height: 224px;
    overflow-y: auto;
  }

  .crm-pagination {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .crm-table .crm-action-cell {
    position: static;
    border-left: 0;
    box-shadow: none;
  }

  .crm-table-wrap {
    flex: 1 1 auto;
    height: auto;
  }

  .crm-pagination > span,
  .crm-pagination > label:first-of-type,
  .crm-pagination > label:last-of-type {
    display: none;
  }

  .crm-drawer-stats,
  .crm-follow-form > div,
  .crm-create-form {
    grid-template-columns: 1fr;
  }

  .crm-create-form .wide {
    grid-column: auto;
  }

  .crm-drawer,
  .crm-create-modal {
    padding: 28px 20px 22px;
  }
}

@media (max-width: 680px) {
  #themeMenu {
    width: min(268px, calc(100vw - 24px));
    padding: 18px;
  }
}
