/* Ragtime Guided Assistant — isolated CSS */
:root{
    --rta-blue:#173966;
    --rta-gold:#FBB637;
    --rta-ink:#172033;
    --rta-muted:#667085;
    --rta-line:#e7eaf0;
    --rta-soft:#f5f7fb;
    --rta-white:#fff;
    --rta-shadow:0 18px 55px rgba(23,57,102,.12);
}
#rt-assistant-app,
.rt-assist-floating,
#rt-assistant-app *{box-sizing:border-box}
#rt-assistant-app{font-family:Montserrat,Arial,sans-serif;color:var(--rta-ink);background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);min-height:600px;padding:28px 0 48px}
.rta-shell{max-width:1220px;margin:0 auto;padding:0 18px}
.rta-hero{display:grid;grid-template-columns:1fr 190px;gap:24px;align-items:center;background:radial-gradient(circle at top right,rgba(251,182,55,.22),transparent 35%),linear-gradient(135deg,var(--rta-blue),#09192f);border-radius:26px;padding:34px;color:#fff;box-shadow:var(--rta-shadow);overflow:hidden;position:relative}
.rta-hero:after{content:"";position:absolute;right:-90px;bottom:-90px;width:220px;height:220px;border-radius:50%;border:35px solid rgba(255,255,255,.08)}
.rta-kicker,.rta-card-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:var(--rta-gold);margin-bottom:8px}
.rta-hero h1,.rta-main-card h1,.rta-results-head h1{margin:0 0 10px;font-weight:950;letter-spacing:-.04em;line-height:1.03}
.rta-hero h1{font-size:42px;color:#fff}.rta-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.82);font-size:16px;line-height:1.7}
.rta-hero-badge{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:140px;border-radius:24px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);text-align:center}
.rta-hero-badge strong{font-size:34px;line-height:1;color:#fff}.rta-hero-badge span{font-size:13px;text-transform:uppercase;font-weight:900;color:var(--rta-gold);margin-top:7px}
.rta-root-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.rta-root-card,.rta-choice,.rta-budget{appearance:none;text-align:left;border:1px solid var(--rta-line);background:#fff;border-radius:19px;padding:18px;cursor:pointer;transition:.18s ease;box-shadow:0 7px 20px rgba(23,57,102,.05);font-family:inherit;color:var(--rta-ink)}
.rta-root-card:hover,.rta-choice:hover,.rta-budget:hover,.rta-root-card:focus,.rta-choice:focus,.rta-budget:focus{transform:translateY(-3px);border-color:rgba(251,182,55,.75);box-shadow:0 16px 32px rgba(23,57,102,.12);outline:none}
.rta-root-card i{width:44px;height:44px;border-radius:15px;background:#f1f5fb;color:var(--rta-blue);display:inline-flex;align-items:center;justify-content:center;font-size:19px;margin-bottom:13px}
.rta-root-card strong,.rta-choice strong,.rta-budget strong{display:block;font-size:15px;font-weight:950;letter-spacing:-.02em;color:var(--rta-blue)}
.rta-root-card span,.rta-choice span,.rta-budget span{display:block;margin-top:7px;font-size:12.5px;line-height:1.55;color:var(--rta-muted)}
.rta-general-card,.rta-why-card,.rta-main-card,.rta-product-section,.rta-related-section,.rta-price-proof-card,.rta-deadend-card{background:#fff;border:1px solid var(--rta-line);border-radius:24px;box-shadow:var(--rta-shadow)}
.rta-general-card{padding:24px;margin-top:16px}.rta-general-card h3,.rta-why-card h3{margin:0 0 8px;font-weight:950;color:var(--rta-blue)}.rta-general-card p{margin:0 0 14px;color:var(--rta-muted);line-height:1.65}
.rta-mini-tags{display:flex;flex-wrap:wrap;gap:8px}.rta-tag{display:inline-flex;align-items:center;border:1px solid rgba(23,57,102,.12);background:#f7f9fd;color:var(--rta-blue);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:850;text-decoration:none!important}
.rta-two-col{display:grid;grid-template-columns:1fr 360px;gap:18px;align-items:start}.rta-main-card{padding:26px}.rta-main-card h1{font-size:34px;color:var(--rta-blue)}.rta-main-card h2{font-size:15px;text-transform:uppercase;letter-spacing:.1em;margin:26px 0 12px;color:var(--rta-blue);font-weight:950}.rta-muted{color:var(--rta-muted);line-height:1.65;margin:0}.rta-back{appearance:none;border:0;background:transparent;color:var(--rta-blue);font-weight:900;margin:6px 0 14px;cursor:pointer;font-family:inherit}.rta-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rta-choice em{display:block;margin-top:10px;font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#9a6b00;font-weight:950}.rta-choice.is-active,.rta-budget.is-active{border-color:var(--rta-gold);background:linear-gradient(180deg,#fffdf7,#fff);box-shadow:0 0 0 3px rgba(251,182,55,.22),0 14px 30px rgba(23,57,102,.12)}
.rta-budget-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rta-budget{padding:14px}.rta-budget span{font-size:11.5px}.rta-action-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.rta-primary,.rta-secondary,.rta-free-search button,.rta-proof-form button,.rta-deadend-search button,.rta-lead-grid button{appearance:none;border:0;border-radius:15px;min-height:48px;padding:0 18px;font-family:inherit;font-weight:950;cursor:pointer;transition:.18s ease}.rta-primary{background:linear-gradient(135deg,var(--rta-gold),#ffd76a);color:var(--rta-blue);box-shadow:0 12px 22px rgba(251,182,55,.27)}.rta-secondary{background:#eef3fb;color:var(--rta-blue)}.rta-primary:hover,.rta-secondary:hover,.rta-free-search button:hover,.rta-proof-form button:hover,.rta-deadend-search button:hover,.rta-lead-grid button:hover{transform:translateY(-2px)}
.rta-why-card{padding:24px;position:sticky;top:88px}.rta-why-card ul{margin:12px 0 0;padding:0;list-style:none}.rta-why-card li{position:relative;padding-left:20px;margin:11px 0;color:#344054;line-height:1.5;font-size:13px}.rta-why-card li:before{content:"";position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--rta-gold)}
.rta-free-search{margin-top:18px;border:1px dashed rgba(23,57,102,.25);background:#f8fafc;border-radius:18px;padding:15px}.rta-free-search label{display:block;font-weight:950;color:var(--rta-blue);margin-bottom:9px}.rta-free-search div,.rta-deadend-search,.rta-proof-form{display:grid;grid-template-columns:1fr auto;gap:8px}.rta-free-search input,.rta-deadend-search input,.rta-proof-form input,.rta-lead-grid input,.rta-lead-grid textarea{width:100%;border:1px solid var(--rta-line);border-radius:14px;min-height:48px;padding:0 13px;font:inherit;color:var(--rta-ink);outline:none;background:#fff}.rta-free-search input:focus,.rta-deadend-search input:focus,.rta-proof-form input:focus,.rta-lead-grid input:focus,.rta-lead-grid textarea:focus{border-color:var(--rta-gold);box-shadow:0 0 0 3px rgba(251,182,55,.18)}.rta-free-search button,.rta-deadend-search button,.rta-proof-form button,.rta-lead-grid button{background:var(--rta-blue);color:#fff}
.rta-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.rta-results-head h1{font-size:32px;color:var(--rta-blue)}.rta-results-head p{margin:0;color:var(--rta-muted)}.rta-product-section,.rta-related-section{padding:22px;margin-bottom:18px}.rta-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.rta-section-title h2{margin:0;font-size:19px;color:var(--rta-blue);font-weight:950}.rta-section-title span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--rta-muted);font-weight:950}.rta-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.rta-product-card{border:1px solid var(--rta-line);border-radius:20px;background:#fff;overflow:hidden;transition:.18s ease}.rta-product-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(23,57,102,.12);border-color:rgba(251,182,55,.65)}.rta-product-card img{width:100%;height:190px;object-fit:contain;background:#f8fafc;padding:14px;display:block}.rta-product-body{padding:15px}.rta-brand{display:inline-block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#9a6b00;font-weight:950;margin-bottom:6px}.rta-product-body h3{font-size:14px;line-height:1.35;min-height:38px;margin:0 0 8px;color:var(--rta-blue);font-weight:950}.rta-product-body p{font-size:12px;line-height:1.55;color:var(--rta-muted);height:55px;overflow:hidden;margin:0 0 12px}.rta-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.rta-product-bottom strong{font-size:18px;color:var(--rta-blue)}.rta-product-bottom a{font-size:11px;font-weight:950;color:var(--rta-blue);background:#fff7df;border:1px solid rgba(251,182,55,.5);border-radius:999px;padding:8px 10px;text-decoration:none!important;white-space:nowrap}
.rta-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rta-related-card{border:1px solid var(--rta-line);border-radius:18px;padding:16px;background:#fcfdff}.rta-related-card h3{font-size:15px;margin:0 0 10px;color:var(--rta-blue);font-weight:950}.rta-related-card p{font-size:12px}.rta-price-proof-card{display:grid;grid-template-columns:1fr 450px;gap:18px;align-items:center;padding:22px;margin-bottom:18px;background:radial-gradient(circle at top right,rgba(251,182,55,.16),transparent 35%),#fff}.rta-price-proof-card h2,.rta-deadend-card h2{margin:0 0 8px;color:var(--rta-blue);font-weight:950}.rta-price-proof-card p,.rta-deadend-card p{margin:0;color:var(--rta-muted);line-height:1.65}.rta-proof-form{grid-template-columns:1fr 170px auto}.rta-deadend-card{padding:26px}.rta-deadend-search{margin:18px 0;grid-template-columns:1fr auto}.rta-lead-card{margin-top:18px;border:1px solid var(--rta-line);border-radius:20px;background:#f8fafc;padding:18px}.rta-lead-card h3{margin:0 0 8px;color:var(--rta-blue);font-weight:950}.rta-lead-card p{font-size:13px}.rta-lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rta-lead-grid textarea{grid-column:1 / -1;min-height:86px;padding-top:12px}.rta-lead-grid button{grid-column:1 / -1}.rta-loading{display:flex;gap:12px;align-items:center;justify-content:center;min-height:420px}.rta-loading span{width:26px;height:26px;border-radius:50%;border:3px solid #d8deea;border-top-color:var(--rta-gold);animation:rtaSpin .8s linear infinite}.rta-loading strong{color:var(--rta-blue);font-weight:950}@keyframes rtaSpin{to{transform:rotate(360deg)}}
.rt-assist-floating{position:fixed;right:18px;bottom:92px;z-index:9998;display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:999px;background:linear-gradient(135deg,var(--rta-blue),#09192f);color:#fff!important;text-decoration:none!important;box-shadow:0 18px 40px rgba(9,25,47,.28);font-family:Montserrat,Arial,sans-serif;font-weight:950;letter-spacing:.02em;border:1px solid rgba(255,255,255,.12)}.rt-assist-floating i{width:33px;height:33px;border-radius:50%;background:var(--rta-gold);color:var(--rta-blue);display:inline-flex;align-items:center;justify-content:center}.rt-assist-floating span{display:flex;flex-direction:column;line-height:1.1}.rt-assist-floating small{font-size:10px;text-transform:uppercase;color:var(--rta-gold);letter-spacing:.12em}.rt-assist-floating strong{font-size:13px;color:#fff}.rt-assist-floating:hover{color:#fff!important;transform:translateY(-3px)}
@media(max-width:1100px){.rta-root-grid,.rta-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rta-two-col,.rta-price-proof-card{grid-template-columns:1fr}.rta-why-card{position:static}.rta-proof-form{grid-template-columns:1fr}}
@media(max-width:760px){#rt-assistant-app{padding-top:14px}.rta-shell{padding:0 12px}.rta-hero{grid-template-columns:1fr;padding:24px;border-radius:20px}.rta-hero h1{font-size:32px}.rta-hero-badge{min-height:96px}.rta-root-grid,.rta-choice-grid,.rta-product-grid,.rta-related-grid,.rta-budget-row{grid-template-columns:1fr}.rta-main-card{padding:20px}.rta-main-card h1,.rta-results-head h1{font-size:27px}.rta-results-head{align-items:flex-start;flex-direction:column}.rta-free-search div,.rta-deadend-search{grid-template-columns:1fr}.rta-product-card img{height:170px}.rta-product-bottom{align-items:flex-start;flex-direction:column}.rta-lead-grid{grid-template-columns:1fr}.rt-assist-floating{right:10px;bottom:72px;padding:11px 13px}.rt-assist-floating strong{font-size:12px}}

/* Embedded website panel mode */
body.rta-panel-open{overflow:hidden}
.rt-assist-embed,.rt-assist-embed *{box-sizing:border-box}
.rt-assist-overlay{position:fixed;inset:0;background:rgba(9,25,47,.48);z-index:9996;backdrop-filter:blur(3px)}
.rt-assist-panel{position:fixed;right:18px;bottom:18px;top:58px;width:min(1080px,calc(100vw - 36px));z-index:9997;background:#fff;border:1px solid rgba(23,57,102,.16);border-radius:28px;box-shadow:0 34px 100px rgba(9,25,47,.34);overflow:hidden;display:flex;flex-direction:column;font-family:Montserrat,Arial,sans-serif;color:var(--rta-ink)}
.rt-assist-panel-head{min-height:72px;padding:14px 18px 14px 22px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,var(--rta-blue),#09192f);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}
.rt-assist-panel-head small{display:block;color:var(--rta-gold);font-size:10px;font-weight:950;letter-spacing:.16em;margin-bottom:4px}.rt-assist-panel-head strong{display:block;color:#fff;font-size:16px;font-weight:950;letter-spacing:-.02em}.rt-assist-panel-close{appearance:none;border:0;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.18s ease}.rt-assist-panel-close:hover{background:var(--rta-gold);color:var(--rta-blue);transform:rotate(90deg)}
.rt-assist-panel-body{flex:1;overflow:auto;background:#f8fafc}.rt-assist-panel-body #rt-assistant-app{min-height:100%;padding:18px 0 26px;background:#f8fafc}.rt-assist-panel-body .rta-shell{max-width:100%;padding:0 18px}.rt-assist-panel-body .rta-hero{border-radius:22px;padding:26px;grid-template-columns:1fr 150px}.rt-assist-panel-body .rta-hero h1{font-size:34px}.rt-assist-panel-body .rta-root-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rt-assist-panel-body .rta-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rt-assist-panel-body .rta-two-col{grid-template-columns:1fr 320px}.rt-assist-panel-body .rta-price-proof-card{grid-template-columns:1fr}.rt-assist-panel-body .rta-why-card{top:18px}.rt-assist-panel[hidden],.rt-assist-overlay[hidden]{display:none!important}
@media(max-width:900px){.rt-assist-panel{left:10px;right:10px;top:10px;bottom:10px;width:auto;border-radius:22px}.rt-assist-panel-body .rta-root-grid,.rt-assist-panel-body .rta-choice-grid,.rt-assist-panel-body .rta-product-grid,.rt-assist-panel-body .rta-related-grid,.rt-assist-panel-body .rta-budget-row{grid-template-columns:1fr}.rt-assist-panel-body .rta-two-col{grid-template-columns:1fr}.rt-assist-panel-body .rta-hero{grid-template-columns:1fr}.rt-assist-panel-head strong{font-size:14px}}


/* Compact embedded chatbox correction — 20260619-chatbox3
   Scope: only the embedded website panel. Full /assistant.php page remains unchanged. */
body.rta-panel-open{overflow:auto!important}
body.rta-panel-open .rt-assist-floating{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(8px)!important}
.rt-assist-overlay{display:none!important;background:transparent!important;backdrop-filter:none!important;pointer-events:none!important}
.rt-assist-floating{z-index:2147483645!important;max-width:220px!important}
.rt-assist-panel{top:auto!important;left:auto!important;right:18px!important;bottom:18px!important;width:420px!important;max-width:calc(100vw - 22px)!important;height:min(680px,calc(100vh - 36px))!important;max-height:calc(100vh - 36px)!important;border-radius:24px!important;z-index:2147483646!important;box-shadow:0 26px 80px rgba(9,25,47,.38)!important}
.rt-assist-panel-head{min-height:58px!important;padding:11px 13px 11px 16px!important}
.rt-assist-panel-head small{font-size:9px!important;letter-spacing:.13em!important;margin-bottom:3px!important}
.rt-assist-panel-head strong{font-size:13px!important;line-height:1.25!important;max-width:300px!important}
.rt-assist-panel-close{width:36px!important;height:36px!important;min-width:36px!important}
.rt-assist-panel-body{background:#f8fafc!important}
.rt-assist-panel-body #rt-assistant-app{padding:12px 0 16px!important;background:#f8fafc!important}
.rt-assist-panel-body .rta-shell{padding:0 12px!important;max-width:100%!important}
.rt-assist-panel-body .rta-hero{grid-template-columns:1fr auto!important;gap:12px!important;padding:16px!important;border-radius:18px!important;margin-bottom:14px!important;min-height:0!important}
.rt-assist-panel-body .rta-hero:before{display:none!important}
.rt-assist-panel-body .rta-kicker{font-size:9px!important;letter-spacing:.14em!important;margin-bottom:6px!important}
.rt-assist-panel-body .rta-hero h1{font-size:22px!important;line-height:1.05!important;margin-bottom:6px!important;letter-spacing:-.04em!important}
.rt-assist-panel-body .rta-hero p{font-size:12px!important;line-height:1.5!important;max-width:none!important;margin:0!important}
.rt-assist-panel-body .rta-hero-badge{min-height:58px!important;width:58px!important;min-width:58px!important;border-radius:18px!important;padding:0!important}
.rt-assist-panel-body .rta-hero-badge.rta-hero-icon i{font-size:22px!important;color:#fff!important;margin-bottom:3px!important}
.rt-assist-panel-body .rta-hero-badge.rta-hero-icon span{font-size:8px!important;letter-spacing:.09em!important;margin:0!important;line-height:1.1!important;color:var(--rta-gold)!important}
.rt-assist-panel-body .rta-root-grid,.rt-assist-panel-body .rta-choice-grid,.rt-assist-panel-body .rta-product-grid,.rt-assist-panel-body .rta-related-grid,.rt-assist-panel-body .rta-budget-row{grid-template-columns:1fr!important;gap:10px!important}
.rt-assist-panel-body .rta-root-card{min-height:auto!important;padding:13px 14px!important;border-radius:16px!important;display:grid!important;grid-template-columns:44px 1fr!important;column-gap:12px!important;align-items:center!important;text-align:left!important}
.rt-assist-panel-body .rta-root-card i{width:44px!important;height:44px!important;font-size:18px!important;margin:0!important;grid-row:1 / span 2!important}
.rt-assist-panel-body .rta-root-card strong{font-size:14px!important;line-height:1.25!important;margin:0 0 3px!important}
.rt-assist-panel-body .rta-root-card span{font-size:11px!important;line-height:1.35!important;margin:0!important}
.rt-assist-panel-body .rta-general-card{padding:14px!important;border-radius:16px!important;margin-top:12px!important}
.rt-assist-panel-body .rta-general-card h3{font-size:16px!important;margin-bottom:4px!important}
.rt-assist-panel-body .rta-general-card p{font-size:11px!important;line-height:1.45!important}
.rt-assist-panel-body .rta-mini-tags{gap:6px!important}
.rt-assist-panel-body .rta-tag{font-size:9px!important;padding:5px 7px!important}
.rt-assist-panel-body .rta-two-col{grid-template-columns:1fr!important;gap:12px!important}
.rt-assist-panel-body .rta-main-card{padding:16px!important;border-radius:18px!important}
.rt-assist-panel-body .rta-main-card h1,.rt-assist-panel-body .rta-results-head h1{font-size:21px!important;line-height:1.12!important;margin-bottom:6px!important}
.rt-assist-panel-body .rta-main-card h2{font-size:13px!important;margin:14px 0 9px!important}
.rt-assist-panel-body .rta-muted{font-size:12px!important;line-height:1.5!important}
.rt-assist-panel-body .rta-choice,.rt-assist-panel-body .rta-budget{padding:12px!important;border-radius:15px!important}
.rt-assist-panel-body .rta-choice strong,.rt-assist-panel-body .rta-budget strong{font-size:13px!important;line-height:1.25!important}
.rt-assist-panel-body .rta-choice span,.rt-assist-panel-body .rta-budget span{font-size:11px!important;line-height:1.35!important}
.rt-assist-panel-body .rta-action-row{flex-direction:column!important;align-items:stretch!important;margin-top:14px!important}
.rt-assist-panel-body .rta-primary,.rt-assist-panel-body .rta-secondary,.rt-assist-panel-body .rta-free-search button,.rt-assist-panel-body .rta-proof-form button,.rt-assist-panel-body .rta-deadend-search button,.rt-assist-panel-body .rta-lead-grid button{width:100%!important;justify-content:center!important;padding:12px 14px!important;font-size:11px!important}
.rt-assist-panel-body .rta-back{font-size:11px!important;margin-bottom:10px!important}
.rt-assist-panel-body .rta-why-card{position:static!important;padding:15px!important;border-radius:18px!important}
.rt-assist-panel-body .rta-why-card h3{font-size:16px!important;margin-bottom:7px!important}
.rt-assist-panel-body .rta-why-card li{font-size:11px!important;line-height:1.45!important;margin-bottom:6px!important}
.rt-assist-panel-body .rta-results-head{display:block!important;margin-bottom:12px!important;padding:15px!important;border-radius:18px!important}
.rt-assist-panel-body .rta-results-head p{font-size:12px!important;line-height:1.45!important;margin-bottom:10px!important}
.rt-assist-panel-body .rta-section-title{align-items:flex-start!important;margin-bottom:9px!important}
.rt-assist-panel-body .rta-section-title h2{font-size:15px!important;line-height:1.2!important}
.rt-assist-panel-body .rta-product-section,.rt-assist-panel-body .rta-related-section,.rt-assist-panel-body .rta-price-proof-card,.rt-assist-panel-body .rta-deadend-card{padding:14px!important;border-radius:18px!important;margin-bottom:12px!important}
.rt-assist-panel-body .rta-product-card{border-radius:17px!important}
.rt-assist-panel-body .rta-product-card img{height:132px!important;padding:10px!important}
.rt-assist-panel-body .rta-product-body{padding:12px!important}
.rt-assist-panel-body .rta-product-body h3{font-size:13px!important;min-height:0!important;margin-bottom:6px!important}
.rt-assist-panel-body .rta-product-body p{font-size:11px!important;height:auto!important;max-height:46px!important;margin-bottom:9px!important}
.rt-assist-panel-body .rta-product-bottom{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;align-items:stretch!important}
.rt-assist-panel-body .rta-product-bottom strong{font-size:15px!important}
.rt-assist-panel-body .rta-product-bottom a{text-align:center!important;font-size:11px!important;padding:9px 10px!important}
.rt-assist-panel-body .rta-price-proof-card{display:block!important}
.rt-assist-panel-body .rta-price-proof-card h2,.rt-assist-panel-body .rta-deadend-card h2{font-size:16px!important}
.rt-assist-panel-body .rta-price-proof-card p,.rt-assist-panel-body .rta-deadend-card p{font-size:11px!important;line-height:1.5!important;margin-bottom:10px!important}
.rt-assist-panel-body .rta-proof-form,.rt-assist-panel-body .rta-deadend-search,.rt-assist-panel-body .rta-free-search div,.rt-assist-panel-body .rta-lead-grid{grid-template-columns:1fr!important;gap:8px!important}
.rt-assist-panel-body input,.rt-assist-panel-body textarea{font-size:12px!important;padding:11px 12px!important;min-height:42px!important}
.rt-assist-panel-body .rta-lead-card{padding:14px!important;border-radius:18px!important}
.rt-assist-panel-body .rta-lead-card h3{font-size:15px!important}
.rt-assist-panel-body .rta-lead-card p{font-size:11px!important;line-height:1.45!important}
.rt-assist-panel[hidden],.rt-assist-overlay[hidden]{display:none!important}
@media(max-width:480px){.rt-assist-panel{right:8px!important;bottom:8px!important;width:calc(100vw - 16px)!important;height:min(660px,calc(100vh - 16px))!important;max-height:calc(100vh - 16px)!important;border-radius:20px!important}.rt-assist-panel-body .rta-hero{grid-template-columns:1fr!important}.rt-assist-panel-body .rta-hero-badge{display:none!important}.rt-assist-floating{right:10px!important;bottom:72px!important;max-width:205px!important}}

/* Smart UX revamp 20260619-smart4 */
.rt-assist-panel{z-index:2147483600!important}
.rt-assist-floating{z-index:2147483599!important}
.rt-assist-overlay{z-index:2147483500!important;background:transparent!important;pointer-events:none!important}
body.rta-panel-open .rt-assist-floating{display:none!important}

.rta-choice,.rta-budget,.rta-feature-chip{position:relative!important;text-align:left!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important}
.rta-check{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;min-width:20px!important;border-radius:999px!important;border:2px solid #d8e0ec!important;background:#fff!important;color:transparent!important;margin:0 0 8px!important;box-shadow:0 2px 6px rgba(13,42,77,.08)!important}
.rta-choice.is-active,.rta-budget.is-active,.rta-feature-chip.is-active{background:#fff3bf!important;border-color:#f5b400!important;box-shadow:0 12px 28px rgba(245,180,0,.20)!important;transform:translateY(-1px)!important}
.rta-choice.is-active .rta-check,.rta-budget.is-active .rta-check,.rta-feature-chip.is-active .rta-check{background:#f5b400!important;border-color:#f5b400!important;color:#12365d!important}
.rta-choice.is-active strong,.rta-budget.is-active strong,.rta-feature-chip.is-active strong{color:#0e3159!important}
.rta-choice.is-active:after,.rta-budget.is-active:after,.rta-feature-chip.is-active:after{content:'Selected';position:absolute;top:10px;right:10px;background:#12365d;color:#fff;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}

.rta-smart-box{margin-top:16px!important;padding:14px!important;border:1px solid #e0e7f1!important;border-radius:18px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;box-shadow:0 14px 32px rgba(13,42,77,.06)!important}
.rta-smart-head{display:flex!important;justify-content:space-between!important;gap:10px!important;align-items:flex-start!important;margin-bottom:10px!important}
.rta-smart-head strong{display:block!important;color:#12365d!important;font-size:15px!important;line-height:1.15!important}
.rta-smart-head small{font-size:11px!important;line-height:1.35!important;color:#63758d!important;text-align:right!important;max-width:160px!important}
.rta-feature-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.rta-feature-chip{border:1px solid #dfe7f2!important;background:#fff!important;border-radius:14px!important;padding:10px!important;color:#12365d!important;cursor:pointer!important;display:block!important;min-height:82px!important}
.rta-feature-chip strong{display:block!important;font-size:12px!important;line-height:1.2!important;margin-bottom:4px!important;color:#173b65!important}
.rta-feature-chip em{display:block!important;font-style:normal!important;font-size:10px!important;line-height:1.3!important;color:#6f7f94!important}

.rta-selected-line{display:inline-flex!important;align-items:center!important;gap:7px!important;background:#fff3bf!important;border:1px solid #f5b400!important;color:#12365d!important;border-radius:999px!important;padding:6px 10px!important;font-size:11px!important;font-weight:700!important;max-width:100%!important;line-height:1.25!important}
.rta-selected-line i{color:#d49a00!important}
.rta-selected-line span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

.rta-product-card{overflow:hidden!important}
.rta-product-image-wrap{position:relative!important;background:#fff!important;border-radius:16px 16px 0 0!important;overflow:hidden!important}
.rta-product-ribbon{position:absolute!important;top:9px!important;left:9px!important;background:#d23b21!important;color:#fff!important;border-radius:999px!important;font-size:9px!important;font-weight:900!important;padding:4px 7px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.rta-price-match-tag{margin-top:10px!important;width:100%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px dashed #f5b400!important;background:#fff9df!important;color:#12365d!important;border-radius:999px!important;padding:8px 10px!important;font-weight:900!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important;cursor:pointer!important}
.rta-price-match-tag.is-active{background:#f5b400!important;border-color:#f5b400!important;color:#12365d!important}
.rta-inline-proof{margin-top:9px!important;padding:10px!important;border-radius:14px!important;border:1px solid #f1d271!important;background:#fffdf2!important}
.rta-inline-proof label{display:block!important;font-size:10px!important;font-weight:900!important;color:#12365d!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-bottom:7px!important}
.rta-inline-proof input{width:100%!important;margin:0 0 7px!important;border:1px solid #dde6f0!important;border-radius:12px!important;padding:9px 10px!important;font-size:11px!important;background:#fff!important;color:#12365d!important;min-height:38px!important}
.rta-inline-proof button{width:100%!important;border:0!important;background:#12365d!important;color:#fff!important;border-radius:12px!important;padding:10px!important;font-weight:900!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important;cursor:pointer!important}
.rta-proof-done{display:flex!important;align-items:center!important;gap:7px!important;color:#12365d!important;font-size:12px!important;font-weight:800!important}
.rta-proof-done i{color:#129b52!important}

.rt-assist-panel-body .rta-choice,.rt-assist-panel-body .rta-budget,.rt-assist-panel-body .rta-feature-chip{padding:11px!important;border-radius:14px!important}
.rt-assist-panel-body .rta-choice,.rt-assist-panel-body .rta-budget{display:block!important;min-height:74px!important}
.rt-assist-panel-body .rta-check{width:18px!important;height:18px!important;min-width:18px!important;margin-bottom:6px!important;font-size:10px!important}
.rt-assist-panel-body .rta-choice.is-active:after,.rt-assist-panel-body .rta-budget.is-active:after,.rt-assist-panel-body .rta-feature-chip.is-active:after{top:8px!important;right:8px!important;font-size:8px!important;padding:3px 6px!important}
.rt-assist-panel-body .rta-smart-box{padding:12px!important;border-radius:16px!important;margin-top:13px!important}
.rt-assist-panel-body .rta-smart-head{display:block!important;margin-bottom:9px!important}
.rt-assist-panel-body .rta-smart-head small{text-align:left!important;display:block!important;max-width:none!important;margin-top:4px!important}
.rt-assist-panel-body .rta-feature-grid{grid-template-columns:1fr!important;gap:8px!important}
.rt-assist-panel-body .rta-feature-chip{min-height:0!important}
.rt-assist-panel-body .rta-feature-chip strong{font-size:12px!important}
.rt-assist-panel-body .rta-feature-chip em{font-size:10px!important}
.rt-assist-panel-body .rta-selected-line{font-size:10px!important;border-radius:14px!important;white-space:normal!important;align-items:flex-start!important}
.rt-assist-panel-body .rta-selected-line span{white-space:normal!important}
.rt-assist-panel-body .rta-product-image-wrap img{height:132px!important;width:100%!important;object-fit:contain!important;padding:10px!important}
.rt-assist-panel-body .rta-price-match-tag{font-size:9px!important;padding:8px!important}

/* Do not show old separate price proof card in normal product result layout. Price matching now lives on each product card. */
.rt-assist-panel-body .rta-product-section + .rta-price-proof-card{display:none!important}

@media(max-width:480px){.rt-assist-panel-body .rta-feature-grid{grid-template-columns:1fr!important}.rta-choice.is-active:after,.rta-budget.is-active:after,.rta-feature-chip.is-active:after{content:'✓'!important;font-size:11px!important;padding:2px 6px!important}}

/* Real matching engine patch 20260619-match5 */
.rta-blueprint-head p,.rta-setup-plan>p{font-weight:600!important;color:#405672!important}
.rta-match-reasons{margin-top:8px!important;padding:8px!important;border-radius:12px!important;background:#f7faff!important;border:1px solid #e3ebf6!important}
.rta-match-reasons strong{display:block!important;font-size:10px!important;color:#12365d!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-bottom:5px!important}
.rta-match-reasons span{display:inline-flex!important;margin:0 4px 4px 0!important;background:#fff3bf!important;color:#12365d!important;border:1px solid #f5b400!important;border-radius:999px!important;padding:4px 7px!important;font-size:10px!important;font-weight:800!important}
.rt-assist-panel-body .rta-match-reasons{padding:7px!important}
.rt-assist-panel-body .rta-match-reasons span{font-size:9px!important;padding:3px 6px!important}
