:root {
  --yc-blue: #0052d9;
  --yc-blue-weak: #e8f1ff;
  --yc-navy: #0f2340;
  --yc-text: #172033;
  --yc-muted: #6b778c;
  --yc-line: #e7ecf3;
  --yc-bg: #f2f5fa;
  --yc-card: #ffffff;
  --yc-green: #13b981;
  --yc-red: #f04438;
  --yc-amber: #f59e0b;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; color: var(--yc-text); background: var(--yc-bg); font-size: 14px; }
a { color: var(--yc-blue); text-decoration: none; }
button, input, select, textarea { font: inherit; }
.site-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; background: #fff; border-bottom: 1px solid var(--yc-line); }
.brand { display: flex; align-items: center; justify-content: center; min-width: 0; }
.brand-logo { display: block; width: auto; height: 38px; max-width: 170px; object-fit: contain; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--yc-line); background: #fff; color: var(--yc-text); cursor: pointer; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn-primary { border-color: var(--yc-blue); background: var(--yc-blue); color: #fff; }
.btn-danger { border-color: #ffd4d4; color: var(--yc-red); background: #fff5f5; }
.icon-btn { width: 30px; height: 30px; border: 0; background: transparent; color: var(--yc-muted); cursor: pointer; font-size: 22px; line-height: 1; }
.hero { min-height: 420px; padding: 72px 48px; background: linear-gradient(120deg, #f8fbff, #edf5ff); }
.hero-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; margin: 0 0 18px; letter-spacing: 0; }
.hero p { color: var(--yc-muted); line-height: 1.8; font-size: 16px; }
.hero-panel { background: #fff; border: 1px solid var(--yc-line); border-radius: 8px; padding: 24px; }
.feature-grid { max-width: 1120px; margin: 32px auto; padding: 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card, .auth-card, .panel, .kpi, .table-panel { background: var(--yc-card); border: 1px solid var(--yc-line); border-radius: 6px; }
.feature-card { padding: 20px; }
.feature-card h3 { margin: 0 0 10px; }
.auth-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(120deg, #f8fbff, #eef4ff); }
.auth-card { width: 420px; padding: 28px; }
.auth-card h1 { margin: 0 0 22px; font-size: 24px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; color: var(--yc-muted); }
.input, .select, .textarea { width: 100%; height: 36px; border: 1px solid var(--yc-line); border-radius: 4px; padding: 0 10px; background: #fff; }
.textarea { height: 72px; padding: 8px 10px; resize: vertical; }
.alert { padding: 10px 12px; border-radius: 4px; margin-bottom: 14px; color: var(--yc-red); background: #fff5f5; border: 1px solid #ffd4d4; }
.app { min-height: 100vh; display: grid; grid-template-columns: 184px 1fr; }
.sidebar { background: #fff; border-right: 1px solid var(--yc-line); display: flex; flex-direction: column; }
.sidebar .brand { height: 64px; padding: 0 16px; border-bottom: 1px solid var(--yc-line); }
.sidebar .brand-logo { height: 34px; max-width: 148px; }
.auth-brand { margin-bottom: 22px; }
.auth-brand .brand-logo { height: 44px; max-width: 220px; }
.nav { padding: 12px 8px; display: grid; gap: 4px; }
.nav a { color: #445066; padding: 12px 14px; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; }
.nav a.active, .nav a:hover { color: var(--yc-blue); background: var(--yc-blue-weak); }
.main { min-width: 0; }
.topbar { height: 64px; background: #fff; border-bottom: 1px solid var(--yc-line); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.search { width: 520px; height: 36px; border: 1px solid var(--yc-line); border-radius: 4px; padding: 0 14px; color: var(--yc-muted); }
.content { padding: 20px 24px 34px; }
.page-title { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 18px; min-height: 106px; }
.kpi small { color: var(--yc-muted); }
.kpi strong { display: block; font-size: 24px; margin: 10px 0 6px; }
.grid-3 { display: grid; grid-template-columns: 1.35fr 1.1fr .8fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.panel { padding: 16px; }
.panel h2, .table-panel h2 { font-size: 16px; margin: 0 0 14px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--yc-line); margin-bottom: 10px; }
.tabs span { padding: 0 0 10px; color: var(--yc-muted); }
.tabs .on { color: var(--yc-blue); border-bottom: 2px solid var(--yc-blue); }
.page-tabs { display: flex; gap: 34px; min-height: 48px; align-items: flex-end; border-bottom: 1px solid var(--yc-line); margin: -2px 0 14px; }
.page-tabs a { height: 48px; display: inline-flex; align-items: center; color: #27364a; border-bottom: 3px solid transparent; font-size: 15px; }
.page-tabs a.active { color: var(--yc-blue); border-bottom-color: var(--yc-blue); font-weight: 600; }
.menu-level-2 td:nth-child(2) { padding-left: 24px; }
.menu-level-3 td:nth-child(2) { padding-left: 44px; }
.menu-level-4 td:nth-child(2) { padding-left: 64px; }
.task-row, .log-row, .risk-row { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--yc-line); }
.task-row { grid-template-columns: 1fr auto auto; align-items: center; }
.muted { color: var(--yc-muted); }
.tag { display: inline-flex; align-items: center; height: 25px; line-height: 25px; padding: 0 8px; border-radius: 4px; font-size: 12px; background: #eef5ff; color: var(--yc-blue); white-space: nowrap; }
.tag-green { background: #eafaf4; color: var(--yc-green); }
.tag-red { background: #fff0f0; color: var(--yc-red); }
.tag-amber { background: #fff7e8; color: var(--yc-amber); }
.status-pill, .status.status-active, .status.status-pending, .status-badge { display: inline-flex; align-items: center; height: 25px; line-height: 25px; padding: 0 8px; white-space: nowrap; }
.table-panel { padding: 16px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.search-form { padding: 12px; background: #fbfcfe; border: 1px solid var(--yc-line); border-radius: 6px; flex-wrap: wrap; }
.actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.actions .btn { height: 28px; padding: 0 10px; font-size: 12px; }
.actions form { margin: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--yc-line); vertical-align: middle; }
.table th { color: var(--yc-muted); font-weight: 500; background: #fbfcfe; }
.cost-project-table th.project-action-column,
.cost-project-table td.project-actions {
  width: 188px;
  min-width: 188px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
  white-space: nowrap;
}
.cost-project-table td.project-actions {
  display: table-cell;
}
.cost-project-table .project-action-slot {
  width: 150px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
}
.cost-project-table .project-action-label {
  width: auto;
  display: inline-flex;
}
.cost-project-table td.project-actions form {
  display: inline-flex;
  margin: 0;
  flex: 0 0 auto;
}
.cost-project-table td.project-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.footer-note { text-align: center; color: var(--yc-muted); padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 16px; }
.form-span-2 { grid-column: 1 / -1; }
.form-error { min-height: 18px; margin-top: 6px; color: var(--yc-red); font-size: 12px; }
.check-row { min-height: 34px; display: inline-flex; align-items: center; gap: 8px; color: #334155; }
.check-row input { width: 14px; height: 14px; }
.searchable-select-wrap { position: relative; min-width: 0; }
.searchable-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.searchable-select-input { padding-right: 28px; }
.searchable-select-wrap::after { content: ""; position: absolute; right: 11px; top: 15px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #7b8aa3; pointer-events: none; }
.searchable-select-wrap.invalid .searchable-select-input { border-color: var(--yc-red); }
.searchable-select-options { position: absolute; z-index: 3300; left: 0; right: 0; top: calc(100% + 4px); display: none; max-height: 220px; overflow-y: auto; background: #fff; border: 1px solid #d8e1ed; box-shadow: 0 10px 28px rgba(15, 35, 64, .14); }
.searchable-select-options.show { display: block; }
.searchable-select-option { width: 100%; display: block; padding: 9px 12px; border: 0; border-bottom: 1px solid #edf1f7; background: #fff; color: var(--yc-text); text-align: left; cursor: pointer; }
.searchable-select-option:hover, .searchable-select-option:focus { outline: none; background: #edf4ff; }
.searchable-select-empty { padding: 10px 12px; color: var(--yc-muted); }
.customer-combobox { position: relative; }
.customer-options {
  position: absolute;
  z-index: 3200;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  display: none;
  max-height: 238px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d8e1ed;
  box-shadow: 0 10px 28px rgba(15, 35, 64, .14);
}
.customer-options.show { display: block; }
.customer-option {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  color: var(--yc-text);
  text-align: left;
  cursor: pointer;
}
.customer-option:hover,
.customer-option:focus {
  outline: none;
  background: #edf4ff;
}
.customer-option strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.customer-option span {
  color: var(--yc-muted);
  font-size: 12px;
}
.customer-options-empty {
  padding: 11px 12px;
  color: var(--yc-muted);
}
.modal-backdrop { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 35, 64, .32); z-index: 30; }
.modal-backdrop.show { display: flex; }
.modal { width: min(760px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border: 1px solid var(--yc-line); border-radius: 8px; box-shadow: 0 18px 60px rgba(15, 35, 64, .18); padding: 18px; }
.modal.confirm-modal { width: min(340px, calc(100vw - 48px)); padding: 16px; }
.confirm-modal .modal-head { margin-bottom: 10px; }
.confirm-modal .modal-head h2 { font-size: 16px; }
.confirm-modal .modal-actions { margin-top: 16px; }
.confirm-message { margin: 6px 0 0; color: var(--yc-text); line-height: 1.6; }
.modal.deposit-review-modal { width: min(460px, calc(100vw - 48px)); }
.thumb-button { border: 0; background: transparent; padding: 0; cursor: zoom-in; }
.deposit-thumb { width: 42px; height: 42px; object-fit: cover; border: 1px solid var(--yc-line); border-radius: 2px; display: block; }
.image-preview-modal { width: min(760px, calc(100vw - 48px)); }
.image-preview { display: block; max-width: 100%; max-height: calc(100vh - 150px); margin: 0 auto; object-fit: contain; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.console { max-width: 1120px; margin: 0 auto; }

.cloud-topnav {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 14px 0 0;
  background: #fff;
  border-bottom: 1px solid #dde3ea;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.cloud-topnav-left, .cloud-topnav-right {
  display: flex;
  align-items: center;
  min-width: 0;
}
.cloud-topnav-left { gap: 14px; flex: 0 1 auto; }
.cloud-topnav-right { gap: 0; justify-content: flex-end; flex: 1 1 auto; }
.top-logo {
  width: 148px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-right: 1px solid #e7ecf3;
}
.top-logo .brand-logo {
  max-width: 124px;
  height: 28px;
  object-fit: contain;
}
.top-logo .admin-brand-logo {
  max-width: 126px;
  height: 28px;
}
.system-branding-logo-control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 360px;
}
.system-branding-logo-preview {
  width: 180px;
  height: 68px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 4px;
  background: #f7f9fc;
}
.system-branding-logo-preview img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.system-branding-logo-input {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.system-branding-logo-input input[type="file"] {
  max-width: 280px;
  color: #4e5969;
  font-size: 13px;
}
.system-branding-logo-input code {
  max-width: 320px;
  overflow: hidden;
  color: #86909c;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.system-branding-error {
  margin: 14px 16px 0;
}
.top-products {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.top-products a {
  height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #334155;
  border-bottom: 2px solid transparent;
}
.top-products a:hover, .top-products a.active {
  color: var(--yc-blue);
  border-bottom-color: var(--yc-blue);
}
.top-search-shell {
  width: min(390px, 34vw);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-left: 1px solid #e5eaf2;
  border-right: 1px solid #e5eaf2;
  border-bottom: 1px solid #e5eaf2;
  background: #fff;
  cursor: text;
}
.top-search-icon {
  width: 20px;
  height: 20px;
  color: #8b5cf6;
  flex: 0 0 20px;
}
.top-search-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.top-search {
  min-width: 0;
  flex: 1 1 auto;
  height: 36px;
  border: 0;
  padding: 0;
  color: #858b96;
  background: transparent;
  font-size: 15px;
}
.top-search:focus,
.top-search:focus-visible {
  outline: none;
  box-shadow: none;
}
.top-search-shell:focus-within {
  outline: none;
}
.top-shortcut {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b95a3;
  border: 1px solid #dfe5ee;
  border-radius: 6px;
  background: #fbfcff;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}
.top-current-role {
  height: 52px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 14px;
  color: #303846;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.top-divider {
  width: 1px;
  height: 24px;
  background: #e0e6ef;
  margin: 0 10px 0 4px;
}
.top-account {
  height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 0 10px 0 8px;
  color: #303846;
  white-space: nowrap;
  cursor: default;
  position: relative;
  z-index: 2;
}
.top-account:hover {
  color: #303846;
}
.top-account-text {
  display: block;
  text-align: left;
  line-height: 1.2;
}
.top-account-text strong {
  font-size: 13px;
  font-weight: 500;
}
.top-logout {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  padding: 0 12px;
  color: #4b5565;
  background: #fff;
  border: 1px solid #d9e0ea;
  border-radius: 4px;
  font-size: 13px;
  line-height: 26px;
  white-space: nowrap;
}
.top-logout:hover,
.top-logout:focus-visible {
  color: var(--yc-blue);
  background: #f3f7ff;
  border-color: #9dbcf6;
}
.top-avatar {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #2f6eea;
  font-size: 20px;
  font-weight: 700;
}

.cloud-console {
  min-height: calc(100vh - 52px);
  grid-template-columns: 220px minmax(0, 1fr);
}
.cloud-sidebar {
  background: #fff;
  border-right: 1px solid #dde3ea;
  box-shadow: 1px 0 0 rgba(0, 0, 0, .02);
}
.sidebar-title {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #eef2f7;
}
.sidebar-layer-switch {
  flex: 1;
  min-width: 0;
}
.sidebar-layer-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  background: #f2f5f9;
}
.sidebar-layer-button {
  height: 32px;
  padding: 0 8px;
  color: #64748b;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 32px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.sidebar-layer-button:hover:not(:disabled) {
  color: #165dff;
  background: rgba(255, 255, 255, .7);
}
.sidebar-layer-button.active {
  color: #165dff;
  background: #fff;
  box-shadow: 0 1px 4px rgba(29, 78, 216, .14);
}
.sidebar-layer-button:focus-visible {
  outline: 2px solid rgba(22, 93, 255, .3);
  outline-offset: 1px;
}
.sidebar-layer-button:disabled {
  color: #c2c7d0;
  cursor: not-allowed;
}
.cloud-menu {
  padding: 10px 0 22px;
  gap: 0;
}
.nav-section {
  padding: 6px 0 10px;
}
.nav-heading {
  padding: 12px 20px 8px;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 700;
}
.nav-item, .nav-parent {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px;
  padding: 0 14px;
  border-radius: 0;
  color: #27364a;
  border-left: 3px solid transparent;
}
.nav a.nav-item {
  justify-content: flex-start;
}
.nav-item:hover, .nav-parent:hover {
  color: var(--yc-blue);
  background: #edf4ff;
}
.nav-item.active, .nav-parent.active {
  color: var(--yc-blue);
  background: #dfeaff;
  border-left-color: var(--yc-blue);
  font-weight: 600;
}
.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex: 0 0 18px;
}
.nav-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-parent.active .nav-icon, .nav-item.active .nav-icon {
  color: var(--yc-blue);
}
.nav-item-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-item-badge {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 6px;
  color: #165dff;
  background: #e8f3ff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
}
.nav-item.active .nav-item-badge {
  background: #fff;
}
.nav-parent {
  cursor: pointer;
  user-select: none;
}
.nav-parent:focus-visible {
  outline: 2px solid rgba(0, 82, 217, .28);
  outline-offset: -2px;
}
.nav-caret {
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0;
  line-height: 1;
}
.nav-caret::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.8px solid currentColor;
  border-left: 1.8px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .16s ease;
}
.nav-parent.collapsed .nav-caret::before {
  transform: rotate(225deg);
}
.nav-child.collapsed {
  display: none;
}
.nav-child {
  margin: 0 12px 0 30px;
  padding: 0 14px 0 34px;
  min-height: 38px;
  color: #4b5565;
  position: relative;
  border-left: 0;
}
.nav-parent + .nav-child {
  margin-top: 8px;
}
.nav-child:not(.collapsed) + .nav-parent {
  margin-top: 8px;
}
.nav-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d9e0ea;
}
.nav-third {
  margin-left: 30px;
  padding-left: 34px;
}
.nav-child:hover {
  background: #f3f6fb;
  color: #27364a;
}
.nav-child:hover::before,
.nav-child:focus-visible::before {
  width: 2px;
  background: #1f2937;
}
.nav-child.active {
  background: #dfeaff;
  color: #27364a;
}
.nav-child.active::before {
  width: 2px;
  background: #1f2937;
}
.cloud-main {
  min-width: 0;
  background: #f2f5fa;
  display: flex;
  flex-direction: column;
}
.cloud-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px 16px 36px;
}
.page-title {
  display: flex;
  align-items: center;
  min-height: 56px;
  margin: -24px -16px 16px;
  padding: 0 16px;
  background: #fff;
  font-size: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.table-panel, .panel, .kpi {
  border-radius: 2px;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 35, 64, .03);
}
.table-panel {
  padding: 18px;
}
.table th {
  background: #f7f9fc;
  color: #667085;
}
.table td {
  background: #fff;
}
.project-party-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.project-party-copy-part {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.project-party-copy-part:hover,
.project-party-copy-part:focus,
.project-party-copy-part:active {
  color: inherit;
  text-decoration: none;
  outline: none;
}
.project-party-copy-uid {
  color: #4e5969;
  white-space: nowrap;
}
.btn {
  border-radius: 2px;
}
.btn-primary {
  background: var(--yc-blue);
  border-color: var(--yc-blue);
}
.arco-btn.arco-btn-size-mini {
  height: 28px !important;
  line-height: 26px !important;
}
.no-permission-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
}
.no-permission-card {
  width: min(520px, 100%);
  padding: 34px 24px;
  text-align: center;
}
.no-permission-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ff7d00;
  background: #fff7e8;
  border: 1px solid #ffe4ba;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 700;
}
.no-permission-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.no-permission-card p {
  margin: 0;
  color: #667085;
}
.no-permission-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .cloud-topnav { height: auto; min-height: 52px; flex-wrap: wrap; padding: 8px 12px; }
  .cloud-topnav-left, .cloud-topnav-right { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
  .top-logo { width: auto; height: 38px; border-right: 0; padding-right: 0; }
  .top-products { overflow-x: auto; max-width: 100%; }
  .top-products a { height: 36px; padding: 0 10px; }
  .top-search-shell { width: 100%; height: 40px; border: 1px solid #e5eaf2; padding: 0 12px; }
  .top-current-role { height: 36px; padding: 0; }
  .top-account { height: 36px; }
  .cloud-content { padding: 18px 14px 28px; }
  .kpi-grid, .grid-3, .feature-grid, .hero-inner, .form-grid { grid-template-columns: 1fr; }
  .search { width: 100%; max-width: 360px; }
  .site-header { padding: 0 18px; }
}

/* Expense bill table: scrollable with fixed action column */
.cost-expense-bill-table-shell { overflow-x: auto; background: #fff; }
.cost-expense-bill-table td.cost-expense-bill-actions {
  display: table-cell;
  width: 1%;
  text-align: right;
  white-space: nowrap;
  padding: 12px 10px;
  position: sticky;
  right: 0;
  background: #fff;
  z-index: 1;
  box-shadow: -2px 0 4px rgba(0,0,0,0.04);
}
.cost-expense-bill-table td.cost-expense-bill-actions form { margin: 0; }
.cost-expense-bill-table td.cost-expense-bill-actions .btn { margin: 0; }
.cost-expense-bill-table th:last-child { width: 1%; text-align: left; position: sticky; right: 0; background: #f7f8fa; z-index: 1; }

.admin-mobile-menu-toggle,
.admin-mobile-menu-close,
.admin-mobile-sidebar-mask {
  display: none;
}

@media (max-width: 900px) {
  body.admin-mobile-nav-open {
    overflow: hidden;
  }

  .admin-mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
  }

  .admin-mobile-menu-button.arco-btn {
    width: 38px;
    height: 38px;
    color: #27364a;
    border: 1px solid #d9e0ea;
    background: #fff;
  }

  .admin-mobile-menu-button.arco-btn:hover,
  .admin-mobile-menu-button.arco-btn:focus-visible {
    color: var(--yc-blue);
    background: #edf4ff;
    border-color: #9dbcf6;
  }

  .cloud-sidebar.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 2500;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform .2s ease, visibility .2s ease;
    box-shadow: 10px 0 30px rgba(15, 35, 64, .18);
  }

  .admin-mobile-nav-open .cloud-sidebar.sidebar {
    visibility: visible;
    transform: translateX(0);
  }

  .cloud-sidebar .sidebar-title {
    position: sticky;
    top: 0;
    z-index: 2;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
  }

  .admin-mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .admin-mobile-menu-close-button.arco-btn {
    width: 34px;
    height: 34px;
    color: #4b5565;
  }

  .admin-mobile-sidebar-mask {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(15, 35, 64, .42);
    transition: opacity .2s ease, visibility .2s ease;
  }

  .admin-mobile-nav-open .admin-mobile-sidebar-mask {
    visibility: visible;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-sidebar.sidebar,
  .admin-mobile-sidebar-mask {
    transition: none;
  }
}
