.mega-comparison791{border-top:1px solid #627a8b;padding-top:12px;margin-top:12px;overflow-wrap:anywhere}.mega-comparison791 table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}.mega-comparison791 caption{text-align:left;font-weight:700;margin:8px 0}.mega-comparison791 th,.mega-comparison791 td{padding:8px 5px;border-bottom:1px solid #536878;text-align:right}.mega-comparison791 th:first-child{text-align:left}.mega-comparison791 p{line-height:1.5}.mega-gain791{color:#b8f1c8}.mega-loss791{color:#ffbe9d}.mega-prep791{flex-basis:100%;display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;background:#182e42;border:1px solid #a994bf;border-radius:10px;overflow-wrap:anywhere}.mega-prep791 strong{flex:1 1 230px}.mega-prep791 button{min-height:44px}.mega-comparison791 small{display:block;line-height:1.5}@media(max-width:420px){.mega-comparison791 table{font-size:12px}.mega-comparison791 th,.mega-comparison791 td{padding:8px 3px}.mega-prep791 button{width:100%}}

/* Compact candidate cards, fixed dialog navigation and high-contrast comparison. */
#collection-dialog:has(.mega-screen792){display:flex!important;flex-direction:column;overflow:hidden!important;box-sizing:border-box;max-height:calc(100dvh - 20px)!important;width:min(800px,calc(100vw - 20px))!important;gap:10px}
#collection-dialog:has(.mega-screen792) #collection-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding:12px;flex:1;max-width:100%}
#collection-dialog:has(.mega-screen792) #collection-dialog-close{flex:none;margin:0;min-height:48px!important;width:100%}
.mega-screen792{min-width:0}.mega-header792{background:#f6f8fc;padding:4px 0 12px;border-bottom:1px solid #9caeb9}.mega-header792 h2{margin-top:4px}.mega-details792 summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:12px 4px;font-weight:700;list-style-position:inside}.mega-details792:focus-within{scroll-margin:12px}.mega-screen792 .mega-gain791{color:#22613c}.mega-screen792 .mega-loss791{color:#8b351d}.mega-screen792 .mega-comparison791{border-color:#82958a}.mega-screen792 .mega-comparison791 td,.mega-screen792 .mega-comparison791 th{border-color:#b1bdb3}.mega-screen792 .mega-comparison791 table{table-layout:fixed}.mega-screen792 .mega-comparison791 th:first-child{width:34%;overflow-wrap:normal}.mega-screen792 button{touch-action:manipulation}.mega-details792 summary:focus-visible{outline:3px solid #ad7020;outline-offset:-3px}
@media(max-width:420px){.mega-screen792 .prep-partner788{padding:10px}.mega-screen792 .mega-comparison791 table{font-size:12px}.mega-screen792 .mega-comparison791 th,.mega-screen792 .mega-comparison791 td{padding:9px 2px}.mega-screen792 h2{font-size:23px}}
.mega-prep791{background:#edf1f9;color:#243d3a;border-color:#8b7d9c}.mega-prep791 :is(strong,p){color:#243d3a!important}
