/* 简尔佳设计 · 项目记录系统 */
:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #5b677a;
  --line: #d8e0ea;
  --line-soft: #e8eef5;
  --blue: #2b6cff;
  --blue-soft: #e8f0ff;
  --lime: #a8e00a;
  --lime-deep: #8bc000;
  --ok: #059669;
  --warn: #d97706;
  --danger: #dc2626;
  --calc-ok: #dbeafe;
  --calc-ok-ink: #1d4ed8;
  --calc-bad: #fee2e2;
  --calc-bad-ink: #b91c1c;
  --st-none: #fee2e2;
  --st-none-ink: #b91c1c;
  --st-order: #fef3c7;
  --st-order-ink: #b45309;
  --st-recv: #d1fae5;
  --st-recv-ink: #047857;
  --shadow: 0 10px 30px rgba(15, 30, 60, 0.08);
  --radius: 12px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--ui-font, 13px);
  line-height: 1.4;
  overflow: hidden;
}
html[data-font="sm"] { --ui-font: 12px; }
html[data-font="md"] { --ui-font: 13px; }
html[data-font="lg"] { --ui-font: 15px; }
html[data-font="xl"] { --ui-font: 17px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
[hidden] { display: none !important; }

/* ========== Login ========== */
.login-screen {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(43, 108, 255, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 100%, rgba(168, 224, 10, 0.14), transparent 50%),
    var(--bg);
}
.login-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 34px 28px 26px;
  text-align: center;
}
.login-logo { width: 132px; height: 132px; object-fit: contain; margin: 0 auto 6px; display: block; }
.login-brand { font-size: 18px; font-weight: 650; margin-bottom: 4px; }
.login-sub { color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.login-form { display: grid; gap: 12px; text-align: left; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fbfcfe;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 108, 255, 0.15);
  background: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  transition: transform .12s, background .15s;
  min-height: 40px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #4d8cff 55%, var(--lime));
  color: #fff;
  box-shadow: 0 8px 18px rgba(43, 108, 255, 0.25);
}
.btn-ghost { background: var(--blue-soft); color: var(--blue); }
.btn-ghost:hover { background: #dce8ff; }
.btn-danger { background: #fee2e2; color: var(--danger); }
.btn-sm { padding: 7px 11px; font-size: 12px; border-radius: 8px; min-height: 34px; }
.btn-block { width: 100%; }
.login-hint { margin-top: 12px; font-size: 11px; color: var(--muted); }
.login-error { margin-top: 10px; color: var(--danger); font-size: 12px; min-height: 16px; }

/* ========== Shell ========== */
.app-shell { height: 100%; display: grid; grid-template-rows: auto auto 1fr; }
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 12px;
}
.brand-title { font-weight: 700; font-size: 14px; white-space: nowrap; }
.brand-desc { font-size: 11px; color: var(--muted); white-space: nowrap; }
.topbar-spacer { flex: 1; }
.nav-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}
.nav-tab {
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  min-height: 34px;
}
.nav-tab.on { background: var(--surface); color: var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.month-switch, .year-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px 6px;
}
.month-switch input[type="month"], .year-switch select {
  border: none;
  background: transparent;
  outline: none;
  font-weight: 600;
  max-width: 140px;
}
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 16px;
}
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }
.top-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.user-chip { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.user-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--lime));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 6px;
}
.toolbar .search { width: min(280px, 42vw); }
.toolbar .search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  background: var(--surface);
  outline: none;
}
.toolbar-meta { color: var(--muted); font-size: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar-meta strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.scroll-area { overflow: auto; padding: 0 12px 18px; }

/* KPI cards */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 4px 0 12px;
}
.year-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(15,30,60,.03);
}
.year-card .k { font-size: 11px; color: var(--muted); }
.year-card .v {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.year-card .v.blue { color: var(--blue); }
.year-card .v.lime { color: var(--lime-deep); }

.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(15, 30, 60, 0.03);
  overflow: hidden;
}
.board-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #f7faff, #fbfff3);
  flex-wrap: wrap;
}
.board-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.board-tag .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.board[data-half="second"] .board-tag .pip { background: var(--lime-deep); }
.board-range { color: var(--muted); font-size: 12px; }
.board-totals {
  margin-left: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.total-item { display: flex; flex-direction: column; align-items: flex-end; min-width: 64px; }
.total-item.clickable {
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 6px;
  transition: background .15s;
}
.total-item.clickable:hover { background: var(--blue-soft); }
.total-item span { font-size: 10px; color: var(--muted); }
.total-item strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.total-item strong.accent { color: var(--blue); }
.total-item strong.lime { color: var(--lime-deep); }
.total-item .hint-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  line-height: 12px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9px;
  margin-left: 4px;
  text-align: center;
}

/* 运营双栏 */
.ops-board .ops-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: var(--bg);
}
.ops-col {
  min-width: 0;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
}
.ops-col + .ops-col { border-left: 1px solid var(--line); }
.ops-col-head {
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  background: #f7faff;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ops-col-head .btn { flex-shrink: 0; }
.ops-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 8px 12px;
  background: #fbfcff;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}
.ops-summary .item { display: flex; gap: 6px; align-items: baseline; }
.ops-summary .item span { color: var(--muted); }
.ops-summary .item strong { font-variant-numeric: tabular-nums; }
.ops-summary .item.hl {
  background: transparent;
  color: var(--calc-ok-ink);
  border-radius: 6px;
  padding: 2px 8px;
}

.table-wrap { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; }
table.projects {
  width: 100%;
  min-width: 1240px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12px;
}
table.ops-table { min-width: 420px; width: 100%; }
table.users-table { min-width: 900px; }
.board, .ops-board, .view-panel { max-width: 100%; }
.table-wrap { width: 100%; max-width: 100%; }
table.projects th, table.projects td {
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  padding: 5px 3px;
  vertical-align: middle;
  text-align: center;
  background-clip: padding-box;
}
table.projects th {
  background: #f4f7fb;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
}
table.projects thead tr.group th { background: #eaf0f8; color: #334; letter-spacing: .04em; }
table.projects tbody tr:hover td { background: #f8fbff; }
table.projects td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.projects td.num.date-empty { font-size: 11px; letter-spacing: -.02em; }
table.projects td.wrap { text-align: left; white-space: normal; word-break: break-word; }
table.projects td.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 0; }
table.projects tfoot td { background: #f7fafc; font-weight: 650; border-top: 1px solid var(--line); }

td.editable { cursor: pointer; }
td.editable:hover { background: #eef5ff !important; box-shadow: inset 0 0 0 1px rgba(43,108,255,.25); }
td.editing { padding: 2px !important; background: #fff !important; }
td.editing input, td.editing select {
  width: 100%;
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 3px 4px;
  font-size: 11px;
  outline: none;
}
/* 自动复核：静默着色，不显示「核」字 */
td.calc-ok, .calc-ok { background: transparent !important; color: var(--calc-ok-ink) !important; font-weight: 700; }
td.calc-bad, .calc-bad { background: var(--calc-bad) !important; color: var(--calc-bad-ink); }

.row-actions {
  display: flex;
  gap: 2px;
  justify-content: center;
  opacity: .55;
}
tr:hover .row-actions { opacity: 1; }
.row-actions button {
  font-size: 11px;
  padding: 3px 5px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  white-space: nowrap;
}
.row-actions button:hover { background: var(--blue-soft); color: var(--blue); }
.row-actions button.danger:hover { background: #fee2e2; color: var(--danger); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.st-未下单, .pill.st-none { background: var(--st-none); color: var(--st-none-ink); }
.pill.st-已下单, .pill.st-order { background: var(--st-order); color: var(--st-order-ink); }
.pill.st-付定金, .pill.st-dep { background: var(--st-order); color: var(--st-order-ink); }
.pill.st-已收货, .pill.st-recv { background: var(--st-recv); color: var(--st-recv-ink); }
.pill.rv-未评, .pill.rv-none { background: #f3f4f6; color: #4b5563; }
.pill.rv-好评, .pill.rv-ok { background: var(--st-recv); color: var(--st-recv-ink); }
.pill.rv-差评, .pill.rv-bad { background: var(--st-none); color: var(--st-none-ink); }
.pill.pay-未付 { background: var(--st-none); color: var(--st-none-ink); }
.pill.pay-垫付 { background: var(--st-order); color: var(--st-order-ink); }
.pill.pay-已付 { background: var(--st-recv); color: var(--st-recv-ink); }
.pill.inv-待开 { background: var(--st-order); color: var(--st-order-ink); }
.pill.inv-已开 { background: var(--st-recv); color: var(--st-recv-ink); }
.pill.inv-无 { background: #f3f4f6; color: #4b5563; }

.progress-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #e6edf5;
  overflow: hidden;
  min-width: 36px;
}
.progress-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--lime));
}
.progress-val {
  min-width: 32px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--blue);
  font-size: 11px;
  white-space: nowrap;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(11, 18, 32, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
  overflow: auto;
}
.modal {
  width: min(920px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 20, 40, 0.22);
  border: 1px solid var(--line);
}
.modal.sm { width: min(420px, 100%); }
.modal.md { width: min(560px, 100%); }
.modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-head h2 { font-size: 16px; }
.modal-head .close { margin-left: auto; color: var(--muted); font-size: 22px; width: 36px; height: 36px; }
.modal-body { padding: 18px 20px; }
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  flex-wrap: wrap;
}
.modal-foot.no-sticky { position: static; }
.auto-save-tip { font-size: 11px; color: var(--muted); margin-right: auto; align-self: center; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 14px;
}
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-3 { grid-column: span 3; }
.calc-note {
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--calc-ok);
  color: var(--calc-ok-ink);
  font-size: 12px;
  font-weight: 600;
}

.progress-editor { text-align: center; }
.pe-project { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.pe-title { font-size: 15px; font-weight: 650; margin-bottom: 16px; }
.pe-value {
  font-size: 48px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--blue), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.pe-value small { font-size: 20px; -webkit-text-fill-color: var(--muted); color: var(--muted); background: none; }
.pe-hint { color: var(--muted); font-size: 11px; margin-bottom: 16px; }
.pe-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: #e6edf5;
  cursor: ew-resize;
  touch-action: none;
}
.pe-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  pointer-events: none;
}
.pe-knob {
  position: absolute; top: 50%;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(43, 108, 255, .3);
  pointer-events: none;
}
.pe-quick { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.pe-quick button {
  min-width: 52px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 650;
}
.pe-quick button.on {
  background: linear-gradient(135deg, var(--blue), var(--lime));
  color: #fff;
  border-color: transparent;
}

/* Time wheel */
.time-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fbfcfe;
  cursor: pointer;
  min-height: 42px;
}
.time-text { font-variant-numeric: tabular-nums; font-weight: 650; }
.time-caret { color: var(--muted); }
.time-hint, .time-preview { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.time-preview { margin: 12px 0 0; }
.time-preview strong { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.time-wheel { display: flex; justify-content: center; align-items: stretch; gap: 10px; }
.wheel-col {
  width: 88px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fbfcfe;
}
.wheel-label {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 6px;
  background: var(--blue-soft);
  font-weight: 700;
}
.wheel-list {
  height: 180px;
  overflow-y: auto;
  padding: 70px 0;
  box-sizing: content-box;
}
.wheel-item {
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.wheel-item.active { color: var(--blue); background: var(--blue-soft); border-radius: 8px; }
.wheel-sep { align-self: center; font-size: 28px; font-weight: 700; color: var(--muted); }
.time-wheel.compact .wheel-col { width: 64px; }
.time-wheel.compact .wheel-list { height: 132px; padding: 48px 0; }
.time-wheel.compact .wheel-item { height: 28px; font-size: 16px; }
.time-pop {
  position: fixed;
  z-index: 70;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px;
  width: 180px;
}
.time-pop-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }

/* Export scope */
.scope-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.scope-label { font-size: 12px; color: var(--muted); font-weight: 650; margin-bottom: 10px; }
.scope-row { display: flex; gap: 14px; align-items: stretch; }
.scope-wheel-wrap {
  width: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fbfcfe;
}
.scope-wheel-wrap .wheel-list { height: 150px; padding: 56px 0; }
.scope-half { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scope-opt {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-weight: 650;
  background: #fff;
  min-height: 44px;
}
.scope-opt.on {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}
.scope-preview {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.export-opts { display: flex; flex-direction: column; gap: 8px; }
.export-opts label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  min-height: 44px;
}
.export-opts label:hover { border-color: var(--blue); background: var(--blue-soft); }

.chart-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 8px;
}
.chart-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.chart-card canvas { width: 100%; height: 280px; display: block; }
table.year-table { min-width: 1100px; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: var(--shadow);
  z-index: 80;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s, transform .18s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.empty { padding: 22px; text-align: center; color: var(--muted); }
.money::before { content: "¥"; margin-right: 1px; color: var(--muted); font-weight: 500; }
.date-empty { color: #b0bac6; }
.badge-role {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
}
.badge-role.main { background: var(--blue-soft); color: var(--blue); }
.badge-role.sub { background: #f3f4f6; color: #4b5563; }

.settings-section {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-soft);
}
.settings-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.settings-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

/* 公式审核 */
.formula-desc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.formula-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: auto;
}
.formula-table th, .formula-table td {
  border: 1px solid var(--line);
  padding: 8px 6px;
  text-align: center;
  white-space: nowrap;
}
.formula-table th:nth-child(1), .formula-table td:nth-child(1) { width: 64px; min-width: 56px; }
.formula-table th:nth-child(2), .formula-table td:nth-child(2) { width: auto; min-width: 110px; }
.formula-table th:nth-child(3), .formula-table td:nth-child(3) { width: 88px; min-width: 72px; }
.formula-table th:nth-child(4), .formula-table td:nth-child(4) { width: 64px; min-width: 52px; }
.formula-table th:nth-child(5), .formula-table td:nth-child(5) { width: 96px; min-width: 80px; }
.formula-table th:nth-child(6), .formula-table td:nth-child(6) { width: 48px; min-width: 40px; }
.formula-table th { background: #f4f7fb; color: var(--muted); font-weight: 600; }
.formula-table input, .formula-table select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 4px;
  font-size: 12px;
  text-align: center;
}
.formula-table tr.result td {
  background: var(--calc-ok);
  color: var(--calc-ok-ink);
  font-weight: 700;
}
.formula-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.formula-result {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--calc-ok);
  color: var(--calc-ok-ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.formula-result.bad {
  background: var(--calc-bad);
  color: var(--calc-bad-ink);
}

/* 行内选项浮层 */
.opt-pop {
  position: fixed;
  z-index: 75;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 4px;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.opt-pop button {
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  min-height: 36px;
}
.opt-pop button:hover { background: var(--blue-soft); color: var(--blue); }
.opt-pop button.on { background: var(--blue-soft); color: var(--blue); }

/* ========== Mobile ========== */
@media (max-width: 1100px) {
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hide-sm { display: none !important; }
  .brand-desc { display: none; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ops-board .ops-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px; }
  .ops-col + .ops-col { border-left: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2, .form-grid .span-3 { grid-column: span 2; }
  .topbar { gap: 8px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .search { width: 100%; }
  .board-totals { width: 100%; margin-left: 0; justify-content: flex-start; }
  table.projects { font-size: 12px; }
  .btn, .nav-tab, .icon-btn { min-height: 40px; }
  .scope-row { flex-direction: column; }
  .scope-wheel-wrap { width: 100%; }
}
@media (max-width: 520px) {
  .kpi-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .year-card .v { font-size: 18px; }
  .top-actions .btn-sm { padding: 8px 8px; font-size: 12px; }
  .login-card { padding: 28px 18px 22px; }
  .login-logo { width: 110px; height: 110px; }
  .scroll-area { padding: 0 8px 14px; }
  .modal-body { padding: 14px; }
}
@media (max-width: 820px) {
  body { overflow-x: hidden; overflow-y: auto; }
  .app-shell { height: auto; min-height: 100%; width: 100%; max-width: 100vw; }
  .scroll-area { overflow-x: hidden; overflow-y: visible; width: 100%; max-width: 100%; }
  .view-panel, .board, .ops-board, .kpi-row, .chart-card, .toolbar { max-width: 100%; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}

/* 可拖动窗口 */
.modal-head { cursor: move; user-select: none; -webkit-user-select: none; }
.modal.dragging { transition: none; }

/* 导出月份滚轮 */
.scope-wheel-wrap {
  position: relative;
  width: 96px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  overflow: hidden;
}
.scope-wheel-wrap .wheel-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
}
.scope-wheel-wrap .wheel-list {
  position: absolute;
  top: 28px; left: 0; right: 0; bottom: 0;
  height: auto;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 62px 0;
  box-sizing: content-box;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.scope-wheel-wrap .wheel-item {
  scroll-snap-align: center;
  height: 40px;
  font-size: 18px;
}
.scope-wheel-wrap .wheel-item.active {
  font-size: 22px;
  font-weight: 750;
}
.scope-wheel-wrap .wheel-center {
  position: absolute;
  left: 6px; right: 6px;
  top: 50%;
  height: 40px;
  transform: translateY(-50%);
  border: 2px solid var(--blue);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
  background: rgba(43, 108, 255, 0.06);
}

.no-money::before { content: none !important; }


/* �޸����㰴ť�ɵ�� */
.modal-backdrop { pointer-events: none; }
.modal-backdrop > .modal { pointer-events: auto; }
.modal .modal-foot { position: relative; z-index: 2; }



/* �հ����޸����ָ�������ѹ������ Logo */
html, body { min-height: 100%; height: auto; }
body { overflow-x: hidden !important; overflow-y: auto !important; }
.brand img { width: 104px !important; height: 104px !important; }
.app-shell { height: auto !important; min-height: 100vh; display: flex; flex-direction: column; }
.scroll-area { overflow-x: hidden !important; overflow-y: auto !important; flex: 1 1 auto; min-height: 0; }
.topbar { flex-wrap: wrap; }


/* 弹层默认隐藏，避免泄漏到登录页 */
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop { display: none; }
.modal-backdrop.is-open { display: flex; }


/* м */
.brand img { width: 44px !important; height: 44px !important; }
.topbar { padding: 6px 14px !important; gap: 10px !important; min-height: 52px; }
.brand-title { font-size: 14px; }
.nav-tab { padding: 5px 10px; min-height: 30px; }
.btn-sm { min-height: 30px; padding: 5px 10px; }

 
 / *   {vU_uƉSE\-N  +   \s|ΘgTAmRIQHe  * /  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d ;  
     t o p :   0 ;   r i g h t :   0 ;   b o t t o m :   0 ;   l e f t :   0 ;  
     m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     d i s p l a y :   f l e x   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;  
     j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     o v e r f l o w :   h i d d e n ;  
     b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # e e f 3 f f   0 % ,   # f 7 f b f 4   4 5 % ,   # e 8 f 7 f f   1 0 0 % ) ;  
 }  
 . l o g i n - s c r e e n : : b e f o r e ,  
 . l o g i n - s c r e e n : : a f t e r   {  
     c o n t e n t :   " " ;  
     p o s i t i o n :   a b s o l u t e ;  
     b o r d e r - r a d i u s :   5 0 % ;  
     f i l t e r :   b l u r ( 8 0 p x ) ;  
     o p a c i t y :   0 . 5 5 ;  
     p o i n t e r - e v e n t s :   n o n e ;  
     a n i m a t i o n :   l o g i n F l o w   1 4 s   e a s e - i n - o u t   i n f i n i t e   a l t e r n a t e ;  
 }  
 . l o g i n - s c r e e n : : b e f o r e   {  
     w i d t h :   5 5 v w ;  
     h e i g h t :   5 5 v w ;  
     l e f t :   - 1 0 % ;  
     t o p :   - 1 5 % ;  
     b a c k g r o u n d :   r a d i a l - g r a d i e n t ( c i r c l e ,   r g b a ( 4 3 , 1 0 8 , 2 5 5 , 0 . 4 5 ) ,   r g b a ( 4 3 , 1 0 8 , 2 5 5 , 0 )   7 0 % ) ;  
 }  
 . l o g i n - s c r e e n : : a f t e r   {  
     w i d t h :   5 0 v w ;  
     h e i g h t :   5 0 v w ;  
     r i g h t :   - 1 2 % ;  
     b o t t o m :   - 1 8 % ;  
     b a c k g r o u n d :   r a d i a l - g r a d i e n t ( c i r c l e ,   r g b a ( 1 6 8 , 2 2 4 , 1 0 , 0 . 4 ) ,   r g b a ( 1 6 8 , 2 2 4 , 1 0 , 0 )   7 0 % ) ;  
     a n i m a t i o n - d e l a y :   - 7 s ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {  
     p o s i t i o n :   r e l a t i v e ;  
     z - i n d e x :   1 ;  
 }  
 @ k e y f r a m e s   l o g i n F l o w   {  
     0 %   {   t r a n s f o r m :   t r a n s l a t e ( 0 ,   0 )   s c a l e ( 1 ) ;   }  
     5 0 %   {   t r a n s f o r m :   t r a n s l a t e ( 6 % ,   4 % )   s c a l e ( 1 . 0 8 ) ;   }  
     1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 4 % ,   8 % )   s c a l e ( 1 . 0 2 ) ;   }  
 }  
 @ m e d i a   ( p r e f e r s - r e d u c e d - m o t i o n :   r e d u c e )   {  
     . l o g i n - s c r e e n : : b e f o r e ,   . l o g i n - s c r e e n : : a f t e r   {   a n i m a t i o n :   n o n e ;   }  
 }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . l o g i n - s c r e e n   {  
     p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
     t o p :   0   ! i m p o r t a n t ;   l e f t :   0   ! i m p o r t a n t ;   r i g h t :   0   ! i m p o r t a n t ;   b o t t o m :   0   ! i m p o r t a n t ;  
     w i d t h :   1 0 0 v w   ! i m p o r t a n t ;   h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;   m i n - h e i g h t :   1 0 0 v h   ! i m p o r t a n t ;  
     m a r g i n :   0   ! i m p o r t a n t ;   d i s p l a y :   f l e x   ! i m p o r t a n t ;   f l e x - d i r e c t i o n :   c o l u m n   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;   j u s t i f y - c o n t e n t :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 4 p x   ! i m p o r t a n t ;   b o x - s i z i n g :   b o r d e r - b o x   ! i m p o r t a n t ;  
 }  
 . l o g i n - s c r e e n   . l o g i n - c a r d   {   m a r g i n :   a u t o   ! i m p o r t a n t ;   }  
 . c a l c - n o t e   - e n c o d e d C o m m a n d   Z A B p A H M A c A B s A G E A e Q A 6 A G 4 A b w B u A G U A I Q B p A G 0 A c A B v A H I A d A B h A G 4 A d A A 7 A A = =   - i n p u t F o r m a t   x m l   - o u t p u t F o r m a t   x m l  
 . c a l c - n o t e ,   # f o r m C a l c N o t e ,   . p r o j e c t M o d a l   . c a l c - n o t e ,   # p r o j e c t F o r m   . c a l c - n o t e   {  
     d i s p l a y :   n o n e   ! i m p o r t a n t ;  
 }  
 . u s e r - m e n u - w r a p   {   p o s i t i o n :   r e l a t i v e ;   l i s t - s t y l e :   n o n e ;   }  
 . u s e r - m e n u - w r a p   >   s u m m a r y   {   l i s t - s t y l e :   n o n e ;   c u r s o r :   p o i n t e r ;   }  
 . u s e r - m e n u - w r a p   >   s u m m a r y : : - w e b k i t - d e t a i l s - m a r k e r   {   d i s p l a y :   n o n e ;   }  
 . u s e r - m e n u   {  
     p o s i t i o n :   a b s o l u t e ;   r i g h t :   0 ;   t o p :   c a l c ( 1 0 0 %   +   6 p x ) ;  
     m i n - w i d t h :   1 2 0 p x ;   b a c k g r o u n d :   # f f f ;   b o r d e r :   1 p x   s o l i d   # d 8 e 0 e a ;  
     b o r d e r - r a d i u s :   1 0 p x ;   b o x - s h a d o w :   0   1 0 p x   3 0 p x   r g b a ( 1 5 , 3 0 , 6 0 , . 1 2 ) ;  
     p a d d i n g :   6 p x ;   z - i n d e x :   4 0 ;   d i s p l a y :   f l e x ;   f l e x - d i r e c t i o n :   c o l u m n ;   g a p :   2 p x ;  
 }  
 . u s e r - m e n u   b u t t o n   {  
     t e x t - a l i g n :   l e f t ;   p a d d i n g :   1 0 p x   1 2 p x ;   b o r d e r - r a d i u s :   8 p x ;  
     f o n t - s i z e :   1 3 p x ;   f o n t - w e i g h t :   6 0 0 ;   c o l o r :   # 0 b 1 2 2 0 ;   m i n - h e i g h t :   4 0 p x ;  
 }  
 . u s e r - m e n u   b u t t o n : h o v e r   {   b a c k g r o u n d :   # e 8 f 0 f f ;   c o l o r :   # 2 b 6 c f f ;   }  
 / *   Oi{vU_eυ;NLubNd"}SchUS݄ag  * /  
 # l o g i n S c r e e n : n o t ( [ h i d d e n ] )   ~   # a p p S h e l l   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }  
 # a p p S h e l l [ h i d d e n ]   . t o o l b a r ,   # a p p S h e l l [ h i d d e n ]   . s c r o l l - a r e a   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }  
 . c a l c - n o t e ,   # f o r m C a l c N o t e   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }  
 / *   ;N܃US`SRh  * /  
 . u s e r - m e n u - w r a p   {   p o s i t i o n :   r e l a t i v e ;   }  
 . u s e r - m e n u - w r a p [ o p e n ]   >   s u m m a r y   {   o u t l i n e :   2 p x   s o l i d   r g b a ( 4 3 , 1 0 8 , 2 5 5 , . 3 5 ) ;   }  
 . u s e r - m e n u   {  
     p o s i t i o n :   a b s o l u t e   ! i m p o r t a n t ;  
     r i g h t :   0   ! i m p o r t a n t ;  
     l e f t :   a u t o   ! i m p o r t a n t ;  
     t o p :   c a l c ( 1 0 0 %   +   8 p x )   ! i m p o r t a n t ;  
     m i n - w i d t h :   1 4 0 p x ;  
     b a c k g r o u n d :   # f f f ;  
     b o r d e r :   1 p x   s o l i d   # d 8 e 0 e a ;  
     b o r d e r - r a d i u s :   1 2 p x ;  
     b o x - s h a d o w :   0   1 2 p x   3 2 p x   r g b a ( 1 5 , 3 0 , 6 0 , . 1 6 ) ;  
     p a d d i n g :   6 p x ;  
     z - i n d e x :   6 0 ;  
     d i s p l a y :   f l e x ;  
     f l e x - d i r e c t i o n :   c o l u m n ;  
     g a p :   2 p x ;  
 }  
 . u s e r - m e n u   b u t t o n   {  
     d i s p l a y :   b l o c k ;  
     w i d t h :   1 0 0 % ;  
     t e x t - a l i g n :   r i g h t ;  
     p a d d i n g :   1 2 p x   1 4 p x ;  
     b o r d e r - r a d i u s :   8 p x ;  
     f o n t - s i z e :   1 3 p x ;  
     f o n t - w e i g h t :   6 5 0 ;  
     c o l o r :   # 0 b 1 2 2 0 ;  
     b a c k g r o u n d :   t r a n s p a r e n t ;  
 }  
 . u s e r - m e n u   b u t t o n : h o v e r   {   b a c k g r o u n d :   # e 8 f 0 f f ;   c o l o r :   # 2 b 6 c f f ;   }  
  
 / *   [Q  /   n9_z`S  * /  
 # e x p o r t M o d a l ,   # s e t t i n g s M o d a l   {  
     j u s t i f y - c o n t e n t :   f l e x - e n d   ! i m p o r t a n t ;  
     a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ;  
     p a d d i n g :   2 0 p x   2 8 p x   2 0 p x   2 0 p x   ! i m p o r t a n t ;  
 }  
 # e x p o r t M o d a l   >   . m o d a l ,   # s e t t i n g s M o d a l   >   . m o d a l   {  
     m a r g i n :   0   0   0   a u t o   ! i m p o r t a n t ;  
     m a x - w i d t h :   m i n ( 4 2 0 p x ,   9 4 v w ) ;  
 }  
  
 / *   [QgNnn	-NFhNpeW[[P  * /  
 . s c o p e - w h e e l - w r a p   {  
     p o s i t i o n :   r e l a t i v e ;  
     w i d t h :   1 0 0 p x ;  
     h e i g h t :   1 8 8 p x ;  
     o v e r f l o w :   h i d d e n ;  
     b o r d e r :   1 p x   s o l i d   # d 8 e 0 e a ;  
     b o r d e r - r a d i u s :   1 2 p x ;  
     b a c k g r o u n d :   # f b f c f e ;  
     f l e x :   0   0   1 0 0 p x ;  
 }  
 . s c o p e - w h e e l - w r a p   . w h e e l - l a b e l   {  
     p o s i t i o n :   a b s o l u t e ;  
     t o p :   0 ;   l e f t :   0 ;   r i g h t :   0 ;  
     z - i n d e x :   3 ;  
     b a c k g r o u n d :   # e 8 f 0 f f ;  
 }  
 . s c o p e - w h e e l - w r a p   . w h e e l - l i s t   {  
     p o s i t i o n :   a b s o l u t e ;  
     t o p :   2 8 p x ;  
     l e f t :   0 ;   r i g h t :   0 ;   b o t t o m :   0 ;  
     h e i g h t :   a u t o ;  
     p a d d i n g :   0 ;  
     o v e r f l o w - y :   s c r o l l ;  
     s c r o l l - s n a p - t y p e :   y   m a n d a t o r y ;  
     - w e b k i t - o v e r f l o w - s c r o l l i n g :   t o u c h ;  
 }  
 . s c o p e - w h e e l - w r a p   . w h e e l - i t e m   {  
     h e i g h t :   4 0 p x ;  
     l i n e - h e i g h t :   4 0 p x ;  
     s c r o l l - s n a p - a l i g n :   c e n t e r ;  
     s c r o l l - s n a p - s t o p :   a l w a y s ;  
     f o n t - s i z e :   1 6 p x ;  
     f o n t - w e i g h t :   6 0 0 ;  
     m a r g i n :   0   8 p x ;  
     b o r d e r - r a d i u s :   1 0 p x ;  
 }  
 . s c o p e - w h e e l - w r a p   . w h e e l - l i s t : : b e f o r e ,  
 . s c o p e - w h e e l - w r a p   . w h e e l - l i s t : : a f t e r   {  
     c o n t e n t :   " " ;  
     d i s p l a y :   b l o c k ;  
     h e i g h t :   4 0 p x ;  
 }  
 . s c o p e - w h e e l - w r a p   . w h e e l - i t e m . a c t i v e   {  
     f o n t - s i z e :   1 8 p x ;  
     f o n t - w e i g h t :   7 5 0 ;  
     c o l o r :   # 2 b 6 c f f ;  
     b a c k g r o u n d :   r g b a ( 4 3 , 1 0 8 , 2 5 5 , . 1 2 ) ;  
 }  
 . s c o p e - w h e e l - w r a p   . w h e e l - c e n t e r   {  
     p o s i t i o n :   a b s o l u t e ;  
     l e f t :   8 p x ;   r i g h t :   8 p x ;  
     t o p :   2 8 p x ;  
     h e i g h t :   4 0 p x ;  
     m a r g i n - t o p :   4 0 p x ;  
     b o r d e r :   2 p x   s o l i d   # 2 b 6 c f f ;  
     b o r d e r - r a d i u s :   1 0 p x ;  
     p o i n t e r - e v e n t s :   n o n e ;  
     z - i n d e x :   2 ;  
     b a c k g r o u n d :   t r a n s p a r e n t ;  
 }  
 