/* FIT2: assembly actions remain bounded to the existing design panel. */
.assembly-navigator{border:1px solid var(--line);border-radius:10px;padding:12px;margin:16px 0;background:var(--surface)}
.an-heading{display:flex;gap:8px;align-items:center;justify-content:space-between}.an-heading h3{margin:2px 0}.an-heading .eyebrow{font-size:.67rem;margin:0}.an-heading button{flex:none}
.an-list{max-height:265px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;margin:10px 0}.an-tree{list-style:none;margin:0;padding:0}.an-row{padding:6px 4px 6px calc(4px + var(--depth)*9px);display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid var(--line);gap:4px}.an-row small{grid-column:1/-1;font-size:.72rem;color:var(--muted);padding-left:6px}.an-select{width:100%;text-align:left;overflow-wrap:anywhere;font-size:.78rem!important;min-height:44px}.an-select[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:-2px}.an-eye{font-size:.72rem!important;min-width:44px;min-height:44px}
.an-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.an-actions button{flex:1 1 130px;min-height:44px;font-size:.8rem}.an-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.an-grid input{min-width:0;width:100%;font-size:16px}.an-grid label{min-width:0}.assembly-navigator input,.assembly-navigator select{font-size:16px}.assembly-navigator summary{min-height:44px;padding:10px 0}.assembly-navigator :focus-visible,.an-dialog :focus-visible{outline:3px solid var(--accent);outline-offset:2px}.an-checkbox{display:flex;align-items:flex-start;gap:9px;margin:12px 0}.an-checkbox input{width:20px!important;min-height:24px;flex:none}.an-dialog fieldset{min-width:0}.an-dialog legend{font-weight:600}.an-dialog p{overflow-wrap:anywhere}.an-pair{padding:8px;border:1px solid var(--line);border-radius:8px;margin:8px 0}.an-pair button{min-height:44px;margin:0 5px 0 0;font-size:.75rem}.an-dialog{max-height:calc(100dvh - 20px)}
@media(max-width:420px){.an-grid{grid-template-columns:1fr}.an-row{padding-left:calc(2px + var(--depth)*5px)}.assembly-navigator{padding:10px}.an-dialog .dialog-top h2{font-size:1.12rem}}

.an-row small{margin:0;line-height:1.25}.an-list{max-height:300px}.assembly-navigator{scroll-margin-top:165px}
