/* The dialog lives outside the routed app shell. Keep its styles local. */
html:has(#atinex-compare[open]){overflow:hidden}
#atinex-compare{
  --cmp-muted:#a6a6b5;--cmp-border:#30303b;--cmp-pad:26px;
  width:min(720px,calc(100vw - 32px));max-width:none;height:auto;
  max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);
  position:fixed;inset:0;margin:auto;padding:0;border:1px solid #393844;
  border-radius:26px;overflow:hidden;color:#f5f4fb;background:#111117;
  font-family:Peyda,sans-serif;font-size:15px;line-height:1.55;color-scheme:dark;
  box-shadow:0 34px 120px #000a;text-align:right;
}
#atinex-compare[open]{display:flex;flex-direction:column}
#atinex-compare::backdrop{background:rgb(3 4 9 / .74);backdrop-filter:blur(9px)}
#atinex-compare *{box-sizing:border-box}
#atinex-compare :is(button,select,input){font-family:inherit;cursor:pointer}
#atinex-compare button{background:none;color:inherit;border:none;padding:0;margin:0;min-width:0}
#atinex-compare :is(button,a,select):focus-visible,
#atinex-compare .cmp-graph:has(input:focus-visible){outline:2px solid #fff;outline-offset:2px}
#atinex-compare .cmp-c0{--trace:#ff66b4}
#atinex-compare .cmp-c1{--trace:#52dded}
#atinex-compare .cmp-header{display:flex;align-items:center;justify-content:space-between;padding:18px var(--cmp-pad) 14px;gap:14px}
#atinex-compare h2{font-size:1.34rem;line-height:1.4;font-weight:690;margin:0;color:#faf9fd}
#atinex-compare #compare-close{display:grid;place-items:center;background:#202028;border-radius:50%;width:38px;height:38px}
#atinex-compare #compare-close:hover{background:#33333f}
#atinex-compare :is(#compare-close,.cmp-picker) svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
#atinex-compare .cmp-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px var(--cmp-pad) 18px;scrollbar-width:thin;scrollbar-color:#42414d transparent}
#atinex-compare :is(.cmp-pair,.cmp-footer){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#atinex-compare .cmp-product{min-width:0;padding:12px 15px;border-radius:17px;background:linear-gradient(150deg,color-mix(in srgb,var(--trace) 8%,#17171f),#17171f 85%);border:1px solid var(--cmp-border)}
#atinex-compare .cmp-picker{position:relative;display:flex;align-items:center}
#atinex-compare .cmp-picker i{position:absolute;right:0;width:8px;height:8px;border-radius:50%;background:var(--trace);pointer-events:none}
#atinex-compare .cmp-picker svg{position:absolute;left:0;width:16px;color:#c0bfcc;pointer-events:none}
#atinex-compare select{display:block;appearance:none;width:100%;min-width:0;height:38px;text-overflow:ellipsis;font-size:1rem;line-height:normal;font-weight:640;padding:0 15px 0 19px;border:none;background:transparent;color:#faf9ff;border-radius:5px}
#atinex-compare :is(optgroup,option){color:#f5f4fb;background:#1e1e28}
#atinex-compare option:disabled{color:#737380}
#atinex-compare .cmp-readout{display:flex;justify-content:space-between;align-items:baseline;gap:4px;flex-wrap:wrap}
#atinex-compare .cmp-readout strong{color:var(--trace);font-size:1.65rem;font-weight:620;font-variant-numeric:tabular-nums;line-height:1.45}
#atinex-compare .cmp-readout small{font-size:.8rem;color:var(--cmp-muted);font-weight:440}
#atinex-compare .cmp-toolbar,#atinex-compare .cmp-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.84rem;color:var(--cmp-muted)}
#atinex-compare .cmp-toolbar{margin:20px 0 12px}
#atinex-compare :is(.cmp-caption,.cmp-toolbar) b{color:#e5e4ec;font-weight:540}
#atinex-compare .cmp-toolbar div{display:flex;gap:2px;padding:3px;background:#1c1c25;border-radius:13px}
#atinex-compare .cmp-toolbar button{font-size:.83rem;font-weight:500;color:#bcbcc8;padding:6px 15px;border-radius:10px;min-height:34px}
#atinex-compare .cmp-toolbar button[aria-pressed=true]{color:white;background:#363640}
#atinex-compare .cmp-chart{padding:2px 52px 0 5px;direction:ltr}
#atinex-compare .cmp-graph{position:relative;height:clamp(138px,23vh,202px);isolation:isolate}
#atinex-compare .cmp-graph>svg{width:100%;height:100%;display:block;overflow:visible}
#atinex-compare .cmp-line{color:var(--trace)}
#atinex-compare .cmp-axis span{position:absolute;left:calc(100% + 10px);transform:translateY(-50%);white-space:nowrap;font-size:.73rem;color:var(--cmp-muted)}
#atinex-compare .cmp-guide{position:absolute;inset-block:0;width:0;border-left:1px dashed #ffffff48}
#atinex-compare .cmp-dot{position:absolute;transform:translate(-50%,-50%);width:9px;height:9px;border-radius:50%;border:1.5px solid #111117;background:var(--trace);box-shadow:0 0 9px color-mix(in srgb,var(--trace) 42%,transparent)}
#atinex-compare #compare-cursor{position:absolute;inset:0;margin:0;padding:0;width:100%;height:100%;opacity:0;cursor:crosshair;direction:ltr;touch-action:pan-y}
#atinex-compare .cmp-times{display:flex;justify-content:space-between;font-size:.75rem;color:var(--cmp-muted);margin-top:4px}
#atinex-compare .cmp-caption{margin:15px 0 20px}
#atinex-compare .cmp-caption span:last-child{font-size:.75rem}
#atinex-compare :is(.cmp-note,.cmp-empty){font-size:.8rem;color:var(--cmp-muted);line-height:1.9;margin:14px 0 0}
#atinex-compare .cmp-empty{padding:14px;background:#1c1c24;border-radius:14px;margin-bottom:20px}
#atinex-compare .cmp-metrics{width:100%;table-layout:fixed;border-collapse:collapse;line-height:1.6;font-size:.9rem}
#atinex-compare .cmp-metrics :is(th,td){padding:10px 4px;border-bottom:1px solid #272731;text-align:center;overflow-wrap:anywhere;font-weight:490;font-variant-numeric:tabular-nums}
#atinex-compare .cmp-metrics th:first-child{color:var(--cmp-muted);text-align:right;padding-right:0}
#atinex-compare .cmp-metrics thead th{background:#1b1b24;color:var(--trace);font-weight:620}
#atinex-compare .cmp-metrics thead th:first-child{padding-right:12px;border-radius:0 11px 0 0}
#atinex-compare .cmp-metrics thead th:last-child{border-radius:11px 0 0 0}
#atinex-compare .cmp-metrics a{color:inherit;text-underline-offset:4px;text-decoration:underline;text-decoration-color:#777783}
#atinex-compare .cmp-footer{padding:14px var(--cmp-pad) max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--cmp-border);background:#14141d}
#atinex-compare .cmp-footer button{border-radius:14px;padding:9px 5px;color:#fff;font-size:.93rem;font-weight:630;background:color-mix(in srgb,var(--trace) 13%,#171720);border:1px solid color-mix(in srgb,var(--trace) 43%,transparent)}
#atinex-compare .cmp-footer button:hover{background:color-mix(in srgb,var(--trace) 22%,#171720)}
#atinex-compare .cmp-footer small{display:block;color:var(--trace);font-size:.77rem;font-weight:540}
@media(max-width:560px){
  #atinex-compare{--cmp-pad:16px;width:100%;margin:auto 0 0;max-height:96vh;max-height:96dvh;border-radius:22px 22px 0 0;border-bottom:0}
  #atinex-compare .cmp-header{padding-block:12px 9px}
  #atinex-compare h2{font-size:1.14rem}
  #atinex-compare :is(.cmp-pair,.cmp-footer){gap:8px}
  #atinex-compare .cmp-product{padding:5px 9px 10px;border-radius:13px}
  #atinex-compare select{font-size:.85rem;height:42px;padding-right:12px;padding-left:15px}
  #atinex-compare .cmp-picker i{width:6px;height:6px}
  #atinex-compare .cmp-picker svg{width:13px}
  #atinex-compare .cmp-readout{align-items:start;flex-direction:column;gap:0}
  #atinex-compare .cmp-readout strong{font-size:1.36rem}
  #atinex-compare .cmp-readout small{font-size:.73rem}
  #atinex-compare .cmp-toolbar{margin-top:13px;gap:10px}
  #atinex-compare .cmp-toolbar div{width:100%}
  #atinex-compare .cmp-toolbar button{flex:1;padding-inline:3px;min-height:36px}
  #atinex-compare .cmp-graph{height:155px}
  #atinex-compare .cmp-chart{padding-right:43px}
  #atinex-compare .cmp-caption{font-size:.76rem}
  #atinex-compare .cmp-metrics{font-size:.8rem}
  #atinex-compare .cmp-footer{padding-top:10px}
  #atinex-compare .cmp-footer button{font-size:.84rem}
}
@media(max-height:490px){
  #atinex-compare{max-height:100dvh}
  #atinex-compare .cmp-header,#atinex-compare .cmp-footer{padding-block:5px}
  #atinex-compare .cmp-footer button{padding-block:4px}
}

#atinex-compare :is(.cmp-toolbar button,.cmp-picker select,#compare-close){min-height:44px}
#atinex-compare #compare-close{min-width:44px}
#atinex-compare .cmp-metrics :is(td,th){line-height:1.6;padding-block:11px;overflow-wrap:anywhere}
#atinex-compare .cmp-metrics td{font-size:.9rem}
#atinex-compare .cmp-metrics th{font-size:.84rem}
#atinex-compare .cmp-note{font-size:.82rem;line-height:1.9}
#atinex-compare .cmp-toolbar button{min-width:44px}
@media(max-width:400px){#atinex-compare .cmp-toolbar{flex-wrap:wrap}#atinex-compare .cmp-metrics td{font-size:.84rem}}

#compare-budget{display:block;width:100%;min-height:46px;margin:12px 0;padding:9px 13px;border:1px solid #6d3853;border-radius:12px;background:#30202c;color:#ffc2df;font-size:.95rem;font-weight:650}
#compare-budget:hover{background:#48283b}
.cmp-metrics td,.cmp-product [data-cmp-return]{overflow-wrap:anywhere}
