.team-tool-picker { margin: 4px 0 14px; }
.team-tool-picker > summary { display: flex; align-items: center; gap: 8px; padding: 8px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.team-tool-picker > summary small { margin-left: auto; color: var(--muted, #526372); font-weight: 400; }
.team-tool-picker > summary ion-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.team-tool-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 190px); gap: 8px; padding: 6px 0 10px; }
.team-tool-filters label { min-width: 0; }
.team-tool-filters .field { width: 100%; min-width: 0; font-size: 16px; }
.team-tool-list { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line, #dbe3e9); }
.team-tool-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 10px 4px; text-align: left; border: 0; border-bottom: 1px solid var(--line, #dbe3e9); border-radius: 0; background: transparent; color: inherit; cursor: pointer; }
.team-tool-row:hover, .team-tool-row:focus-visible { background: var(--hover, #f3f7fa); }
.team-tool-row > span { min-width: 0; }
.team-tool-row strong { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.team-tool-row small { display: block; font-size: 12px; font-weight: 400; color: var(--muted, #526372); margin-top: 3px; }
.team-tool-row ion-icon { flex: 0 0 18px; width: 18px; height: 18px; }
@media (max-width: 520px) { .team-tool-filters { grid-template-columns: minmax(0, 1fr); } .team-tool-list { max-height: 220px; } }
.team-form-pages { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 0; }
.team-form-pages span { font-size: 13px; text-align: center; }
.form-viewer-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; }
.form-viewer-menu { position: relative; }
.form-viewer-menu > summary { list-style: none; }
.form-viewer-menu > summary::-webkit-details-marker { display: none; }
.form-viewer-menu-items { position: absolute; z-index: 20; right: 0; top: 100%; width: 216px; max-width: calc(100vw - 48px); padding: 4px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 24px #0002; }
.form-viewer-menu-items button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 4px; color: inherit; background: transparent; text-align: left; }
.form-viewer-menu-items button:hover, .form-viewer-menu-items button:focus-visible { background: var(--surface-soft); }
.form-viewer-menu-items ion-icon { width: 20px; height: 20px; flex: 0 0 20px; }
