/* 智能 CRM 演示壳：深色顶栏 + 深色侧栏，浅色内容。克制高光，不做霓虹。 */
:root {
  --crm-ink: #0b1220;
  --crm-ink-2: #121a2f;
  --crm-line: rgba(148, 163, 184, 0.22);
  --crm-accent: #0284c7;
  --crm-accent-2: #38bdf8;
  --crm-glow: 0 0 0 1px rgba(56, 189, 248, 0.45), 0 8px 18px rgba(14, 165, 233, 0.22);
  --shell: 20261015-crm;
}

body.app-ready {
  background: #eef3f8;
  font-family: "Noto Sans SC", "IBM Plex Sans", sans-serif;
}

.login-overlay {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(165deg, #0b1220 0%, #152033 55%, #0f172a 100%);
}
.login-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.login-brand .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  box-shadow: var(--crm-glow);
  color: #fff;
  font-size: 16px;
}
.login-card h2 { color: var(--crm-ink); letter-spacing: 0.04em; }
.login-card .subtitle { margin-bottom: 18px; }

.global-bar {
  height: 52px;
  background: linear-gradient(90deg, #0b1220 0%, #152033 60%, #0f2744 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  color: #e2e8f0;
}
.logo { color: #f8fafc; }
.logo-mark {
  background: linear-gradient(180deg, #38bdf8, #0369a1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}
.logo-sub {
  margin-left: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #93c5fd;
  letter-spacing: 0.08em;
}
.global-search {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.28);
  color: #cbd5e1;
}
.global-search input { color: #e2e8f0; }
.global-search input::placeholder { color: #94a3b8; }
.user-chip, .logout-btn-new, .icon-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}
.user-chip .avatar { background: rgba(56, 189, 248, 0.18); color: #e0f2fe; }
.logout-btn-new:hover { border-color: #fda4af; color: #ffe4e6; }
.conn-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #bbf7d0;
}
.conn-pill.quiet {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}
.conn-pill.fail { background: rgba(255, 255, 255, 0.06); color: #cbd5e1; }

.app-sidebar, .sidebar {
  background: linear-gradient(180deg, #0e1628 0%, #121a2b 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}
.app-sidebar .nav-label,
.nav-label {
  text-transform: none;
  letter-spacing: 0.04em;
  color: #94a3b8;
  font-size: 11px;
}
.nav-label::before { display: none !important; }
.app-sidebar .nav-item,
.nav-item {
  color: #dbe4f0;
  border-radius: 8px;
}
.app-sidebar .nav-item:hover,
.nav-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.app-sidebar .nav-item.active,
.nav-item.active {
  background: rgba(56, 189, 248, 0.16);
  color: #f0f9ff;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35), 0 0 16px rgba(14, 165, 233, 0.12);
}

.main { background: #f3f6fb; }
.app-rail {
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
}
.app-shell .card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  border-radius: 12px;
}

.crm-page { display: flex; flex-direction: column; gap: 16px; }
.crm-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.crm-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; color: #0f172a; }
.crm-head p, .crm-note { margin: 4px 0 0; color: #64748b; font-size: 13px; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}
.metric-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 12px 10px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 18px rgba(15, 23, 42, 0.04);
  font-family: inherit;
  color: inherit;
  cursor: default;
}
button.metric-card { cursor: pointer; font: inherit; color: inherit; text-align: left; }
button.metric-card.on { border-color: #0f172a; box-shadow: none; }
button.metric-card:hover { border-color: #7dd3fc; box-shadow: var(--crm-glow); }
.metric-label { display: block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
.metric-num {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}
.funnel {
  display: flex;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: #e2e8f0;
  margin-top: 2px;
}
.funnel i { display: block; height: 100%; background: linear-gradient(90deg, #0284c7, #38bdf8); opacity: 0.85; }
.funnel i:nth-child(odd) { opacity: 1; }

.crm-section h3 { margin: 0 0 8px; font-size: 14px; color: #334155; }
.crm-list { display: flex; flex-direction: column; gap: 8px; }
.crm-row, .crm-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
}
.crm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.custom-field-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 10px 16px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.custom-field-item { display: flex; align-items: center; gap: 8px; }
.custom-field-item input { min-width: 180px; }
.notice-pref { padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
.notice-pref:last-child { border-bottom: 0; }
.crm-row button.as-link, .exc-open {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.exc-open:hover .exc-name { color: #0369a1; }
.exc-name { font-weight: 650; }
.exc-reason { color: #64748b; font-size: 12px; margin-top: 2px; }
.crm-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.stage-chip, .st {
  font-family: "Noto Sans SC", "IBM Plex Sans", sans-serif !important;
  font-size: 12px;
  font-weight: 650;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #075985;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.18);
  width: max-content;
  display: inline-flex;
  align-items: center;
}
.stage-chip.muted, .chip-muted {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
  box-shadow: none;
}
.chip-warn {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 650;
}

.btn, .btn-primary-new, .crm-cta {
  box-shadow: var(--crm-glow);
}
.btn:hover, .btn-primary-new:hover, .crm-cta:hover {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.65), 0 10px 22px rgba(14, 165, 233, 0.32);
}
.btn-secondary { box-shadow: none; }
.btn-secondary:hover { box-shadow: none; }

.empty-card {
  padding: 22px 16px;
  text-align: center;
  color: #64748b;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}
.empty-card strong { display: block; color: #0f172a; margin-bottom: 6px; font-weight: 650; }
.empty-card .state-action { margin: 12px 0 0; }
.state-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
}
.state-spin {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-top-color: #0f172a;
  border-radius: 50%;
  display: inline-block;
  flex: none;
  animation: state-spin 0.7s linear infinite;
}
@keyframes state-spin { to { transform: rotate(360deg); } }

.suggest-names { color: #64748b; font-size: 12px; margin-top: 2px; }
.crm-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: 8px;
}
.crm-form .form-group { margin: 0; min-width: 160px; }
.crm-form input { background: #fff; }

.stage-rail { display: flex; flex-wrap: wrap; gap: 8px; }
button.pack-card {
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: #fff;
}
button.pack-card:hover { border-color: #7dd3fc; }
.model-status-list { margin: 0; }
.model-status-list dt { font-size: 12px; color: #64748b; margin-top: 14px; }
.model-status-list dd { margin: 4px 0 0; font-weight: 650; line-height: 1.65; }
.stage-step {
  min-width: 108px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}
.stage-step .ord { font-size: 11px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.stage-step .name { font-weight: 700; margin: 4px 0; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.price-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.price-card b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; margin-top: 4px; }

.opp-crm {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr 1.4fr;
  gap: 10px;
  padding: 12px 16px 0;
  background: #f3f6fb;
}
.opp-crm-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}
.opp-crm-card .k { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.opp-crm-card .v { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px 4px 0;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  background: #334155;
}
.tag-chip button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.tag-row { display: flex; flex-wrap: wrap; margin-bottom: 8px; }
.tag-picker { display: flex; gap: 6px; align-items: center; }
.tag-picker select { min-width: 96px; }
.today-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.close-overdue { color: #b45309; font-weight: 700; }
.pin-note { color: #9a3412; font-weight: 700; }
.health-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}
.health-good { background: #dcfce7; color: #166534; }
.health-mid { background: #fef3c7; color: #92400e; }
.health-bad { background: #fee2e2; color: #991b1b; }
.health-bar {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.health-bar[hidden] { display: none !important; }
.health-bar ul { margin: 4px 0 0; padding-left: 1.1em; color: #334155; }
.health-bar .health-pill { width: 48px; height: 48px; margin: 0; font-size: 18px; }
.member-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 6px 0; border-top: 1px solid #f1f5f9; }
.member-stack { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.member-dot, .member-more {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e2e8f0; color: #0f172a; font-size: 12px; font-weight: 700;
}
.member-row .member-dot { margin-right: 4px; }
.pin-note-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 10px;
  color: #9a3412;
  position: sticky;
  top: 0;
  z-index: 5;
}
.pin-note-bar[hidden] { display: none !important; }
.pin-note-label { font-size: 12px; letter-spacing: 0.04em; }
.pin-note-bar input { flex: 1; min-width: 160px; font-weight: 500; color: #1e293b; }
.dup-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dup-list button { text-align: left; }
.today-summary[hidden] { display: none !important; }
.week-panel { margin: 0 0 14px; }
.week-panel[hidden] { display: none !important; }
.week-panel h3 { margin: 0 0 4px; font-size: 15px; }
.week-card { cursor: default; }
.week-card.week-link { cursor: pointer; }
.today-card {
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.today-card:hover { border-color: var(--primary); }
.today-label { display: block; color: #64748b; font-size: 12px; }
.today-num { display: block; margin-top: 4px; font-size: 24px; font-weight: 700; }
.today-hint { display: block; margin-top: 4px; color: #94a3b8; font-size: 12px; }
@media (max-width: 800px) {
  .today-summary { grid-template-columns: 1fr 1fr; }
}
.layout-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.layout-toggle button {
  min-width: 64px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.layout-toggle button.active { background: var(--primary); color: #fff; }
.kanban {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  align-items: flex-start;
  padding-bottom: 12px;
}
.kanban[hidden] { display: none !important; }
.kanban-col {
  flex: 0 0 240px;
  background: #f1f5f9;
  border-radius: 12px;
  min-height: 160px;
}
.kanban-col.kanban-over { outline: 2px solid var(--primary); }
.kanban-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 6px;
  font-size: 13px;
}
.kanban-col-head span {
  min-width: 22px;
  text-align: center;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
}
.kanban-col-body { padding: 0 8px 8px; }
.kanban-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.kanban-title { font-weight: 650; font-size: 14px; line-height: 1.35; }
.kanban-star-mark { color: #b45309; margin-right: 4px; }
.kanban-meta { margin: 4px 0 6px; color: #64748b; font-size: 12px; }
.kanban-foot { display: flex; gap: 6px; align-items: center; }
.kanban-star {
  border: 0;
  background: transparent;
  color: #b45309;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 0;
}
.kanban-move {
  margin-left: auto;
  max-width: 108px;
  font: inherit;
  font-size: 12px;
}
.kanban-empty { margin: 0; padding: 8px 4px 12px; color: #94a3b8; font-size: 12px; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px solid #e2e8f0;
}
.cap-list input { margin-top: 3px; }
.cap-state { color: #64748b; font-size: 12px; white-space: nowrap; }
.cap-done { color: #047857; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-actions button { padding: 6px 10px; font-size: 13px; }
.agent-status { margin: 8px 0 0; color: #64748b; font-size: 12px; line-height: 1.5; }
.agent-status.busy { color: #0f766e; }
.agent-status.ok { color: #0f766e; }
.agent-status.quiet { color: #475569; }
.agent-status.fail { color: #9a3412; }
@media (max-width: 980px) {
  .opp-crm { grid-template-columns: 1fr; }
}

.opp-th, .opp-tr { grid-template-columns: 1.5fr .8fr .85fr .65fr .9fr 56px; }
@media (max-width: 1100px) {
  .opp-th, .opp-tr { grid-template-columns: 1.3fr .7fr .8fr 52px !important; }
  .opp-th span:nth-child(3), .opp-tr span:nth-child(3) { display: inline !important; }
  .opp-th span:nth-child(4), .opp-tr span:nth-child(4),
  .opp-th span:nth-child(5), .opp-tr span:nth-child(5) { display: none !important; }
}

.queue-card { display: flex; flex-direction: column; gap: 8px; }
.queue-title { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 700; }
.queue-check { margin-top: 2px; }
.queue-target { font-size: 13px; color: #334155; }
.evidence { margin: 0; padding-left: 18px; color: #334155; font-size: 13px; }
.evidence li { margin: 2px 0; }
.queue-actions { display: flex; gap: 8px; }

.crm-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3000;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: min(420px, calc(100vw - 24px));
  background: #0f172a;
  color: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}
.crm-toast[hidden] { display: none; }
.crm-toast button {
  border: 0;
  background: #38bdf8;
  color: #0b1220;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.project-bar { background: #fff; }
.inline-meta { color: #64748b; }

#projectMilestones .table-wrap input,
#projectMilestones .table-wrap select,
#quoteDetail input,
#milestonePlanForm input,
#milestonePlanForm select {
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0 8px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-family: inherit;
}
#projectMilestones td { vertical-align: middle; }
#projectMilestones .cell-sub { color: #64748b; font-size: 12px; font-weight: 400; margin-top: 4px; }
#milestonePlanForm { margin-bottom: 14px; align-items: flex-end; }
.gantt-wrap { margin: 0 0 16px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.gantt-legend { display: flex; gap: 14px; color: #475569; font-size: 12px; margin-bottom: 8px; }
.gantt-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gantt-swatch, .gantt-bar { display: inline-block; border-radius: 999px; }
.gantt-swatch { width: 18px; height: 8px; }
.gantt-chart { position: relative; }
.gantt-axis { position: relative; height: 22px; margin: 0 0 6px 148px; color: #64748b; font-size: 11px; }
.gantt-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.gantt-today { position: absolute; top: 18px; bottom: 4px; width: 0; border-left: 1px dashed #94a3b8; pointer-events: none; z-index: 2; }
.gantt-row { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.gantt-name { width: 140px; flex: none; font-size: 13px; line-height: 1.25; }
.gantt-name small { display: block; color: #64748b; font-size: 11px; }
.gantt-row.is-late .gantt-name { color: #b91c1c; }
.gantt-track { position: relative; flex: 1; height: 16px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.gantt-bar { position: absolute; top: 3px; height: 10px; }
.gantt-done { background: #15803d; }
.gantt-open { background: #2563eb; }
.gantt-late { background: #dc2626; }
.gantt-empty { color: #64748b; font-size: 12px; line-height: 16px; padding-left: 8px; }

#projectPrintSheet[hidden] { display: none !important; }
#projectPrintSheet:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  background: #e8edf3;
}
.project-print-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  width: 210mm;
  max-width: calc(100% - 24px);
  margin: 16px auto 0;
}
.project-print-page {
  width: 210mm;
  max-width: calc(100% - 24px);
  min-height: 297mm;
  margin: 12px auto 28px;
  background: #fff;
  color: #0f172a;
  padding: 14mm 16mm 12mm;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  font: 13px/1.4 "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
}
.print-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 10px;
}
.print-kicker { margin: 0; color: #64748b; font-size: 12px; letter-spacing: 0.04em; }
.project-print-page h1 { margin: 2px 0 0; font-size: 26px; letter-spacing: -0.03em; }
.print-health { margin: 0; color: #334155; white-space: nowrap; }
.print-facts { margin: 14px 0 0; }
.print-row { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid #e2e8f0; }
.print-row dt { margin: 0; color: #64748b; }
.print-row dd { margin: 0; }
.project-print-page h2 { margin: 16px 0 8px; font-size: 15px; }
.print-activity { margin: 0; padding-left: 1.2em; }
.print-activity li { margin: 0 0 6px; }
.print-when { display: inline-block; min-width: 118px; color: #64748b; margin-right: 8px; }
.print-activity strong { margin-right: 6px; }
.print-activity em { margin-left: 8px; color: #64748b; font-style: normal; }
.print-empty { list-style: none; margin-left: -1.2em; color: #64748b; }
.print-foot { margin: 16px 0 0; padding-top: 8px; border-top: 1px solid #e2e8f0; color: #64748b; font-size: 12px; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  #appSidebar,
  .app-sidebar,
  .app-header,
  #shellTabBar,
  #appRail,
  #modelBanner,
  #loginOverlay,
  .crm-toast,
  .project-print-actions {
    display: none !important;
  }
  body.print-open #appShell { display: none !important; }
  body.print-open #projectPrintSheet {
    display: block !important;
    position: static;
    overflow: visible;
    background: #fff;
  }
  body.print-open .project-print-page {
    width: auto;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
}
