/* Text layer style toggles: inspector, both normal and expanded views. */
#app #properties-panel .lb-text-style-controls,
#stl-modal #properties-panel .lb-text-style-controls{
 display:flex;align-items:center;gap:7px;margin:10px 0 13px;
}
#app #properties-panel .lb-text-style-button,
#stl-modal #properties-panel .lb-text-style-button{
 display:inline-grid;place-items:center;min-width:41px;min-height:36px;
 padding:4px 10px;border:1px solid #4e7f96;border-radius:7px;
 background:#15394c;color:#e0f6ff;cursor:pointer;
 font-family:inherit;font-size:16px;font-weight:650;line-height:1.25;
}
#app #properties-panel .lb-text-style-button.lb-text-style-textBold,
#stl-modal #properties-panel .lb-text-style-button.lb-text-style-textBold{font-weight:900}
#app #properties-panel .lb-text-style-button.lb-text-style-textItalic,
#stl-modal #properties-panel .lb-text-style-button.lb-text-style-textItalic{font-style:italic}
#app #properties-panel .lb-text-style-button.lb-text-style-textUnderline,
#stl-modal #properties-panel .lb-text-style-button.lb-text-style-textUnderline{text-decoration:underline}
#app #properties-panel .lb-text-style-button[aria-pressed="true"],
#stl-modal #properties-panel .lb-text-style-button[aria-pressed="true"]{
 background:#146079;border-color:#60d9ef;color:#fff;
 box-shadow:inset 0 0 0 1px #72e5ef66;
}
#app #properties-panel .lb-text-style-button:focus-visible,
#stl-modal #properties-panel .lb-text-style-button:focus-visible{
 outline:2px solid #8aecfa;outline-offset:2px;
}
/* Real optical alignment of Lock Z label and its native checkbox. */
:is(#app,#stl-modal) .lb-family-z-lock{
 display:inline-flex!important;align-items:center!important;
 justify-content:flex-start;gap:8px;line-height:20px!important;
 min-height:38px;
}
:is(#app,#stl-modal) .lb-family-z-lock input[data-family-z-lock]{
 display:block!important;position:static!important;
 box-sizing:border-box;width:16px!important;height:16px!important;
 min-width:16px!important;min-height:16px!important;
 flex:0 0 16px;align-self:center;vertical-align:middle;
 margin:0!important;padding:0!important;transform:none!important;
}
:is(#app,#stl-modal) .lb-z-lock-label{
 display:inline-flex!important;align-items:center!important;
 gap:7px;line-height:20px!important;
}
:is(#app,#stl-modal) .lb-z-lock-label input[type="checkbox"]{
 margin:0!important;padding:0!important;flex:0 0 16px;
 vertical-align:middle;align-self:center;transform:none!important;
}
