/* 0.896 (Maysam: "the geometry commands get a slider while the band above Pick / Select / Display / View is empty"):
   the fixed right end grows UP into the tab row (where only the workflow hint was) and stacks its controls in THREE rows,
   so it is narrower and the task groups on the left get the width back. Measure, Through / Opacity, Reset / Ortho / Center
   are each on their own third row. */
#ribbon .rb-row{position:relative}
#ribbon .rb-fixed{position:relative;z-index:2;margin-top:-37px;padding-top:4px;background:var(--panel);border-top:0}
#ribbon .rb-flow{display:none}
#ribbon .rb-fixed .rb-cmds.rb-two{grid-template-rows:28px 28px 28px;row-gap:3px}
#ribbon .rb-fixed .rb-pick .pickgrps{grid-template-rows:28px 28px;row-gap:6px}
#ribbon #segView.rb-two{grid-template-rows:28px 28px 28px;gap:3px 0}
#ribbon .rb-fixed .rb-r3{gap:6px}
/* every row starts at the left edge of its group, so the three rows read as one block */
#ribbon .rb-fixed .rb-r{justify-content:flex-start}
#ribbon.min .rb-fixed{margin-top:0}
#ribbon .rb-fixed .rb-disp .rb-cmds.rb-two,#ribbon .rb-fixed .rb-sel .rb-cmds.rb-two{grid-template-columns:auto;grid-auto-flow:row;justify-items:start}
/* narrower windows (a 1,920 px screen at 125 % is 1,536 px wide): the selection modes become symbols (tooltips keep the
   words), the pick shapes drop their words, and the groups sit closer, so the geometry commands never need the slider */
@media (max-width:1860px){
 #ribbon .rb-fixed .rb-grp{padding:0 5px}
 #ribbon .rb-scroll .rb-grp{padding:0 4px}
 #ribbon .rb-fixed{padding-left:0}
 #ribbon .rb-fixed #segCombine button{font-size:0;width:30px;padding:0;justify-content:center}
 #ribbon .rb-fixed #segCombine button::before{font-size:14px;line-height:1}
 #ribbon .rb-fixed #segCombine [data-c="replace"]::before{content:"\25A3"}
 #ribbon .rb-fixed #segCombine [data-c="add"]::before{content:"+";font-size:16px}
 #ribbon .rb-fixed #segCombine [data-c="remove"]::before{content:"\2212";font-size:16px}
 #ribbon .rb-fixed #segCombine [data-c="exclude"]::before{content:"\2298"}
 #ribbon .rb-fixed #segShape svg+span{display:none}
 #ribbon .rb-fixed .pgrp .cap{width:auto;font-size:0;gap:0}
 #ribbon .rb-fixed svg.pi{display:none}
 #ribbon .rb-fixed .seg button,#ribbon .rb-fixed .seg .btn,#ribbon .rb-fixed .rb-disp .pgrp .seg .btn,#ribbon #segView.rb-two .seg button{padding:0 6px;font-size:12px}
 #ribbon .rb-fixed .ib{padding:0 7px}
}
@media (max-width:1600px){
 #ribbon .rb-fixed .rb-grp{padding:0 3px}
 #ribbon .rb-fixed .seg button,#ribbon .rb-fixed .seg .btn,#ribbon .rb-fixed .rb-disp .pgrp .seg .btn,#ribbon #segView.rb-two .seg button{padding:0 5px}
 #ribbon .rb-fixed .seg{gap:1px}
}
/* tool panels: short labels, explanations behind a small (i) (hover shows them too) */
.fp-body .kv .v.tp-wide{grid-column:1/-1}
.fp-body .tp-bool{gap:7px;font-size:12.5px}
.fp-body .tp-info{display:inline-grid;place-items:center;width:15px;height:15px;margin-left:6px;padding:0;border:1px solid var(--line2);border-radius:50%;
 background:transparent;color:var(--faint);font:italic 600 9.5px/1 Georgia,serif;cursor:pointer;vertical-align:1px;flex:none}
.fp-body .tp-info:hover,.fp-body .tp-info[aria-expanded="true"]{color:var(--acc);border-color:var(--acc)}
.fp-body .kv .fh{grid-column:1/-1;padding:4px 8px;margin:-2px 0 4px;border-radius:6px;background:var(--chip);line-height:1.35}
.fp-body .kv .fh[hidden],.fp-body .kv [hidden]{display:none}
