:root{
      --re-primary:#5F3558;
      --re-primary-dark:#4B2945;
      --re-primary-soft:#F4EEF3;
      --re-page:#CDD3D7;
      --re-page-soft:#F1F4F6;
      --re-surface:#FFFFFF;
      --re-border:#D8DEE4;
      --re-text:#1E2430;
      --re-muted:#64748B;
      --re-soft:#F7F8FA;
      --re-success:#EAF7EF;
      --re-success-border:#B8E0C5;
      --re-warn:#FFF4EC;
      --re-warn-border:#F7C7A4;
    }
    html,body{
      margin:0;
      padding:0;
      background:linear-gradient(180deg,var(--re-page) 0%, var(--re-page-soft) 100%);
    }
    body{
      font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      padding:18px;
      color:var(--re-text);
    }
    @media (max-width:640px){ body{padding:10px;} }

    #relocation-estimator-private{max-width:1220px;margin:0 auto;color:var(--re-text)}
    #relocation-estimator-private *{box-sizing:border-box}
    #relocation-estimator-private .re-shell{
      background:var(--re-surface);
      border:1px solid var(--re-border);
      border-radius:28px;
      padding:26px;
      box-shadow:0 14px 38px rgba(17,24,39,.08);
    }
    #relocation-estimator-private .re-top{
      display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:18px
    }
    #relocation-estimator-private .re-kicker{
      margin:0 0 8px;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--re-primary);font-weight:700
    }
    #relocation-estimator-private h3{
      margin:0;font-size:2rem;line-height:1.06;font-weight:750;color:var(--re-text)
    }
    #relocation-estimator-private .re-sub{
      margin:10px 0 0;max-width:780px;color:var(--re-muted);line-height:1.5
    }
    #relocation-estimator-private .re-controls{
      display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end
    }
    #relocation-estimator-private .re-field{
      display:flex;flex-direction:column;gap:6px;min-width:150px
    }
    #relocation-estimator-private .re-field--compact{min-width:136px}
    #relocation-estimator-private .re-field-label{
      font-size:.84rem;color:var(--re-muted)
    }
    #relocation-estimator-private select,
    #relocation-estimator-private input[type="number"],
    #relocation-estimator-private button{
      font:inherit;width:100%;padding:11px 12px;border:1px solid var(--re-border);border-radius:14px;
      background:#fff;color:var(--re-text);outline:none
    }
    #relocation-estimator-private select:focus,
    #relocation-estimator-private input[type="number"]:focus,
    #relocation-estimator-private button:focus{
      border-color:var(--re-primary);
      box-shadow:0 0 0 3px rgba(95,53,88,.14)
    }
    #relocation-estimator-private button{
      width:auto;cursor:pointer;background:var(--re-primary);border-color:var(--re-primary);color:#fff;font-weight:700
    }
    #relocation-estimator-private .re-layout{
      display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start
    }
    #relocation-estimator-private .re-stack{display:grid;gap:16px}
    #relocation-estimator-private .re-panel{
      border:1px solid var(--re-border);border-radius:22px;background:#fff;padding:18px
    }
    #relocation-estimator-private .re-panel--soft{background:var(--re-soft)}
    #relocation-estimator-private .re-section-head{
      display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px
    }
    #relocation-estimator-private .re-section-head h4{margin:0;font-size:1.04rem}
    #relocation-estimator-private .re-section-head p{margin:6px 0 0;color:var(--re-muted);line-height:1.45;font-size:.92rem}
    #relocation-estimator-private .re-kpis{
      display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px
    }
    #relocation-estimator-private .re-kpi{
      border:1px solid var(--re-border);border-radius:18px;padding:16px;background:var(--re-soft);min-height:106px;
      display:flex;flex-direction:column;justify-content:space-between
    }
    #relocation-estimator-private .re-kpi--primary{
      background:linear-gradient(135deg,var(--re-primary),#7C4A74);border-color:var(--re-primary);color:#fff
    }
    #relocation-estimator-private .re-kpi--room.positive{
      background:var(--re-success);border-color:var(--re-success-border);color:#1E6B3A
    }
    #relocation-estimator-private .re-kpi--room.negative{
      background:var(--re-warn);border-color:var(--re-warn-border);color:#9A3412
    }
    #relocation-estimator-private .re-kpi-label{font-size:.84rem;line-height:1.3;opacity:.86}
    #relocation-estimator-private .re-kpi-value{font-size:1.5rem;line-height:1.1;font-weight:750;letter-spacing:-.02em}
    #relocation-estimator-private .re-profile-grid{
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px
    }
    #relocation-estimator-private .re-inline-note{
      margin-top:12px;padding:12px 14px;border-radius:14px;background:var(--re-primary-soft);color:var(--re-muted);
      line-height:1.45;font-size:.9rem
    }
    #relocation-estimator-private .re-housing-grid{
      display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
    }
    #relocation-estimator-private .re-subpanel{
      margin-top:14px;padding:14px;border:1px solid var(--re-border);border-radius:18px;background:#fff
    }
    #relocation-estimator-private .re-inline-check{
      display:inline-flex;align-items:center;gap:8px;color:var(--re-text);font-weight:600
    }
    #relocation-estimator-private .re-inline-check input{margin:0}
    #relocation-estimator-private .re-chip-grid{display:flex;flex-wrap:wrap;gap:10px}
    #relocation-estimator-private .re-chip-toggle{
      display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--re-border);
      border-radius:999px;background:#fff;color:var(--re-text);cursor:pointer;transition:all .18s ease
    }
    #relocation-estimator-private .re-chip-toggle.is-active{
      border-color:var(--re-primary);background:var(--re-primary);color:#fff
    }
    #relocation-estimator-private .re-chip-toggle input{margin:0}
    #relocation-estimator-private .re-chip-toggle.re-hide{display:none !important}
    #relocation-estimator-private .re-sections{display:grid;gap:16px}
    #relocation-estimator-private .re-categories{display:grid;gap:14px}
    #relocation-estimator-private details.re-category{
      border:1px solid var(--re-border);border-radius:18px;background:#fff;overflow:hidden
    }
    #relocation-estimator-private details.re-category summary{
      list-style:none;display:grid;grid-template-columns:minmax(0,1fr) 104px 18px;gap:12px;align-items:center;
      padding:16px 18px;cursor:pointer
    }
    #relocation-estimator-private details.re-category summary::-webkit-details-marker{display:none}
    #relocation-estimator-private .re-summary-title{font-weight:720;min-width:0}
    #relocation-estimator-private .re-count-pill{
      display:inline-flex;align-items:center;justify-content:center;width:104px;padding:6px 10px;border-radius:999px;
      background:#EEF2F4;color:var(--re-muted);font-size:.8rem;white-space:nowrap;justify-self:end
    }
    #relocation-estimator-private .re-chevron{
      font-size:1.3rem;line-height:1;color:var(--re-primary);justify-self:end;transition:transform .18s ease
    }
    #relocation-estimator-private details.re-category[open] .re-chevron{transform:rotate(90deg)}
    #relocation-estimator-private .re-category-body{padding:0 18px 14px}
    #relocation-estimator-private .re-item{
      display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:13px 0;border-top:1px solid #EEF2F7;
      transition:opacity .18s ease,background .18s ease
    }
    #relocation-estimator-private .re-item:first-child{border-top:0}
    #relocation-estimator-private .re-item.is-active{
      background:linear-gradient(180deg,rgba(244,238,243,0),rgba(244,238,243,.78))
    }
    #relocation-estimator-private .re-item.is-unavailable{display:none !important}
    #relocation-estimator-private .re-item-main{display:flex;gap:12px;align-items:flex-start;flex:1;min-width:0}
    #relocation-estimator-private .re-item-main input{margin-top:3px;flex:0 0 auto}
    #relocation-estimator-private .re-item-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
    #relocation-estimator-private .re-item-title{font-weight:620;line-height:1.35}
    #relocation-estimator-private .re-item-meta{font-size:.84rem;line-height:1.45;color:var(--re-muted)}
    #relocation-estimator-private .re-item-side{display:flex;align-items:flex-end;gap:10px;flex:0 0 auto}
    #relocation-estimator-private .re-basis-pill{
      padding:5px 9px;border-radius:999px;border:1px solid var(--re-border);background:#fff;font-size:.76rem;color:var(--re-muted);white-space:nowrap
    }
    #relocation-estimator-private .re-qty-block{display:flex;flex-direction:column;gap:4px;min-width:120px}
    #relocation-estimator-private .re-qty-caption{font-size:.75rem;color:var(--re-muted);text-align:right;white-space:nowrap}
    #relocation-estimator-private .re-qty-input{text-align:right}
    #relocation-estimator-private .re-side{position:sticky;top:20px}
    #relocation-estimator-private .re-summary-panel{display:grid;gap:14px}
    #relocation-estimator-private .re-pill{
      display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:#EEF2F4;color:#4A5565;font-size:.82rem;font-weight:700
    }
    #relocation-estimator-private .re-mini-metrics{display:grid;gap:10px}
    #relocation-estimator-private .re-mini-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;font-size:.94rem;line-height:1.4}
    #relocation-estimator-private .re-mini-row strong{font-size:1rem;color:var(--re-text)}
    #relocation-estimator-private .re-divider{height:1px;background:#EEF2F7}
    #relocation-estimator-private .re-summary-sections{display:grid;gap:14px}
    #relocation-estimator-private .re-summary-section{display:grid;gap:10px}
    #relocation-estimator-private .re-summary-section h5{
      margin:0;font-size:.84rem;letter-spacing:.08em;text-transform:uppercase;color:var(--re-primary)
    }
    #relocation-estimator-private .re-group{display:grid;gap:6px}
    #relocation-estimator-private .re-group h6{margin:0;font-size:.82rem;color:var(--re-muted)}
    #relocation-estimator-private .re-group ul{margin:0;padding-left:18px;display:grid;gap:6px;color:#334155}
    #relocation-estimator-private .re-footer-note{font-size:.88rem;line-height:1.5;color:var(--re-muted)}
    #relocation-estimator-private .re-muted{color:var(--re-muted)}
    #relocation-estimator-private .re-empty{color:var(--re-muted);font-style:italic}
    #relocation-estimator-private .re-hide{display:none !important}
    #relocation-estimator-private .re-banner{
      margin-bottom:16px;padding:12px 14px;border-radius:14px;background:var(--re-warn);
      border:1px solid var(--re-warn-border);color:#9A3412;line-height:1.45
    }
    @media (max-width:1080px){
      #relocation-estimator-private .re-layout{grid-template-columns:1fr}
      #relocation-estimator-private .re-side{position:static}
    }
    @media (max-width:860px){
      #relocation-estimator-private .re-shell{padding:18px}
      #relocation-estimator-private .re-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
      #relocation-estimator-private .re-profile-grid,
      #relocation-estimator-private .re-housing-grid{grid-template-columns:1fr}
      #relocation-estimator-private .re-item{flex-direction:column;align-items:stretch}
      #relocation-estimator-private .re-item-side{justify-content:space-between}
      #relocation-estimator-private .re-qty-block{min-width:0;max-width:160px}
      #relocation-estimator-private .re-qty-caption{text-align:left}
    }
    @media (max-width:580px){
      #relocation-estimator-private .re-kpis{grid-template-columns:1fr}
      #relocation-estimator-private .re-controls{width:100%}
      #relocation-estimator-private .re-field{min-width:0;flex:1 1 100%}
      #relocation-estimator-private button{width:100%}
      #relocation-estimator-private details.re-category summary{grid-template-columns:minmax(0,1fr) 96px 16px}
      #relocation-estimator-private .re-count-pill{width:96px}
    }

    #relocation-estimator-private .re-kpi--income{min-height:126px}
    #relocation-estimator-private .re-kpi-value--editable{
      display:flex;align-items:center;gap:6px;min-height:40px;min-width:0
    }
    #relocation-estimator-private .re-income-prefix{
      font-size:1.18rem;line-height:1;font-weight:750;flex:0 0 auto
    }
    #relocation-estimator-private .re-income-input{
      border:0;background:transparent;padding:0;margin:0;min-width:0;width:100%;outline:none;
      font:inherit;font-size:1.5rem;line-height:1.1;font-weight:750;letter-spacing:-.02em;color:inherit
    }
    #relocation-estimator-private .re-income-input::placeholder{color:inherit;opacity:.55}
    #relocation-estimator-private .re-kpi-note{
      margin-top:6px;font-size:.78rem;line-height:1.35;opacity:.9
    }
    #relocation-estimator-private .re-category-note{
      margin:0 0 12px;padding:10px 12px;border-radius:12px;background:var(--re-primary-soft);
      color:var(--re-muted);font-size:.84rem;line-height:1.45
    }
    #relocation-estimator-private .re-housing-stats{
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px
    }
    #relocation-estimator-private .re-housing-stat{
      border:1px solid var(--re-border);border-radius:16px;padding:14px;background:var(--re-soft);display:grid;gap:6px
    }
    #relocation-estimator-private .re-housing-stat span{
      font-size:.8rem;line-height:1.35;color:var(--re-muted)
    }
    #relocation-estimator-private .re-housing-stat strong{
      font-size:1.06rem;line-height:1.18;color:var(--re-text)
    }
    #relocation-estimator-private .re-hidden-support{display:none !important}

    @media (max-width:980px){
      #relocation-estimator-private .re-housing-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:640px){
      #relocation-estimator-private .re-housing-stats{grid-template-columns:1fr}
      #relocation-estimator-private .re-income-input{font-size:1.35rem}
    }
