.action-bar{position:relative}
.angle-field{display:flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap;margin-left:3px}
.angle-field input{width:65px;min-height:32px;padding:6px;border:1px solid var(--line);border-radius:4px;background:white;font-size:12px}
.angle-field input:disabled{opacity:.4}
.align-menu summary{display:flex;align-items:center;gap:5px;cursor:pointer;list-style:none}
.align-menu summary::-webkit-details-marker{display:none}
.align-menu summary svg{width:15px;height:15px}
.align-menu summary svg:last-child{width:12px}
.align-menu[open] summary{background:var(--soft);border-color:#e8b3a1}
.align-popover{position:absolute;top:calc(100% + 5px);left:0;width:290px;max-width:100%;padding:14px;background:white;border:1px solid var(--line);border-radius:7px;box-shadow:0 8px 24px #263a3826;z-index:6}
.align-popover p{font-size:12px;font-weight:700;margin:0 0 12px}
.align-popover small{display:block;font-size:10px;font-weight:400;color:var(--muted);line-height:1.5;margin-top:5px}
.align-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.align-options .button{flex-direction:column;min-height:60px;padding:8px 4px;gap:7px;text-align:center;line-height:1.2}
.align-options svg{width:21px;height:21px}
@media(max-width:760px){.angle-field{margin-left:0;font-size:10px;gap:3px}.angle-field input{width:62px;min-height:36px;font-size:14px}.align-menu summary{gap:4px}}
.project-menu summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none}.project-menu summary::-webkit-details-marker{display:none}.project-menu summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.project-menu[open] summary{background:var(--soft);border-color:#e8b3a1}.project-popover{position:absolute;right:24px;top:59px;width:280px;max-width:calc(100vw - 20px);padding:16px;background:white;border:1px solid var(--line);border-radius:7px;box-shadow:0 8px 24px #263a3826;z-index:15}.project-popover .button{justify-content:flex-start;margin-bottom:8px;min-height:40px}.project-popover p{font-size:12px;line-height:1.6;margin:12px 0 8px}.project-popover small{font-size:10px;line-height:1.7;color:var(--muted)}
@media(max-width:760px){.header-actions .project-menu summary{padding:7px;min-height:34px}.project-menu summary svg{width:17px;height:17px}.project-popover{right:10px;top:50px}.project-popover .button{font-size:12px;padding:10px;min-height:42px}}
.header-actions .project-menu summary svg,.header-actions .project-popover .button svg{display:block;flex-shrink:0}
