* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }
.font-aeonik { font-family: 'Aeonik', 'Inter', sans-serif; font-weight: 500; letter-spacing: -0.01em; }
.text-strong { color: #0f0f0f; }
.text-subtle { color: #6e6e6e; }
.border-subtle { border-color: rgba(0,0,0,0.08); }
.border-secondary { border-color: rgba(0,0,0,0.16); }
.segmented-active { background: white; border-radius: 6px; box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.08), 0px 1px 1px 0px rgba(0,0,0,0.1), 0px 2px 2px 0px rgba(0,0,0,0.05), 0px 2px 6px 0px rgba(0,0,0,0.04); }
.card { background: white; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; padding: 16px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 32px; min-height: 32px; border: 1px solid rgba(0,0,0,0.16); border-radius: 8px; background: white; box-shadow: 0px 1px 1px 0px rgba(20,21,26,0.03); flex-shrink: 0; }
.chart-bar { background: #ea4134; border-radius: 2px; width: 12px; flex-shrink: 0; }
.divider { height: 1px; background: rgba(0,0,0,0.08); width: 100%; }
.select-control { display: flex; align-items: center; height: 32px; border: 1px solid rgba(0,0,0,0.16); border-radius: 8px; background: white; box-shadow: 0px 1px 1px 0px rgba(26,26,26,0.03); width: 130px; flex-shrink: 0; overflow: hidden; }
.tag-green { background: #e6fce4; border-radius: 6px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 6px; height: 24px; flex-shrink: 0; }
.tag-red { background: #fce4e4; border-radius: 6px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 6px; height: 24px; flex-shrink: 0; }
.list-row { display: flex; align-items: center; gap: 16px; width: 100%; }
.list-item-info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.chevron-btn { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; min-width: 24px; flex-shrink: 0; border-radius: 6px; }
/* Scrollbar hide */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

/* Sidebar expand/collapse */
#sidebar {
  width: 52px;
  background: #f5f5f5;
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1), background-color 0.2s ease;
  overflow: hidden;
  flex-shrink: 0;
}
#sidebar.expanded {
  width: 220px;
  background: white;
}
.sb-label {
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  flex-shrink: 0;
  transition: max-width 0.2s ease, opacity 0.12s ease;
  pointer-events: none;
}
#sidebar.expanded .sb-label {
  max-width: 180px;
  opacity: 1;
  transition: max-width 0.22s ease 0.05s, opacity 0.18s ease 0.06s;
  pointer-events: auto;
}
.sb-only-expanded {
  display: none !important;
}
#sidebar.expanded .sb-only-expanded {
  display: flex !important;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.sb-item.active { background: rgba(0,0,0,0.04); }
.sb-item:hover:not(.active) { background: rgba(0,0,0,0.03); }
.sb-icon { flex-shrink: 0; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.sb-section {
  padding: 0 8px;
  height: 40px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
  overflow: hidden;
  white-space: nowrap;
}
.onboarding-progress {
  height: 4px;
  background: rgba(0,0,0,0.16);
  border-radius: 2px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.onboarding-progress-fill {
  position: absolute;
  inset: 0;
  right: 40%;
  background: #4e3ee0;
  border-radius: 2px;
}

/* Email config accordion */
#email-config-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s cubic-bezier(0.4,0,0.2,1);
}
#email-config-body.open {
  max-height: 480px;
}

/* Toggle switch */
.tog-track {
  position: relative; display: inline-flex; align-items: center;
  width: 36px; height: 20px; border-radius: 999px;
  background: rgba(0,0,0,0.12);
  transition: background 0.18s; cursor: pointer; flex-shrink: 0;
}
.tog-track.on { background: #ea4134; }
.tog-thumb {
  position: absolute; left: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: left 0.18s cubic-bezier(0.4,0,0.2,1);
}
.tog-track.on .tog-thumb { left: 18px; }

/* Add Payment Method modal */
#apm-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
#apm-modal.open { opacity: 1; pointer-events: auto; }
#apm-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,15,15,0.45); backdrop-filter: blur(2px);
}
#apm-modal-card {
  position: relative; z-index: 1;
  background: white; border-radius: 20px;
  width: 480px; max-width: calc(100vw - 32px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
#apm-modal.open #apm-modal-card { transform: translateY(0) scale(1); }
.apm-step { display: none; flex-direction: column; }
.apm-step.active { display: flex; }
.apm-type-card {
  border: 2px solid rgba(0,0,0,0.08); border-radius: 12px;
  padding: 14px 16px; cursor: pointer; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.apm-type-card:hover { border-color: rgba(0,0,0,0.2); }
.apm-type-card.apm-sel { border-color: #ea4134; box-shadow: 0 0 0 1px #ea4134; }
.apm-radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.2);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s;
}
.apm-type-card.apm-sel .apm-radio { border-color: #ea4134; }
.apm-type-card.apm-sel .apm-radio::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ea4134;
}
.apm-field { display: flex; flex-direction: column; gap: 6px; }
.apm-field label { font-size: 12px; font-weight: 600; color: #0f0f0f; }
.apm-field input, .apm-field select {
  height: 40px; border: 1px solid rgba(0,0,0,0.16); border-radius: 9px;
  padding: 0 12px; font-size: 14px; color: #0f0f0f; outline: none;
  background: white; transition: border-color 0.15s;
  font-family: inherit;
}
.apm-field input:focus, .apm-field select:focus { border-color: #ea4134; }
.apm-row { display: flex; gap: 12px; }
.apm-row .apm-field { flex: 1; }

/* Manage Plan modal */
#mp-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
#mp-modal.open { opacity: 1; pointer-events: auto; }
#mp-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,15,15,0.45);
  backdrop-filter: blur(2px);
}
#mp-modal-card {
  position: relative; z-index: 1;
  background: white; border-radius: 20px;
  width: 1000px; max-width: calc(100vw - 32px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
#mp-modal.open #mp-modal-card { transform: translateY(0) scale(1); }
.mp-step { display: none; flex-direction: column; }
.mp-step.active { display: flex; }
.mp-plan-card {
  border: 2px solid rgba(0,0,0,0.08); border-radius: 16px;
  padding: 28px 28px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
  position: relative; flex: 1;
}
.mp-plan-card:hover { border-color: rgba(0,0,0,0.2); box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.mp-plan-card.mp-selected { border-color: #ea4134; box-shadow: 0 0 0 1px #ea4134; }
.mp-plan-card.mp-current-plan { background: #fafafa; }
.mp-check {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 20px; right: 20px; background: white;
  transition: background 0.15s, border-color 0.15s;
}
.mp-plan-card.mp-selected .mp-check { background: #ea4134; border-color: #ea4134; }
.mp-plan-card.mp-selected .mp-check::after {
  content: ''; display: block; width: 6px; height: 11px;
  border: 2px solid white; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Prepay modal */
#prepay-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
#prepay-modal.open { opacity: 1; pointer-events: auto; }
#prepay-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,15,15,0.45);
  backdrop-filter: blur(2px);
}
#prepay-modal-card {
  position: relative; z-index: 1;
  background: white; border-radius: 20px;
  width: 480px; max-width: calc(100vw - 32px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
#prepay-modal.open #prepay-modal-card { transform: translateY(0) scale(1); }

/* Step visibility */
.prepay-step { display: none; }
.prepay-step.active { display: flex; flex-direction: column; }

/* Success checkmark animation */
@keyframes check-draw {
  from { stroke-dashoffset: 48; }
  to   { stroke-dashoffset: 0; }
}
@keyframes circle-pop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.success-circle { animation: circle-pop 0.38s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.success-check  { stroke-dasharray: 48; stroke-dashoffset: 48; animation: check-draw 0.3s 0.3s ease forwards; }

/* Download spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.dl-spinner { width: 13px; height: 13px; border: 1.8px solid rgba(0,0,0,0.15); border-top-color: currentColor; border-radius: 50%; animation: spin 0.65s linear infinite; flex-shrink: 0; }

/* Period dropdown */
.period-dropdown { position:absolute; top:calc(100% + 6px); left:0; z-index:150; background:white; border:1px solid rgba(0,0,0,0.1); border-radius:10px; box-shadow:0 4px 20px rgba(0,0,0,0.12); padding:6px; min-width:150px; }
.period-option { display:block; width:100%; text-align:left; padding:8px 10px; font-size:13px; font-weight:500; color:#0f0f0f; border-radius:6px; cursor:pointer; border:none; background:none; }
.period-option:hover { background:rgba(0,0,0,0.04); }
.period-option.selected { color:#ea4134; background:rgba(234,65,52,0.06); }

/* Redeem Points modal */
#redeem-modal { position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity 0.2s; }
#redeem-modal.open { opacity:1; pointer-events:auto; }
#redeem-modal-backdrop { position:absolute; inset:0; background:rgba(15,15,15,0.45); backdrop-filter:blur(2px); }
#redeem-modal-card { position:relative; z-index:1; background:white; border-radius:20px; width:520px; max-width:calc(100vw - 32px); max-height:calc(100vh - 48px); display:flex; flex-direction:column; box-shadow:0 8px 48px rgba(0,0,0,0.18); transform:translateY(12px) scale(0.98); transition:transform 0.22s cubic-bezier(0.34,1.56,0.64,1); overflow:hidden; }
#redeem-modal.open #redeem-modal-card { transform:translateY(0) scale(1); }
.redeem-step { display:none; flex-direction:column; flex:1; min-height:0; }
.redeem-step.active { display:flex; }
.reward-card { border:1.5px solid rgba(0,0,0,0.1); border-radius:14px; padding:14px; cursor:pointer; transition:border-color 0.15s, box-shadow 0.15s, background 0.15s; display:flex; align-items:center; gap:12px; }
.reward-card:hover { border-color:rgba(234,65,52,0.4); background:rgba(234,65,52,0.02); }
.reward-card.selected { border-color:#ea4134; background:rgba(234,65,52,0.04); box-shadow:0 0 0 3px rgba(234,65,52,0.1); }
.reward-card.disabled { opacity:0.4; cursor:not-allowed; pointer-events:none; }
.reward-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* Refer Agent modal */
#refer-modal { position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity 0.2s; }
#refer-modal.open { opacity:1; pointer-events:auto; }
#refer-modal-backdrop { position:absolute; inset:0; background:rgba(15,15,15,0.45); backdrop-filter:blur(2px); }
#refer-modal-card { position:relative; z-index:1; background:white; border-radius:20px; width:500px; max-width:calc(100vw - 32px); box-shadow:0 8px 48px rgba(0,0,0,0.18); transform:translateY(12px) scale(0.98); transition:transform 0.22s cubic-bezier(0.34,1.56,0.64,1); }
#refer-modal.open #refer-modal-card { transform:translateY(0) scale(1); }
.refer-step { display:none; flex-direction:column; }
.refer-step.active { display:flex; }

/* New Quote wizard */
#new-quote-modal { position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity 0.2s; }
#new-quote-modal.open { opacity:1; pointer-events:auto; }
#new-quote-modal-backdrop { position:absolute; inset:0; background:rgba(15,15,15,0.45); backdrop-filter:blur(2px); }
#new-quote-modal-card { position:relative; z-index:1; background:white; border-radius:20px; width:580px; max-width:calc(100vw - 32px); max-height:calc(100vh - 48px); display:flex; flex-direction:column; box-shadow:0 8px 48px rgba(0,0,0,0.18); transform:translateY(12px) scale(0.98); transition:transform 0.22s cubic-bezier(0.34,1.56,0.64,1); overflow:hidden; }
#new-quote-modal.open #new-quote-modal-card { transform:translateY(0) scale(1); }
.nq-step { display:none; flex-direction:column; flex:1; min-height:0; }
.nq-step.active { display:flex; }
.nq-body { flex:1; overflow-y:auto; padding:20px 24px; display:flex; flex-direction:column; gap:14px; }
.nq-input { width:100%; height:40px; border:1px solid rgba(0,0,0,0.16); border-radius:10px; padding:0 12px; font-size:14px; color:#0f0f0f; outline:none; font-family:'Inter',sans-serif; box-sizing:border-box; }
.nq-input:focus { border-color:#ea4134; box-shadow:0 0 0 3px rgba(234,65,52,0.12); }
.nq-input.error { border-color:#ea4134; }
.nq-label { display:block; font-size:12px; font-weight:500; color:#6e6e6e; margin-bottom:5px; }
.nq-select { width:100%; height:40px; border:1px solid rgba(0,0,0,0.16); border-radius:10px; padding:0 12px; font-size:14px; color:#0f0f0f; background:white; outline:none; font-family:'Inter',sans-serif; appearance:none; background-image:url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5' stroke='%230f0f0f' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; cursor:pointer; box-sizing:border-box; }
.nq-select:focus { border-color:#ea4134; box-shadow:0 0 0 3px rgba(234,65,52,0.12); outline:none; }
.nq-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.nq-grid3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; }
.nq-section { font-size:11px; font-weight:600; color:#6e6e6e; text-transform:uppercase; letter-spacing:0.05em; padding-bottom:6px; border-bottom:1px solid rgba(0,0,0,0.07); margin-bottom:2px; }
/* Policy type cards */
.pt-card { border:1.5px solid rgba(0,0,0,0.1); border-radius:14px; padding:14px 16px; cursor:pointer; transition:border-color 0.14s,box-shadow 0.14s,background 0.14s; display:flex; align-items:center; gap:12px; }
.pt-card:hover { border-color:rgba(234,65,52,0.4); background:rgba(234,65,52,0.02); }
.pt-card.selected { border-color:#ea4134; background:rgba(234,65,52,0.04); box-shadow:0 0 0 3px rgba(234,65,52,0.1); }
.pt-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
/* Coverage level cards */
.cov-card { border:1.5px solid rgba(0,0,0,0.1); border-radius:12px; padding:14px 16px; cursor:pointer; transition:border-color 0.14s,box-shadow 0.14s,background 0.14s; }
.cov-card:hover { border-color:rgba(234,65,52,0.4); }
.cov-card.selected { border-color:#ea4134; background:rgba(234,65,52,0.04); box-shadow:0 0 0 3px rgba(234,65,52,0.1); }
/* Add-on toggle */
.addon-row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid rgba(0,0,0,0.06); }
.addon-row:last-child { border-bottom:none; }
/* Toggle switch */
.nq-toggle { position:absolute; inset:0; border-radius:20px; background:rgba(0,0,0,0.15); transition:background 0.2s; }
.nq-toggle::after { content:''; position:absolute; top:3px; left:3px; width:14px; height:14px; border-radius:50%; background:white; transition:transform 0.2s,box-shadow 0.2s; box-shadow:0 1px 3px rgba(0,0,0,0.2); }
.nq-addon-cb:checked + .nq-toggle { background:#ea4134; }
.nq-addon-cb:checked + .nq-toggle::after { transform:translateX(16px); }
/* Step indicator dots */
.nq-step-dot { width:8px; height:8px; border-radius:50%; background:rgba(0,0,0,0.15); transition:background 0.2s,width 0.2s; }
.nq-step-dot.active { background:#ea4134; width:20px; border-radius:4px; }
.nq-step-dot.done { background:#ea4134; opacity:0.35; }
/* Review rows */
.rv-row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid rgba(0,0,0,0.06); font-size:13px; }
.rv-row:last-child { border-bottom:none; }
/* Textarea */
.nq-textarea { width:100%; border:1px solid rgba(0,0,0,0.16); border-radius:10px; padding:10px 12px; font-size:14px; color:#0f0f0f; outline:none; font-family:'Inter',sans-serif; resize:none; box-sizing:border-box; line-height:1.5; }
.nq-textarea:focus { border-color:#ea4134; box-shadow:0 0 0 3px rgba(234,65,52,0.12); }

/* Mini detail drawer (for list rows) */
#mini-drawer { position:fixed; top:0; right:0; bottom:0; width:400px; background:white; border-left:1px solid rgba(0,0,0,0.08); box-shadow:-4px 0 32px rgba(0,0,0,0.1); transform:translateX(100%); transition:transform 0.25s cubic-bezier(0.4,0,0.2,1); z-index:150; display:flex; flex-direction:column; }
#mini-drawer.open { transform:translateX(0); }

/* Notification item */
.notif-item { display:flex; gap:10px; padding:12px 16px; border-bottom:1px solid rgba(0,0,0,0.06); cursor:pointer; transition:background 0.12s; }
.notif-item:hover { background:rgba(0,0,0,0.02); }
.notif-item:last-child { border-bottom:none; }
.notif-dot { width:8px; height:8px; border-radius:50%; background:#ea4134; flex-shrink:0; margin-top:4px; }
.notif-dot.read { background:transparent; border:1.5px solid rgba(0,0,0,0.2); }

/* Chart tooltip */
#chart-tooltip { transition: opacity 0.1s; }
#chart-tooltip-inner { background: #1a1a1a; color: white; border-radius: 10px; padding: 10px 12px; font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 24px rgba(0,0,0,0.32); position: relative; line-height: 1.4; }
#chart-tooltip-inner::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-bottom: none; border-top-color: #1a1a1a; }

/* Bar chart entrance */
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ic-bar { transform-origin: bottom; animation: barGrow 0.45s cubic-bezier(0.34,1.56,0.64,1) both; }

/* Line chart draw */
@keyframes lineDraw { to { stroke-dashoffset: 0; } }
@keyframes lineAreaFade { from { opacity: 0; } to { opacity: 1; } }

/* Rewards bar entrance */
@keyframes rewardFill { from { height: 0; } to { } }
.reward-fill { animation: rewardFill 0.6s cubic-bezier(0.34,1.2,0.64,1) both; }

/* System notification toast */
#sys-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  min-width: 280px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
#sys-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Claims detail panel */
#claims-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: white;
  border-left: 1px solid rgba(0,0,0,0.08);
  box-shadow: -4px 0 32px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
#claims-panel.open { transform: translateX(0); }

/* Quotes detail panel */
#quotes-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: white;
  border-left: 1px solid rgba(0,0,0,0.08);
  box-shadow: -4px 0 32px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
#quotes-panel.open { transform: translateX(0); }
.quotes-table-row.selected { background: #fff5f5; }

/* Record detail panel */
#record-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 560px;
  background: white;
  border-left: 1px solid rgba(0,0,0,0.08);
  box-shadow: -4px 0 32px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
#record-panel.open {
  transform: translateX(0);
}
.renewal-row.selected {
  background: rgba(0,0,0,0.03);
}
