/* MiStudio 0.5.19 (R7 T19, Maysam: "too much waste of space and what's with the size inconsistency?"): ONE card style for
   every Inspector section (Properties, the Activity Control Center, every docked command panel), pinned or not.
   Same title size, same header height (the collapsed height), same padding, same left edge, same border; the subtitle sits
   inline after the title; tight margins (Femap / SolidWorks property-panel density); no nested indent. Loaded last. */
#props>.ph{padding:4px 6px 3px 8px;min-height:28px;box-sizing:border-box}
#props .insp-tools .btn{height:20px}
/* containers own the spacing (4 px everywhere); the cards themselves carry no margin, so a pinned card and an unpinned one
   share the same left edge */
.insp-pins{padding:4px 4px 0;gap:4px}
.insp-pins:not(:empty){border-bottom:0;padding-bottom:0;margin-bottom:0}
#props>.isec{margin:4px 4px 0}
.insp-pins>.isec{margin:0}
#toolDock{padding:4px 4px 6px;gap:4px}
/* the card */
#props .isec,#props .fpanel.docked{border:1px solid var(--line);border-radius:6px;box-shadow:none;background:var(--panel)}
#props .insp-pins>.fpanel.docked,#props .insp-pins>.isec{border-color:var(--line)}
/* its header row = its collapsed height */
#props .isec-h,#props .fpanel.docked>.fp-head{box-sizing:border-box;height:26px;min-height:26px;padding:0 3px 0 4px;gap:4px;border-bottom:0}
#props .isec-h b,#props .fpanel.docked>.fp-head .fp-t b{flex:none;font-size:12px;font-weight:600;letter-spacing:0;line-height:1}
#props .fpanel.docked>.fp-head .fp-t{flex:1;min-width:0;flex-direction:row;align-items:baseline;gap:6px;overflow:hidden}
#props .isec-h small,#props .fpanel.docked>.fp-head .fp-t small{flex:1;min-width:0;font-size:11px;line-height:1;color:var(--mute);
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#props .isec-c,#props .fp-chev{width:14px;font-size:10px}
#props .fpanel.docked .fp-pin,#props .isec-h .fp-pin,#props .fpanel.docked .fp-x{width:20px;height:20px;font-size:11px}
#props .fpanel.docked .fp-kill{height:20px}
/* the body under the header: one line, same inset */
#props .isec-b,#props .fpanel.docked>.fp-body{border-top:1px solid var(--line)}
#props .fpanel.docked>.fp-body{padding:4px 8px}
#props .fpanel.docked>.fp-foot{padding:4px 8px 6px}
#propBody .card{margin:0;padding:4px 8px 6px}
#propBody .card .title{font-size:13px;margin:0 0 4px}
#propBody .kv{padding:1px 0;gap:2px 10px}
/* the ACC inside its card: no extra top margin */
#props .fpanel.docked .acc-top{margin:0 0 4px}
/* R7 T20: a finding on open is a Messages line with its actions in the line (never a notice floated over the view) */
#msgs .msg-acts{display:inline-flex;gap:4px;flex:none;align-self:center}
#msgs .msg-acts .btn{height:20px;padding:0 8px;font:11.5px system-ui,sans-serif}
/* R7 T21: the Next bar is never wider than the view: in a narrow view it wraps (ribbon.js clearSpot then puts it where no
   other view widget is) */
.rb-next{max-width:calc(100% - 16px);flex-wrap:wrap;row-gap:2px}
