/* Shared five-company comparison dock, used by both renewed and retained pages. */
:root{--compare-dock-width:320px}
body.has-compare-dock #main,body.has-compare-dock #footer{margin-right:350px}
#compare-tray{position:static;inset:auto;width:auto;transform:none;z-index:auto}
.compare-dock{position:fixed;z-index:35;right:18px;top:112px;bottom:22px;width:var(--compare-dock-width);padding:24px 21px;border:1px solid #dce6f4;border-radius:20px;background:#fff;box-shadow:0 10px 35px #183b6a12;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;color:#142540;font-family:'DM Sans','Noto Sans KR',system-ui,sans-serif;line-height:1.6}
.compare-dock-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px;font-size:16px}.compare-dock-toolbar button{border:0;background:none;color:#8090a6;font:inherit;cursor:pointer}.compare-dock-toolbar a{color:#487ff1;font-weight:600}.compare-dock-hide{display:none}
.compare-graph-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:23px}.compare-graph-eyebrow{font-size:16px;letter-spacing:.14em;font-weight:700;color:#7494c6}.compare-graph-head h2{font-size:21px;line-height:1.4;letter-spacing:-.05em;margin:7px 0 0;font-weight:800}.compare-graph-count{font-size:16px;white-space:nowrap;color:#487ff1;background:#edf4ff;padding:5px 9px;border-radius:7px;font-weight:700}
.compare-metric-label{display:block;font-size:16px;color:#73849b;margin-bottom:7px}.compare-metric-select{display:block;width:100%;padding:11px 9px;border:1px solid #dfe6f0;border-radius:10px;background:#f8faff;color:#273d5a;font-size:16px;min-height:42px}.compare-axis{display:flex;justify-content:space-between;font-size:16px;color:#97a6ba;padding:15px 0 0}.compare-bar-chart{display:grid;gap:21px;margin:15px 0 20px}.compare-bar-row{min-width:0}.compare-bar-label{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:9px;min-height:20px}.compare-bar-label a{font-size:16px;font-weight:600;line-height:1.6;color:#38516f;text-decoration:none;overflow-wrap:anywhere;flex:1}.compare-bar-label i{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;vertical-align:middle}.compare-bar-label button{width:23px;height:23px;min-height:0;flex-shrink:0;padding:0;border:0;border-radius:50%;color:#94a2b7;background:#f3f6fa;font-size:16px;line-height:23px;cursor:pointer}.compare-bar-track{height:10px;overflow:hidden;border-radius:5px;background:#eef2f8}.compare-bar-track>span{display:block;height:100%;min-width:0;border-radius:5px;transition:width .25s}.compare-bar-value{display:block;text-align:right;font-size:16px;font-weight:700;margin-top:5px;color:#263e60}.compare-bar-value small{font-size:16px;font-weight:400;color:#7b8ca4}.compare-graph-note{font-size:16px;line-height:1.8;color:#91a0b5;margin:18px 0}.compare-dock-actions{display:grid;gap:10px;border-top:1px solid #e5ebf3;padding-top:18px}.compare-dock-actions .btn{width:100%;min-height:42px;font-size:16px}.compare-dock .compare-selected-actions{display:flex;gap:12px;justify-content:space-between;font-size:16px;align-items:center}.compare-selected-actions button{border:0;background:transparent;color:#8b9aae;cursor:pointer;font:inherit}.compare-mobile-tray{display:none}.compare-mobile-tray button{font-family:inherit}.compare-legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:7px}.compare-five-table{min-width:1040px}.compare-five-table th:first-child{position:sticky;left:0;z-index:1;min-width:150px}.compare-five-table thead th:first-child{z-index:2}.compare-five-table td{min-width:175px}.compare-five-table thead td{font-size:16px;max-width:220px;overflow-wrap:anywhere}.compare-five-table .compare-clear{margin-top:8px}
@media(min-width:1101px) and (max-width:1500px){body.has-compare-dock #main .wrap,body.has-compare-dock #footer .wrap{width:calc(100% - 56px)}body.has-compare-dock .hero h1{font-size:46px}body.has-compare-dock .hero-art{transform:scale(.75);transform-origin:center right}body.has-compare-dock .hero-inner{min-height:535px}body.has-compare-dock .hero-actions{gap:8px}body.has-compare-dock .hero-actions .btn{font-size:16px;padding:10px 13px}body.has-compare-dock .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.has-compare-dock .category-item:nth-child(n+4){display:none}body.has-compare-dock .home-agencies .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}body.has-compare-dock .detail-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}}
@media(max-width:1100px){body.has-compare-dock #main,body.has-compare-dock #footer{margin-right:0}.compare-dock{display:none;top:auto;bottom:100px;right:16px;width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 195px);padding:22px 20px}.compare-dock.mobile-graph-open{display:block}.compare-dock-hide{display:block}.compare-mobile-tray{display:flex;position:fixed;z-index:36;left:50%;bottom:20px;transform:translateX(-50%);width:min(600px,calc(100% - 30px));align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-radius:15px;background:#142540;color:#fff;box-shadow:0 8px 30px #14254033}.compare-mobile-tray strong{font-size:16px}.compare-mobile-tray p{font-size:16px;color:#b5c4da;margin:4px 0 0}.compare-mobile-actions{display:flex;align-items:center;gap:8px}.compare-mobile-actions .btn{min-height:37px;font-size:16px;padding:8px 12px;border-radius:9px}.compare-mobile-actions button{color:#d4e4ff;background:#273c59;border:1px solid #425979}.compare-five-table{min-width:1000px}body.has-compare-dock #footer{padding-bottom:70px}}
@media(max-width:400px){.compare-mobile-tray{padding:12px;gap:8px}.compare-mobile-actions{gap:6px}.compare-mobile-actions .btn{font-size:16px;padding:8px 9px}.compare-graph-head h2{font-size:20px}.compare-mobile-tray strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.compare-bar-track>span{transition:none}}

.legacy-compare-tray{display:none!important}
