/* Life Quote & Apply results — owner-approved charcoal/gold presentation.
   Presentation only: scoped to the Life workspace, drawer and loading state.
   Health & ACA and quote allowance surfaces are intentionally untouched. */
.dashboard-shell #li-results .li-workspace{--lq-surface:#181a1d;--lq-raised:#202226;--lq-line:#303136;--lq-gold:#e5c783;--lq-gold-ink:#292114;--lq-muted:#aaa9a5}
/* Sole owner of Life results columns: comparison is primary, the case summary
   is supporting and scales 282-360px with the expanded workspace. */
.dashboard-shell #qt-panel-life #li-layout.li-has-results{grid-template-columns:minmax(0,1fr) clamp(282px,20%,360px);gap:clamp(24px,2vw,32px);align-items:start}
.dashboard-shell #qt-panel-life #li-layout.li-has-results #li-results-card{grid-column:1;grid-row:1;min-width:0}
.dashboard-shell #qt-panel-life #li-layout.li-has-results #li-case-summary{grid-column:2;grid-row:1;min-width:0;background:#181a1d;border:1px solid #303136;border-radius:12px;padding:22px}
.dashboard-shell #li-results .li-head h2{font-family:inherit;font-size:clamp(27px,3vw,38px);line-height:1.2;font-weight:600;letter-spacing:-.045em}
.dashboard-shell #li-results .li-paths{gap:16px}
.dashboard-shell #li-results .li-paths:has(>:only-child){grid-template-columns:1fr}
.dashboard-shell #li-results .li-path-card{display:flex;flex-direction:column;align-items:flex-start;padding:20px;border-radius:12px;border-color:var(--lq-line);background:linear-gradient(125deg,#1d1f23,#151619);transition:border-color .15s ease,transform .15s ease}
.dashboard-shell #li-results .li-path-card:hover{border-color:var(--lq-gold);transform:translateY(-1px)}
.dashboard-shell #li-results .li-path-card>.li-label:first-child{display:inline-block;background:#302a1e;border:1px solid #665536;color:#eddaaa;padding:4px 9px;border-radius:6px;font-size:10px;font-weight:600;letter-spacing:.04em;margin-bottom:12px}
.dashboard-shell #li-results .li-path-card.li-contracted{border-color:#a18a54;background:linear-gradient(130deg,#29261f 0%,#191a1b 58%)}
.dashboard-shell #li-results .li-path-card.li-contracted>.li-label:first-child{color:#292111;background:linear-gradient(110deg,#f2dfae,#dfbf77)}
.dashboard-shell #li-results .li-price{font-size:30px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#f1eee7}
.dashboard-shell #li-results .li-price .li-muted{font-size:11px;letter-spacing:0;font-weight:400}
.dashboard-shell #li-results .li-fee-line{font-size:11px;margin-bottom:10px}
.dashboard-shell #li-results .li-delta{color:#c9c2ac;font-size:11px;margin-top:10px}
.dashboard-shell #li-results .li-sort button[aria-pressed="true"]{background:var(--lq-gold);color:var(--lq-gold-ink);border-color:var(--lq-gold)}
.dashboard-shell #li-results .li-table-wrap{border:1px solid var(--lq-line);border-radius:9px;overflow-x:auto}
.dashboard-shell #li-results .li-table th{background:#212327;color:#b7b6b2;text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:500}
.dashboard-shell #li-results .li-table tbody tr:nth-child(even){background:rgba(255,255,255,.015)}
.dashboard-shell .li-agent-portal{display:inline-flex;align-items:center;gap:6px;border:1px solid #e4c17c;border-radius:6px;padding:4px 9px;font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--gold,#e5c783);text-decoration:none}
.dashboard-shell .li-agent-portal:hover{background:#302a1e}
.dashboard-shell .li-agent-portal:focus-visible{outline:3px solid rgba(229,199,131,.55);outline-offset:2px}
.dashboard-shell #li-drawer .li-resources .li-agent-portal{width:100%;justify-content:center;padding:11px 14px;font-size:12px;background:linear-gradient(110deg,#f0dbab,#e1bf75);color:#292114;border-color:#e4c17c;text-decoration:none}

/* Loading skeleton */
.dashboard-shell .li-loading .li-skeletons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.dashboard-shell .li-skeleton{height:150px;border:1px solid #303136;border-radius:12px;background:linear-gradient(130deg,#24262a,#191b1e);padding:22px;text-align:left}
.dashboard-shell .li-skeleton i{display:block;height:13px;width:60%;background:#35363a;border-radius:4px;margin-bottom:18px}
.dashboard-shell .li-skeleton i:nth-child(2){width:83%;height:26px}
@media(prefers-reduced-motion:no-preference){.dashboard-shell .li-skeleton i{animation:lq-pulse 1.4s ease-in-out infinite}@keyframes lq-pulse{50%{opacity:.45}}}

/* Centered details dialog (replaces right-edge drawer placement only). */
.dashboard-shell .li-drawer#li-drawer{inset:0;margin:auto;left:0;right:0;top:0;bottom:0;width:min(580px,calc(100% - 30px));height:fit-content;max-height:88dvh;border:1px solid #74613d;border-radius:13px;background:#1b1d20;padding:30px 28px;box-shadow:0 30px 100px rgba(5,6,7,.56)}
.dashboard-shell .li-drawer-backdrop#li-drawer-backdrop{background:rgba(8,9,11,.74);backdrop-filter:blur(4px)}
.dashboard-shell .li-drawer#li-drawer .li-detail-grid>div{background:#1b1d20}
@media(prefers-reduced-motion:no-preference){.dashboard-shell .li-drawer#li-drawer{animation:lq-dialog-in .18s ease-out}@keyframes lq-dialog-in{from{transform:translateY(8px);opacity:.7}}}
@media(max-width:767px){.dashboard-shell .li-loading .li-skeletons{grid-template-columns:1fr}.dashboard-shell .li-drawer#li-drawer{padding:26px 18px}.dashboard-shell #li-results .li-price{font-size:26px}}
.dashboard-shell .li-portal-tab{font-size:9px;font-weight:500;letter-spacing:.02em;opacity:.8}
@media(max-width:1100px){
  .dashboard-shell #qt-panel-life #li-layout.li-has-results{grid-template-columns:minmax(0,1fr)}
  .dashboard-shell #qt-panel-life #li-layout.li-has-results #li-case-summary{grid-column:1;grid-row:2}
}
@media(max-width:767px){.dashboard-shell #li-results .li-paths{grid-template-columns:minmax(0,1fr)}}

/* Graduate the approved layout, not just its palette. The shared dashboard
   heading and panel rules use !important; override those only inside Life. */
.dashboard-shell #page-quote:has(#qt-panel-life:not([style*="display: none"]):not([style*="display:none"]) .li-has-results){
  background:#101113;border:1px solid #26282c;border-radius:12px;padding:28px;
}
.dashboard-shell #page-quote:has(#qt-panel-life:not([style*="display: none"]):not([style*="display:none"]) .li-has-results)>.mkt-head{
  display:flex;align-items:center;gap:18px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #303136;
}
.dashboard-shell #page-quote:has(#qt-panel-life:not([style*="display: none"]):not([style*="display:none"]) .li-has-results)>.mkt-head .mkt-title{font:600 20px/1.3 'Trebuchet MS',sans-serif!important;letter-spacing:-.035em!important}
.dashboard-shell #page-quote:has(#qt-panel-life:not([style*="display: none"]):not([style*="display:none"]) .li-has-results)>.mkt-head .mkt-sub{display:none}
.dashboard-shell #page-quote:has(#qt-panel-life:not([style*="display: none"]):not([style*="display:none"]) .li-has-results)>.mkt-head .sage-entry{margin-left:auto}
.dashboard-shell #qt-panel-life:has(.li-has-results)>.qt-panel-sub{display:none}
.dashboard-shell #qt-panel-life #li-layout.li-has-results{
  --lq-surface:#181a1d;--lq-line:#303136;--lq-gold:#e5c783;--lq-muted:#aaa9a5;
  font:400 14px/1.5 'Trebuchet MS',sans-serif;color:#f1eee7;
}
.dashboard-shell #qt-panel-life #li-layout.li-has-results #li-results-card{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0;
}
.dashboard-shell #qt-panel-life #li-layout.li-has-results #li-case-summary{
  padding:18px;background:linear-gradient(135deg,#1c1e21,#151618);border-radius:11px;
}
.dashboard-shell #li-layout.li-has-results :is(h2,h3),
.dashboard-shell #li-drawer :is(h2,h3){
  font-family:'Trebuchet MS',sans-serif!important;font-weight:600!important;letter-spacing:-.035em!important;color:#f1eee7!important;
}
.dashboard-shell #li-layout.li-has-results :is(button,select){font-family:inherit}
.dashboard-shell #li-results .li-head{display:block;border:0;padding:0;margin:0 0 25px}
.dashboard-shell #li-results .li-head h2{font-size:clamp(27px,3vw,38px);margin:6px 0 8px;line-height:1.2}
.dashboard-shell #li-results .li-head .li-muted{font-size:13px}
.dashboard-shell #li-layout .li-muted{color:#aaa9a5!important;line-height:1.5}
.dashboard-shell #li-layout .li-kicker{font:700 10px/1.5 'Trebuchet MS',sans-serif;letter-spacing:.13em;color:#e5c783!important}
.dashboard-shell #li-results .li-paths{margin:0 0 29px;gap:16px}
.dashboard-shell #li-results .li-path-card{padding:19px;cursor:default;min-width:0;align-items:stretch}
.dashboard-shell #li-results .li-path-card:hover{transform:none}
.dashboard-shell #li-results .li-path-card.li-assisted:not(.li-contracted){border-color:#303136;box-shadow:none}
.dashboard-shell #li-results .li-path-card>.li-label:first-child{
  width:fit-content;font:600 10px/1.5 'Trebuchet MS',sans-serif;letter-spacing:0;text-transform:none;margin-bottom:20px;color:#eddaaa!important;
}
.dashboard-shell #li-results .li-path-card.li-contracted>.li-label:first-child{color:#292111!important}
.dashboard-shell #li-results .li-carrier-line{display:flex;justify-content:space-between;align-items:start;gap:8px;margin-bottom:4px;flex-wrap:wrap}
.dashboard-shell #li-results .li-carrier{display:flex;align-items:center;gap:9px;min-width:0}
.dashboard-shell #li-results .li-carrier h3{font-size:18px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.dashboard-shell #li-results .li-carrier-mark{font:bold 27px/1.25 Georgia,serif;color:#c8b78b;width:27px;flex:0 0 27px;text-align:center}
.dashboard-shell #li-results .li-price{font:700 31px/1.25 'Trebuchet MS',sans-serif;letter-spacing:-.06em;white-space:nowrap;margin:0;font-variant-numeric:tabular-nums}
.dashboard-shell #li-results .li-price .li-muted{font-size:11px;letter-spacing:0;font-weight:400}
.dashboard-shell #li-results .li-product{font-size:16px;margin:8px 0 3px}
.dashboard-shell #li-results .li-card-sub{font-size:11px}
.dashboard-shell #li-results .li-delta{font-size:11px;color:#c9c2ac!important;margin:11px 0 0}
.dashboard-shell #li-results .li-fee-line{font-size:11px;margin:0}
.dashboard-shell #li-results .li-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 18px}
.dashboard-shell #li-results .li-path-pill{display:inline-block;background:#242529;border:1px solid #36373b;color:#c4c2ba;padding:3px 8px;font-size:10px;white-space:normal}
.dashboard-shell #li-results .li-contracted-pill{background:#332c1d;border-color:#655332;color:#e3cc96}
.dashboard-shell #li-results .li-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #303136;padding-top:15px;margin-top:auto}
.dashboard-shell #li-results .li-fact{font-size:11px}
.dashboard-shell #li-results .li-fact>span{display:block;font-size:9px;color:#aaa9a5;margin-bottom:2px}
.dashboard-shell #li-layout .li-view-details{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;
  border:1px solid #3e3e41;background:linear-gradient(#292a2e,#222326);color:#f1eee7;
  padding:9px 13px;border-radius:6px;font:600 11px/1.5 'Trebuchet MS',sans-serif;cursor:pointer;white-space:nowrap;
}
.dashboard-shell #li-layout .li-view-details:hover{border-color:#e5c783}
.dashboard-shell #li-layout .li-view-details.li-primary{border-color:#e4c17c;background:linear-gradient(110deg,#f0dbab,#e1bf75);color:#292114}
.dashboard-shell #li-results .li-compare-head{align-items:end;flex-wrap:wrap;gap:14px;margin-bottom:12px}
.dashboard-shell #li-results .li-section-title{font-size:20px;line-height:1.3;margin:0 0 4px}
.dashboard-shell #li-results .li-sort button{font:400 10px/1.5 'Trebuchet MS',sans-serif;padding:8px 10px;color:#f1eee7;background:linear-gradient(#292a2e,#222326);border-color:#3e3e41;border-radius:6px}
.dashboard-shell #li-results .li-sort button[aria-pressed="true"]{background:#e5c783;color:#272014;border-color:#e5c783}
.dashboard-shell #li-results .li-compare-note{font-size:11px;color:#aaa9a5!important;margin:0 0 14px}
.dashboard-shell #li-results .li-table{min-width:770px;font:400 12px/1.5 'Trebuchet MS',sans-serif}
.dashboard-shell #li-results .li-table caption{text-align:left;padding:10px 14px;color:#aaa9a5;background:#191b1e;font-size:10px}
.dashboard-shell #li-results .li-table th{font:400 9px/1.5 'Trebuchet MS',sans-serif!important;padding:11px 12px;white-space:nowrap}
.dashboard-shell #li-results .li-table td{padding:17px 12px;vertical-align:middle;border-color:#2a2b2e;color:#f1eee7}
.dashboard-shell #li-results .li-table tbody tr{background:#151619}
.dashboard-shell #li-results .li-table tbody tr:nth-child(even){background:#191a1d}
.dashboard-shell #li-results .li-table td.li-row-number{width:32px;color:#aaa9a5;font-size:10px}
.dashboard-shell #li-results .li-table-carrier{display:flex;align-items:start;gap:9px;min-width:175px}
.dashboard-shell #li-results .li-table-carrier strong{font:600 12px/1.5 'Trebuchet MS',sans-serif}
.dashboard-shell #li-results .li-table-product{display:block;font-size:11px;color:#d1cfca}
.dashboard-shell #li-results .li-table-sub{display:block;font-size:10px;color:#aaa9a5;font-weight:400}
.dashboard-shell #li-results .li-money{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.dashboard-shell #li-results .li-resources{display:flex;gap:4px 9px;flex-wrap:wrap;margin-top:5px}
.dashboard-shell #li-results .li-resources a{font-size:10px;color:#e5c783!important;text-decoration:underline;text-underline-offset:3px}
.dashboard-shell #li-results .li-agent-portal{border:0;background:none;padding:0;font-weight:400;letter-spacing:0}
.dashboard-shell #li-results .li-portal-tab{font-size:9px}
.dashboard-shell #li-case-summary .li-summary-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.dashboard-shell #li-case-summary .li-summary-head h3{font-size:15px;line-height:1.3;margin:0}
.dashboard-shell #li-case-summary .li-edit-btn{padding:5px 9px;font-size:10px}
.dashboard-shell #li-case-summary .li-case-facts{margin:0;border:0}
.dashboard-shell #li-case-summary .li-case-facts>div{display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #2b2c30;font-size:11px}
.dashboard-shell #li-case-summary dt{display:flex;align-items:center;gap:10px;color:#aaa9a5}
.dashboard-shell #li-case-summary dt svg{color:#e5c783;flex-shrink:0}
.dashboard-shell #li-case-summary dd{margin:0;overflow-wrap:anywhere}
.dashboard-shell #li-case-summary .li-summary-foot{font-size:10px;line-height:1.7;color:#aaa9a5!important;margin:17px 0 0}
.dashboard-shell #li-layout :is(button,a,[tabindex]):focus-visible{outline:2px solid #e5c783;outline-offset:3px}
.dashboard-shell #li-results #li-results-title:focus{outline:none!important}
.dashboard-shell #li-drawer{font:400 14px/1.5 'Trebuchet MS',sans-serif}
.dashboard-shell #li-drawer h2{font-size:27px;padding-right:24px}
.dashboard-shell #li-drawer .li-agent-portal{color:#292114!important}
@media(min-width:1500px){
  .dashboard-shell #li-results .li-path-card{padding:23px}
  .dashboard-shell #li-results .li-price{font-size:36px}
}
@media(max-width:1200px){
  .dashboard-shell #li-results .li-card-bottom{flex-wrap:wrap}
  .dashboard-shell #li-results .li-price{font-size:28px}
}
@media(max-width:1100px){
  .dashboard-shell #qt-panel-life #li-layout.li-has-results #li-case-summary{position:static}
  .dashboard-shell #li-case-summary .li-case-facts{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}
}
@media(max-width:767px){
  .dashboard-shell #page-quote:has(#qt-panel-life:not([style*="display: none"]):not([style*="display:none"]) .li-has-results){padding:18px 12px!important}
  .dashboard-shell #li-results .li-path-card{padding:18px}
  .dashboard-shell #li-results .li-price{font-size:30px}
  .dashboard-shell #li-case-summary .li-case-facts{grid-template-columns:1fr}
  .dashboard-shell #li-results .li-card-bottom{gap:8px}
  .dashboard-shell #li-results .li-head h2{font-size:30px}
}
