/* Egregius CR: azul noche y turquesa del logo; violeta y magenta del feed. */
:root {
  --bg: #f3f6fc;
  --paper: #ffffff;
  --ink: #101729;
  --muted: #60718a;
  --line: #dce4f1;
  --dark: #101729;
  --green: #007c90;
  --gold: #7240d9;
  --cyan: #00bbce;
  --violet: #7240d9;
  --magenta: #e936bb;
}
body { background: var(--bg); }
.sidebar {
  background: #101729;
  border-right-color: #23314b;
  color: #e5edf8;
}
.sidebar .brand strong { color: #ffffff; }
.brand small { color: #71809d; }
.sidebar .brand small, .sidebar .eyebrow { color: #99adc9; }
.monogram {
  background: #00bbce;
  color: #101729;
  box-shadow: 0 4px 18px #00bbce26;
}
.nav button { color: #b9c7dd; }
.nav button:hover { background: #1b2840; color: #ffffff; }
.nav button.active {
  background: #00bbce;
  color: #101729;
  box-shadow: 0 4px 18px #00bbce15;
}
.count { background: #21324c; color: #b6eaf1; }
.nav button.active .count { background: #101729; color: #9feaf3; }
.sidebar .help {
  background: #17243a;
  border-color: #2a3a54;
  border-top: 2px solid #7240d9;
}
.sidebar .help p, .sidebar .profile small { color: #aabbd4; }
.sidebar .text-btn { color: #59dce9; }
.avatar { background: #e0f6f9; color: #007285; }
.sidebar .avatar { background: #283052; color: #d7c5ff; }
.client .avatar { background: #e0f6f9; color: #007285; }
.topbar { background: #ffffff; }
.demo { border-color: #d8cefa; background: #f3efff; color: #6332bb; }
.btn { background: #ffffff; border-color: #dce4f1; color: #20314b; }
.btn:hover { background: #edf8fb; border-color: #97d6e1; }
.btn.primary {
  background: #00bbce;
  border-color: #00bbce;
  color: #101729;
  box-shadow: 0 3px 12px #00bbce20;
}
.btn.primary:hover { background: #30d0df; border-color: #30d0df; }
.btn:disabled { opacity: .55; cursor: wait; box-shadow: none; }
.text-btn { color: #007c90; }
.text-btn:hover { color: #6034c4; }
.hero {
  background: radial-gradient(ellipse at 95% 0%, #00bbce28, transparent 55%),
    radial-gradient(ellipse at 80% 120%, #7240d938, transparent 55%), #101729;
  color: #ffffff;
  border: 1px solid #253956;
}
.hero:after { border-color: #00bbce33; }
.hero .eyebrow { color: #56e0ec; }
.hero p, .hero-note { color: #c0cfe6; }
.hero .btn { background: #00bbce; color: #101729; }
.hero .btn:hover { background: #30d0df; }
.dot { color: #00bbce; }
.stat { border-top: 3px solid #00bbce; }
.stat:nth-child(1) { background: #f0fcfe; }
.stat:nth-child(2) { background: #f5f1ff; border-top-color: #7240d9; }
.stat:nth-child(3) { background: #fff2fc; border-top-color: #e936bb; }
.stat:nth-child(4) { background: #eef4ff; border-top-color: #4385de; }
.stat-top svg { color: #008ca0; }
.stat:nth-child(2) .stat-top svg { color: #7240d9; }
.stat:nth-child(3) .stat-top svg { color: #bc248f; }
.stat:nth-child(4) .stat-top svg { color: #306ec5; }
.stat small em { color: #007c90; }
.card, dialog { background: #ffffff; border-color: #dce4f1; }
.task, .case-task, td { border-color: #e5ebf5; }
.case-task:hover { background: #effbfe; }
th { background: #f3f6fc; color: #60718a; }
.badge { background: #def7fa; color: #006b7e; }
.badge.gold { background: #efe6ff; color: #6134b4; }
.badge.gray { background: #eaf0fa; color: #526988; }
.badge.urgent { background: #ffe2f5; color: #a71376; }
.task input, .check input { accent-color: #008da3; }
input, select, textarea { background: #ffffff; border-color: #ced9e9; color: #101729; }
input:focus, select:focus, textarea:focus {
  border-color: #008da3;
  outline: 2px solid #00bbce40;
}
input::placeholder, textarea::placeholder { color: #7a89a0; }
button:focus-visible, a:focus-visible { outline: 2px solid #7240d9; }
.sidebar button:focus-visible { outline-color: #70e3ee; }
.notice { background: #edf8fc; color: #3c607b; border-left: 3px solid #00bbce; }
.step-num { background: #e1f7fa; color: #00778a; }
.timeline-item:nth-child(2) .step-num { background: #eee6ff; color: #6634bc; }
.timeline-item:nth-child(3) .step-num { background: #ffe5f6; color: #a91d7d; }
.progress { background: #e7eefa; }
.progress div { background: #00bbce; }
.case-meta span { background: #eff3fa; }
.resolution { background: #e5f9fc; border-left: 3px solid #00bbce; }
.event.internal { background: #f5edff; border-left: 3px solid #7240d9; }
.monthly-price, .file-list a { color: #007c90; }
.form-error { color: #ad1c6d; }
.footer { color: #667a97; }
.help { background: #f1f6fd; }
.chat-item, .bubble { background: #e4f8fb; }
.bubble.reply { background: #101729; color: #ffffff; }
.toggle { background: #eee7ff; color: #6134b4; }
.bar i { background: #b3edf3; }
.bar:nth-child(2) i { background: #a68aee; }
.bar:nth-child(3) i { background: #ea87d0; }
.bar:nth-child(4) i { background: #008ca0; }
.pipeline-foot strong { color: #7240d9; }
.auth-story {
  background: radial-gradient(ellipse at 110% 5%, #00bbce36, transparent 50%),
    radial-gradient(ellipse at 0% 90%, #7240d952, transparent 55%), #101729;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  right: -150px;
  top: 28%;
  border: 1px solid #00bbce35;
  border-radius: 50%;
  box-shadow: 0 0 0 60px #00bbce08, 0 0 0 120px #7240d908;
  pointer-events: none;
}
.auth-story > * { position: relative; z-index: 1; }
.auth-story .brand strong { color: #ffffff; }
.auth-story .brand small { color: #aec0da; }
.auth-story .monogram { background: #00bbce; color: #101729; border: 0; }
.auth-story .eyebrow { color: #64e5ee; }
.auth-story p, .auth-story small { color: #c0cfe6; }
.auth-panel { background: #f3f6fc; }
.auth-box .eyebrow { color: #7240d9; }
#toast { background: #101729; color: #ffffff; border: 1px solid #00bbce; }
dialog::backdrop { background: #10172999; }
@media print {
  body, .card, .stat, .hero, .auth-panel { background: #ffffff; color: #101729; }
  .hero { border-color: #dce4f1; }
  .hero p, .hero-note { color: #60718a; }
  .quote-total, .monthly-price { color: #101729; }
  .hero:after, .auth-story:after { display: none; }
}
.price-adjustment{display:grid;gap:14px;margin-top:10px;padding:18px;border:1px solid #c4e9ef;border-radius:8px;background:#f0fbfd}.base-reference{padding:17px;margin-bottom:23px;background:#edf9fc;border-left:3px solid #00bbce;border-radius:6px}.base-reference strong{display:block;margin:10px 0;font-size:17px}.base-reference small{display:block;font-size:11px;color:#526988}@media print{.base-reference{display:none}}

.auth-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.auth-tools .btn{font-size:11px;padding:10px 12px}.admin-range{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.admin-range label:last-child{width:auto}.table-wrap .dialog-actions{flex-wrap:wrap;justify-content:flex-start}@media(max-width:900px){.admin-range{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.admin-range{grid-template-columns:1fr}}
