/* Sidebar refinements: retain native routes, counts and event bindings. */
.sidebar{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.sidebar-bottom{margin-top:auto;padding-top:22px;flex-shrink:0}.sidebar .nav-link{min-height:59px;gap:11px}.sidebar .nav-system-name{font-size:14px}.nav-emblem{width:34px;min-width:34px;min-height:40px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid #bda76b38;border-radius:6px;color:#c9ae71}.nav-emblem svg{height:22px;width:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.nav-emblem b{font-size:9px;letter-spacing:.6px}.nav-emblem.divine-draws{color:#a9bb99}.nav-emblem.multi-sport{color:#b5bfcc}.nav-emblem.live-room,.nav-emblem.expert{color:#a0c9bf}.sidebar .nav-link.active{border-color:#b39b67;box-shadow:inset 3px 0 #d6b779;background:#d6b77913}.sidebar .nav-link.active .nav-system-name{font-weight:700}.expert-link small{margin-left:auto;font-size:8px;color:#a5bcb9;letter-spacing:.8px}.sidebar .nav-link[data-view=results]{border:1px solid #8ca5b638;border-radius:6px;margin-top:5px;font-size:15px;font-weight:600;min-height:52px;background:#9ebbc605}.results-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5}.sidebar .settings-entry{display:flex;align-items:center;gap:11px;min-height:70px;width:100%;padding:9px 12px;text-align:left;border:1px solid #899bb338;background:#162131;color:#c4d0e1;border-radius:7px;font:bold 22px Georgia,serif}.settings-gear{font:32px Georgia,serif;color:#b2aa94}.settings-chevron{margin-left:auto;color:#8e9fb4;font-size:20px}.sidebar .settings-entry.active{border-color:#d0b271;background:#d0b27112;box-shadow:inset 3px 0 #d0b271;color:#f4dfaf}.settings-entry.active .settings-gear,.settings-entry.active .settings-chevron{color:#d8b977}.sidebar-bottom .site-link{display:block;padding:10px 5px;font-size:12px}.sidebar-bottom .site-link[href='/']{font-size:11px;opacity:.8}.expert-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 27px}.expert-hub{display:grid;grid-template-columns:1fr 1fr;gap:22px}.expert-hub .risk-card{padding:27px;color:var(--text);text-decoration:none}.expert-hub p{color:var(--muted)}.expert-identity{display:inline-grid;place-items:center;width:58px;height:58px;border:1px solid #9bbab6;border-radius:50%;font:bold 25px Georgia,serif;color:#adc9bc}.expert-identity.valdemar{border-radius:9px;color:#b8c6db;border-color:#94a3bd}.expert-record{padding:23px;margin:16px 0;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.expert-record-meta{display:flex;gap:13px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.expert-record h3{font-size:17px;line-height:1.5;margin:18px 0}.expert-record-facts{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.expert-record-facts small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:5px}.expert-record details{margin-top:20px;color:var(--muted);font-size:12px}.expert-record summary{cursor:pointer}.expert-record pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Arial,sans-serif}.expert-record p{line-height:1.8}.expert-notebook .controls{display:flex;gap:10px;flex-wrap:wrap}.expert-notebook input,.expert-notebook select{padding:12px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:5px}.expert-notebook input{flex:1;min-width:180px}@media(max-width:700px){.expert-hub{grid-template-columns:1fr}.sidebar{max-height:100dvh;padding-bottom:30px}.expert-record{padding:17px}.expert-tabs{gap:8px}.expert-tabs .btn{font-size:12px}.expert-notebook input{min-width:0;width:100%}}

body{--sidebar:260px}.settings-gear svg{width:32px;height:32px;display:block}.nav-emblem.divine-draws svg{stroke-width:0}.expert-record .pill{max-width:100%;overflow-wrap:anywhere}

.sidebar.single-service a[data-view="combined"]{display:none}

.expert-nav-status{margin-left:auto;display:flex;flex-direction:column;align-items:center;gap:5px}.expert-nav-status small{margin:0}.expert-nav-status .count{margin:0;min-width:21px;text-align:center}.expert-count-note{font-size:12px;line-height:1.8;margin-top:20px}.expert-hub h2 .pill{font-family:Arial,sans-serif;vertical-align:middle}
.expert-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%;border:1px solid #9bbab655;flex-shrink:0;background:#fff;image-rendering:auto}.expert-avatar.rafu{width:30px;height:30px}.heading>.expert-avatar{width:42px;height:42px}.heading>.expert-avatar.rafu{width:32px;height:32px}.expert-card-identity{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.expert-hub h2{font-size:23px;line-height:1.4;margin-bottom:11px}.expert-hub .risk-card p{font-size:12px;line-height:1.8}.expert-date{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.expert-date input{flex:0 1 auto!important;min-width:0!important;width:145px}.expert-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0}.expert-pagination span{font-size:12px}.expert-notebook details pre{font-family:Arial,sans-serif}@media(max-width:700px){.expert-hub .risk-card{padding:20px}.expert-tabs .btn{padding:8px 10px}.expert-date{width:100%}.expert-date input{width:auto;flex:1!important}}

/* Expert demo refinement: 30% larger marks, centered source artwork. */
.expert-avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;width:49.4px;height:49.4px}
.expert-avatar.rafu{width:39px;height:39px}
.heading>.expert-avatar{width:54.6px;height:54.6px}
.heading>.expert-avatar.rafu{width:41.6px;height:41.6px}
.expert-avatar img{display:block;width:100%;height:100%;object-fit:cover;flex-shrink:0}
.expert-avatar.cliff img{transform:translate(calc(-5% + 1.5mm),2%) scale(1.16)}
.expert-avatar.pedro img{transform:translate(calc(-4.5% + 1.3mm),calc(-11.5% + 0.6mm)) scale(1.16)}

/* Expert rows reuse the four main systems' signal-row layout/washes. */
.system-tag.expert{color:#a0c9bf}
.expert-notebook .pending-panel,
.expert-notebook .live-panel,
.expert-notebook .history-panel{margin-top:0}
.expert-notebook .toolbar.controls{margin:8px 0 18px}
.expert-notebook .stats{margin-bottom:18px}
.expert-notebook .signal-row .placement-btn{cursor:pointer}
.expert-notebook .signal-row .placement-btn:disabled{cursor:pointer;opacity:1}
/* Personal placeholder next to Source details — inert, no API. */
.expert-notebook .expert-placement-pair{display:flex;flex-direction:column;gap:7px;align-items:stretch}
.expert-notebook .expert-placed-shell{min-height:36px;padding:7px 8px;font-size:10px;opacity:.42;cursor:default;pointer-events:none}
.expert-notebook .expert-placed-shell>span{font-size:14px}
.expert-notebook #pending-rows .table-head,
.expert-notebook #soon-rows .table-head,
.expert-notebook #live-rows .table-head,
.expert-notebook #history-rows .table-head{margin-top:0}
/* Keep Expert selections active chrome identical to the four mains (gold inset). */
.sidebar .nav-link.expert-link.active{border-color:#b39b67;box-shadow:inset 3px 0 #d6b779;background:#d6b77913}
.sidebar .nav-link.expert-link.active .nav-system-name{font-weight:700}
