/* Shared feedback and account structure remain usable in both styles. */
.sh-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; margin:22px 0; padding:16px; text-align:center; }
.sh-pagination p { flex-basis:100%; margin:0; }
.sh-pagination p:empty { display:none; }
.sh-pagination :is(button,a) { min-height:44px; padding:10px 18px; border:1px solid #bdcce0; border-radius:9px; background:#fff; color:#244c82; font-family:inherit; font-size:14px; font-weight:600; line-height:1.5; cursor:pointer; }
.sh-pagination [hidden], .sh-activity-menu [hidden] { display:none!important; }
.sh-pagination[data-state=loading] button { cursor:wait; opacity:.65; }
.sh-menu-section+.sh-menu-section { margin-top:8px; padding-top:12px; border-top:1px solid #dce5ef; }
.sh-menu-section .sh-menu-label { margin:0 10px 5px; }
.sh-menu-section a { justify-content:space-between; gap:14px; }
.sh-activity-menu>summary svg { width:20px; height:20px; flex:none; }
.sh-activity-menu>summary { position:relative; }
.sh-activity-menu .sh-menu-panel { width:min(310px,86vw); }
.sh-activity-count { display:inline-flex; align-items:center; justify-content:center; min-width:21px; height:21px; padding:0 5px; border-radius:12px; background:#2459bc; color:#fff; font-size:11px; line-height:1; font-weight:700; }
.sh-activity-menu>summary>.sh-activity-count { position:absolute; right:-4px; top:0; border:2px solid #fff; }
.sh-activity-menu .sh-menu-label { text-transform:none; letter-spacing:0; }
.sh-activity-menu .sh-menu-panel>p { padding:8px 10px 0; color:#566b87; font-size:13px; }
.sh-activity-menu a { display:flex; justify-content:space-between; align-items:center; gap:12px; }
html[data-surfhub-style="modern"] {
  --og-background:radial-gradient(ellipse at 100% 0%,#dfedf3a6,transparent 40%),radial-gradient(ellipse at 0% 95%,#eaf1ef80,transparent 45%),#f7f9fb;
  --og-line:#dce5eb;
}
html[data-surfhub-style="modern"] .sh-platform :is(.sh-top,.cp-module-bar) { box-shadow:0 1px 3px #17365807,0 8px 28px -18px #17365828; }
@media(min-width:761px) { html[data-surfhub-style="modern"] .sh-top .sh-primary { background:transparent; border-color:transparent; } }
html[data-surfhub-style="modern"] .sh-top .sh-primary a[aria-current=page] { color:#173959; background:#e8eff5; border-color:#d8e4ee; box-shadow:inset 0 -2px #648aab; }
html[data-surfhub-style="modern"] .sh-top .sh-primary a[aria-current=page]:hover { color:#173959; background:#e2edf4; }
html[data-surfhub-style="modern"] .sh-top .sh-account-menu>summary { font-size:14px; }
html[data-surfhub-style="modern"] .sh-top .sh-activity-menu>summary { min-width:44px; min-height:44px; justify-content:center; border-radius:10px; }
html[data-surfhub-style="modern"] .sh-top .sh-activity-word { display:none; }
html[data-surfhub-style="modern"] :is(.sh-style-toggle,.sh-motion-toggle) { box-shadow:none; background:transparent; border-color:transparent; font-size:13px; }
html[data-surfhub-style="modern"] .sh-legacy .inner-news-feed { border-color:#dde6ec; box-shadow:0 3px 16px -10px #18364b20; }
html[data-surfhub-style="modern"] .sh-legacy .inner-news-feed>.user-details { background:#fff; }
html[data-surfhub-style="modern"] .sh-legacy :is(.user-details .name,.comments-div,.time-date,.posted-on) { font-size:14px; }
html[data-surfhub-style="modern"] .sh-legacy .comments-div { line-height:1.65; }
html[data-surfhub-style="modern"] .sh-platform :is(.sh-menu-panel a,.sh-menu-panel button,.cp-tabs a,.cp-review-filters a) { font-size:14px; }
html[data-surfhub-style="modern"] .sh-coaching :is(.cp-panel-intro,.cp-workspace-help,.cp-review-summary,.cp-replay-notes .small) { font-size:14px; line-height:1.7; }
html[data-surfhub-style="modern"] .sh-coaching :is(.cp-desk-summary,.cp-desk-people) { box-shadow:none; background:transparent; border-color:transparent; }
html[data-surfhub-style="modern"] .sh-coaching .cp-desk-summary+.cp-desk-people { border-top-color:#dce5eb; border-radius:0; }
html[data-surfhub-style="modern"] .sh-coaching :is(.recording-clock,.review-clock,.cp-session-dates) { font-variant-numeric:tabular-nums; }
html[data-surfhub-style="modern"] .sh-coaching .cp-start-space { min-height:260px; background:linear-gradient(130deg,#fff,#f2f7fa); box-shadow:none; }
html[data-surfhub-style="modern"] .sh-pagination { color:#52677e; font-size:14px; }
html[data-surfhub-style="modern"] .sh-pagination button { font:600 14px/1.5 var(--og-font); background:#fff; color:#244c82; border-color:#ccdbe7; box-shadow:none; }
html[data-surfhub-style="modern"] .sh-pagination button:focus-visible { outline:3px solid #2563df; outline-offset:3px; }
@media(max-width:760px) {
  .sh-top .sh-account { position:relative; }
  .sh-top .sh-account-menu { position:static; }
  .sh-activity-word { display:none; }
  html[data-surfhub-style="modern"] .sh-top .sh-account { gap:3px; }
  html[data-surfhub-style="modern"] :is(.sh-style-toggle,.sh-motion-toggle) { padding-inline:7px; }
  html[data-surfhub-style="modern"] .sh-coaching .cp-start-space { min-height:220px; }
}
@media(forced-colors:active) {
  .sh-activity-count { color:HighlightText; background:Highlight; border:1px solid ButtonText; }
  html[data-surfhub-style="modern"] .sh-top .sh-primary a[aria-current=page] { color:LinkText; background:Canvas; outline:2px solid Highlight; }
}

html[data-surfhub-style="modern"] .sh-platform .sh-journey.sh-journey-upload { display:none; }

/* Clear surface and type roles across the browsing interface. */
html[data-surfhub-style="modern"] {
  --sh-control-radius:10px;
  --sh-surface-radius:16px;
  --sh-pacific-raised:0 2px 4px #172b4903,0 10px 30px -20px #172b4924;
}
html[data-surfhub-style="modern"] .sh-platform .sh-home-heading::after { display:none; }
html[data-surfhub-style="modern"] .sh-platform :is(.sh-home-heading,.sh-page-heading) { padding-block:16px 12px; }
html[data-surfhub-style="modern"] .sh-platform .sh-home-nav { gap:4px; margin-bottom:0; }
html[data-surfhub-style="modern"] .sh-platform .sh-home-nav a { min-height:44px; padding:9px 14px; font-size:14px; }
html[data-surfhub-style="modern"] .sh-platform .sh-home-nav a[aria-current=page] { background:transparent; border-bottom-color:#2563df; box-shadow:none; }
html[data-surfhub-style="modern"] .sh-legacy .inner-news-feed { border-radius:var(--sh-surface-radius); border-color:#dce4eb; box-shadow:var(--sh-pacific-raised); }
html[data-surfhub-style="modern"] .sh-legacy .inner-news-feed>.user-details { border-radius:var(--sh-surface-radius) var(--sh-surface-radius) 0 0; }
html[data-surfhub-style="modern"] .sh-legacy .inner-news-feed>.user-bottom-options:last-child { border-radius:0 0 var(--sh-surface-radius) var(--sh-surface-radius); }
html[data-surfhub-style="modern"] .sh-legacy .user-details .name { font-size:15px; line-height:1.5; }
html[data-surfhub-style="modern"] .sh-legacy :is(.post_description,.comments-div) { font-size:15px; line-height:1.65; }
html[data-surfhub-style="modern"] .sh-legacy :is(.time-date,.posted-on) { font-size:13px; line-height:1.5; color:#566b87; }
html[data-surfhub-style="modern"] .sh-platform :is(.btn,.sh-video-review,.sh-explore-find,.sh-join) { font-size:14px; border-radius:var(--sh-control-radius); }
html[data-surfhub-style="modern"] .sh-legacy :is(label,.form-check-label,.errorMsg,.invalid-feedback,.successMsg) { font-size:14px; }
html[data-surfhub-style="modern"] .sh-legacy :is(.login-wrap,.register-wrap,.contact-wrap) { border-top-width:1px; }
html[data-surfhub-style="modern"] .sh-legacy :is(.upload-wrap,.login-wrap,.register-wrap,.contact-wrap,.notification-wrap,.profile-photo-edit,.edit-profile-box) { border-radius:var(--sh-surface-radius); box-shadow:var(--sh-pacific-raised); }
html[data-surfhub-style="modern"] .sh-platform :is(.form-control,.form-select,textarea) { scroll-margin-block:90px; }
html[data-surfhub-style="modern"] .sh-platform .sh-menu-panel { transform-origin:top right; border-radius:14px; border-color:#d7e1e9; box-shadow:0 4px 12px #172b4908,0 20px 50px -14px #172b4926; }
html[data-surfhub-style="modern"] .sh-platform .sh-menu-label { font-size:12px; font-weight:600; letter-spacing:.02em; text-transform:none; color:#566b87; }
html[data-surfhub-style="modern"] .sh-platform :is(.sh-menu-panel a,.sh-menu-panel button) { border-radius:8px; transition:background-color 140ms ease,color 140ms ease; }
@media(prefers-reduced-motion:no-preference) {
  html[data-surfhub-style="modern"]:not([data-surfhub-motion="off"]) .sh-account-menu[open]>.sh-menu-panel { animation:sh-menu-arrive 160ms cubic-bezier(.2,.7,.2,1) both; }
  html[data-surfhub-style="modern"]:not([data-surfhub-motion="off"]) .sh-pagination[data-state=loading] [data-pagination-status]::before { animation:sh-loading-turn 800ms linear infinite; }
}
@keyframes sh-menu-arrive { from { opacity:0; transform:translateY(-4px) scale(.985); } to { opacity:1; transform:none; } }
@keyframes sh-loading-turn { to { transform:rotate(360deg); } }
html[data-surfhub-style="modern"] .sh-pagination { min-height:102px; padding-block:12px; }
html[data-surfhub-style="modern"] .sh-pagination [data-pagination-status] { min-height:22px; margin:0; }
html[data-surfhub-style="modern"] .sh-pagination [data-pagination-status]:empty { display:block; }
html[data-surfhub-style="modern"] .sh-pagination[data-state=loading] [data-pagination-status]::before { content:''; display:inline-block; width:13px; height:13px; margin-right:8px; vertical-align:-2px; border:2px solid #c5d4e0; border-top-color:#2459bc; border-radius:50%; }
@media(max-width:640px) {
  html[data-surfhub-style="modern"] .sh-platform :is(.form-control,.form-select,textarea) { font-size:16px; }
}
@media(forced-colors:active) {
  html[data-surfhub-style="modern"] .sh-platform :is(.sh-menu-panel,.inner-news-feed) { border-color:CanvasText; background:Canvas; box-shadow:none; }
  html[data-surfhub-style="modern"] .sh-platform .sh-home-nav a[aria-current=page] { border-bottom-color:Highlight; color:Highlight; }
}
