/* Comparisons (SMAX) view - pages/smax.js. OPCharts styling, vendor-like layout. */
.smx-bar{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.smx-tabs a,.smx-tabs b{margin-left:14px;font-size:13px}
.smx-tabs b{border:2px solid var(--accent,#f7941d);padding:3px 8px;border-radius:2px}
.smx-head{display:flex;justify-content:space-between;align-items:center;background:var(--panel,#fff);border:1px solid #c9ced3;border-radius:3px;padding:8px 12px;margin-bottom:10px}
.smx-name{font-size:22px;font-weight:700;letter-spacing:.2px}
.smx-tk{font-size:13px;font-weight:400;color:#555}
.smx-quote{display:flex;align-items:center;gap:8px}
.smx-date{color:#555;font-size:13px}
.smx-px{font-size:24px;font-weight:600;background:#dff1e6;padding:2px 8px}
.smx-chg{font-size:13px}
.smx-lbl{font-size:12px;color:#444}
.smx-box{display:inline-block;min-width:26px;text-align:center;padding:3px 8px;font-weight:600;border-left:3px solid transparent}
.smx-smax{background:#d6efe0;border-left-color:#2F8E5D}
.smx-rank{background:#fff6a8;border-left-color:#e2c400}
.smx-card{padding:10px 12px}
.smx-ct{font-weight:600;font-size:14px;margin-bottom:8px}
.smx-mini{display:flex;gap:6px;align-items:center;margin-bottom:8px}
.smx-legs{font-weight:400;font-size:13px;margin-left:18px;color:#666}
.smx-legs span{margin-right:18px}
.smx-c1{color:#2F8E5D}.smx-c0{color:#AE3B38}
.smx-rk thead th{background:var(--hdr,#3a3f45);color:#fff;font-size:11px;padding:6px}
.smx-rk td{text-align:center;padding:4px 6px}
.smx-rk td.smx-rn{font-weight:600}
.smx-z-favored{background:#d6efe0}.smx-z-neutral{background:#fff6a8}.smx-z-unfavored{background:#f3d0d0}
.smx-vr{display:inline-block;background:var(--hdr,#3a3f45);color:#fff;font-size:10px;padding:4px 8px;border-radius:2px;text-decoration:none}
.smx-rg{display:flex;gap:4px;align-items:center;margin-bottom:4px}
.smx-r{background:#eef0f2;border:0;font-size:11px;padding:3px 7px;cursor:pointer}
.smx-r.on{background:#d9dde1;font-weight:600}
.smx-dr{margin-left:auto;color:#2a5db0;font-size:12px}
.smx-pw{font-size:9px;font-weight:700;color:#333}
.smx-rk{table-layout:fixed;width:100%}
.smx-rk td,.smx-rk th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.smx-up{color:#2F8E5D}.smx-dn{color:#AE3B38}
.smx-tch{display:flex;align-items:center}
.smx-add{margin-left:auto;display:flex;gap:6px}
.smx-add input{font-size:12px;padding:3px 6px}
.smx-sub{font-weight:600;font-size:12px;background:#eef0f2;padding:6px 8px;margin:6px 0 4px}
.smx-tc{width:100%}
.smx-tc thead th{background:var(--hdr,#3a3f45);color:#fff;font-size:11px;padding:6px}
.smx-tc td{text-align:center;padding:4px 6px}
.smx-tc tr.smx-me td{font-weight:600;background:#f6f7f8}
.smx-rk thead th,.smx-tc thead th{text-align:center}
.smx-rk td,.smx-tc td{text-align:center}
.smx-tch{gap:5px}
/* round 3: vendor-like ticker strip, tinted price, kebab, grey RS body, dark footer, icon buttons */
.smx-bar{background:var(--hdr,#3a3f45);margin:6px 0 10px;padding:0;gap:0;height:34px}
.smx-bar input{background:var(--accent,#f7941d);color:#fff;border:0;font:700 13px inherit;font-family:inherit;padding:0 12px;height:34px;width:150px;outline:none}
.smx-bar input::placeholder{color:#fff}
.smx-go{background:#2c3138;color:#fff;border:0;height:34px;padding:0 10px;font:600 12px inherit;font-family:inherit;cursor:pointer}
.smx-tabs{display:flex;height:34px;align-items:center}
.smx-tabs a,.smx-tabs b{color:#fff;text-decoration:none;font-weight:600;margin-left:16px;font-size:13px}
.smx-tabs b{color:var(--accent,#f7941d);border:2px solid var(--accent,#f7941d);padding:4px 6px}
.smx-px.up{background:#dff1e6;color:#2F8E5D}.smx-px.dn{background:#fbe0df;color:#AE3B38}
.smx-ct{display:flex;align-items:center;gap:6px}.smx-keb{margin-left:auto;font-size:18px;color:#555;line-height:1;padding-left:8px}
.smx-tch .smx-add{margin-left:auto}.smx-tch .smx-keb{margin-left:4px}
.smx-rk tbody td{background:#ececec;border-bottom:1px solid #fff}
.smx-rk tbody td.smx-z-favored{background:#d6efe0}.smx-rk tbody td.smx-z-neutral{background:#fff6a8}.smx-rk tbody td.smx-z-unfavored{background:#f3d0d0}
.smx-rk tbody td.smx-z-favored:nth-child(2),.smx-rk tbody td.smx-z-neutral:nth-child(2),.smx-rk tbody td.smx-z-unfavored:nth-child(2){border-left:3px solid #2F8E5D}
.smx-rk tbody td.smx-z-neutral:nth-child(2){border-left-color:#e2c400}.smx-rk tbody td.smx-z-unfavored:nth-child(2){border-left-color:#AE3B38}
.smx-rk tbody td:nth-child(2){text-decoration:underline}
.smx-foot{background:var(--hdr,#3a3f45);color:#fff;font-size:10px;font-weight:700;padding:12px 10px}
.smx-vr.smx-ico{font-size:13px;padding:3px 8px;line-height:1.2}
/* Round 4: working ⋮ menus, rank-table search + paging */
.smx-kebw{position:relative;margin-left:auto}.smx-keb{background:none;border:0;cursor:pointer;font-size:18px;color:#555;line-height:1;padding:0 4px}
.smx-menu{position:absolute;right:0;top:100%;z-index:20;min-width:150px;background:#fff;border:1px solid #bbb;box-shadow:0 2px 6px rgba(0,0,0,.2);display:flex;flex-direction:column}
.smx-menu[hidden]{display:none}.smx-menu button{background:none;border:0;text-align:left;padding:6px 10px;font-size:12px;color:#222;cursor:pointer}.smx-menu button:hover{background:#eee}
.smx-tools{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin:4px 0}.smx-q{width:180px;padding:3px 6px;font-size:12px}
.smx-pg{float:right}.smx-pg button{background:none;border:1px solid #888;color:inherit;cursor:pointer;padding:0 6px}.smx-pg button:disabled{opacity:.4;cursor:default}
/* Round 4b: REPORTS / COPY TO / ALERT header buttons */
.smx-hb{display:flex;gap:6px;align-items:center;justify-content:flex-end;margin:4px 0}.smx-hb .smx-kebw{margin-left:0}
.smx-hb .smx-hbtn{background:var(--hdr,#2b2f36);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;padding:5px 10px;border-radius:2px}
.smx-menu button:disabled{color:#999;cursor:default}
/* r7: vendor header buttons — light, outlined, dropdown caret; copy/alert with icons */
.smx-hb .smx-hbtn{background:#fff;color:#333;border:1px solid #9a9a9a;font-size:10px;font-weight:600;padding:4px 8px;border-radius:2px;display:inline-flex;align-items:center;gap:3px}.smx-hb .smx-hbtn:hover{background:#f2f2f2}.smx-ico-b{font-size:13px;line-height:1}.smx-caret{font-size:9px;margin-left:2px}
.smx-hb .smx-hbtn{white-space:nowrap}
/* r10: Comparisons header packed from the left (was space-between: name centred, wide gap) */
.smx-head{justify-content:flex-start;gap:12px}.smx-head .cs-symin{margin-right:0}
