/* DS1 no-borders (Federico 10-23: "no borders"; 10-24: "still many borders"). Loaded last on every page.
   No border, outline, rule or hairline anywhere; keyboard focus rings stay (:focus-visible).
   The :not(#nb...) chain only lifts specificity (ids no element has) so this wins over every
   page's own !important borders. Ring and hairline box-shadows are stripped at the source by
   tools/no_borders_sweep.py. Spinners keep their drawn arc. */
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4),
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body,
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body :not(:focus-visible):not([class*="spin"]):not([class*="loader"]),
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body ::before,
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body ::after{border-style:none!important;border-color:transparent!important;border-image:none!important}
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body :not(:focus-visible){outline:none!important}
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body hr{background:transparent!important;border:0!important;height:0!important}
/* Fields that only had a border to show where to type get a soft fill instead. */
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body :is(#pro-form,#max-form,#claim-form,#pp-form) :is(input:not([type=hidden]):not([tabindex="-1"]),textarea,select){background:#f2f0ea!important;border-radius:10px}
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body .sort select{background-color:#fff!important;border-radius:10px}
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body .search-box{background-color:#fff!important}
/* One soft shadow per floating object, on the outer card only (Federico 10-24): the pieces inside a card
   (info-card groups, agent marks, logo tiles, chips, mock windows) are flat. Buttons keep their key shadow. */
html:root:not(#nb1):not(#nb2):not(#nb3):not(#nb4) body :is(.v3-side, .res, .skr-sheet, .tr-pod, .artifact-window, .ov-org-chief, .panel, .card-artifact, .creator-hero, .ex-card, .ev4 .section) :not(button):not(.btn):not([class*="btn"]):not(:focus-visible){box-shadow:none!important}
